Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-09 23:59:04.000490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_15_9384.jpg', '/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_25_10387.jpg', '/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_36_10359.jpg', '/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_55_10375.jpg', '/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_46_10434.jpg', '/home/pi/Desktop/images/06042025/10/16/image_06042025_10_17_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_15_9384.jpg
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_25_10387.jpg
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_36_10359.jpg
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_55_10375.jpg
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_46_10434.jpg
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_17_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350938780","1350938858","1350938672","1350938587","1350938830","1350938527"],"photo_ids_order":["1350938527","1350938587","1350938672","1350938780","1350938830","1350938858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d608c303a71a526ae60eec1fd1bcb715.jpg","text":"TemporaryFile(/tmp/multipartBody513309316264527200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_15_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/875b676a92ce5b87952dc90dbc179277.jpg","text":"TemporaryFile(/tmp/multipartBody8626886529363480016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_17_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b2f8e1a706cf1b7629760b6c0be90ce.jpg","text":"TemporaryFile(/tmp/multipartBody3895260191259920636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_15_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e44e056e8d48d467c68da8090c68faf.jpg","text":"TemporaryFile(/tmp/multipartBody7122012922693804459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_15_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67d5efc7367aab780cb558c707c103d0.jpg","text":"TemporaryFile(/tmp/multipartBody5760245026119021078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_16_46_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91793b60478c6a85fcd89f15dfb3783b.jpg","text":"TemporaryFile(/tmp/multipartBody4478980801549232911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236070537,"filename":"image_06042025_10_15_15_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350938672","file1":"1350938587","file0":"1350938527","file4":"1350938830","file5":"1350938858","file3":"1350938780"},"map_files_photo_id_array":[{"photo_id":"1350938858","filename":"file5"},{"photo_id":"1350938672","filename":"file2"},{"photo_id":"1350938830","filename":"file4"},{"photo_id":"1350938587","filename":"file1"},{"photo_id":"1350938527","filename":"file0"},{"photo_id":"1350938780","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350938780":["hashtag1","hashtag2"]},{"1350938858":["hashtag1","hashtag2"]},{"1350938672":["hashtag1","hashtag2"]},{"1350938587":["hashtag1","hashtag2"]},{"1350938830":["hashtag1","hashtag2"]},{"1350938527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350938780, 1350938858, 1350938672, 1350938587, 1350938830, 1350938527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.78438401222229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:01:03.882455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_25_9371.jpg', '/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_45_9421.jpg', '/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_55_10377.jpg', '/home/pi/Desktop/images/06042025/10/17/image_06042025_10_18_06_10357.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_25_10377.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_35_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_25_9371.jpg
/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_45_9421.jpg
/home/pi/Desktop/images/06042025/10/17/image_06042025_10_17_55_10377.jpg
/home/pi/Desktop/images/06042025/10/17/image_06042025_10_18_06_10357.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_25_10377.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_35_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350939117","1350939048","1350939097","1350939091","1350938995","1350939087"],"photo_ids_order":["1350938995","1350939048","1350939087","1350939091","1350939097","1350939117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d19450b8de87d01373fd344f25b0cda0.jpg","text":"TemporaryFile(/tmp/multipartBody6080651077017319430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_18_35_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d6eb85596ea09096f5b861170824aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4876306907345446133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_17_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5a67a93c9ff5cfad5f052111a273461.jpg","text":"TemporaryFile(/tmp/multipartBody8178543501630331024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_18_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/129d2758ed0bc51c5a376d93d08bdd3b.jpg","text":"TemporaryFile(/tmp/multipartBody460690106110080816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_18_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e52322082a79ae4e02729ecc685b78b.jpg","text":"TemporaryFile(/tmp/multipartBody8440818604112112003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_17_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1cbdd3cea909903cd70bcbf910259a0.jpg","text":"TemporaryFile(/tmp/multipartBody7797413706465302310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236125777,"filename":"image_06042025_10_17_55_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350939087","file1":"1350939048","file0":"1350938995","file4":"1350939097","file5":"1350939117","file3":"1350939091"},"map_files_photo_id_array":[{"photo_id":"1350939117","filename":"file5"},{"photo_id":"1350939087","filename":"file2"},{"photo_id":"1350939097","filename":"file4"},{"photo_id":"1350939048","filename":"file1"},{"photo_id":"1350938995","filename":"file0"},{"photo_id":"1350939091","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350939117":["hashtag1","hashtag2"]},{"1350939048":["hashtag1","hashtag2"]},{"1350939097":["hashtag1","hashtag2"]},{"1350939091":["hashtag1","hashtag2"]},{"1350938995":["hashtag1","hashtag2"]},{"1350939087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350939117, 1350939048, 1350939097, 1350939091, 1350938995, 1350939087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39407753944397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:02:03.501206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_45_10370.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_55_9485.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_19_05_10390.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_16_10364.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_25_9441.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_45_10370.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_55_9485.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_19_05_10390.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_16_10364.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_25_9441.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350939584","1350939529","1350939724","1350939687","1350939396","1350939642"],"photo_ids_order":["1350939396","1350939529","1350939584","1350939642","1350939687","1350939724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab3688692ec9d591eeb78153c8d46fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4066361058607501114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_19_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/512cc162ddd1aa7dafcdca460fca5105.jpg","text":"TemporaryFile(/tmp/multipartBody1328006038328727409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_18_55_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a9101aa07d982085ad6a5fdde437b99.jpg","text":"TemporaryFile(/tmp/multipartBody4477828350332477098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_19_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42dbd0ea42f3e3bad7f90cd15f315df5.jpg","text":"TemporaryFile(/tmp/multipartBody9020039234142154529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_19_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44e9d52f3084930465532fa4e6c086ee.jpg","text":"TemporaryFile(/tmp/multipartBody6053620666213094271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_18_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/257e15c78c5392da3d1bf72ed65fdecb.jpg","text":"TemporaryFile(/tmp/multipartBody4681354186177135257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236184469,"filename":"image_06042025_10_19_16_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350939584","file1":"1350939529","file0":"1350939396","file4":"1350939687","file5":"1350939724","file3":"1350939642"},"map_files_photo_id_array":[{"photo_id":"1350939724","filename":"file5"},{"photo_id":"1350939584","filename":"file2"},{"photo_id":"1350939687","filename":"file4"},{"photo_id":"1350939529","filename":"file1"},{"photo_id":"1350939396","filename":"file0"},{"photo_id":"1350939642","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350939584":["hashtag1","hashtag2"]},{"1350939529":["hashtag1","hashtag2"]},{"1350939724":["hashtag1","hashtag2"]},{"1350939687":["hashtag1","hashtag2"]},{"1350939396":["hashtag1","hashtag2"]},{"1350939642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350939584, 1350939529, 1350939724, 1350939687, 1350939396, 1350939642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65153479576111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:03:03.637336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_45_9414.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_20_06_10390.jpg', '/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_15_9418.jpg', '/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_25_10371.jpg', '/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_36_10358.jpg', '/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_45_9414.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_20_06_10390.jpg
/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_15_9418.jpg
/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_25_10371.jpg
/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_36_10358.jpg
/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_45_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350939900","1350939923","1350940010","1350939984","1350939954","1350939876"],"photo_ids_order":["1350939876","1350939900","1350939923","1350939954","1350939984","1350940010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6f04226105771ae98881a656247505f.jpg","text":"TemporaryFile(/tmp/multipartBody7998020754259704160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_20_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/512a96b9140be6167aea2f6f9a9c6831.jpg","text":"TemporaryFile(/tmp/multipartBody2932151885960356486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_20_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/663d494befb5beb406f136418d41e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody943392954435703500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_20_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a593c69f45331f1f5c8798bd58be909b.jpg","text":"TemporaryFile(/tmp/multipartBody5313043908951959007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_20_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/125b4609ff11985f455221643f5cc311.jpg","text":"TemporaryFile(/tmp/multipartBody4170393715990889004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_20_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5e539c09d5732472073a873beeca68b.jpg","text":"TemporaryFile(/tmp/multipartBody2994218141323619016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236244701,"filename":"image_06042025_10_19_45_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350939923","file1":"1350939900","file0":"1350939876","file4":"1350939984","file5":"1350940010","file3":"1350939954"},"map_files_photo_id_array":[{"photo_id":"1350940010","filename":"file5"},{"photo_id":"1350939923","filename":"file2"},{"photo_id":"1350939984","filename":"file4"},{"photo_id":"1350939900","filename":"file1"},{"photo_id":"1350939876","filename":"file0"},{"photo_id":"1350939954","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350939900":["hashtag1","hashtag2"]},{"1350939923":["hashtag1","hashtag2"]},{"1350940010":["hashtag1","hashtag2"]},{"1350939984":["hashtag1","hashtag2"]},{"1350939954":["hashtag1","hashtag2"]},{"1350939876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350939900, 1350939923, 1350940010, 1350939984, 1350939954, 1350939876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49208164215088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:03:42.339681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_55_10384.jpg', '/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_15_10444.jpg', '/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_25_9456.jpg', '/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_35_10379.jpg', '/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_46_10422.jpg', '/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_55_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/20/image_06042025_10_20_55_10384.jpg
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_15_10444.jpg
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_25_9456.jpg
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_35_10379.jpg
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_46_10422.jpg
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_55_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350940290","1350940242","1350940187","1350940334","1350940381","1350940108"],"photo_ids_order":["1350940108","1350940187","1350940242","1350940290","1350940334","1350940381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d77a5269bf9a510c4e9b5cb4a4733e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1972307634524560293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_21_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57134d03d73ab0e3bb72f556347da344.jpg","text":"TemporaryFile(/tmp/multipartBody1333753463003044375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_21_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ede7957316ca8a7a766c14990690955f.jpg","text":"TemporaryFile(/tmp/multipartBody5686870905394824587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_21_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a223877c6e000377f81386dc868a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3635031211480290027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_21_46_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cac88c894622d557add5d0b5e5d12963.jpg","text":"TemporaryFile(/tmp/multipartBody8394176141719095967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_21_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f23cbae3f03ccc8a6952c82ba512a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7355688775519692915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236284124,"filename":"image_06042025_10_20_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350940242","file1":"1350940187","file0":"1350940108","file4":"1350940334","file5":"1350940381","file3":"1350940290"},"map_files_photo_id_array":[{"photo_id":"1350940381","filename":"file5"},{"photo_id":"1350940242","filename":"file2"},{"photo_id":"1350940334","filename":"file4"},{"photo_id":"1350940187","filename":"file1"},{"photo_id":"1350940108","filename":"file0"},{"photo_id":"1350940290","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350940290":["hashtag1","hashtag2"]},{"1350940242":["hashtag1","hashtag2"]},{"1350940187":["hashtag1","hashtag2"]},{"1350940334":["hashtag1","hashtag2"]},{"1350940381":["hashtag1","hashtag2"]},{"1350940108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350940290, 1350940242, 1350940187, 1350940334, 1350940381, 1350940108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37408685684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:04:42.539608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/21/image_06042025_10_22_05_10362.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_16_10351.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_25_9420.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_36_10401.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_45_9459.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_55_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_22_05_10362.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_16_10351.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_25_9420.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_36_10401.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_45_9459.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_55_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350940674","1350940839","1350940926","1350940871","1350940733","1350940525"],"photo_ids_order":["1350940525","1350940674","1350940733","1350940839","1350940871","1350940926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/933cacae37e9f095ddf0699542a43d51.jpg","text":"TemporaryFile(/tmp/multipartBody3135481286143864463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d51f8ee330843b62a5dd70d6f63a2c4.jpg","text":"TemporaryFile(/tmp/multipartBody7730455726439895553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acba25a38268362b6ff18db5d6b4425a.jpg","text":"TemporaryFile(/tmp/multipartBody5725882647015740670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f49dacf510098ff5285394bf1bc35ef.jpg","text":"TemporaryFile(/tmp/multipartBody4787184293979601082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0357b18bb8734057c0c860a71dbfa694.jpg","text":"TemporaryFile(/tmp/multipartBody5678754671603856465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_25_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a56b0473e5f46067b2765c6e8f4c978e.jpg","text":"TemporaryFile(/tmp/multipartBody5473642730633077317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236344360,"filename":"image_06042025_10_22_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350940733","file1":"1350940674","file0":"1350940525","file4":"1350940871","file5":"1350940926","file3":"1350940839"},"map_files_photo_id_array":[{"photo_id":"1350940926","filename":"file5"},{"photo_id":"1350940733","filename":"file2"},{"photo_id":"1350940871","filename":"file4"},{"photo_id":"1350940674","filename":"file1"},{"photo_id":"1350940525","filename":"file0"},{"photo_id":"1350940839","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350940674":["hashtag1","hashtag2"]},{"1350940839":["hashtag1","hashtag2"]},{"1350940926":["hashtag1","hashtag2"]},{"1350940871":["hashtag1","hashtag2"]},{"1350940733":["hashtag1","hashtag2"]},{"1350940525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350940674, 1350940839, 1350940926, 1350940871, 1350940733, 1350940525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58321785926819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:05:42.747226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_15_10357.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_26_10365.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_35_9472.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_45_10355.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_55_9475.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_24_05_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_15_10357.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_26_10365.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_35_9472.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_45_10355.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_55_9475.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_24_05_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350941253","1350941247","1350941241","1350941229","1350941195","1350941260"],"photo_ids_order":["1350941195","1350941229","1350941241","1350941247","1350941253","1350941260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/585671f2403c1c95f21e13df5b0a73bb.jpg","text":"TemporaryFile(/tmp/multipartBody7013976025196589268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_23_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/529149fcbe5227a1b18fba1e56d6847a.jpg","text":"TemporaryFile(/tmp/multipartBody4424715283561460403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_23_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e1bcb31906795dc21385ce13810ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody3838773878440418616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_23_35_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b3d76daf01a2633e8c4c41a66f7a3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7417352350363431050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_23_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d75a628c78ad245958122b1089579c0.jpg","text":"TemporaryFile(/tmp/multipartBody8100154232643696245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_23_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9f88572b79f632786db51973beea647.jpg","text":"TemporaryFile(/tmp/multipartBody2265048649228718506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236404640,"filename":"image_06042025_10_24_05_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350941241","file1":"1350941229","file0":"1350941195","file4":"1350941253","file5":"1350941260","file3":"1350941247"},"map_files_photo_id_array":[{"photo_id":"1350941260","filename":"file5"},{"photo_id":"1350941241","filename":"file2"},{"photo_id":"1350941253","filename":"file4"},{"photo_id":"1350941229","filename":"file1"},{"photo_id":"1350941195","filename":"file0"},{"photo_id":"1350941247","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350941253":["hashtag1","hashtag2"]},{"1350941247":["hashtag1","hashtag2"]},{"1350941241":["hashtag1","hashtag2"]},{"1350941229":["hashtag1","hashtag2"]},{"1350941195":["hashtag1","hashtag2"]},{"1350941260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350941253, 1350941247, 1350941241, 1350941229, 1350941195, 1350941260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.788196325302124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:06:42.995739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_16_10347.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_25_9395.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_35_10363.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_45_9407.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_55_10368.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_25_06_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_16_10347.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_25_9395.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_35_10363.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_45_9407.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_55_10368.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_25_06_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350941402","1350941461","1350941437","1350941493","1350941421","1350941370"],"photo_ids_order":["1350941370","1350941402","1350941421","1350941437","1350941461","1350941493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d432ba28b3b76e7388b5ce680602af38.jpg","text":"TemporaryFile(/tmp/multipartBody2751432203393684228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_24_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d977e806341b44a56b582f0949592952.jpg","text":"TemporaryFile(/tmp/multipartBody6513353201487769127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_24_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb21f4054e28b4f3568680b6c41a1cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2187904049373686785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_24_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/018222cce908f4d6b734b5653997829c.jpg","text":"TemporaryFile(/tmp/multipartBody2933262412790381998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_25_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/034465890b74c3977512ff8235937284.jpg","text":"TemporaryFile(/tmp/multipartBody1278648472122450089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_24_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d0aa66d19d0864eebfc864c6a4e8071.jpg","text":"TemporaryFile(/tmp/multipartBody7982001982876232571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236464782,"filename":"image_06042025_10_24_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350941421","file1":"1350941402","file0":"1350941370","file4":"1350941461","file5":"1350941493","file3":"1350941437"},"map_files_photo_id_array":[{"photo_id":"1350941493","filename":"file5"},{"photo_id":"1350941421","filename":"file2"},{"photo_id":"1350941461","filename":"file4"},{"photo_id":"1350941402","filename":"file1"},{"photo_id":"1350941370","filename":"file0"},{"photo_id":"1350941437","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350941402":["hashtag1","hashtag2"]},{"1350941461":["hashtag1","hashtag2"]},{"1350941437":["hashtag1","hashtag2"]},{"1350941493":["hashtag1","hashtag2"]},{"1350941421":["hashtag1","hashtag2"]},{"1350941370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350941402, 1350941461, 1350941437, 1350941493, 1350941421, 1350941370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.593581199645996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:07:42.240502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_15_9419.jpg', '/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_26_10457.jpg', '/home/pi/Desktop/images/06042025/10/25/image_06042025_10_26_06_10354.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_15_9426.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_25_10378.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_15_9419.jpg
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_26_10457.jpg
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_26_06_10354.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_15_9426.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_25_10378.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_36_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350942173","1350942337","1350942022","1350942366","1350942096","1350942216"],"photo_ids_order":["1350942022","1350942096","1350942173","1350942216","1350942337","1350942366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8585f45f8dbcd06ace193ec65c9f3f36.jpg","text":"TemporaryFile(/tmp/multipartBody1428252592932851058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_26_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54a039031340475950df75ccbfdc072c.jpg","text":"TemporaryFile(/tmp/multipartBody4595453064683964712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_26_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67b5b245ba62f91a50526d3235e05cea.jpg","text":"TemporaryFile(/tmp/multipartBody3173450345113954933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_25_15_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b89d021fe7cc28d63f8a1639f552d99.jpg","text":"TemporaryFile(/tmp/multipartBody3548476623114354280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_26_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a9670b268043bc77c2916f70c6092f8.jpg","text":"TemporaryFile(/tmp/multipartBody8044758756765319713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_25_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e2f62821fb44dc143ec06bcb226f89b.jpg","text":"TemporaryFile(/tmp/multipartBody2994696013768044226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236524116,"filename":"image_06042025_10_26_15_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350942173","file1":"1350942096","file0":"1350942022","file4":"1350942337","file5":"1350942366","file3":"1350942216"},"map_files_photo_id_array":[{"photo_id":"1350942366","filename":"file5"},{"photo_id":"1350942173","filename":"file2"},{"photo_id":"1350942337","filename":"file4"},{"photo_id":"1350942096","filename":"file1"},{"photo_id":"1350942022","filename":"file0"},{"photo_id":"1350942216","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350942173":["hashtag1","hashtag2"]},{"1350942337":["hashtag1","hashtag2"]},{"1350942022":["hashtag1","hashtag2"]},{"1350942366":["hashtag1","hashtag2"]},{"1350942096":["hashtag1","hashtag2"]},{"1350942216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350942173, 1350942337, 1350942022, 1350942366, 1350942096, 1350942216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.19070887565613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:08:42.459113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_45_9353.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_55_10365.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_27_05_9393.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_15_10361.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_26_10366.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_45_9353.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_55_10365.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_27_05_9393.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_15_10361.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_26_10366.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350942646","1350942595","1350942727","1350942622","1350942616","1350942684"],"photo_ids_order":["1350942595","1350942616","1350942622","1350942646","1350942684","1350942727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a73b259c4ab452a082f0c9e9e93e9ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1305061731891839423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_27_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be4778cce145e03028ff796c85a16453.jpg","text":"TemporaryFile(/tmp/multipartBody3515738358584239040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_26_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d6f7d2941501acc7ef4a537d5f36762.jpg","text":"TemporaryFile(/tmp/multipartBody5283850676861327168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_27_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/211eb4e71ab7a8f76411cd58afa385e9.jpg","text":"TemporaryFile(/tmp/multipartBody5720636833368825646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_27_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2f5e80ddb4b41f9be24b6f79d457a49.jpg","text":"TemporaryFile(/tmp/multipartBody764550360428233613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_26_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/102a1b542f56d19b7eb8d91c0bbfe38f.jpg","text":"TemporaryFile(/tmp/multipartBody7863199223263958578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236584263,"filename":"image_06042025_10_27_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350942622","file1":"1350942616","file0":"1350942595","file4":"1350942684","file5":"1350942727","file3":"1350942646"},"map_files_photo_id_array":[{"photo_id":"1350942727","filename":"file5"},{"photo_id":"1350942622","filename":"file2"},{"photo_id":"1350942684","filename":"file4"},{"photo_id":"1350942616","filename":"file1"},{"photo_id":"1350942595","filename":"file0"},{"photo_id":"1350942646","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350942646":["hashtag1","hashtag2"]},{"1350942595":["hashtag1","hashtag2"]},{"1350942727":["hashtag1","hashtag2"]},{"1350942622":["hashtag1","hashtag2"]},{"1350942616":["hashtag1","hashtag2"]},{"1350942684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350942646, 1350942595, 1350942727, 1350942622, 1350942616, 1350942684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.820685386657715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:09:42.744713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_45_10357.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_55_9522.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_28_05_10365.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_16_10359.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_25_9383.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_45_10357.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_55_9522.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_28_05_10365.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_16_10359.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_25_9383.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350942914","1350942902","1350943063","1350942966","1350943017","1350942981"],"photo_ids_order":["1350942902","1350942914","1350942966","1350942981","1350943017","1350943063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fbd1b49be1ccc8a3ba08891e48d81a4.jpg","text":"TemporaryFile(/tmp/multipartBody4667479785864452682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_27_55_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38d483eaf669df677b753dd78a61a84e.jpg","text":"TemporaryFile(/tmp/multipartBody8831811038216460463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_27_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1e42c7b4f6161005b0fa34d42d8af68.jpg","text":"TemporaryFile(/tmp/multipartBody3108840083560674633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_28_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf692a28b9a67629b5c369fadb013f9b.jpg","text":"TemporaryFile(/tmp/multipartBody502263769422807337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_28_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bdf455c93e547137cdbe84ba9df44cc.jpg","text":"TemporaryFile(/tmp/multipartBody2605496021533035938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_28_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ea657c00711b8c07090b1a440f79faa.jpg","text":"TemporaryFile(/tmp/multipartBody7906778006432587484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236644552,"filename":"image_06042025_10_28_16_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350942966","file1":"1350942914","file0":"1350942902","file4":"1350943017","file5":"1350943063","file3":"1350942981"},"map_files_photo_id_array":[{"photo_id":"1350943063","filename":"file5"},{"photo_id":"1350942966","filename":"file2"},{"photo_id":"1350943017","filename":"file4"},{"photo_id":"1350942914","filename":"file1"},{"photo_id":"1350942902","filename":"file0"},{"photo_id":"1350942981","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350942914":["hashtag1","hashtag2"]},{"1350942902":["hashtag1","hashtag2"]},{"1350943063":["hashtag1","hashtag2"]},{"1350942966":["hashtag1","hashtag2"]},{"1350943017":["hashtag1","hashtag2"]},{"1350942981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350942914, 1350942902, 1350943063, 1350942966, 1350943017, 1350942981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88163995742798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:10:42.948318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_46_10446.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_9403.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_29_06_10386.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_15_9519.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_25_10407.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_46_10446.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_9403.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_29_06_10386.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_15_9519.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_25_10407.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_35_9418.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.703620195388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:11:03.335151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_46_10446.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_9403.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_29_06_10386.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_15_9519.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_25_10407.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_46_10446.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_9403.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_29_06_10386.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_15_9519.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_25_10407.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_35_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350943136","1350943189","1350943248","1350943212","1350943163","1350943250"],"photo_ids_order":["1350943136","1350943163","1350943189","1350943212","1350943248","1350943250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d96812dc048e9da551e7bb64a3d1ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3180595123886179905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_28_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb356dc7724ffcf8c6124bde7ee19e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1844242518951021074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_29_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d16ba3e0925e3c0ec1493e78ed258bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2067037064363649642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_29_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe7776fb63d18bad94ff656f29e4f929.jpg","text":"TemporaryFile(/tmp/multipartBody523431064895047473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_29_15_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52ded716e76273409796b2d5a37629b4.jpg","text":"TemporaryFile(/tmp/multipartBody6290990148082768541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_28_55_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f55960604ebb31c2b62b582c9c1e2be.jpg","text":"TemporaryFile(/tmp/multipartBody6272789921654222309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236724333,"filename":"image_06042025_10_29_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350943189","file1":"1350943163","file0":"1350943136","file4":"1350943248","file5":"1350943250","file3":"1350943212"},"map_files_photo_id_array":[{"photo_id":"1350943250","filename":"file5"},{"photo_id":"1350943189","filename":"file2"},{"photo_id":"1350943248","filename":"file4"},{"photo_id":"1350943163","filename":"file1"},{"photo_id":"1350943136","filename":"file0"},{"photo_id":"1350943212","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350943136":["hashtag1","hashtag2"]},{"1350943189":["hashtag1","hashtag2"]},{"1350943248":["hashtag1","hashtag2"]},{"1350943212":["hashtag1","hashtag2"]},{"1350943163":["hashtag1","hashtag2"]},{"1350943250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350943136, 1350943189, 1350943248, 1350943212, 1350943163, 1350943250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26329183578491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:12:02.823339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_45_10355.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_56_10369.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_30_05_9397.jpg', '/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_15_10362.jpg', '/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_26_10363.jpg', '/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_35_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_45_10355.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_56_10369.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_30_05_9397.jpg
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_15_10362.jpg
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_26_10363.jpg
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_35_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350943325","1350943316","1350943372","1350943429","1350943321","1350943401"],"photo_ids_order":["1350943316","1350943321","1350943325","1350943372","1350943401","1350943429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98b8ee2bf65e55b7f8a935850a567e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2010407885506685920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_30_05_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29b9991aadb3e357f5573065ff20cd6c.jpg","text":"TemporaryFile(/tmp/multipartBody5891199804408078473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_29_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d54ff345ca7610cf6c9887a9fe62fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7504686694342013910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_30_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86b85bf2e99164577869ea458002f991.jpg","text":"TemporaryFile(/tmp/multipartBody5226869574913205146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_30_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbacd8ec7760a68e14a0080bd52d9801.jpg","text":"TemporaryFile(/tmp/multipartBody2854801497649414098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_29_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c88796eb46a9c88ad12c40630ccfb7dc.jpg","text":"TemporaryFile(/tmp/multipartBody4734415492802691030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236783787,"filename":"image_06042025_10_30_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350943325","file1":"1350943321","file0":"1350943316","file4":"1350943401","file5":"1350943429","file3":"1350943372"},"map_files_photo_id_array":[{"photo_id":"1350943429","filename":"file5"},{"photo_id":"1350943325","filename":"file2"},{"photo_id":"1350943401","filename":"file4"},{"photo_id":"1350943321","filename":"file1"},{"photo_id":"1350943316","filename":"file0"},{"photo_id":"1350943372","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350943325":["hashtag1","hashtag2"]},{"1350943316":["hashtag1","hashtag2"]},{"1350943372":["hashtag1","hashtag2"]},{"1350943429":["hashtag1","hashtag2"]},{"1350943321":["hashtag1","hashtag2"]},{"1350943401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350943325, 1350943316, 1350943372, 1350943429, 1350943321, 1350943401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.907615184783936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:13:03.868123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_45_10361.jpg', '/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_55_9391.jpg', '/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_16_10379.jpg', '/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_35_10358.jpg', '/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_46_10357.jpg', '/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_55_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_45_10361.jpg
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_55_9391.jpg
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_16_10379.jpg
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_35_10358.jpg
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_46_10357.jpg
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_55_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350943715","1350943693","1350943805","1350943741","1350943663","1350943765"],"photo_ids_order":["1350943663","1350943693","1350943715","1350943741","1350943765","1350943805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22f6aaabb91164aa051a389a6e251e7e.jpg","text":"TemporaryFile(/tmp/multipartBody592917568993857755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_31_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34e535417267635d0ea93b03ace8025c.jpg","text":"TemporaryFile(/tmp/multipartBody936563768476861371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_30_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/131238e4ede402da4c54e1cc1e68b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody8025406802132154057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_31_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faed8184ac92725b3a9162531611dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3488033389178818439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_31_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d50550d6a3dd52969bc9493cd1b370ea.jpg","text":"TemporaryFile(/tmp/multipartBody8719717997991337589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_30_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da6a4a62510bde8c45520ae443548ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5243795223699409762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236844997,"filename":"image_06042025_10_31_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350943715","file1":"1350943693","file0":"1350943663","file4":"1350943765","file5":"1350943805","file3":"1350943741"},"map_files_photo_id_array":[{"photo_id":"1350943805","filename":"file5"},{"photo_id":"1350943715","filename":"file2"},{"photo_id":"1350943765","filename":"file4"},{"photo_id":"1350943693","filename":"file1"},{"photo_id":"1350943663","filename":"file0"},{"photo_id":"1350943741","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350943715":["hashtag1","hashtag2"]},{"1350943693":["hashtag1","hashtag2"]},{"1350943805":["hashtag1","hashtag2"]},{"1350943741":["hashtag1","hashtag2"]},{"1350943663":["hashtag1","hashtag2"]},{"1350943765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350943715, 1350943693, 1350943805, 1350943741, 1350943663, 1350943765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53501629829407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:14:03.305583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/31/image_06042025_10_32_06_10376.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_15_9368.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_25_10552.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_35_9507.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_45_10353.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_56_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_32_06_10376.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_15_9368.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_25_10552.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_35_9507.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_45_10353.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_56_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350943975","1350943977","1350943968","1350943982","1350943979","1350943946"],"photo_ids_order":["1350943946","1350943968","1350943975","1350943977","1350943979","1350943982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/982bed7c215c9cdf77eac467f0da47a8.jpg","text":"TemporaryFile(/tmp/multipartBody6855942618160536973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_25_10552.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b50292c6ac70b9e3647744072d9d238.jpg","text":"TemporaryFile(/tmp/multipartBody8409268322573326869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_35_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/272be4a1e9bd4f8269c07e37866ed08a.jpg","text":"TemporaryFile(/tmp/multipartBody6879874014810895334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a03fe3f81559544e3bd2d32ef5575d3f.jpg","text":"TemporaryFile(/tmp/multipartBody5157673769114723827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbfc0127dd9f25752c44ba95f8581c99.jpg","text":"TemporaryFile(/tmp/multipartBody7444608925502844038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a6335f7ac42ddc01df1f555bb668d26.jpg","text":"TemporaryFile(/tmp/multipartBody6962423539906905545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236904281,"filename":"image_06042025_10_32_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350943975","file1":"1350943968","file0":"1350943946","file4":"1350943979","file5":"1350943982","file3":"1350943977"},"map_files_photo_id_array":[{"photo_id":"1350943982","filename":"file5"},{"photo_id":"1350943975","filename":"file2"},{"photo_id":"1350943979","filename":"file4"},{"photo_id":"1350943968","filename":"file1"},{"photo_id":"1350943946","filename":"file0"},{"photo_id":"1350943977","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350943975":["hashtag1","hashtag2"]},{"1350943977":["hashtag1","hashtag2"]},{"1350943968":["hashtag1","hashtag2"]},{"1350943982":["hashtag1","hashtag2"]},{"1350943979":["hashtag1","hashtag2"]},{"1350943946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350943975, 1350943977, 1350943968, 1350943982, 1350943979, 1350943946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.698010206222534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:14:42.950450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/32/image_06042025_10_33_05_9410.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_15_10334.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_25_9481.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_35_10370.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_46_10389.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_55_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_33_05_9410.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_15_10334.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_25_9481.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_35_10370.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_46_10389.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_55_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350944065","1350944119","1350944110","1350944107","1350944082","1350944114"],"photo_ids_order":["1350944065","1350944082","1350944107","1350944110","1350944114","1350944119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fa88a37f2a11f4f6860f7354800a190.jpg","text":"TemporaryFile(/tmp/multipartBody4709714561146258951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9633af17d2630c45a08866aadc0ec464.jpg","text":"TemporaryFile(/tmp/multipartBody3951803213023319808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1c2e37d6ec32780251203a015fa51b3.jpg","text":"TemporaryFile(/tmp/multipartBody3857361884699175213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e5a29027fbf242abdf4469a80d68365.jpg","text":"TemporaryFile(/tmp/multipartBody5284789276567438162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_25_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad3f44d888f3df4a29e323f09bac5691.jpg","text":"TemporaryFile(/tmp/multipartBody4943793321151776832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9795a0f6744cbc2e8d6a2a0864f5e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody8038787098496144937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744236944734,"filename":"image_06042025_10_33_46_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350944107","file1":"1350944082","file0":"1350944065","file4":"1350944114","file5":"1350944119","file3":"1350944110"},"map_files_photo_id_array":[{"photo_id":"1350944119","filename":"file5"},{"photo_id":"1350944107","filename":"file2"},{"photo_id":"1350944114","filename":"file4"},{"photo_id":"1350944082","filename":"file1"},{"photo_id":"1350944065","filename":"file0"},{"photo_id":"1350944110","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350944065":["hashtag1","hashtag2"]},{"1350944119":["hashtag1","hashtag2"]},{"1350944110":["hashtag1","hashtag2"]},{"1350944107":["hashtag1","hashtag2"]},{"1350944082":["hashtag1","hashtag2"]},{"1350944114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350944065, 1350944119, 1350944110, 1350944107, 1350944082, 1350944114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44816017150879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:15:42.382060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/33/image_06042025_10_34_05_10354.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_15_9388.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_25_10347.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_36_10439.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_45_9344.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_34_05_10354.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_15_9388.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_25_10347.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_36_10439.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_45_9344.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350944212","1350944256","1350944186","1350944267","1350944240","1350944159"],"photo_ids_order":["1350944159","1350944186","1350944212","1350944240","1350944256","1350944267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd9f589762749aa7519b227fa0d7460b.jpg","text":"TemporaryFile(/tmp/multipartBody6043372973684257442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c9334a28fec0bd56c5d02f15ca63768.jpg","text":"TemporaryFile(/tmp/multipartBody3023622494433897912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db3ed566abf2a2d2581682102f294089.jpg","text":"TemporaryFile(/tmp/multipartBody8901353448055298115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24e1f71f7be358245509ddf3711dc273.jpg","text":"TemporaryFile(/tmp/multipartBody2094856673379754076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1c791afd9a9c2237b534e7c02a465e9.jpg","text":"TemporaryFile(/tmp/multipartBody6281044802915878222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_36_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a12f65da629ac116a1dadb9b2e9b62dd.jpg","text":"TemporaryFile(/tmp/multipartBody8099809123625251451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237004196,"filename":"image_06042025_10_34_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350944212","file1":"1350944186","file0":"1350944159","file4":"1350944256","file5":"1350944267","file3":"1350944240"},"map_files_photo_id_array":[{"photo_id":"1350944267","filename":"file5"},{"photo_id":"1350944212","filename":"file2"},{"photo_id":"1350944256","filename":"file4"},{"photo_id":"1350944186","filename":"file1"},{"photo_id":"1350944159","filename":"file0"},{"photo_id":"1350944240","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350944212":["hashtag1","hashtag2"]},{"1350944256":["hashtag1","hashtag2"]},{"1350944186":["hashtag1","hashtag2"]},{"1350944267":["hashtag1","hashtag2"]},{"1350944240":["hashtag1","hashtag2"]},{"1350944159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350944212, 1350944256, 1350944186, 1350944267, 1350944240, 1350944159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72963213920593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:16:42.577058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_15_10361.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_26_10376.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_35_9395.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_56_10379.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_36_05_9368.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_15_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_15_10361.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_26_10376.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_35_9395.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_56_10379.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_36_05_9368.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_15_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350944365","1350944359","1350944332","1350944314","1350944363","1350944324"],"photo_ids_order":["1350944314","1350944324","1350944332","1350944359","1350944363","1350944365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/507c0daf9833c8c9f8b55ba1b553b558.jpg","text":"TemporaryFile(/tmp/multipartBody1219652397931149830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_36_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72456fa3f2f3628752012a8ab76b9d76.jpg","text":"TemporaryFile(/tmp/multipartBody4637413166217167027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_35_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f70f414bbdcb86a2a32a28409c55cca.jpg","text":"TemporaryFile(/tmp/multipartBody8143455068430349917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_35_35_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1929cc9a15c5f495314596bfd3a82463.jpg","text":"TemporaryFile(/tmp/multipartBody6422435241947588180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_35_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f218486d949925d13a551ec3c5dfefd.jpg","text":"TemporaryFile(/tmp/multipartBody3876862147471893752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_36_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/066b4bda2a4b90716a9ff34b2cb83a06.jpg","text":"TemporaryFile(/tmp/multipartBody2212137574968130686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237064377,"filename":"image_06042025_10_35_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350944332","file1":"1350944324","file0":"1350944314","file4":"1350944363","file5":"1350944365","file3":"1350944359"},"map_files_photo_id_array":[{"photo_id":"1350944365","filename":"file5"},{"photo_id":"1350944332","filename":"file2"},{"photo_id":"1350944363","filename":"file4"},{"photo_id":"1350944324","filename":"file1"},{"photo_id":"1350944314","filename":"file0"},{"photo_id":"1350944359","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350944365":["hashtag1","hashtag2"]},{"1350944359":["hashtag1","hashtag2"]},{"1350944332":["hashtag1","hashtag2"]},{"1350944314":["hashtag1","hashtag2"]},{"1350944363":["hashtag1","hashtag2"]},{"1350944324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350944365, 1350944359, 1350944332, 1350944314, 1350944363, 1350944324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.217344760894775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:17:42.812942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_25_9397.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_35_10483.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_55_9364.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_37_05_10367.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_25_10376.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_35_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_25_9397.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_35_10483.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_55_9364.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_37_05_10367.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_25_10376.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_35_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350944506","1350944515","1350944727","1350944501","1350944686","1350944488"],"photo_ids_order":["1350944488","1350944501","1350944506","1350944515","1350944686","1350944727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93ea02b10f8fd4e1a09a56b8b34c1660.jpg","text":"TemporaryFile(/tmp/multipartBody4759136744232279960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_36_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3de2ba001685be5027184f57166b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3438437592223795457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_37_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/363157364525c7dc9f9a34ae157def0a.jpg","text":"TemporaryFile(/tmp/multipartBody1869955757077392806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_37_35_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fd5acefaeb53d6339f726de042168c0.jpg","text":"TemporaryFile(/tmp/multipartBody7885447056732603992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_36_35_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f29012303e46c2869993d1e378d6fc01.jpg","text":"TemporaryFile(/tmp/multipartBody274097152581985351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_37_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5adad1754a7ec01b8f1cdc8484d3630.jpg","text":"TemporaryFile(/tmp/multipartBody3579824126286933430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237124614,"filename":"image_06042025_10_36_25_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350944506","file1":"1350944501","file0":"1350944488","file4":"1350944686","file5":"1350944727","file3":"1350944515"},"map_files_photo_id_array":[{"photo_id":"1350944727","filename":"file5"},{"photo_id":"1350944506","filename":"file2"},{"photo_id":"1350944686","filename":"file4"},{"photo_id":"1350944501","filename":"file1"},{"photo_id":"1350944488","filename":"file0"},{"photo_id":"1350944515","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350944506":["hashtag1","hashtag2"]},{"1350944515":["hashtag1","hashtag2"]},{"1350944727":["hashtag1","hashtag2"]},{"1350944501":["hashtag1","hashtag2"]},{"1350944686":["hashtag1","hashtag2"]},{"1350944488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350944506, 1350944515, 1350944727, 1350944501, 1350944686, 1350944488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.14440393447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:18:43.005489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_45_10360.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_56_10388.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_38_05_9452.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_15_10411.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_25_9433.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_45_10360.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_56_10388.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_38_05_9452.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_15_10411.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_25_9433.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350945072","1350945045","1350944949","1350945101","1350944855","1350944998"],"photo_ids_order":["1350944855","1350944949","1350944998","1350945045","1350945072","1350945101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44625abf460e27dda50a107aaa6a92a9.jpg","text":"TemporaryFile(/tmp/multipartBody5496529662418035883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_38_25_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c28b064ac5f120416b2de46945b5d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8980896063924027243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_38_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8370ea4c300f548d08091b05df35091c.jpg","text":"TemporaryFile(/tmp/multipartBody7800854683243598182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_37_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/593020a9b7e401a0eff9f50179e40968.jpg","text":"TemporaryFile(/tmp/multipartBody1123718542857219333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_38_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3d939bf4a3b0a4a1864a3b42d3e0ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5890278340151143062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_37_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e256665468df6327f6504629440485e2.jpg","text":"TemporaryFile(/tmp/multipartBody6585843107989213428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237184799,"filename":"image_06042025_10_38_05_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350944998","file1":"1350944949","file0":"1350944855","file4":"1350945072","file5":"1350945101","file3":"1350945045"},"map_files_photo_id_array":[{"photo_id":"1350945101","filename":"file5"},{"photo_id":"1350944998","filename":"file2"},{"photo_id":"1350945072","filename":"file4"},{"photo_id":"1350944949","filename":"file1"},{"photo_id":"1350944855","filename":"file0"},{"photo_id":"1350945045","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350945072":["hashtag1","hashtag2"]},{"1350945045":["hashtag1","hashtag2"]},{"1350944949":["hashtag1","hashtag2"]},{"1350945101":["hashtag1","hashtag2"]},{"1350944855":["hashtag1","hashtag2"]},{"1350944998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350945072, 1350945045, 1350944949, 1350945101, 1350944855, 1350944998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99050784111023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:19:42.229392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_46_10358.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_56_10139.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_39_05_9369.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_15_10349.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_25_9508.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_46_10358.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_56_10139.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_39_05_9369.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_15_10349.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_25_9508.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350945639","1350945884","1350945785","1350945707","1350945598","1350945466"],"photo_ids_order":["1350945466","1350945598","1350945639","1350945707","1350945785","1350945884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e35815b45552dff7b8a2753f36b756f.jpg","text":"TemporaryFile(/tmp/multipartBody2568643009884049788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_39_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf57437137cfcd7a44c25f124c2e6e49.jpg","text":"TemporaryFile(/tmp/multipartBody3151732457484623551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_39_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3772db3555730761dcc22768478ef46c.jpg","text":"TemporaryFile(/tmp/multipartBody1882100993610152862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_39_25_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64847a3082ee54c6c8f140d955659dac.jpg","text":"TemporaryFile(/tmp/multipartBody4382993858219313713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_39_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7ab14610744d4f12229492dcc491c46.jpg","text":"TemporaryFile(/tmp/multipartBody7176034710539659117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_38_56_10139.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b928d8ec5c2a6e6d9d21c871c6162213.jpg","text":"TemporaryFile(/tmp/multipartBody8777419982812624689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237244016,"filename":"image_06042025_10_38_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350945639","file1":"1350945598","file0":"1350945466","file4":"1350945785","file5":"1350945884","file3":"1350945707"},"map_files_photo_id_array":[{"photo_id":"1350945884","filename":"file5"},{"photo_id":"1350945639","filename":"file2"},{"photo_id":"1350945785","filename":"file4"},{"photo_id":"1350945598","filename":"file1"},{"photo_id":"1350945466","filename":"file0"},{"photo_id":"1350945707","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350945639":["hashtag1","hashtag2"]},{"1350945884":["hashtag1","hashtag2"]},{"1350945785":["hashtag1","hashtag2"]},{"1350945707":["hashtag1","hashtag2"]},{"1350945598":["hashtag1","hashtag2"]},{"1350945466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350945639, 1350945884, 1350945785, 1350945707, 1350945598, 1350945466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96426224708557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:20:42.469539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_46_10352.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_55_9444.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_40_05_10362.jpg', '/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_15_9392.jpg', '/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_36_10380.jpg', '/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_46_10352.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_55_9444.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_40_05_10362.jpg
/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_15_9392.jpg
/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_36_10380.jpg
/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350946641","1350946427","1350946582","1350946726","1350946692","1350946504"],"photo_ids_order":["1350946427","1350946504","1350946582","1350946641","1350946692","1350946726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27c6f7220842c08bfa2b37fd76fec313.jpg","text":"TemporaryFile(/tmp/multipartBody5000382101365207187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_40_15_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93f4559ded2e370c536703c2dce09cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3406952606175801606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_39_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac86955733a7ed6a19a898d51fa7c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8751837064196249470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_40_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/481df52c40b2507b9bdf4db60fbb9bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6853051640390924535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_40_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f82b2b387c07206a441596b437b2d15.jpg","text":"TemporaryFile(/tmp/multipartBody6710305138273684385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_40_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ce1f6d4d1c22815b6d292a8fae8641c.jpg","text":"TemporaryFile(/tmp/multipartBody2016033130602365273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237304263,"filename":"image_06042025_10_39_55_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350946582","file1":"1350946504","file0":"1350946427","file4":"1350946692","file5":"1350946726","file3":"1350946641"},"map_files_photo_id_array":[{"photo_id":"1350946726","filename":"file5"},{"photo_id":"1350946582","filename":"file2"},{"photo_id":"1350946692","filename":"file4"},{"photo_id":"1350946504","filename":"file1"},{"photo_id":"1350946427","filename":"file0"},{"photo_id":"1350946641","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350946641":["hashtag1","hashtag2"]},{"1350946427":["hashtag1","hashtag2"]},{"1350946582":["hashtag1","hashtag2"]},{"1350946726":["hashtag1","hashtag2"]},{"1350946692":["hashtag1","hashtag2"]},{"1350946504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350946641, 1350946427, 1350946582, 1350946726, 1350946692, 1350946504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41883707046509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:21:42.796697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_55_10369.jpg', '/home/pi/Desktop/images/06042025/10/40/image_06042025_10_41_06_10337.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_15_9394.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_25_10369.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_45_10368.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_42_05_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/40/image_06042025_10_40_55_10369.jpg
/home/pi/Desktop/images/06042025/10/40/image_06042025_10_41_06_10337.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_15_9394.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_25_10369.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_45_10368.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_42_05_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350946866","1350946851","1350946860","1350946856","1350946834","1350946807"],"photo_ids_order":["1350946807","1350946834","1350946851","1350946856","1350946860","1350946866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0b662ffe84d55863e182879dd0896f5.jpg","text":"TemporaryFile(/tmp/multipartBody8799080565041944693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_42_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e125d2d07a36435acdfa04f66cfaa67.jpg","text":"TemporaryFile(/tmp/multipartBody2499478643085972999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_41_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/908d5c3b7c7074e7235c15a46c9d7141.jpg","text":"TemporaryFile(/tmp/multipartBody6865184864011787599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_41_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5979759a6b66708410497dfaf645281.jpg","text":"TemporaryFile(/tmp/multipartBody1562320696019194649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_41_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1010475e5f25880025e431be80135b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7743422496964844577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_41_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f0db705dd3bfec8a4439b7d41eae5ff.jpg","text":"TemporaryFile(/tmp/multipartBody656264717675733201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237364597,"filename":"image_06042025_10_40_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350946851","file1":"1350946834","file0":"1350946807","file4":"1350946860","file5":"1350946866","file3":"1350946856"},"map_files_photo_id_array":[{"photo_id":"1350946866","filename":"file5"},{"photo_id":"1350946851","filename":"file2"},{"photo_id":"1350946860","filename":"file4"},{"photo_id":"1350946834","filename":"file1"},{"photo_id":"1350946807","filename":"file0"},{"photo_id":"1350946856","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350946866":["hashtag1","hashtag2"]},{"1350946851":["hashtag1","hashtag2"]},{"1350946860":["hashtag1","hashtag2"]},{"1350946856":["hashtag1","hashtag2"]},{"1350946834":["hashtag1","hashtag2"]},{"1350946807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350946866, 1350946851, 1350946860, 1350946856, 1350946834, 1350946807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.940775632858276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:22:43.102034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_15_10347.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_25_9410.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_46_10346.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_55_9425.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_43_05_10360.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_15_10347.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_25_9410.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_46_10346.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_55_9425.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_43_05_10360.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350947106","1350946887","1350947003","1350946922","1350947050","1350946954"],"photo_ids_order":["1350946887","1350946922","1350946954","1350947003","1350947050","1350947106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77e4b03fa774f396dc8600e3b2766201.jpg","text":"TemporaryFile(/tmp/multipartBody14541202631894718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_43_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af9c15f3c3a9d5e7d8faa3c9bfcf1fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2377588362579307867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_42_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16b97fad751c2899a03f32a64908550b.jpg","text":"TemporaryFile(/tmp/multipartBody8088409438272828802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_42_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20e28a4cfbfc671c8442e30905da150c.jpg","text":"TemporaryFile(/tmp/multipartBody2737273043844233366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_42_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19059ac7ec8e81f62c8b8f2fa14a30de.jpg","text":"TemporaryFile(/tmp/multipartBody9180804756193773304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_43_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62f1e0fe9ca79bf20e7ea1c2a5a6e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2638126975913928291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237424920,"filename":"image_06042025_10_42_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350946954","file1":"1350946922","file0":"1350946887","file4":"1350947050","file5":"1350947106","file3":"1350947003"},"map_files_photo_id_array":[{"photo_id":"1350947106","filename":"file5"},{"photo_id":"1350946954","filename":"file2"},{"photo_id":"1350947050","filename":"file4"},{"photo_id":"1350946922","filename":"file1"},{"photo_id":"1350946887","filename":"file0"},{"photo_id":"1350947003","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350947106":["hashtag1","hashtag2"]},{"1350946887":["hashtag1","hashtag2"]},{"1350947003":["hashtag1","hashtag2"]},{"1350946922":["hashtag1","hashtag2"]},{"1350947050":["hashtag1","hashtag2"]},{"1350946954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350947106, 1350946887, 1350947003, 1350946922, 1350947050, 1350946954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.808186054229736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:23:42.278956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_25_9458.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_35_10357.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_45_9377.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_55_10454.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_44_06_10352.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_25_9458.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_35_10357.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_45_9377.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_55_10454.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_44_06_10352.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350947544","1350947531","1350947276","1350947563","1350947539","1350947416"],"photo_ids_order":["1350947276","1350947416","1350947531","1350947539","1350947544","1350947563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb24ff86c69e520cabd28b29b677dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4167326861724732898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_44_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9933d28b4689b3d8cf0a09933f2655da.jpg","text":"TemporaryFile(/tmp/multipartBody8838371037034723933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_43_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27b3c4f62db075f8241be507ccde30bf.jpg","text":"TemporaryFile(/tmp/multipartBody5965104440806331145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_43_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58274f72ad1be485c080f17364df4877.jpg","text":"TemporaryFile(/tmp/multipartBody9112182312341934787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_44_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc2972c146d30735b1472de04ddbf1c2.jpg","text":"TemporaryFile(/tmp/multipartBody5616146787738677739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_43_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e85b379c72cf324e3d23f776631a7e43.jpg","text":"TemporaryFile(/tmp/multipartBody4149148431480302633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237484083,"filename":"image_06042025_10_43_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350947531","file1":"1350947416","file0":"1350947276","file4":"1350947544","file5":"1350947563","file3":"1350947539"},"map_files_photo_id_array":[{"photo_id":"1350947563","filename":"file5"},{"photo_id":"1350947531","filename":"file2"},{"photo_id":"1350947544","filename":"file4"},{"photo_id":"1350947416","filename":"file1"},{"photo_id":"1350947276","filename":"file0"},{"photo_id":"1350947539","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350947544":["hashtag1","hashtag2"]},{"1350947531":["hashtag1","hashtag2"]},{"1350947276":["hashtag1","hashtag2"]},{"1350947563":["hashtag1","hashtag2"]},{"1350947539":["hashtag1","hashtag2"]},{"1350947416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350947544, 1350947531, 1350947276, 1350947563, 1350947539, 1350947416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81439471244812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:24:42.556434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_35_9454.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_56_10444.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_45_05_9341.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_15_10356.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_25_9422.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_35_9454.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_56_10444.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_45_05_9341.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_15_10356.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_25_9422.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350947861","1350947750","1350947801","1350947764","1350947761","1350947725"],"photo_ids_order":["1350947725","1350947750","1350947761","1350947764","1350947801","1350947861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9801786eb41cd537904a0c5cb58ffbb.jpg","text":"TemporaryFile(/tmp/multipartBody7184925977798927763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_45_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1a8cb026efbb2d2d6ebdf847c312de9.jpg","text":"TemporaryFile(/tmp/multipartBody172779036919777322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_44_56_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e862481473027427a9475f444c61cea0.jpg","text":"TemporaryFile(/tmp/multipartBody5645110126188350911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_45_25_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/187958acbdeed200c5b55d334d9e919e.jpg","text":"TemporaryFile(/tmp/multipartBody4899768177194556243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_45_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26246de4b7d7ffe8967a7fb242a45d44.jpg","text":"TemporaryFile(/tmp/multipartBody5338351265228148769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_45_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e00300bc65a5c18acc8894ac690d91b3.jpg","text":"TemporaryFile(/tmp/multipartBody2917146260823216702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237544355,"filename":"image_06042025_10_44_35_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350947761","file1":"1350947750","file0":"1350947725","file4":"1350947801","file5":"1350947861","file3":"1350947764"},"map_files_photo_id_array":[{"photo_id":"1350947861","filename":"file5"},{"photo_id":"1350947761","filename":"file2"},{"photo_id":"1350947801","filename":"file4"},{"photo_id":"1350947750","filename":"file1"},{"photo_id":"1350947725","filename":"file0"},{"photo_id":"1350947764","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350947861":["hashtag1","hashtag2"]},{"1350947750":["hashtag1","hashtag2"]},{"1350947801":["hashtag1","hashtag2"]},{"1350947764":["hashtag1","hashtag2"]},{"1350947761":["hashtag1","hashtag2"]},{"1350947725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350947861, 1350947750, 1350947801, 1350947764, 1350947761, 1350947725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.936274766922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:25:42.766079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_55_9462.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_46_06_10394.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_15_9458.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_25_10375.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_36_10359.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_45_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_55_9462.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_46_06_10394.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_15_9458.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_25_10375.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_36_10359.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_45_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350948079","1350948148","1350948129","1350948120","1350948123","1350948089"],"photo_ids_order":["1350948079","1350948089","1350948120","1350948123","1350948129","1350948148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2a8b3378273311b1a51d3c5cc43cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody8025594681213151435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_45_55_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10feef4cf20cdf53a3ac9f8e765933af.jpg","text":"TemporaryFile(/tmp/multipartBody5914062862794591448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_46_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/383f4a9668ab995e43d6f8563ae509eb.jpg","text":"TemporaryFile(/tmp/multipartBody4133207210332712953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_46_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6906bc6661d7647877d63d6ebedb6d26.jpg","text":"TemporaryFile(/tmp/multipartBody2226874499566844806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_46_15_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0256f2d594c63dcced9dedfa2349f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody4940370597403656949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_46_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd380ca602f053516ef69ac54adedcba.jpg","text":"TemporaryFile(/tmp/multipartBody5094409823707166971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237604563,"filename":"image_06042025_10_46_06_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350948120","file1":"1350948089","file0":"1350948079","file4":"1350948129","file5":"1350948148","file3":"1350948123"},"map_files_photo_id_array":[{"photo_id":"1350948148","filename":"file5"},{"photo_id":"1350948120","filename":"file2"},{"photo_id":"1350948129","filename":"file4"},{"photo_id":"1350948089","filename":"file1"},{"photo_id":"1350948079","filename":"file0"},{"photo_id":"1350948123","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350948079":["hashtag1","hashtag2"]},{"1350948148":["hashtag1","hashtag2"]},{"1350948129":["hashtag1","hashtag2"]},{"1350948120":["hashtag1","hashtag2"]},{"1350948123":["hashtag1","hashtag2"]},{"1350948089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350948079, 1350948148, 1350948129, 1350948120, 1350948123, 1350948089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49746751785278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:26:42.964776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_56_10453.jpg', '/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_15_10335.jpg', '/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_26_10359.jpg', '/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_35_9349.jpg', '/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_45_10352.jpg', '/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_55_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_56_10453.jpg
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_15_10335.jpg
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_26_10359.jpg
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_35_9349.jpg
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_45_10352.jpg
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_55_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350948341","1350948407","1350948381","1350948519","1350948300","1350948281"],"photo_ids_order":["1350948281","1350948300","1350948341","1350948381","1350948407","1350948519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9aa9c81d8cc973863e84396edd3562d.jpg","text":"TemporaryFile(/tmp/multipartBody1007303172440754076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_47_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf7b4a36ca2687f9805a8079388560c4.jpg","text":"TemporaryFile(/tmp/multipartBody1747898009694008183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_47_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/315ea2a084bcf359c3a59c4ad87e774c.jpg","text":"TemporaryFile(/tmp/multipartBody4554749099424840832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_47_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f03e9f4b588c80e085ab8871eda50ed.jpg","text":"TemporaryFile(/tmp/multipartBody3383323688790591607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_47_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad60e5dbac235498b2ebadf23c574246.jpg","text":"TemporaryFile(/tmp/multipartBody5517504111835502563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_47_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a31255979e5815cd9c324da3f65212cd.jpg","text":"TemporaryFile(/tmp/multipartBody8400998684495668413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237664746,"filename":"image_06042025_10_46_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350948341","file1":"1350948300","file0":"1350948281","file4":"1350948407","file5":"1350948519","file3":"1350948381"},"map_files_photo_id_array":[{"photo_id":"1350948519","filename":"file5"},{"photo_id":"1350948341","filename":"file2"},{"photo_id":"1350948407","filename":"file4"},{"photo_id":"1350948300","filename":"file1"},{"photo_id":"1350948281","filename":"file0"},{"photo_id":"1350948381","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350948341":["hashtag1","hashtag2"]},{"1350948407":["hashtag1","hashtag2"]},{"1350948381":["hashtag1","hashtag2"]},{"1350948519":["hashtag1","hashtag2"]},{"1350948300":["hashtag1","hashtag2"]},{"1350948281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350948341, 1350948407, 1350948381, 1350948519, 1350948300, 1350948281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.93250370025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:27:42.274913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/47/image_06042025_10_48_05_10368.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_16_10371.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_25_9404.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_35_10348.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_46_10347.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_55_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_48_05_10368.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_16_10371.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_25_9404.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_35_10348.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_46_10347.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_55_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350949150","1350949191","1350949113","1350949088","1350949277","1350949241"],"photo_ids_order":["1350949088","1350949113","1350949150","1350949191","1350949241","1350949277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0501b19402edd3ed69befed8ea87f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody2755885677220265248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/385ded0f3c1e88bef8c93a4fc6c7337e.jpg","text":"TemporaryFile(/tmp/multipartBody83097572536511856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cbb524b3bdf140cfee0f7f598d47b43.jpg","text":"TemporaryFile(/tmp/multipartBody909268762975592866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21047bac2227021d566250c26d0c6374.jpg","text":"TemporaryFile(/tmp/multipartBody6525399590473089671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d5b218d31b87dc14af87499edd614e9.jpg","text":"TemporaryFile(/tmp/multipartBody555854040208321311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e259f85730885c68c417e9f374467ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4798098789290068675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237724081,"filename":"image_06042025_10_48_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350949150","file1":"1350949113","file0":"1350949088","file4":"1350949241","file5":"1350949277","file3":"1350949191"},"map_files_photo_id_array":[{"photo_id":"1350949277","filename":"file5"},{"photo_id":"1350949150","filename":"file2"},{"photo_id":"1350949241","filename":"file4"},{"photo_id":"1350949113","filename":"file1"},{"photo_id":"1350949088","filename":"file0"},{"photo_id":"1350949191","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350949150":["hashtag1","hashtag2"]},{"1350949191":["hashtag1","hashtag2"]},{"1350949113":["hashtag1","hashtag2"]},{"1350949088":["hashtag1","hashtag2"]},{"1350949277":["hashtag1","hashtag2"]},{"1350949241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350949150, 1350949191, 1350949113, 1350949088, 1350949277, 1350949241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.266095876693726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:28:42.457756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_16_10250.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_25_9454.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_35_9721.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_45_10367.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_56_10456.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_50_05_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_16_10250.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_25_9454.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_35_9721.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_45_10367.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_56_10456.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_50_05_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350949852","1350949846","1350949768","1350949794","1350949807","1350949823"],"photo_ids_order":["1350949768","1350949794","1350949807","1350949823","1350949846","1350949852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a899a191f5eddf33dce739904f349bb5.jpg","text":"TemporaryFile(/tmp/multipartBody4726589735828292695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_50_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50cc2061b6cb8dc52dd1c838708fe795.jpg","text":"TemporaryFile(/tmp/multipartBody80606841538208117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_49_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fa50d78c358ac98771239d955cca791.jpg","text":"TemporaryFile(/tmp/multipartBody6111971816180904794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_49_16_10250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e2f6d12cff0b8b0fd52e6d782c58590.jpg","text":"TemporaryFile(/tmp/multipartBody6994925322243416085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_49_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4c7b84748f669889f44f99327f08c9c.jpg","text":"TemporaryFile(/tmp/multipartBody3679750903265273766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_49_35_9721.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c9b0a009fd14d6a13fa5688e630353b.jpg","text":"TemporaryFile(/tmp/multipartBody3820337247569160684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237784282,"filename":"image_06042025_10_49_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350949807","file1":"1350949794","file0":"1350949768","file4":"1350949846","file5":"1350949852","file3":"1350949823"},"map_files_photo_id_array":[{"photo_id":"1350949852","filename":"file5"},{"photo_id":"1350949807","filename":"file2"},{"photo_id":"1350949846","filename":"file4"},{"photo_id":"1350949794","filename":"file1"},{"photo_id":"1350949768","filename":"file0"},{"photo_id":"1350949823","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350949852":["hashtag1","hashtag2"]},{"1350949846":["hashtag1","hashtag2"]},{"1350949768":["hashtag1","hashtag2"]},{"1350949794":["hashtag1","hashtag2"]},{"1350949807":["hashtag1","hashtag2"]},{"1350949823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350949852, 1350949846, 1350949768, 1350949794, 1350949807, 1350949823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.54325032234192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:29:42.779404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_16_10719.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_25_9354.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_35_10390.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_45_9462.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_55_10393.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_51_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_16_10719.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_25_9354.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_35_10390.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_45_9462.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_55_10393.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_51_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350950156","1350950129","1350950114","1350950190","1350950181","1350950082"],"photo_ids_order":["1350950082","1350950114","1350950129","1350950156","1350950181","1350950190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad81c76b61889be367dc559de0f3472c.jpg","text":"TemporaryFile(/tmp/multipartBody5646050082985336320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_50_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/194a7e0287ab66a4af05ee239ddda2a0.jpg","text":"TemporaryFile(/tmp/multipartBody3707661996392613837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_50_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3a488bf0ad47eb9f3428371315393a0.jpg","text":"TemporaryFile(/tmp/multipartBody5400127980950840142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_50_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c96c0b54cfc126f15318b02ed37fbb59.jpg","text":"TemporaryFile(/tmp/multipartBody6375039509120480149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_51_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d867a95d1fcab99f2c19025a667d6e5d.jpg","text":"TemporaryFile(/tmp/multipartBody374692827435199003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_50_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68330d3b8d59cc650342dba8f555e3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5116130671293937763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237844575,"filename":"image_06042025_10_50_16_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350950129","file1":"1350950114","file0":"1350950082","file4":"1350950181","file5":"1350950190","file3":"1350950156"},"map_files_photo_id_array":[{"photo_id":"1350950190","filename":"file5"},{"photo_id":"1350950129","filename":"file2"},{"photo_id":"1350950181","filename":"file4"},{"photo_id":"1350950114","filename":"file1"},{"photo_id":"1350950082","filename":"file0"},{"photo_id":"1350950156","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350950156":["hashtag1","hashtag2"]},{"1350950129":["hashtag1","hashtag2"]},{"1350950114":["hashtag1","hashtag2"]},{"1350950190":["hashtag1","hashtag2"]},{"1350950181":["hashtag1","hashtag2"]},{"1350950082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350950156, 1350950129, 1350950114, 1350950190, 1350950181, 1350950082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.426421880722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:30:42.958413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_15_9449.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_26_10417.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_56_10389.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_16_10371.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_25_9392.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_35_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_15_9449.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_26_10417.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_56_10389.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_16_10371.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_25_9392.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_35_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350950440","1350950398","1350950356","1350950323","1350950487","1350950378"],"photo_ids_order":["1350950323","1350950356","1350950378","1350950398","1350950440","1350950487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4b124ec89fdcb87ffc8d2c93a9295ee.jpg","text":"TemporaryFile(/tmp/multipartBody2030715841932183825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_52_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/217ec4430924cbd3e7f31beca85f349f.jpg","text":"TemporaryFile(/tmp/multipartBody6229512259684903683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_52_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2be0654d10fed7187b1ae7701df8796.jpg","text":"TemporaryFile(/tmp/multipartBody4578773820890992569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_51_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4238aa2b983e0e574be7ee7737baf48d.jpg","text":"TemporaryFile(/tmp/multipartBody7278488503134195915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_51_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbf74b90cf77ed9ae5dd8c9a7dbcc27e.jpg","text":"TemporaryFile(/tmp/multipartBody4691871028410025374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_52_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94babe340e72f8df35aa39d4735a7691.jpg","text":"TemporaryFile(/tmp/multipartBody725973669035533992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237904746,"filename":"image_06042025_10_51_56_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350950378","file1":"1350950356","file0":"1350950323","file4":"1350950440","file5":"1350950487","file3":"1350950398"},"map_files_photo_id_array":[{"photo_id":"1350950487","filename":"file5"},{"photo_id":"1350950378","filename":"file2"},{"photo_id":"1350950440","filename":"file4"},{"photo_id":"1350950356","filename":"file1"},{"photo_id":"1350950323","filename":"file0"},{"photo_id":"1350950398","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350950440":["hashtag1","hashtag2"]},{"1350950398":["hashtag1","hashtag2"]},{"1350950356":["hashtag1","hashtag2"]},{"1350950323":["hashtag1","hashtag2"]},{"1350950487":["hashtag1","hashtag2"]},{"1350950378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350950440, 1350950398, 1350950356, 1350950323, 1350950487, 1350950378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61716675758362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:31:42.134207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_46_10344.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_55_9459.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_53_05_10352.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_15_9478.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_35_9365.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_55_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_46_10344.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_55_9459.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_53_05_10352.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_15_9478.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_35_9365.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_55_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350950756","1350950759","1350950750","1350950767","1350950743","1350950763"],"photo_ids_order":["1350950743","1350950750","1350950756","1350950759","1350950763","1350950767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fb96bc7d09297546aa661cf58114424.jpg","text":"TemporaryFile(/tmp/multipartBody10001548731219936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_53_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ceb2a4ff1b729155b93769dced706eec.jpg","text":"TemporaryFile(/tmp/multipartBody2109095148908556938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_53_15_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ba7ef8dc06e49fea3779b6efdbbaf01.jpg","text":"TemporaryFile(/tmp/multipartBody7189395085564606418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_52_55_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edf723ea8b79f7036bea9eb92b41e322.jpg","text":"TemporaryFile(/tmp/multipartBody6816502903738588872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_53_55_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f46f57aee0d117ee88ea2a55f1192725.jpg","text":"TemporaryFile(/tmp/multipartBody9024571390693797404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_52_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8523b6936f193736cb461adbfa667b23.jpg","text":"TemporaryFile(/tmp/multipartBody516678362958960413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744237963951,"filename":"image_06042025_10_53_35_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350950756","file1":"1350950750","file0":"1350950743","file4":"1350950763","file5":"1350950767","file3":"1350950759"},"map_files_photo_id_array":[{"photo_id":"1350950767","filename":"file5"},{"photo_id":"1350950756","filename":"file2"},{"photo_id":"1350950763","filename":"file4"},{"photo_id":"1350950750","filename":"file1"},{"photo_id":"1350950743","filename":"file0"},{"photo_id":"1350950759","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350950756":["hashtag1","hashtag2"]},{"1350950759":["hashtag1","hashtag2"]},{"1350950750":["hashtag1","hashtag2"]},{"1350950767":["hashtag1","hashtag2"]},{"1350950743":["hashtag1","hashtag2"]},{"1350950763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350950756, 1350950759, 1350950750, 1350950767, 1350950743, 1350950763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43316030502319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-10 00:32:42.327072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/53/image_06042025_10_54_05_10370.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_15_9460.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_36_10466.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_45_9419.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_55_10388.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_55_05_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_54_05_10370.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_15_9460.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_36_10466.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_45_9419.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_55_10388.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_55_05_9529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350950881","1350950875","1350950878","1350950887","1350950872","1350950889"],"photo_ids_order":["1350950872","1350950875","1350950878","1350950881","1350950887","1350950889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/719dd2bb6a7dd2cb6010657521a5a6a2.jpg","text":"TemporaryFile(/tmp/multipartBody4633410440343841558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_54_45_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73fb6378177e38186d502e79cb48eb50.jpg","text":"TemporaryFile(/tmp/multipartBody502642600812022344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_54_15_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3be471f098da873d811307107bc8052e.jpg","text":"TemporaryFile(/tmp/multipartBody3943395179248907151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_54_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd0ef6d35a2073a6213f70a51a9e9a72.jpg","text":"TemporaryFile(/tmp/multipartBody757498713506187375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_54_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec1c52713ec4c2ffc48b2bf17f293316.jpg","text":"TemporaryFile(/tmp/multipartBody7536961856964772442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_54_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b4a637317255b2ecb76616b82ecdc5a.jpg","text":"TemporaryFile(/tmp/multipartBody2018125524191333180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238024248,"filename":"image_06042025_10_55_05_9529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350950878","file1":"1350950875","file0":"1350950872","file4":"1350950887","file5":"1350950889","file3":"1350950881"},"map_files_photo_id_array":[{"photo_id":"1350950889","filename":"file5"},{"photo_id":"1350950878","filename":"file2"},{"photo_id":"1350950887","filename":"file4"},{"photo_id":"1350950875","filename":"file1"},{"photo_id":"1350950872","filename":"file0"},{"photo_id":"1350950881","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350950881":["hashtag1","hashtag2"]},{"1350950875":["hashtag1","hashtag2"]},{"1350950878":["hashtag1","hashtag2"]},{"1350950887":["hashtag1","hashtag2"]},{"1350950872":["hashtag1","hashtag2"]},{"1350950889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350950881, 1350950875, 1350950878, 1350950887, 1350950872, 1350950889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80819010734558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:34:03.160170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_15_10402.jpg', '/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_25_9484.jpg', '/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_35_10355.jpg', '/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_46_10362.jpg', '/home/pi/Desktop/images/06042025/10/56/image_06042025_10_57_05_10346.jpg', '/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_36_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_15_10402.jpg
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_25_9484.jpg
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_35_10355.jpg
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_46_10362.jpg
/home/pi/Desktop/images/06042025/10/56/image_06042025_10_57_05_10346.jpg
/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_36_10364.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350950962","1350950956","1350950950","1350951081","1350950970","1350950934"],"photo_ids_order":["1350950934","1350950950","1350950956","1350950962","1350950970","1350951081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d56ddf51dc347e7ca01de0ed91c1ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3922806853739344489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_55_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc383fac6b2706dd8f79aaeead97757c.jpg","text":"TemporaryFile(/tmp/multipartBody636769171162351162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_55_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abcf47e68c47c8edbcd6ad54228b401e.jpg","text":"TemporaryFile(/tmp/multipartBody4108060815771284121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_55_25_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51dc65a22091a83cf6122616151888d8.jpg","text":"TemporaryFile(/tmp/multipartBody7138446100804690250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_57_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/852f9f3a51c837bc85d2187716c87020.jpg","text":"TemporaryFile(/tmp/multipartBody6654819819584279388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_57_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef685df0d0e175f38ab00c53f921d5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4576111463438454071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238104151,"filename":"image_06042025_10_55_15_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350950956","file1":"1350950950","file0":"1350950934","file4":"1350950970","file5":"1350951081","file3":"1350950962"},"map_files_photo_id_array":[{"photo_id":"1350951081","filename":"file5"},{"photo_id":"1350950956","filename":"file2"},{"photo_id":"1350950970","filename":"file4"},{"photo_id":"1350950950","filename":"file1"},{"photo_id":"1350950934","filename":"file0"},{"photo_id":"1350950962","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350950962":["hashtag1","hashtag2"]},{"1350950956":["hashtag1","hashtag2"]},{"1350950950":["hashtag1","hashtag2"]},{"1350951081":["hashtag1","hashtag2"]},{"1350950970":["hashtag1","hashtag2"]},{"1350950934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350950962, 1350950956, 1350950950, 1350951081, 1350950970, 1350950934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.033313274383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:35:04.243979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_15_10397.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_26_10361.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_35_9440.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_45_10377.jpg', '/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_26_10875.jpg', '/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_14_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_15_10397.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_26_10361.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_35_9440.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_45_10377.jpg
/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_26_10875.jpg
/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_14_10076.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350951337","1350951247","1350951345","1350951261","1350951309","1350951306"],"photo_ids_order":["1350951247","1350951261","1350951306","1350951309","1350951337","1350951345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84ffc0dfab625e0c06530a77c9f9b018.jpg","text":"TemporaryFile(/tmp/multipartBody1083300084854521423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_10_59_26_10875.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f3d4606b557da78859392ef63d338de.jpg","text":"TemporaryFile(/tmp/multipartBody5168881795985910672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_10_58_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79886ed6dca74d1c810776c2806eb7b5.jpg","text":"TemporaryFile(/tmp/multipartBody5337012840910836885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_11_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/740076e3638eaef3aa56b860e09304fa.jpg","text":"TemporaryFile(/tmp/multipartBody5741432687261885609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_10_58_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81dcdbd32ae668d70c3557adfdb06b22.jpg","text":"TemporaryFile(/tmp/multipartBody5569285815456428409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_10_58_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d970f7535274e5d8674e24b6a881fce.jpg","text":"TemporaryFile(/tmp/multipartBody2366527254732718677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238166098,"filename":"image_06042025_10_58_35_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350951306","file1":"1350951261","file0":"1350951247","file4":"1350951337","file5":"1350951345","file3":"1350951309"},"map_files_photo_id_array":[{"photo_id":"1350951345","filename":"file5"},{"photo_id":"1350951306","filename":"file2"},{"photo_id":"1350951337","filename":"file4"},{"photo_id":"1350951261","filename":"file1"},{"photo_id":"1350951247","filename":"file0"},{"photo_id":"1350951309","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350951337":["hashtag1","hashtag2"]},{"1350951247":["hashtag1","hashtag2"]},{"1350951345":["hashtag1","hashtag2"]},{"1350951261":["hashtag1","hashtag2"]},{"1350951309":["hashtag1","hashtag2"]},{"1350951306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350951337, 1350951247, 1350951345, 1350951261, 1350951309, 1350951306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50706362724304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:36:03.032959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_44_9350.jpg', '/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_55_10489.jpg', '/home/pi/Desktop/images/06042025/11/01/image_06042025_11_02_04_9453.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_25_10364.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_35_9351.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_44_9350.jpg
/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_55_10489.jpg
/home/pi/Desktop/images/06042025/11/01/image_06042025_11_02_04_9453.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_25_10364.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_35_9351.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_45_10371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350951757","1350951670","1350951873","1350951855","1350951890","1350951869"],"photo_ids_order":["1350951670","1350951757","1350951855","1350951869","1350951873","1350951890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67785ad51d212aee5b0d6fd7c11ded54.jpg","text":"TemporaryFile(/tmp/multipartBody5712061278971852498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_01_55_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cb6d0b509bf23a531eb280905f291bc.jpg","text":"TemporaryFile(/tmp/multipartBody2085906418937475725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_01_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d50a24c6b2950cbe0c3bc473655c5799.jpg","text":"TemporaryFile(/tmp/multipartBody6188350134611002030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_02_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3062ed1d32d30e2fbe95d218a468451c.jpg","text":"TemporaryFile(/tmp/multipartBody2832574727897608190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_02_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/987fdfad59693c8c5f5db62da73e1474.jpg","text":"TemporaryFile(/tmp/multipartBody9101098078201349931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_02_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15beceee6a55bc09ebdce4596090befb.jpg","text":"TemporaryFile(/tmp/multipartBody4427038066283609675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238224009,"filename":"image_06042025_11_02_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350951855","file1":"1350951757","file0":"1350951670","file4":"1350951873","file5":"1350951890","file3":"1350951869"},"map_files_photo_id_array":[{"photo_id":"1350951890","filename":"file5"},{"photo_id":"1350951855","filename":"file2"},{"photo_id":"1350951873","filename":"file4"},{"photo_id":"1350951757","filename":"file1"},{"photo_id":"1350951670","filename":"file0"},{"photo_id":"1350951869","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350951757":["hashtag1","hashtag2"]},{"1350951670":["hashtag1","hashtag2"]},{"1350951873":["hashtag1","hashtag2"]},{"1350951855":["hashtag1","hashtag2"]},{"1350951890":["hashtag1","hashtag2"]},{"1350951869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350951757, 1350951670, 1350951873, 1350951855, 1350951890, 1350951869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54409122467041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:37:03.181323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_54_9384.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_15_10360.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_24_9389.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_35_10461.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_45_10343.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_55_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_54_9384.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_15_10360.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_24_9389.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_35_10461.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_45_10343.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_55_9448.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350952174","1350952215","1350952271","1350952104","1350952244","1350952052"],"photo_ids_order":["1350952052","1350952104","1350952174","1350952215","1350952244","1350952271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b67c1fbe5827222da5bb99975b9e32f.jpg","text":"TemporaryFile(/tmp/multipartBody2399921963251559173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_03_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e3051b46c670c1bc8058b18983c0766.jpg","text":"TemporaryFile(/tmp/multipartBody5114685413302223669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_03_35_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a8bd324048fa30a02b6919017e19848.jpg","text":"TemporaryFile(/tmp/multipartBody4918299757661959726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_03_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc93a06eb29d9087e671cba80b093384.jpg","text":"TemporaryFile(/tmp/multipartBody7747552921174990893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_03_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebb2bca21aee919098e3e06d80d1f752.jpg","text":"TemporaryFile(/tmp/multipartBody5375293671036673034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_03_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd886e26479d560d6089f603f93901fc.jpg","text":"TemporaryFile(/tmp/multipartBody8963566017821167230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238284294,"filename":"image_06042025_11_02_54_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350952174","file1":"1350952104","file0":"1350952052","file4":"1350952244","file5":"1350952271","file3":"1350952215"},"map_files_photo_id_array":[{"photo_id":"1350952271","filename":"file5"},{"photo_id":"1350952174","filename":"file2"},{"photo_id":"1350952244","filename":"file4"},{"photo_id":"1350952104","filename":"file1"},{"photo_id":"1350952052","filename":"file0"},{"photo_id":"1350952215","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350952174":["hashtag1","hashtag2"]},{"1350952215":["hashtag1","hashtag2"]},{"1350952271":["hashtag1","hashtag2"]},{"1350952104":["hashtag1","hashtag2"]},{"1350952244":["hashtag1","hashtag2"]},{"1350952052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350952174, 1350952215, 1350952271, 1350952104, 1350952244, 1350952052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.686556339263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:38:03.344238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/03/image_06042025_11_04_05_10426.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_14_9350.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_25_10464.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_34_9351.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_55_10348.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_05_04_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_04_05_10426.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_14_9350.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_25_10464.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_34_9351.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_55_10348.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_05_04_9341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350952726","1350952491","1350952689","1350952637","1350952591","1350952660"],"photo_ids_order":["1350952491","1350952591","1350952637","1350952660","1350952689","1350952726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22d35b6f855fbb4eb5e9fd59502e9567.jpg","text":"TemporaryFile(/tmp/multipartBody2593143312179684402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_05_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62026d03d8175c389e0e04c806be1a22.jpg","text":"TemporaryFile(/tmp/multipartBody5187473976774165258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_04_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d83417d6049104ce6693ee75a8dc3e6.jpg","text":"TemporaryFile(/tmp/multipartBody37337334712684366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_04_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ec26b06c4c9a57e80993bfef273dff7.jpg","text":"TemporaryFile(/tmp/multipartBody8507044663153769866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_04_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d1e41d7e30b6a5a51309b36ac6f6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody269694187470526626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_04_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/898fb940dbfa40e4d266e10573f6a251.jpg","text":"TemporaryFile(/tmp/multipartBody2997537116902378049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238344324,"filename":"image_06042025_11_04_34_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350952637","file1":"1350952591","file0":"1350952491","file4":"1350952689","file5":"1350952726","file3":"1350952660"},"map_files_photo_id_array":[{"photo_id":"1350952726","filename":"file5"},{"photo_id":"1350952637","filename":"file2"},{"photo_id":"1350952689","filename":"file4"},{"photo_id":"1350952591","filename":"file1"},{"photo_id":"1350952491","filename":"file0"},{"photo_id":"1350952660","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350952726":["hashtag1","hashtag2"]},{"1350952491":["hashtag1","hashtag2"]},{"1350952689":["hashtag1","hashtag2"]},{"1350952637":["hashtag1","hashtag2"]},{"1350952591":["hashtag1","hashtag2"]},{"1350952660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350952726, 1350952491, 1350952689, 1350952637, 1350952591, 1350952660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28037095069885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:39:03.485077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_15_10365.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_25_10458.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_35_9355.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_45_10361.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_54_9349.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_06_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_15_10365.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_25_10458.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_35_9355.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_45_10361.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_54_9349.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_06_05_10353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350953055","1350953085","1350953025","1350952977","1350952996","1350952928"],"photo_ids_order":["1350952928","1350952977","1350952996","1350953025","1350953055","1350953085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39661fc7bec36ddd2b570c5c2420c36c.jpg","text":"TemporaryFile(/tmp/multipartBody146846432122912930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_05_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18176b3bc8be10c28a9dbd75dbc7fb95.jpg","text":"TemporaryFile(/tmp/multipartBody4892291458118685046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_06_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/609b8258f7e41a1ec82a645d3df3618b.jpg","text":"TemporaryFile(/tmp/multipartBody3963541014943004030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_05_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68493dcba10c619ca4dff2e0ddc120f9.jpg","text":"TemporaryFile(/tmp/multipartBody4656547138996648290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_05_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/714f23aedb7e24df2362261c4210544b.jpg","text":"TemporaryFile(/tmp/multipartBody7871766641873835618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_05_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b21dcb00dd5af993df8c2a71ae7122fe.jpg","text":"TemporaryFile(/tmp/multipartBody2342016001961906699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238404579,"filename":"image_06042025_11_05_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350952996","file1":"1350952977","file0":"1350952928","file4":"1350953055","file5":"1350953085","file3":"1350953025"},"map_files_photo_id_array":[{"photo_id":"1350953085","filename":"file5"},{"photo_id":"1350952996","filename":"file2"},{"photo_id":"1350953055","filename":"file4"},{"photo_id":"1350952977","filename":"file1"},{"photo_id":"1350952928","filename":"file0"},{"photo_id":"1350953025","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350953055":["hashtag1","hashtag2"]},{"1350953085":["hashtag1","hashtag2"]},{"1350953025":["hashtag1","hashtag2"]},{"1350952977":["hashtag1","hashtag2"]},{"1350952996":["hashtag1","hashtag2"]},{"1350952928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350953055, 1350953085, 1350953025, 1350952977, 1350952996, 1350952928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94771671295166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:40:03.453500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_15_10417.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_24_9352.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_35_10499.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_44_9401.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_55_10371.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_07_05_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_15_10417.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_24_9352.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_35_10499.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_44_9401.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_55_10371.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_07_05_10367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350953934","1350953703","1350953747","1350953678","1350953587","1350953620"],"photo_ids_order":["1350953587","1350953620","1350953678","1350953703","1350953747","1350953934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d3434c55659737707b1b4a87c88be94.jpg","text":"TemporaryFile(/tmp/multipartBody7944740232284560806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_07_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3aa78d877ab118b1b3b1cdcab7532745.jpg","text":"TemporaryFile(/tmp/multipartBody2869315017622053163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_06_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61dd56182feaa06abd09f3b55462015d.jpg","text":"TemporaryFile(/tmp/multipartBody359824421474245274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_06_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf57d676b51379b8775644efd3451b39.jpg","text":"TemporaryFile(/tmp/multipartBody8830976937628073429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_06_35_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2975ebeafd2a09cdcbd3feadba28656.jpg","text":"TemporaryFile(/tmp/multipartBody5945339640648669082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_06_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50c00978da5277d7cda95875edcd1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7047131757665492457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238464428,"filename":"image_06042025_11_06_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350953678","file1":"1350953620","file0":"1350953587","file4":"1350953747","file5":"1350953934","file3":"1350953703"},"map_files_photo_id_array":[{"photo_id":"1350953934","filename":"file5"},{"photo_id":"1350953678","filename":"file2"},{"photo_id":"1350953747","filename":"file4"},{"photo_id":"1350953620","filename":"file1"},{"photo_id":"1350953587","filename":"file0"},{"photo_id":"1350953703","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350953934":["hashtag1","hashtag2"]},{"1350953703":["hashtag1","hashtag2"]},{"1350953747":["hashtag1","hashtag2"]},{"1350953678":["hashtag1","hashtag2"]},{"1350953587":["hashtag1","hashtag2"]},{"1350953620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350953934, 1350953703, 1350953747, 1350953678, 1350953587, 1350953620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.13239526748657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:41:03.449671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_14_9338.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_25_10379.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_35_10373.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_44_9360.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_55_10070.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_08_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_14_9338.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_25_10379.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_35_10373.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_44_9360.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_55_10070.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_08_05_10359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350954168","1350954293","1350954385","1350954340","1350954229","1350954118"],"photo_ids_order":["1350954118","1350954168","1350954229","1350954293","1350954340","1350954385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa9ea84db980da52b87a829f53e08221.jpg","text":"TemporaryFile(/tmp/multipartBody1410453556464024920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_07_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d0c7833a0eb3a0f720035244a793610.jpg","text":"TemporaryFile(/tmp/multipartBody4001645065380145236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_07_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d047f842be729625439bcd8c27d4d20.jpg","text":"TemporaryFile(/tmp/multipartBody6525750748879094837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_08_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/310c9fa42d3cded63e31a201d536dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody8557335096377073452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_07_55_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bda9d38885a43c8416b12bf82b35d951.jpg","text":"TemporaryFile(/tmp/multipartBody8788332689247349038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_07_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d9cf08c0173121da7ef94d689a6b20d.jpg","text":"TemporaryFile(/tmp/multipartBody7916412487253408699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238524613,"filename":"image_06042025_11_07_14_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350954229","file1":"1350954168","file0":"1350954118","file4":"1350954340","file5":"1350954385","file3":"1350954293"},"map_files_photo_id_array":[{"photo_id":"1350954385","filename":"file5"},{"photo_id":"1350954229","filename":"file2"},{"photo_id":"1350954340","filename":"file4"},{"photo_id":"1350954168","filename":"file1"},{"photo_id":"1350954118","filename":"file0"},{"photo_id":"1350954293","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350954168":["hashtag1","hashtag2"]},{"1350954293":["hashtag1","hashtag2"]},{"1350954385":["hashtag1","hashtag2"]},{"1350954340":["hashtag1","hashtag2"]},{"1350954229":["hashtag1","hashtag2"]},{"1350954118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350954168, 1350954293, 1350954385, 1350954340, 1350954229, 1350954118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70716977119446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:42:03.404880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_35_10367.jpg', '/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_55_10457.jpg', '/home/pi/Desktop/images/06042025/11/08/image_06042025_11_09_04_9360.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_15_10350.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_25_10481.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_34_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_35_10367.jpg
/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_55_10457.jpg
/home/pi/Desktop/images/06042025/11/08/image_06042025_11_09_04_9360.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_15_10350.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_25_10481.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_34_9355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350955069","1350954994","1350954889","1350954940","1350954820","1350955134"],"photo_ids_order":["1350954820","1350954889","1350954940","1350954994","1350955069","1350955134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/762d5a1b7b96873be5b40bb1fe1f82a3.jpg","text":"TemporaryFile(/tmp/multipartBody2605340669941811165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_09_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c925e7c7e6a492a402873507ce45bf93.jpg","text":"TemporaryFile(/tmp/multipartBody1769171207583842198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_09_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e1d593741dee8615715168528b83524.jpg","text":"TemporaryFile(/tmp/multipartBody2185702282462638424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_08_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3554d7d54d9f813f71250a780669bc35.jpg","text":"TemporaryFile(/tmp/multipartBody2800708736285420802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_09_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e0aa42a4ba921e5ce711a8aac4d8ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5629117590149874837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_08_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b766ab805f1fcbe1287ce244590976ae.jpg","text":"TemporaryFile(/tmp/multipartBody1072989085814341907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238584371,"filename":"image_06042025_11_09_34_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350954940","file1":"1350954889","file0":"1350954820","file4":"1350955069","file5":"1350955134","file3":"1350954994"},"map_files_photo_id_array":[{"photo_id":"1350955134","filename":"file5"},{"photo_id":"1350954940","filename":"file2"},{"photo_id":"1350955069","filename":"file4"},{"photo_id":"1350954889","filename":"file1"},{"photo_id":"1350954820","filename":"file0"},{"photo_id":"1350954994","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350955069":["hashtag1","hashtag2"]},{"1350954994":["hashtag1","hashtag2"]},{"1350954889":["hashtag1","hashtag2"]},{"1350954940":["hashtag1","hashtag2"]},{"1350954820":["hashtag1","hashtag2"]},{"1350955134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350955069, 1350954994, 1350954889, 1350954940, 1350954820, 1350955134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.931967973709106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:43:03.496387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_45_10487.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_54_9345.jpg', '/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_15_10414.jpg', '/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_35_10355.jpg', '/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_55_9359.jpg', '/home/pi/Desktop/images/06042025/11/10/image_06042025_11_11_05_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_45_10487.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_54_9345.jpg
/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_15_10414.jpg
/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_35_10355.jpg
/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_55_9359.jpg
/home/pi/Desktop/images/06042025/11/10/image_06042025_11_11_05_10431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350955391","1350955301","1350955331","1350955375","1350955341","1350955350"],"photo_ids_order":["1350955301","1350955331","1350955341","1350955350","1350955375","1350955391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50be869b7b331e511893f6b91a7de16c.jpg","text":"TemporaryFile(/tmp/multipartBody5185719986221081293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_11_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7df920799918e7c7e445191efc67411d.jpg","text":"TemporaryFile(/tmp/multipartBody7065600561039553754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_09_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dffa315bfccd08172829ddd88be1673.jpg","text":"TemporaryFile(/tmp/multipartBody5706475565602662519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_09_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04dfde4effada48bf5de398a159b3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4409963190408957627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_10_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed1af3a8547039f5b42422b6ec3f809b.jpg","text":"TemporaryFile(/tmp/multipartBody8282560816472125910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_10_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ef59a98d3a1f2f19ae3f0c4edf4323d.jpg","text":"TemporaryFile(/tmp/multipartBody5336627509174300972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238644616,"filename":"image_06042025_11_10_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350955341","file1":"1350955331","file0":"1350955301","file4":"1350955375","file5":"1350955391","file3":"1350955350"},"map_files_photo_id_array":[{"photo_id":"1350955391","filename":"file5"},{"photo_id":"1350955341","filename":"file2"},{"photo_id":"1350955375","filename":"file4"},{"photo_id":"1350955331","filename":"file1"},{"photo_id":"1350955301","filename":"file0"},{"photo_id":"1350955350","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350955391":["hashtag1","hashtag2"]},{"1350955301":["hashtag1","hashtag2"]},{"1350955331":["hashtag1","hashtag2"]},{"1350955375":["hashtag1","hashtag2"]},{"1350955341":["hashtag1","hashtag2"]},{"1350955350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350955391, 1350955301, 1350955331, 1350955375, 1350955341, 1350955350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11532998085022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:44:02.916869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_14_9341.jpg', '/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_25_10530.jpg', '/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_34_9440.jpg', '/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_45_10363.jpg', '/home/pi/Desktop/images/06042025/11/11/image_06042025_11_12_04_9378.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_15_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_14_9341.jpg
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_25_10530.jpg
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_34_9440.jpg
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_45_10363.jpg
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_12_04_9378.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_15_10445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350955643","1350955594","1350955675","1350955647","1350955629","1350955623"],"photo_ids_order":["1350955594","1350955623","1350955629","1350955643","1350955647","1350955675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/854524b97bb34a4a8de5963ca5cf8917.jpg","text":"TemporaryFile(/tmp/multipartBody2066058158558470402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_11_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b84294d3355116d23d4481b9184558d.jpg","text":"TemporaryFile(/tmp/multipartBody2972077217794606430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_11_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f968e6aa5e34fda6ac031e7ade672541.jpg","text":"TemporaryFile(/tmp/multipartBody3390177889038346029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_12_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5660b8d0659f32a0db4325f0fd02200b.jpg","text":"TemporaryFile(/tmp/multipartBody337345072710526638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_12_04_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c66df174050df6ed157400e07a77cd45.jpg","text":"TemporaryFile(/tmp/multipartBody1748507629562550615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_11_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6045f0b136e6550773f93b6b5ca148b3.jpg","text":"TemporaryFile(/tmp/multipartBody9214277662960569358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238703884,"filename":"image_06042025_11_11_25_10530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350955629","file1":"1350955623","file0":"1350955594","file4":"1350955647","file5":"1350955675","file3":"1350955643"},"map_files_photo_id_array":[{"photo_id":"1350955675","filename":"file5"},{"photo_id":"1350955629","filename":"file2"},{"photo_id":"1350955647","filename":"file4"},{"photo_id":"1350955623","filename":"file1"},{"photo_id":"1350955594","filename":"file0"},{"photo_id":"1350955643","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350955643":["hashtag1","hashtag2"]},{"1350955594":["hashtag1","hashtag2"]},{"1350955675":["hashtag1","hashtag2"]},{"1350955647":["hashtag1","hashtag2"]},{"1350955629":["hashtag1","hashtag2"]},{"1350955623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350955643, 1350955594, 1350955675, 1350955647, 1350955629, 1350955623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64098644256592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:45:03.862829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_24_9422.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_45_10400.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_54_9359.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_13_05_10410.jpg', '/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_15_10345.jpg', '/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_35_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_24_9422.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_45_10400.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_54_9359.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_13_05_10410.jpg
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_15_10345.jpg
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_35_10426.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350955818","1350955829","1350955840","1350955788","1350955813","1350955836"],"photo_ids_order":["1350955788","1350955813","1350955818","1350955829","1350955836","1350955840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11dd9c6598ae64320019a9e79c9cf759.jpg","text":"TemporaryFile(/tmp/multipartBody1625576271568014800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_12_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e22ab1367fc3064c7d60840eec8fde41.jpg","text":"TemporaryFile(/tmp/multipartBody7606932296833461224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_13_05_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3529700e986a86794a328b6af885a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody9158877707325952189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_13_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5fe19da5a368f55259d8144150a41e9.jpg","text":"TemporaryFile(/tmp/multipartBody6324928194412391084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_12_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/955715f83d314ea0989420b331b471db.jpg","text":"TemporaryFile(/tmp/multipartBody6031797259132342300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_12_45_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8e239a7264b93e7cc653e7c1b37fd28.jpg","text":"TemporaryFile(/tmp/multipartBody2703305014260580740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238764972,"filename":"image_06042025_11_13_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350955818","file1":"1350955813","file0":"1350955788","file4":"1350955836","file5":"1350955840","file3":"1350955829"},"map_files_photo_id_array":[{"photo_id":"1350955840","filename":"file5"},{"photo_id":"1350955818","filename":"file2"},{"photo_id":"1350955836","filename":"file4"},{"photo_id":"1350955813","filename":"file1"},{"photo_id":"1350955788","filename":"file0"},{"photo_id":"1350955829","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350955818":["hashtag1","hashtag2"]},{"1350955829":["hashtag1","hashtag2"]},{"1350955840":["hashtag1","hashtag2"]},{"1350955788":["hashtag1","hashtag2"]},{"1350955813":["hashtag1","hashtag2"]},{"1350955836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350955818, 1350955829, 1350955840, 1350955788, 1350955813, 1350955836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50813126564026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:46:03.257424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_44_9335.jpg', '/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_55_10368.jpg', '/home/pi/Desktop/images/06042025/11/13/image_06042025_11_14_05_10382.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_14_9354.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_25_10459.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_34_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_44_9335.jpg
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_55_10368.jpg
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_14_05_10382.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_14_9354.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_25_10459.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_34_9368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350956080","1350956108","1350956061","1350956055","1350956121","1350956022"],"photo_ids_order":["1350956022","1350956055","1350956061","1350956080","1350956108","1350956121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deac1f4c7c26b31d37ad1b0a71553c17.jpg","text":"TemporaryFile(/tmp/multipartBody8449896767424026853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_14_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7c9f1af9a9d127c981711469d5a9bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8207231833877060535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_14_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe835c8f0faef7fb0bd78870b5d4db26.jpg","text":"TemporaryFile(/tmp/multipartBody1765761797483670119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_14_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dafffa4757d8a075240f10bd4d982dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6333753531617630224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_13_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20bd6100b63e811005b80183c38ba719.jpg","text":"TemporaryFile(/tmp/multipartBody5115581299356155276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_14_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15d62938040c5a628719a200c08d40e7.jpg","text":"TemporaryFile(/tmp/multipartBody5318195859112574033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238824246,"filename":"image_06042025_11_13_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350956061","file1":"1350956055","file0":"1350956022","file4":"1350956108","file5":"1350956121","file3":"1350956080"},"map_files_photo_id_array":[{"photo_id":"1350956121","filename":"file5"},{"photo_id":"1350956061","filename":"file2"},{"photo_id":"1350956108","filename":"file4"},{"photo_id":"1350956055","filename":"file1"},{"photo_id":"1350956022","filename":"file0"},{"photo_id":"1350956080","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350956080":["hashtag1","hashtag2"]},{"1350956108":["hashtag1","hashtag2"]},{"1350956061":["hashtag1","hashtag2"]},{"1350956055":["hashtag1","hashtag2"]},{"1350956121":["hashtag1","hashtag2"]},{"1350956022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350956080, 1350956108, 1350956061, 1350956055, 1350956121, 1350956022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31717896461487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:47:03.185906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_45_10374.jpg', '/home/pi/Desktop/images/06042025/11/15/image_06042025_11_15_45_10451.jpg', '/home/pi/Desktop/images/06042025/11/15/image_06042025_11_15_54_9363.jpg', '/home/pi/Desktop/images/06042025/11/15/image_06042025_11_16_05_10376.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_15_10421.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_25_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_45_10374.jpg
/home/pi/Desktop/images/06042025/11/15/image_06042025_11_15_45_10451.jpg
/home/pi/Desktop/images/06042025/11/15/image_06042025_11_15_54_9363.jpg
/home/pi/Desktop/images/06042025/11/15/image_06042025_11_16_05_10376.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_15_10421.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_25_9394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350956252","1350956231","1350956287","1350956194","1350956209","1350956274"],"photo_ids_order":["1350956194","1350956209","1350956231","1350956252","1350956274","1350956287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0633af2dea3efdfb0d414b57281da58b.jpg","text":"TemporaryFile(/tmp/multipartBody2731124351817872763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_16_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25e2804b2c7e11fa9bb2b08b179cc3cc.jpg","text":"TemporaryFile(/tmp/multipartBody166845059391325116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_15_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00a749aa68d35f4b3b3c9aed2208691b.jpg","text":"TemporaryFile(/tmp/multipartBody2550693408544675720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_16_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa5bb81fedb68591b1e74bf359b0be8d.jpg","text":"TemporaryFile(/tmp/multipartBody7060487494589017489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_14_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4d8d925459f470d61a1d789408de598.jpg","text":"TemporaryFile(/tmp/multipartBody6876571929835301724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_15_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c80d9f498b678914a41a4bceb10294d.jpg","text":"TemporaryFile(/tmp/multipartBody1813585195826908933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238884402,"filename":"image_06042025_11_16_15_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350956231","file1":"1350956209","file0":"1350956194","file4":"1350956274","file5":"1350956287","file3":"1350956252"},"map_files_photo_id_array":[{"photo_id":"1350956287","filename":"file5"},{"photo_id":"1350956231","filename":"file2"},{"photo_id":"1350956274","filename":"file4"},{"photo_id":"1350956209","filename":"file1"},{"photo_id":"1350956194","filename":"file0"},{"photo_id":"1350956252","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350956252":["hashtag1","hashtag2"]},{"1350956231":["hashtag1","hashtag2"]},{"1350956287":["hashtag1","hashtag2"]},{"1350956194":["hashtag1","hashtag2"]},{"1350956209":["hashtag1","hashtag2"]},{"1350956274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350956252, 1350956231, 1350956287, 1350956194, 1350956209, 1350956274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22795844078064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:48:03.417345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_35_10396.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_44_9364.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_55_10367.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_17_05_10347.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_14_9362.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_35_10396.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_44_9364.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_55_10367.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_17_05_10347.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_14_9362.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_25_10386.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350956372","1350956345","1350956339","1350956331","1350956384","1350956378"],"photo_ids_order":["1350956331","1350956339","1350956345","1350956372","1350956378","1350956384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54476b68bf5d825e414f01ad3f54d10d.jpg","text":"TemporaryFile(/tmp/multipartBody1013513169075316222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_17_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f88a5b295702663cd95e5fdfc04a666c.jpg","text":"TemporaryFile(/tmp/multipartBody6548222015844952916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_16_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef2c3b5cf5e13ed09a31ffd5eafb4a27.jpg","text":"TemporaryFile(/tmp/multipartBody434087732416513699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_16_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33472c03e52b753f4eb02cc3e83c1bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1934166250289360099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_16_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3a45ab7c4f235b1120b8ad8c61305d9.jpg","text":"TemporaryFile(/tmp/multipartBody7021509204816701001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_17_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/745383f153149760c78cdcdeb0db0948.jpg","text":"TemporaryFile(/tmp/multipartBody8547506589310467887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744238944413,"filename":"image_06042025_11_17_14_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350956345","file1":"1350956339","file0":"1350956331","file4":"1350956378","file5":"1350956384","file3":"1350956372"},"map_files_photo_id_array":[{"photo_id":"1350956384","filename":"file5"},{"photo_id":"1350956345","filename":"file2"},{"photo_id":"1350956378","filename":"file4"},{"photo_id":"1350956339","filename":"file1"},{"photo_id":"1350956331","filename":"file0"},{"photo_id":"1350956372","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350956372":["hashtag1","hashtag2"]},{"1350956345":["hashtag1","hashtag2"]},{"1350956339":["hashtag1","hashtag2"]},{"1350956331":["hashtag1","hashtag2"]},{"1350956384":["hashtag1","hashtag2"]},{"1350956378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350956372, 1350956345, 1350956339, 1350956331, 1350956384, 1350956378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70690202713013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:49:03.753927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_35_10458.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_45_9360.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_55_10452.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_18_04_9347.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_15_10349.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_25_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_35_10458.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_45_9360.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_55_10452.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_18_04_9347.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_15_10349.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_25_10378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350956579","1350956592","1350956538","1350956466","1350956511","1350956489"],"photo_ids_order":["1350956466","1350956489","1350956511","1350956538","1350956579","1350956592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4b9d1a3b7c57594fb9fdfaf1b6b2f52.jpg","text":"TemporaryFile(/tmp/multipartBody5371551984922887313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_18_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9022d09b9214173f3bd9d2c1b3e9618b.jpg","text":"TemporaryFile(/tmp/multipartBody8696563059437794534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_18_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3c36dae809c6aae22fc5569ca3a2bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2241800801252390845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_18_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd1bdef840fe2d382eec0a19dd5529ab.jpg","text":"TemporaryFile(/tmp/multipartBody2281764883853805496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_17_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15b2bea4139e659258f0d004b04b334b.jpg","text":"TemporaryFile(/tmp/multipartBody1201519201616113839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_17_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8ce4d882c6336f41f6cea50cbd51c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3166631303118072420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239004833,"filename":"image_06042025_11_17_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350956511","file1":"1350956489","file0":"1350956466","file4":"1350956579","file5":"1350956592","file3":"1350956538"},"map_files_photo_id_array":[{"photo_id":"1350956592","filename":"file5"},{"photo_id":"1350956511","filename":"file2"},{"photo_id":"1350956579","filename":"file4"},{"photo_id":"1350956489","filename":"file1"},{"photo_id":"1350956466","filename":"file0"},{"photo_id":"1350956538","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350956579":["hashtag1","hashtag2"]},{"1350956592":["hashtag1","hashtag2"]},{"1350956538":["hashtag1","hashtag2"]},{"1350956466":["hashtag1","hashtag2"]},{"1350956511":["hashtag1","hashtag2"]},{"1350956489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350956579, 1350956592, 1350956538, 1350956466, 1350956511, 1350956489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27077531814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:50:02.601790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_34_9420.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_45_10412.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_54_9359.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_19_05_10348.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_15_10421.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_24_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_34_9420.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_45_10412.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_54_9359.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_19_05_10348.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_15_10421.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_24_9368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350956840","1350956986","1350956995","1350956950","1350956870","1350956802"],"photo_ids_order":["1350956802","1350956840","1350956870","1350956950","1350956986","1350956995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34d69cbee889db27df345d6616540cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3200301238826199752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_18_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b74a9aebaa8bab41dbd0a79aa6a9637f.jpg","text":"TemporaryFile(/tmp/multipartBody7853630203186110027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_19_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d677bf186422703045e7ce1e4c03323b.jpg","text":"TemporaryFile(/tmp/multipartBody1380499807127222312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_19_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df3b667e35596ee68acc7d643400a068.jpg","text":"TemporaryFile(/tmp/multipartBody486952606350843757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_19_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1af5d702fc7f481a80058336fd37a79b.jpg","text":"TemporaryFile(/tmp/multipartBody2675312455474135994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_18_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/663b461f7c7aa9f751e0d7cdd41f2635.jpg","text":"TemporaryFile(/tmp/multipartBody3211305404237239645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239063595,"filename":"image_06042025_11_18_34_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350956870","file1":"1350956840","file0":"1350956802","file4":"1350956986","file5":"1350956995","file3":"1350956950"},"map_files_photo_id_array":[{"photo_id":"1350956995","filename":"file5"},{"photo_id":"1350956870","filename":"file2"},{"photo_id":"1350956986","filename":"file4"},{"photo_id":"1350956840","filename":"file1"},{"photo_id":"1350956802","filename":"file0"},{"photo_id":"1350956950","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350956840":["hashtag1","hashtag2"]},{"1350956986":["hashtag1","hashtag2"]},{"1350956995":["hashtag1","hashtag2"]},{"1350956950":["hashtag1","hashtag2"]},{"1350956870":["hashtag1","hashtag2"]},{"1350956802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350956840, 1350956986, 1350956995, 1350956950, 1350956870, 1350956802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98918318748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:51:03.598965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_35_10556.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_44_9330.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_55_10371.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_20_05_10440.jpg', '/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_14_9346.jpg', '/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_25_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_35_10556.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_44_9330.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_55_10371.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_20_05_10440.jpg
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_14_9346.jpg
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_25_10431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350957221","1350957175","1350957157","1350957165","1350957210","1350957204"],"photo_ids_order":["1350957157","1350957165","1350957175","1350957204","1350957210","1350957221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c585a9167b561da497390415480541c.jpg","text":"TemporaryFile(/tmp/multipartBody6418080110797406780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_20_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59ec6916e573ed1601f8a8249ade6541.jpg","text":"TemporaryFile(/tmp/multipartBody2771252492690848229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_19_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e8c848627146964dfdcca45607c0ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6649623490570654145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_19_35_10556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2458204bd3ab6335ab52bfc12a7d8f58.jpg","text":"TemporaryFile(/tmp/multipartBody4247018504919512483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_19_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2009bcab19c0599eb955d71074ba0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6824084257915896828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_20_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfe83e5e0fae651c3459c62dca9b96e0.jpg","text":"TemporaryFile(/tmp/multipartBody455698747301276908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239124797,"filename":"image_06042025_11_20_05_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350957175","file1":"1350957165","file0":"1350957157","file4":"1350957210","file5":"1350957221","file3":"1350957204"},"map_files_photo_id_array":[{"photo_id":"1350957221","filename":"file5"},{"photo_id":"1350957175","filename":"file2"},{"photo_id":"1350957210","filename":"file4"},{"photo_id":"1350957165","filename":"file1"},{"photo_id":"1350957157","filename":"file0"},{"photo_id":"1350957204","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350957221":["hashtag1","hashtag2"]},{"1350957175":["hashtag1","hashtag2"]},{"1350957157":["hashtag1","hashtag2"]},{"1350957165":["hashtag1","hashtag2"]},{"1350957210":["hashtag1","hashtag2"]},{"1350957204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350957221, 1350957175, 1350957157, 1350957165, 1350957210, 1350957204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34174060821533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:52:02.815518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_34_9367.jpg', '/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_45_10371.jpg', '/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_55_10399.jpg', '/home/pi/Desktop/images/06042025/11/20/image_06042025_11_21_04_9383.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_15_10414.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_24_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_34_9367.jpg
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_45_10371.jpg
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_20_55_10399.jpg
/home/pi/Desktop/images/06042025/11/20/image_06042025_11_21_04_9383.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_15_10414.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_24_9447.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350957439","1350957403","1350957477","1350957435","1350957470","1350957464"],"photo_ids_order":["1350957403","1350957435","1350957439","1350957464","1350957470","1350957477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a6221ae1862e0d25be41ac3b7233b18.jpg","text":"TemporaryFile(/tmp/multipartBody6595962216881102567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_20_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be55096512b308e32b778a42febeb054.jpg","text":"TemporaryFile(/tmp/multipartBody2679216716267810052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_20_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0d0c8e188543d41e2b5bfe646384e1a.jpg","text":"TemporaryFile(/tmp/multipartBody194317019243266806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_21_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e33db225a32b6d952bc29fd97d56f986.jpg","text":"TemporaryFile(/tmp/multipartBody7233858605072271917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_20_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23696f609037e6569e3ae2016f488288.jpg","text":"TemporaryFile(/tmp/multipartBody763808571342280978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_21_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36bf3fdb263e798d907a39f4eddc7a92.jpg","text":"TemporaryFile(/tmp/multipartBody2803537118192781715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239183812,"filename":"image_06042025_11_21_04_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350957439","file1":"1350957435","file0":"1350957403","file4":"1350957470","file5":"1350957477","file3":"1350957464"},"map_files_photo_id_array":[{"photo_id":"1350957477","filename":"file5"},{"photo_id":"1350957439","filename":"file2"},{"photo_id":"1350957470","filename":"file4"},{"photo_id":"1350957435","filename":"file1"},{"photo_id":"1350957403","filename":"file0"},{"photo_id":"1350957464","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350957439":["hashtag1","hashtag2"]},{"1350957403":["hashtag1","hashtag2"]},{"1350957477":["hashtag1","hashtag2"]},{"1350957435":["hashtag1","hashtag2"]},{"1350957470":["hashtag1","hashtag2"]},{"1350957464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350957439, 1350957403, 1350957477, 1350957435, 1350957470, 1350957464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28805661201477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:53:04.019060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_35_10380.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_45_10496.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_22_05_10449.jpg', '/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_25_10452.jpg', '/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_34_9382.jpg', '/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_35_10380.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_45_10496.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_22_05_10449.jpg
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_25_10452.jpg
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_34_9382.jpg
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_45_10364.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350957664","1350957733","1350957649","1350957690","1350957702","1350957603"],"photo_ids_order":["1350957603","1350957649","1350957664","1350957690","1350957702","1350957733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7e7811fb26c152f23d305e89d2cb18a.jpg","text":"TemporaryFile(/tmp/multipartBody7953258727596909236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_22_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f52aacd4f682d45498c961a04bb68f75.jpg","text":"TemporaryFile(/tmp/multipartBody5820258298850626231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_22_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48d38b12efb6fdd46185f62607392510.jpg","text":"TemporaryFile(/tmp/multipartBody5328051541121079246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_21_45_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a974283793241c1919ace880ee87a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody5534699914901861842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_22_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31de8778a68f66a9d0fa38d17568855c.jpg","text":"TemporaryFile(/tmp/multipartBody932104749544826252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_22_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/333e31745be69368b5b631a1b9f2e34d.jpg","text":"TemporaryFile(/tmp/multipartBody3140826204538403170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239245127,"filename":"image_06042025_11_21_35_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350957664","file1":"1350957649","file0":"1350957603","file4":"1350957702","file5":"1350957733","file3":"1350957690"},"map_files_photo_id_array":[{"photo_id":"1350957733","filename":"file5"},{"photo_id":"1350957664","filename":"file2"},{"photo_id":"1350957702","filename":"file4"},{"photo_id":"1350957649","filename":"file1"},{"photo_id":"1350957603","filename":"file0"},{"photo_id":"1350957690","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350957664":["hashtag1","hashtag2"]},{"1350957733":["hashtag1","hashtag2"]},{"1350957649":["hashtag1","hashtag2"]},{"1350957690":["hashtag1","hashtag2"]},{"1350957702":["hashtag1","hashtag2"]},{"1350957603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350957664, 1350957733, 1350957649, 1350957690, 1350957702, 1350957603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.184075593948364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:54:02.920812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_55_10442.jpg', '/home/pi/Desktop/images/06042025/11/22/image_06042025_11_23_04_9359.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_15_10429.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_24_9362.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_35_10454.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_45_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_55_10442.jpg
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_23_04_9359.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_15_10429.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_24_9362.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_35_10454.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_45_10367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350957871","1350957847","1350957838","1350957852","1350957831","1350957842"],"photo_ids_order":["1350957831","1350957838","1350957842","1350957847","1350957852","1350957871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a1fb3f2c4cebfb930e7dcd0c344bb16.jpg","text":"TemporaryFile(/tmp/multipartBody7967320646206550397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_23_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91472ced256a01ac2e427315fd85634d.jpg","text":"TemporaryFile(/tmp/multipartBody5251652237181016006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_23_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/954debf1be8eea4c110f2ff40eac8083.jpg","text":"TemporaryFile(/tmp/multipartBody6477388895885046778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_23_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fca5b101a6284e46ded734292ba79af.jpg","text":"TemporaryFile(/tmp/multipartBody8169625958303162356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_23_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b0b67b2180f27eafda3e7af587746ba.jpg","text":"TemporaryFile(/tmp/multipartBody8129354203674480251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_22_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07b2a8680363c3a6497842ef87dc6a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7645978912988619569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239303911,"filename":"image_06042025_11_23_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350957842","file1":"1350957838","file0":"1350957831","file4":"1350957852","file5":"1350957871","file3":"1350957847"},"map_files_photo_id_array":[{"photo_id":"1350957871","filename":"file5"},{"photo_id":"1350957842","filename":"file2"},{"photo_id":"1350957852","filename":"file4"},{"photo_id":"1350957838","filename":"file1"},{"photo_id":"1350957831","filename":"file0"},{"photo_id":"1350957847","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350957871":["hashtag1","hashtag2"]},{"1350957847":["hashtag1","hashtag2"]},{"1350957838":["hashtag1","hashtag2"]},{"1350957852":["hashtag1","hashtag2"]},{"1350957831":["hashtag1","hashtag2"]},{"1350957842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350957871, 1350957847, 1350957838, 1350957852, 1350957831, 1350957842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21607828140259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:55:04.083471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_14_9440.jpg', '/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_25_10437.jpg', '/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_55_10367.jpg', '/home/pi/Desktop/images/06042025/11/24/image_06042025_11_25_04_9425.jpg', '/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_15_10464.jpg', '/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_14_9440.jpg
/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_25_10437.jpg
/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_55_10367.jpg
/home/pi/Desktop/images/06042025/11/24/image_06042025_11_25_04_9425.jpg
/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_15_10464.jpg
/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_35_10358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350958110","1350958094","1350958088","1350958106","1350958099","1350958063"],"photo_ids_order":["1350958063","1350958088","1350958094","1350958099","1350958106","1350958110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c2116a9c021cb73ba593ed78e659125.jpg","text":"TemporaryFile(/tmp/multipartBody2892384592800887044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_25_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49bda3e06da2d9b3ff09117fc05ffe6f.jpg","text":"TemporaryFile(/tmp/multipartBody4594517761797884115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_24_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1ddbfb0c9e8d0bd9c9e602c540eb4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1987266588882035110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_24_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf9f37d1ffab286213eda066557e3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8661544173561620760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_25_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97a484e8e317e203827feb096ff4c520.jpg","text":"TemporaryFile(/tmp/multipartBody7053414990891561247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_25_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/961732de5928189f32762e2efd827fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7061484798395930784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239366746,"filename":"image_06042025_11_24_14_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350958094","file1":"1350958088","file0":"1350958063","file4":"1350958106","file5":"1350958110","file3":"1350958099"},"map_files_photo_id_array":[{"photo_id":"1350958110","filename":"file5"},{"photo_id":"1350958094","filename":"file2"},{"photo_id":"1350958106","filename":"file4"},{"photo_id":"1350958088","filename":"file1"},{"photo_id":"1350958063","filename":"file0"},{"photo_id":"1350958099","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350958110":["hashtag1","hashtag2"]},{"1350958094":["hashtag1","hashtag2"]},{"1350958088":["hashtag1","hashtag2"]},{"1350958106":["hashtag1","hashtag2"]},{"1350958099":["hashtag1","hashtag2"]},{"1350958063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350958110, 1350958094, 1350958088, 1350958106, 1350958099, 1350958063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13608193397522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:56:02.814102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/25/image_06042025_11_26_05_10378.jpg', '/home/pi/Desktop/images/06042025/11/26/image_06042025_11_26_15_10416.jpg', '/home/pi/Desktop/images/06042025/11/26/image_06042025_11_26_44_9430.jpg', '/home/pi/Desktop/images/06042025/11/26/image_06042025_11_27_04_9356.jpg', '/home/pi/Desktop/images/06042025/11/27/image_06042025_11_27_45_10487.jpg', '/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_15_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/25/image_06042025_11_26_05_10378.jpg
/home/pi/Desktop/images/06042025/11/26/image_06042025_11_26_15_10416.jpg
/home/pi/Desktop/images/06042025/11/26/image_06042025_11_26_44_9430.jpg
/home/pi/Desktop/images/06042025/11/26/image_06042025_11_27_04_9356.jpg
/home/pi/Desktop/images/06042025/11/27/image_06042025_11_27_45_10487.jpg
/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_15_10440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350958156","1350958278","1350958256","1350958130","1350958226","1350958195"],"photo_ids_order":["1350958130","1350958156","1350958195","1350958226","1350958256","1350958278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c6f3ed30e92855aeab60fceda51c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody1993062990611188976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_26_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f93b0d1961624e5fe91abca4b00bea2.jpg","text":"TemporaryFile(/tmp/multipartBody5714813269127076947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_28_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c91cef56e673df7f4ecbf28fa8c3d2e6.jpg","text":"TemporaryFile(/tmp/multipartBody4917558053160086933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_27_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/028278afe17c82eb8da0167e4e4753ac.jpg","text":"TemporaryFile(/tmp/multipartBody1893815269735620183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_26_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c560eef63aa344dd6edb71e02d86dfb4.jpg","text":"TemporaryFile(/tmp/multipartBody4770943557995741500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_27_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fba0cdae39a85ac50622685bd761bca.jpg","text":"TemporaryFile(/tmp/multipartBody4663362521186121149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239423809,"filename":"image_06042025_11_26_44_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350958195","file1":"1350958156","file0":"1350958130","file4":"1350958256","file5":"1350958278","file3":"1350958226"},"map_files_photo_id_array":[{"photo_id":"1350958278","filename":"file5"},{"photo_id":"1350958195","filename":"file2"},{"photo_id":"1350958256","filename":"file4"},{"photo_id":"1350958156","filename":"file1"},{"photo_id":"1350958130","filename":"file0"},{"photo_id":"1350958226","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350958156":["hashtag1","hashtag2"]},{"1350958278":["hashtag1","hashtag2"]},{"1350958256":["hashtag1","hashtag2"]},{"1350958130":["hashtag1","hashtag2"]},{"1350958226":["hashtag1","hashtag2"]},{"1350958195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350958156, 1350958278, 1350958256, 1350958130, 1350958226, 1350958195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75018620491028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:57:04.174228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_24_9338.jpg', '/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_55_10407.jpg', '/home/pi/Desktop/images/06042025/11/28/image_06042025_11_29_05_10352.jpg', '/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_14_9347.jpg', '/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_25_10397.jpg', '/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_35_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_24_9338.jpg
/home/pi/Desktop/images/06042025/11/28/image_06042025_11_28_55_10407.jpg
/home/pi/Desktop/images/06042025/11/28/image_06042025_11_29_05_10352.jpg
/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_14_9347.jpg
/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_25_10397.jpg
/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_35_10455.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350958465","1350958476","1350958484","1350958445","1350958469","1350958456"],"photo_ids_order":["1350958445","1350958456","1350958465","1350958469","1350958476","1350958484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/180a445e91d6dfe910d376697cb82608.jpg","text":"TemporaryFile(/tmp/multipartBody4585285367447533947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_29_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e4bb076486c2bfe61997f50191d608f.jpg","text":"TemporaryFile(/tmp/multipartBody5142904100400714697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_29_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79134bcb40ad67eac0ee9869bb3ae4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8981043043183677431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_29_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fdfc539e86a79098c9bf5bdbfdf704c.jpg","text":"TemporaryFile(/tmp/multipartBody2799544287918859140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_28_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51910dfffc55078dc7dfab1b1c04a6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7140371531570108578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_29_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c9667f91d71fb01702a21490f8a8ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6910954239432762654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239485359,"filename":"image_06042025_11_28_55_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350958465","file1":"1350958456","file0":"1350958445","file4":"1350958476","file5":"1350958484","file3":"1350958469"},"map_files_photo_id_array":[{"photo_id":"1350958484","filename":"file5"},{"photo_id":"1350958465","filename":"file2"},{"photo_id":"1350958476","filename":"file4"},{"photo_id":"1350958456","filename":"file1"},{"photo_id":"1350958445","filename":"file0"},{"photo_id":"1350958469","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350958465":["hashtag1","hashtag2"]},{"1350958476":["hashtag1","hashtag2"]},{"1350958484":["hashtag1","hashtag2"]},{"1350958445":["hashtag1","hashtag2"]},{"1350958469":["hashtag1","hashtag2"]},{"1350958456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350958465, 1350958476, 1350958484, 1350958445, 1350958469, 1350958456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25194954872131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 00:59:03.750575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_45_9351.jpg', '/home/pi/Desktop/images/06042025/11/30/image_06042025_11_30_45_10383.jpg', '/home/pi/Desktop/images/06042025/11/30/image_06042025_11_30_54_9472.jpg', '/home/pi/Desktop/images/06042025/11/30/image_06042025_11_31_05_10347.jpg', '/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_15_10458.jpg', '/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_35_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/29/image_06042025_11_29_45_9351.jpg
/home/pi/Desktop/images/06042025/11/30/image_06042025_11_30_45_10383.jpg
/home/pi/Desktop/images/06042025/11/30/image_06042025_11_30_54_9472.jpg
/home/pi/Desktop/images/06042025/11/30/image_06042025_11_31_05_10347.jpg
/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_15_10458.jpg
/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_35_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350958738","1350958708","1350958731","1350958754","1350958745","1350958718"],"photo_ids_order":["1350958708","1350958718","1350958731","1350958738","1350958745","1350958754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ccdde146e09613bff576012d0e777bc.jpg","text":"TemporaryFile(/tmp/multipartBody5126857946128794125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_31_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c697dae9c434a1ae93279a59e81d832f.jpg","text":"TemporaryFile(/tmp/multipartBody4677955695503077737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_29_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6f3b20aaa52813f700791ca2e2d8f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4188316109230414434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_30_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/436eb5595682b53a8d8193e8b25323cc.jpg","text":"TemporaryFile(/tmp/multipartBody3804117005399277122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_31_35_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b0a6ef4afa911ab8127dff9648ce580.jpg","text":"TemporaryFile(/tmp/multipartBody2451802998888913797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_31_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/027971df5dbc10d08ca4723e88ecdaaa.jpg","text":"TemporaryFile(/tmp/multipartBody1007699577816424206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239605060,"filename":"image_06042025_11_30_45_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350958731","file1":"1350958718","file0":"1350958708","file4":"1350958745","file5":"1350958754","file3":"1350958738"},"map_files_photo_id_array":[{"photo_id":"1350958754","filename":"file5"},{"photo_id":"1350958731","filename":"file2"},{"photo_id":"1350958745","filename":"file4"},{"photo_id":"1350958718","filename":"file1"},{"photo_id":"1350958708","filename":"file0"},{"photo_id":"1350958738","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350958738":["hashtag1","hashtag2"]},{"1350958708":["hashtag1","hashtag2"]},{"1350958731":["hashtag1","hashtag2"]},{"1350958754":["hashtag1","hashtag2"]},{"1350958745":["hashtag1","hashtag2"]},{"1350958718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350958738, 1350958708, 1350958731, 1350958754, 1350958745, 1350958718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04443120956421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 00:59:52.843202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_44_9358.jpg', '/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_55_10357.jpg', '/home/pi/Desktop/images/06042025/11/31/image_06042025_11_32_05_10424.jpg', '/home/pi/Desktop/images/06042025/11/34/image_06042025_11_34_25_9434.jpg', '/home/pi/Desktop/images/06042025/11/34/image_06042025_11_34_35_10484.jpg', '/home/pi/Desktop/images/06042025/11/35/image_06042025_11_35_34_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_44_9358.jpg
/home/pi/Desktop/images/06042025/11/31/image_06042025_11_31_55_10357.jpg
/home/pi/Desktop/images/06042025/11/31/image_06042025_11_32_05_10424.jpg
/home/pi/Desktop/images/06042025/11/34/image_06042025_11_34_25_9434.jpg
/home/pi/Desktop/images/06042025/11/34/image_06042025_11_34_35_10484.jpg
/home/pi/Desktop/images/06042025/11/35/image_06042025_11_35_34_9366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350958974","1350959028","1350959041","1350959035","1350959020","1350959014"],"photo_ids_order":["1350958974","1350959014","1350959020","1350959028","1350959035","1350959041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b78c6cbc2238615cf271b433d78aaa08.jpg","text":"TemporaryFile(/tmp/multipartBody7270011434653977115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_31_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59742943563e41fe08a3944b3b3c7245.jpg","text":"TemporaryFile(/tmp/multipartBody6136604424676349607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_34_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a9418c23d0cd1c0f3266a41afd23a08.jpg","text":"TemporaryFile(/tmp/multipartBody1783072197461346119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_35_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3e982a111702ce86ea6cd6987683eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1845641176341649131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_34_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/514e785d60b6a16886b39e2ceb05772d.jpg","text":"TemporaryFile(/tmp/multipartBody2517941927644210251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_32_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/afdf7ee226e11514d58fd28a708d9169.jpg","text":"TemporaryFile(/tmp/multipartBody6606326781125984345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239654660,"filename":"image_06042025_11_31_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350959020","file1":"1350959014","file0":"1350958974","file4":"1350959035","file5":"1350959041","file3":"1350959028"},"map_files_photo_id_array":[{"photo_id":"1350959041","filename":"file5"},{"photo_id":"1350959020","filename":"file2"},{"photo_id":"1350959035","filename":"file4"},{"photo_id":"1350959014","filename":"file1"},{"photo_id":"1350958974","filename":"file0"},{"photo_id":"1350959028","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350958974":["hashtag1","hashtag2"]},{"1350959028":["hashtag1","hashtag2"]},{"1350959041":["hashtag1","hashtag2"]},{"1350959035":["hashtag1","hashtag2"]},{"1350959020":["hashtag1","hashtag2"]},{"1350959014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350958974, 1350959028, 1350959041, 1350959035, 1350959020, 1350959014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7452290058136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:00:33.092947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/35/image_06042025_11_36_05_9344.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_15_10363.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_24_9381.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_35_10412.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_45_10355.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_54_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/35/image_06042025_11_36_05_9344.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_15_10363.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_24_9381.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_35_10412.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_45_10355.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_54_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350959148","1350959061","1350959127","1350959087","1350959185","1350959098"],"photo_ids_order":["1350959061","1350959087","1350959098","1350959127","1350959148","1350959185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b99d1e0539bbf7c1085a7238004275e0.jpg","text":"TemporaryFile(/tmp/multipartBody3355824097949917092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41cfe9385b5cbe946734132f50229f87.jpg","text":"TemporaryFile(/tmp/multipartBody2301092001428440059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_05_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff5fbb01c85614ec373f9a13cd3fed36.jpg","text":"TemporaryFile(/tmp/multipartBody105429905030517319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_35_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53d5799802eecf369082ed9e8473847c.jpg","text":"TemporaryFile(/tmp/multipartBody3724394866872629534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0ef686c20dde471f842a8c35fbf002e.jpg","text":"TemporaryFile(/tmp/multipartBody1528398331826990890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dba751b59a12d6f4ea4e22ae289b97c6.jpg","text":"TemporaryFile(/tmp/multipartBody3190538507425183406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239694879,"filename":"image_06042025_11_36_24_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350959098","file1":"1350959087","file0":"1350959061","file4":"1350959148","file5":"1350959185","file3":"1350959127"},"map_files_photo_id_array":[{"photo_id":"1350959185","filename":"file5"},{"photo_id":"1350959098","filename":"file2"},{"photo_id":"1350959148","filename":"file4"},{"photo_id":"1350959087","filename":"file1"},{"photo_id":"1350959061","filename":"file0"},{"photo_id":"1350959127","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350959148":["hashtag1","hashtag2"]},{"1350959061":["hashtag1","hashtag2"]},{"1350959127":["hashtag1","hashtag2"]},{"1350959087":["hashtag1","hashtag2"]},{"1350959185":["hashtag1","hashtag2"]},{"1350959098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350959148, 1350959061, 1350959127, 1350959087, 1350959185, 1350959098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66580033302307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:01:32.435297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/36/image_06042025_11_37_05_10467.jpg', '/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_14_9341.jpg', '/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_35_10362.jpg', '/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_44_9383.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_15_10338.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_25_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_37_05_10467.jpg
/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_14_9341.jpg
/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_35_10362.jpg
/home/pi/Desktop/images/06042025/11/37/image_06042025_11_37_44_9383.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_15_10338.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_25_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350959506","1350959588","1350959468","1350959660","1350959447","1350959545"],"photo_ids_order":["1350959447","1350959468","1350959506","1350959545","1350959588","1350959660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b029def88a5394ae68672f4ecbdf9126.jpg","text":"TemporaryFile(/tmp/multipartBody3202096912884484043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_37_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1712b6d4b348ab858a0f4ea72ec325e9.jpg","text":"TemporaryFile(/tmp/multipartBody7517681653309968187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_38_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b243e8868a7393885455000686a165c.jpg","text":"TemporaryFile(/tmp/multipartBody6336378818456882570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_37_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8734c5f44df9c192eb6637969f8466a9.jpg","text":"TemporaryFile(/tmp/multipartBody2485689684335184917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_38_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/809f402b9808c340dfd74e3c508e09a7.jpg","text":"TemporaryFile(/tmp/multipartBody5231295789778483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_37_05_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/268f494704cca9c9e680c5e3a717615b.jpg","text":"TemporaryFile(/tmp/multipartBody7606796602765983023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239754222,"filename":"image_06042025_11_37_44_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350959506","file1":"1350959468","file0":"1350959447","file4":"1350959588","file5":"1350959660","file3":"1350959545"},"map_files_photo_id_array":[{"photo_id":"1350959660","filename":"file5"},{"photo_id":"1350959506","filename":"file2"},{"photo_id":"1350959588","filename":"file4"},{"photo_id":"1350959468","filename":"file1"},{"photo_id":"1350959447","filename":"file0"},{"photo_id":"1350959545","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350959506":["hashtag1","hashtag2"]},{"1350959588":["hashtag1","hashtag2"]},{"1350959468":["hashtag1","hashtag2"]},{"1350959660":["hashtag1","hashtag2"]},{"1350959447":["hashtag1","hashtag2"]},{"1350959545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350959506, 1350959588, 1350959468, 1350959660, 1350959447, 1350959545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57333278656006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:02:32.495726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_34_9339.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_45_10540.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_55_10352.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_39_05_9334.jpg', '/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_15_10375.jpg', '/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_24_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_34_9339.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_45_10540.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_55_10352.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_39_05_9334.jpg
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_15_10375.jpg
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_24_9361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7336490154266357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 01:02:42.509222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_34_9339.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_45_10540.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_55_10352.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_39_05_9334.jpg', '/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_15_10375.jpg', '/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_24_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_34_9339.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_45_10540.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_55_10352.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_39_05_9334.jpg
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_15_10375.jpg
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_24_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350960844","1350960594","1350960671","1350960494","1350960790","1350960376"],"photo_ids_order":["1350960376","1350960494","1350960594","1350960671","1350960790","1350960844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c8955ab7b2b19f02db9898f94f9d226.jpg","text":"TemporaryFile(/tmp/multipartBody2774108693186230265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_39_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5d4a69f55fc6b3d69d5dba1905e7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody294368039303139093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_38_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d5a5b383eaf2c30b12fdbc15814eb78.jpg","text":"TemporaryFile(/tmp/multipartBody2760619392235755922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_39_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37abccd849cffc5e427f0187c69e3772.jpg","text":"TemporaryFile(/tmp/multipartBody8274785675173600632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_38_45_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ceca1f119c373a01191e9e9be42ce060.jpg","text":"TemporaryFile(/tmp/multipartBody4998725094970060373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_39_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8f400ccd9a1c54930b56c30c976611f.jpg","text":"TemporaryFile(/tmp/multipartBody3238215627821180286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239823410,"filename":"image_06042025_11_38_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350960594","file1":"1350960494","file0":"1350960376","file4":"1350960790","file5":"1350960844","file3":"1350960671"},"map_files_photo_id_array":[{"photo_id":"1350960844","filename":"file5"},{"photo_id":"1350960594","filename":"file2"},{"photo_id":"1350960790","filename":"file4"},{"photo_id":"1350960494","filename":"file1"},{"photo_id":"1350960376","filename":"file0"},{"photo_id":"1350960671","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350960844":["hashtag1","hashtag2"]},{"1350960594":["hashtag1","hashtag2"]},{"1350960671":["hashtag1","hashtag2"]},{"1350960494":["hashtag1","hashtag2"]},{"1350960790":["hashtag1","hashtag2"]},{"1350960376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350960844, 1350960594, 1350960671, 1350960494, 1350960790, 1350960376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.402178049087524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:03:32.790339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_35_10359.jpg', '/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_45_10454.jpg', '/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_14_9345.jpg', '/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_35_10418.jpg', '/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_44_9334.jpg', '/home/pi/Desktop/images/06042025/11/41/image_06042025_11_41_35_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_35_10359.jpg
/home/pi/Desktop/images/06042025/11/39/image_06042025_11_39_45_10454.jpg
/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_14_9345.jpg
/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_35_10418.jpg
/home/pi/Desktop/images/06042025/11/40/image_06042025_11_40_44_9334.jpg
/home/pi/Desktop/images/06042025/11/41/image_06042025_11_41_35_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350961287","1350961111","1350961169","1350961070","1350961202","1350961231"],"photo_ids_order":["1350961070","1350961111","1350961169","1350961202","1350961231","1350961287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38086430dbe51e30da0f59c0b5f71a97.jpg","text":"TemporaryFile(/tmp/multipartBody6517769523119615595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_41_35_9606.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1df83326df26e2613e5e6978b4ba7389.jpg","text":"TemporaryFile(/tmp/multipartBody892084890162746648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_39_45_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a3726e6aa5a825085af73cf05dbb9c7.jpg","text":"TemporaryFile(/tmp/multipartBody1397415899125940945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_40_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f06dd1a766446e40cee173e0e39ee663.jpg","text":"TemporaryFile(/tmp/multipartBody5562511801530748400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_39_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b75b3f501170491179a81e9ed633a2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2486812271584998909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_40_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/185195ebdbcbf237b62f550e9b15242d.jpg","text":"TemporaryFile(/tmp/multipartBody3498332571256969785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239874584,"filename":"image_06042025_11_40_44_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350961169","file1":"1350961111","file0":"1350961070","file4":"1350961231","file5":"1350961287","file3":"1350961202"},"map_files_photo_id_array":[{"photo_id":"1350961287","filename":"file5"},{"photo_id":"1350961169","filename":"file2"},{"photo_id":"1350961231","filename":"file4"},{"photo_id":"1350961111","filename":"file1"},{"photo_id":"1350961070","filename":"file0"},{"photo_id":"1350961202","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350961287":["hashtag1","hashtag2"]},{"1350961111":["hashtag1","hashtag2"]},{"1350961169":["hashtag1","hashtag2"]},{"1350961070":["hashtag1","hashtag2"]},{"1350961202":["hashtag1","hashtag2"]},{"1350961231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350961287, 1350961111, 1350961169, 1350961070, 1350961202, 1350961231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99573564529419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:04:32.993642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/41/image_06042025_11_41_45_10375.jpg', '/home/pi/Desktop/images/06042025/11/41/image_06042025_11_42_05_10455.jpg', '/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_25_10354.jpg', '/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_55_10452.jpg', '/home/pi/Desktop/images/06042025/11/42/image_06042025_11_43_04_9426.jpg', '/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_15_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/41/image_06042025_11_41_45_10375.jpg
/home/pi/Desktop/images/06042025/11/41/image_06042025_11_42_05_10455.jpg
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_25_10354.jpg
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_55_10452.jpg
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_43_04_9426.jpg
/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_15_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350961896","1350961947","1350962327","1350962057","1350961811","1350961733"],"photo_ids_order":["1350961733","1350961811","1350961896","1350961947","1350962057","1350962327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffd9c7cc17ec979540c4f6ab4c5636e2.jpg","text":"TemporaryFile(/tmp/multipartBody1109763823339678811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_42_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3dd5f1d66c6ca1236ab2abf94404007.jpg","text":"TemporaryFile(/tmp/multipartBody3926359358068876570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_42_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7bb5703df999a448cee23d79596da06.jpg","text":"TemporaryFile(/tmp/multipartBody3525275138424849641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_43_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa8244bc0c2f07715b52381bf2aa06f9.jpg","text":"TemporaryFile(/tmp/multipartBody7052214160638378108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_43_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74cedb35dac51b304aead8f4e9719ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5599280779045926863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_42_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/897f331e3731b53de41511f5f4732ded.jpg","text":"TemporaryFile(/tmp/multipartBody8439989783349269025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239934782,"filename":"image_06042025_11_41_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350961896","file1":"1350961811","file0":"1350961733","file4":"1350962057","file5":"1350962327","file3":"1350961947"},"map_files_photo_id_array":[{"photo_id":"1350962327","filename":"file5"},{"photo_id":"1350961896","filename":"file2"},{"photo_id":"1350962057","filename":"file4"},{"photo_id":"1350961811","filename":"file1"},{"photo_id":"1350961733","filename":"file0"},{"photo_id":"1350961947","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350961896":["hashtag1","hashtag2"]},{"1350961947":["hashtag1","hashtag2"]},{"1350962327":["hashtag1","hashtag2"]},{"1350962057":["hashtag1","hashtag2"]},{"1350961811":["hashtag1","hashtag2"]},{"1350961733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350961896, 1350961947, 1350962327, 1350962057, 1350961811, 1350961733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.547879219055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:05:32.155761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_35_9467.jpg', '/home/pi/Desktop/images/06042025/11/44/image_06042025_11_45_05_10423.jpg', '/home/pi/Desktop/images/06042025/11/46/image_06042025_11_47_05_10511.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_14_9343.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_25_10470.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_35_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_35_9467.jpg
/home/pi/Desktop/images/06042025/11/44/image_06042025_11_45_05_10423.jpg
/home/pi/Desktop/images/06042025/11/46/image_06042025_11_47_05_10511.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_14_9343.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_25_10470.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_35_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350962631","1350962705","1350962662","1350962557","1350962766","1350962580"],"photo_ids_order":["1350962557","1350962580","1350962631","1350962662","1350962705","1350962766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1800ce4ff757479bbb889df98faf57c.jpg","text":"TemporaryFile(/tmp/multipartBody7951707712470828024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_47_05_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c02ed957af2fc77707a14d1bab87e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1162205359414573018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_47_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01a11dcc6d35ee464996c83ae8cbaf08.jpg","text":"TemporaryFile(/tmp/multipartBody8742028502631758878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_47_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64331ba5f36d79fa0e89c9523158ea47.jpg","text":"TemporaryFile(/tmp/multipartBody5860239464365503726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_43_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a93d93d46b3e78a9c730f27e89900f89.jpg","text":"TemporaryFile(/tmp/multipartBody3811796014243495388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_47_35_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/379d49a905ff0af3966e5d2ffb707137.jpg","text":"TemporaryFile(/tmp/multipartBody1014088901586631245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744239993962,"filename":"image_06042025_11_45_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350962631","file1":"1350962580","file0":"1350962557","file4":"1350962705","file5":"1350962766","file3":"1350962662"},"map_files_photo_id_array":[{"photo_id":"1350962766","filename":"file5"},{"photo_id":"1350962631","filename":"file2"},{"photo_id":"1350962705","filename":"file4"},{"photo_id":"1350962580","filename":"file1"},{"photo_id":"1350962557","filename":"file0"},{"photo_id":"1350962662","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350962631":["hashtag1","hashtag2"]},{"1350962705":["hashtag1","hashtag2"]},{"1350962662":["hashtag1","hashtag2"]},{"1350962557":["hashtag1","hashtag2"]},{"1350962766":["hashtag1","hashtag2"]},{"1350962580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350962631, 1350962705, 1350962662, 1350962557, 1350962766, 1350962580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.284292697906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:06:32.452246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_45_9344.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_55_10397.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_48_04_9369.jpg', '/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_15_10356.jpg', '/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_25_10353.jpg', '/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_34_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_45_9344.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_55_10397.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_48_04_9369.jpg
/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_15_10356.jpg
/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_25_10353.jpg
/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_34_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350963080","1350962987","1350963023","1350963052","1350963157","1350963139"],"photo_ids_order":["1350962987","1350963023","1350963052","1350963080","1350963139","1350963157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7efd83be6310b19014d067be7da3af02.jpg","text":"TemporaryFile(/tmp/multipartBody45302171894263648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_48_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a565672846863d575ea0745cfaf4942.jpg","text":"TemporaryFile(/tmp/multipartBody2809706967982593452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_47_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac04661da0fd9c20fa0c252313b62094.jpg","text":"TemporaryFile(/tmp/multipartBody6790932810093545827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_47_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f7e9aaa9dd6fdf2312ac1e9d881f554.jpg","text":"TemporaryFile(/tmp/multipartBody2300631880568405069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_48_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac7c81bd4a9294600baec88225f98ea4.jpg","text":"TemporaryFile(/tmp/multipartBody9066640922752169190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_48_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2dba3dd1947538f2c7b68dc373f4a63.jpg","text":"TemporaryFile(/tmp/multipartBody4155454329053615224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240054237,"filename":"image_06042025_11_48_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350963052","file1":"1350963023","file0":"1350962987","file4":"1350963139","file5":"1350963157","file3":"1350963080"},"map_files_photo_id_array":[{"photo_id":"1350963157","filename":"file5"},{"photo_id":"1350963052","filename":"file2"},{"photo_id":"1350963139","filename":"file4"},{"photo_id":"1350963023","filename":"file1"},{"photo_id":"1350962987","filename":"file0"},{"photo_id":"1350963080","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350963080":["hashtag1","hashtag2"]},{"1350962987":["hashtag1","hashtag2"]},{"1350963023":["hashtag1","hashtag2"]},{"1350963052":["hashtag1","hashtag2"]},{"1350963157":["hashtag1","hashtag2"]},{"1350963139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350963080, 1350962987, 1350963023, 1350963052, 1350963157, 1350963139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08943152427673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:07:32.721611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_55_10470.jpg', '/home/pi/Desktop/images/06042025/11/48/image_06042025_11_49_05_9456.jpg', '/home/pi/Desktop/images/06042025/11/49/image_06042025_11_49_24_9355.jpg', '/home/pi/Desktop/images/06042025/11/49/image_06042025_11_49_35_10473.jpg', '/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_25_10539.jpg', '/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_34_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/48/image_06042025_11_48_55_10470.jpg
/home/pi/Desktop/images/06042025/11/48/image_06042025_11_49_05_9456.jpg
/home/pi/Desktop/images/06042025/11/49/image_06042025_11_49_24_9355.jpg
/home/pi/Desktop/images/06042025/11/49/image_06042025_11_49_35_10473.jpg
/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_25_10539.jpg
/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_34_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350963485","1350963527","1350963515","1350963605","1350963625","1350963477"],"photo_ids_order":["1350963477","1350963485","1350963515","1350963527","1350963605","1350963625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7aa84d3506f441931ef3d048b340d71.jpg","text":"TemporaryFile(/tmp/multipartBody6539068928151073215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_49_05_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d757aa7db5af49a96bcf0a1413a2eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8617830646975475277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_49_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d19e14b997f59917e6dd7791af3ff40f.jpg","text":"TemporaryFile(/tmp/multipartBody247796350365116002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_49_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ed83b8704e92311303f34d1d2c64447.jpg","text":"TemporaryFile(/tmp/multipartBody5185372339286928073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_50_25_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/300f1be0d69df45ffccfee1b644e35d7.jpg","text":"TemporaryFile(/tmp/multipartBody2227145819081210593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_50_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4be8d76ac96bdf0ad3e6c6c1d868992.jpg","text":"TemporaryFile(/tmp/multipartBody3505971148766241265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240114507,"filename":"image_06042025_11_48_55_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350963515","file1":"1350963485","file0":"1350963477","file4":"1350963605","file5":"1350963625","file3":"1350963527"},"map_files_photo_id_array":[{"photo_id":"1350963625","filename":"file5"},{"photo_id":"1350963515","filename":"file2"},{"photo_id":"1350963605","filename":"file4"},{"photo_id":"1350963485","filename":"file1"},{"photo_id":"1350963477","filename":"file0"},{"photo_id":"1350963527","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350963485":["hashtag1","hashtag2"]},{"1350963527":["hashtag1","hashtag2"]},{"1350963515":["hashtag1","hashtag2"]},{"1350963605":["hashtag1","hashtag2"]},{"1350963625":["hashtag1","hashtag2"]},{"1350963477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350963485, 1350963527, 1350963515, 1350963605, 1350963625, 1350963477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.93335700035095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:08:32.933712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_45_10402.jpg', '/home/pi/Desktop/images/06042025/11/50/image_06042025_11_51_05_9346.jpg', '/home/pi/Desktop/images/06042025/11/51/image_06042025_11_51_15_10486.jpg', '/home/pi/Desktop/images/06042025/11/51/image_06042025_11_51_45_10432.jpg', '/home/pi/Desktop/images/06042025/11/51/image_06042025_11_52_05_10386.jpg', '/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_24_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/50/image_06042025_11_50_45_10402.jpg
/home/pi/Desktop/images/06042025/11/50/image_06042025_11_51_05_9346.jpg
/home/pi/Desktop/images/06042025/11/51/image_06042025_11_51_15_10486.jpg
/home/pi/Desktop/images/06042025/11/51/image_06042025_11_51_45_10432.jpg
/home/pi/Desktop/images/06042025/11/51/image_06042025_11_52_05_10386.jpg
/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_24_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350963754","1350963751","1350963651","1350963732","1350963660","1350963654"],"photo_ids_order":["1350963651","1350963654","1350963660","1350963732","1350963751","1350963754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/371ee645dd4f7358460017deef508881.jpg","text":"TemporaryFile(/tmp/multipartBody3849362400740682677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_52_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0f0a284737a2da31fb8265ed4d5814d.jpg","text":"TemporaryFile(/tmp/multipartBody874198740506324921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_52_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d50bc2011a142acd9281471573162ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4678548613740177968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_50_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4439d1158446b914b5ce2d6c4f2a2e1.jpg","text":"TemporaryFile(/tmp/multipartBody844478934658765242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_51_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cacd1ae1443750f35739215f2dcb4518.jpg","text":"TemporaryFile(/tmp/multipartBody4401999134908897778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_51_15_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d828b1295b00be48c77620cf4a70dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8265093187285252517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240174733,"filename":"image_06042025_11_51_05_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350963660","file1":"1350963654","file0":"1350963651","file4":"1350963751","file5":"1350963754","file3":"1350963732"},"map_files_photo_id_array":[{"photo_id":"1350963754","filename":"file5"},{"photo_id":"1350963660","filename":"file2"},{"photo_id":"1350963751","filename":"file4"},{"photo_id":"1350963654","filename":"file1"},{"photo_id":"1350963651","filename":"file0"},{"photo_id":"1350963732","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350963754":["hashtag1","hashtag2"]},{"1350963751":["hashtag1","hashtag2"]},{"1350963651":["hashtag1","hashtag2"]},{"1350963732":["hashtag1","hashtag2"]},{"1350963660":["hashtag1","hashtag2"]},{"1350963654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350963754, 1350963751, 1350963651, 1350963732, 1350963660, 1350963654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25007724761963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:09:33.180803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_35_10473.jpg', '/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_44_9356.jpg', '/home/pi/Desktop/images/06042025/11/52/image_06042025_11_53_05_10353.jpg', '/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_15_9467.jpg', '/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_25_10363.jpg', '/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_45_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_35_10473.jpg
/home/pi/Desktop/images/06042025/11/52/image_06042025_11_52_44_9356.jpg
/home/pi/Desktop/images/06042025/11/52/image_06042025_11_53_05_10353.jpg
/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_15_9467.jpg
/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_25_10363.jpg
/home/pi/Desktop/images/06042025/11/53/image_06042025_11_53_45_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350963881","1350963859","1350963904","1350963942","1350963780","1350963915"],"photo_ids_order":["1350963780","1350963859","1350963881","1350963904","1350963915","1350963942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16853820c039e309b4b4e11a04285ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5196793349604298577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_53_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21433e0e1b00dff6fffd4816fb9202ae.jpg","text":"TemporaryFile(/tmp/multipartBody3146290938991760973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_52_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea36f10d3f51be0f5daa1729be62b0de.jpg","text":"TemporaryFile(/tmp/multipartBody9056435925744838346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_53_15_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43f21fb2c0501e44681dc7ee1e70ba09.jpg","text":"TemporaryFile(/tmp/multipartBody6126319285642263676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_53_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/956eb70dbe5b58b783a5897893f6484e.jpg","text":"TemporaryFile(/tmp/multipartBody646104074203565342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_52_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d12db396f4ec4c211d77c7336335df2.jpg","text":"TemporaryFile(/tmp/multipartBody5397733687746107032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240234977,"filename":"image_06042025_11_53_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350963881","file1":"1350963859","file0":"1350963780","file4":"1350963915","file5":"1350963942","file3":"1350963904"},"map_files_photo_id_array":[{"photo_id":"1350963942","filename":"file5"},{"photo_id":"1350963881","filename":"file2"},{"photo_id":"1350963915","filename":"file4"},{"photo_id":"1350963859","filename":"file1"},{"photo_id":"1350963780","filename":"file0"},{"photo_id":"1350963904","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350963881":["hashtag1","hashtag2"]},{"1350963859":["hashtag1","hashtag2"]},{"1350963904":["hashtag1","hashtag2"]},{"1350963942":["hashtag1","hashtag2"]},{"1350963780":["hashtag1","hashtag2"]},{"1350963915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350963881, 1350963859, 1350963904, 1350963942, 1350963780, 1350963915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11473560333252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:10:32.337157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/53/image_06042025_11_54_05_10390.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_15_10459.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_35_10480.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_44_9353.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_55_10527.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_55_05_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/53/image_06042025_11_54_05_10390.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_15_10459.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_35_10480.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_44_9353.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_55_10527.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_55_05_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350963995","1350964057","1350964065","1350963981","1350964041","1350964049"],"photo_ids_order":["1350963981","1350963995","1350964041","1350964049","1350964057","1350964065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc9b54a7310d1101b07f74652b2af404.jpg","text":"TemporaryFile(/tmp/multipartBody336668866461565432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_54_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b25acf7d25643a703e532c45d35124bb.jpg","text":"TemporaryFile(/tmp/multipartBody1579499780157259414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_54_55_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b02f22ebd217b4fed7ba2288515fa2d.jpg","text":"TemporaryFile(/tmp/multipartBody1686940121854864929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_55_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5697f2bb3d4b677e90a6a5d45597ec24.jpg","text":"TemporaryFile(/tmp/multipartBody1415025255367320971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_54_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd508d76a3f6e58d5f61c553f4fd6871.jpg","text":"TemporaryFile(/tmp/multipartBody7849473710400152294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_54_35_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bc146e08d339caaa6b8a091410eed89.jpg","text":"TemporaryFile(/tmp/multipartBody7229054804737875773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240294235,"filename":"image_06042025_11_54_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350964041","file1":"1350963995","file0":"1350963981","file4":"1350964057","file5":"1350964065","file3":"1350964049"},"map_files_photo_id_array":[{"photo_id":"1350964065","filename":"file5"},{"photo_id":"1350964041","filename":"file2"},{"photo_id":"1350964057","filename":"file4"},{"photo_id":"1350963995","filename":"file1"},{"photo_id":"1350963981","filename":"file0"},{"photo_id":"1350964049","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350963995":["hashtag1","hashtag2"]},{"1350964057":["hashtag1","hashtag2"]},{"1350964065":["hashtag1","hashtag2"]},{"1350963981":["hashtag1","hashtag2"]},{"1350964041":["hashtag1","hashtag2"]},{"1350964049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350963995, 1350964057, 1350964065, 1350963981, 1350964041, 1350964049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.35280108451843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:11:32.575879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_15_9343.jpg', '/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_25_10380.jpg', '/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_34_9359.jpg', '/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_45_10368.jpg', '/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_55_10442.jpg', '/home/pi/Desktop/images/06042025/11/55/image_06042025_11_56_04_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_15_9343.jpg
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_25_10380.jpg
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_34_9359.jpg
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_45_10368.jpg
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_55_55_10442.jpg
/home/pi/Desktop/images/06042025/11/55/image_06042025_11_56_04_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350964241","1350964343","1350964143","1350964190","1350964286","1350964160"],"photo_ids_order":["1350964143","1350964160","1350964190","1350964241","1350964286","1350964343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71772b032c80c6d9991502ea733a16e2.jpg","text":"TemporaryFile(/tmp/multipartBody1849141584071986698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_55_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50290a48cd8d2d223da0814ea5534f54.jpg","text":"TemporaryFile(/tmp/multipartBody6216319453873056731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_56_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e625538b913344ddeb73e34eb81f4a7a.jpg","text":"TemporaryFile(/tmp/multipartBody5177630952693777087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_55_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50fb6adcbb09cc7e759fa22e91a85510.jpg","text":"TemporaryFile(/tmp/multipartBody409078045513416682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_55_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f23e239279bfbf668ea2237abec8b94b.jpg","text":"TemporaryFile(/tmp/multipartBody8562575362730958173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_55_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5ac846c315e51b87f450a1d9deb2da3.jpg","text":"TemporaryFile(/tmp/multipartBody111903729344447565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240354360,"filename":"image_06042025_11_55_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350964190","file1":"1350964160","file0":"1350964143","file4":"1350964286","file5":"1350964343","file3":"1350964241"},"map_files_photo_id_array":[{"photo_id":"1350964343","filename":"file5"},{"photo_id":"1350964190","filename":"file2"},{"photo_id":"1350964286","filename":"file4"},{"photo_id":"1350964160","filename":"file1"},{"photo_id":"1350964143","filename":"file0"},{"photo_id":"1350964241","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350964241":["hashtag1","hashtag2"]},{"1350964343":["hashtag1","hashtag2"]},{"1350964143":["hashtag1","hashtag2"]},{"1350964190":["hashtag1","hashtag2"]},{"1350964286":["hashtag1","hashtag2"]},{"1350964160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350964241, 1350964343, 1350964143, 1350964190, 1350964286, 1350964160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71360206604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:12:32.761008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_15_10403.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_24_9447.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_35_10363.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_45_10475.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_55_9439.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_57_05_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_15_10403.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_24_9447.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_35_10363.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_45_10475.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_55_9439.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_57_05_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965038","1350964936","1350964980","1350965013","1350965078","1350964812"],"photo_ids_order":["1350964812","1350964936","1350964980","1350965013","1350965038","1350965078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7325ba46414ba2b77bc4263545191d6.jpg","text":"TemporaryFile(/tmp/multipartBody5868750361821597470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_56_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2299c699d703d7c119a5baaffabc61dd.jpg","text":"TemporaryFile(/tmp/multipartBody7329432814187766517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_56_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74f2b675b0bceca296410c0b754f4aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2792112431697037686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_56_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5570a41825f7c22cf1fd87ed26f9fdf7.jpg","text":"TemporaryFile(/tmp/multipartBody959877937199321714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_56_45_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ed54da1964ef23b6a424a9f77e1bfce.jpg","text":"TemporaryFile(/tmp/multipartBody6305354625005073786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_57_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34dd7667432257503ad894d24423836e.jpg","text":"TemporaryFile(/tmp/multipartBody5945424586386458973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240414573,"filename":"image_06042025_11_56_15_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350964980","file1":"1350964936","file0":"1350964812","file4":"1350965038","file5":"1350965078","file3":"1350965013"},"map_files_photo_id_array":[{"photo_id":"1350965078","filename":"file5"},{"photo_id":"1350964980","filename":"file2"},{"photo_id":"1350965038","filename":"file4"},{"photo_id":"1350964936","filename":"file1"},{"photo_id":"1350964812","filename":"file0"},{"photo_id":"1350965013","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965038":["hashtag1","hashtag2"]},{"1350964936":["hashtag1","hashtag2"]},{"1350964980":["hashtag1","hashtag2"]},{"1350965013":["hashtag1","hashtag2"]},{"1350965078":["hashtag1","hashtag2"]},{"1350964812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965038, 1350964936, 1350964980, 1350965013, 1350965078, 1350964812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.746387243270874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:13:33.004273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_14_9354.jpg', '/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_35_10360.jpg', '/home/pi/Desktop/images/06042025/11/58/image_06042025_11_58_55_10474.jpg', '/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_15_10470.jpg', '/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_24_9357.jpg', '/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_35_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_14_9354.jpg
/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_35_10360.jpg
/home/pi/Desktop/images/06042025/11/58/image_06042025_11_58_55_10474.jpg
/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_15_10470.jpg
/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_24_9357.jpg
/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_35_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965362","1350965257","1350965346","1350965331","1350965334","1350965315"],"photo_ids_order":["1350965257","1350965315","1350965331","1350965334","1350965346","1350965362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eeb0d5899c729394ed0c3b5a29f356bb.jpg","text":"TemporaryFile(/tmp/multipartBody7991604275954659346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_59_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fe0aaf999c18028542bd408270c77bf.jpg","text":"TemporaryFile(/tmp/multipartBody1811923367972215044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_57_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/923141a08f1bc1e891e98fc40f3a1271.jpg","text":"TemporaryFile(/tmp/multipartBody2353205927012746926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_59_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34833e4cfdd0d77ed354dc2209389f75.jpg","text":"TemporaryFile(/tmp/multipartBody487215938593452682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_58_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/812ad87167d74f7edfe0c6a5f704e4df.jpg","text":"TemporaryFile(/tmp/multipartBody4368742259509870614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_59_15_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d479e4602d56feff945ad9044bdfb88.jpg","text":"TemporaryFile(/tmp/multipartBody2524076479329560443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240474856,"filename":"image_06042025_11_57_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350965331","file1":"1350965315","file0":"1350965257","file4":"1350965346","file5":"1350965362","file3":"1350965334"},"map_files_photo_id_array":[{"photo_id":"1350965362","filename":"file5"},{"photo_id":"1350965331","filename":"file2"},{"photo_id":"1350965346","filename":"file4"},{"photo_id":"1350965315","filename":"file1"},{"photo_id":"1350965257","filename":"file0"},{"photo_id":"1350965334","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965362":["hashtag1","hashtag2"]},{"1350965257":["hashtag1","hashtag2"]},{"1350965346":["hashtag1","hashtag2"]},{"1350965331":["hashtag1","hashtag2"]},{"1350965334":["hashtag1","hashtag2"]},{"1350965315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965362, 1350965257, 1350965346, 1350965331, 1350965334, 1350965315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54388451576233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:14:32.177728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_45_10363.jpg', '/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_55_9355.jpg', '/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_16_10072.jpg', '/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_27_10382.jpg', '/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_37_10371.jpg', '/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_57_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_45_10363.jpg
/home/pi/Desktop/images/06042025/11/59/image_06042025_11_59_55_9355.jpg
/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_16_10072.jpg
/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_27_10382.jpg
/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_37_10371.jpg
/home/pi/Desktop/images/06042025/12/00/image_06042025_12_00_57_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965410","1350965407","1350965412","1350965415","1350965418","1350965420"],"photo_ids_order":["1350965407","1350965410","1350965412","1350965415","1350965418","1350965420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3d34bc3a78b5ec14ec81005dac09804.jpg","text":"TemporaryFile(/tmp/multipartBody8568589151657387484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_11_59_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a04f6f6b98e5caa7290080ff6ead1f92.jpg","text":"TemporaryFile(/tmp/multipartBody5158121473528245180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_11_59_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3f434fee9be8f5107470dea13d6b1aa.jpg","text":"TemporaryFile(/tmp/multipartBody2701182086616709098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_12_00_16_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e54db0dd5d59bcc04d3d6dbe307cc71f.jpg","text":"TemporaryFile(/tmp/multipartBody7137415107102142154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_12_00_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cefeb9a4dba574daca12d318a29550f8.jpg","text":"TemporaryFile(/tmp/multipartBody7837931056882959012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_12_00_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4739780b38e2a88309199e30662603f6.jpg","text":"TemporaryFile(/tmp/multipartBody8903617108467792119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240533963,"filename":"image_06042025_12_00_57_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350965412","file1":"1350965410","file0":"1350965407","file4":"1350965418","file5":"1350965420","file3":"1350965415"},"map_files_photo_id_array":[{"photo_id":"1350965420","filename":"file5"},{"photo_id":"1350965412","filename":"file2"},{"photo_id":"1350965418","filename":"file4"},{"photo_id":"1350965410","filename":"file1"},{"photo_id":"1350965407","filename":"file0"},{"photo_id":"1350965415","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965410":["hashtag1","hashtag2"]},{"1350965407":["hashtag1","hashtag2"]},{"1350965412":["hashtag1","hashtag2"]},{"1350965415":["hashtag1","hashtag2"]},{"1350965418":["hashtag1","hashtag2"]},{"1350965420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965410, 1350965407, 1350965412, 1350965415, 1350965418, 1350965420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.902019023895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:15:32.450760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/00/image_06042025_12_01_07_10354.jpg', '/home/pi/Desktop/images/06042025/12/01/image_06042025_12_01_16_9338.jpg', '/home/pi/Desktop/images/06042025/12/01/image_06042025_12_01_56_9421.jpg', '/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_16_9614.jpg', '/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_27_10444.jpg', '/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/00/image_06042025_12_01_07_10354.jpg
/home/pi/Desktop/images/06042025/12/01/image_06042025_12_01_16_9338.jpg
/home/pi/Desktop/images/06042025/12/01/image_06042025_12_01_56_9421.jpg
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_16_9614.jpg
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_27_10444.jpg
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965434","1350965437","1350965493","1350965471","1350965489","1350965465"],"photo_ids_order":["1350965434","1350965437","1350965465","1350965471","1350965489","1350965493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3abc6163e52c129e85a4bac5baddc0ff.jpg","text":"TemporaryFile(/tmp/multipartBody404244060259225023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_01_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c317c8dd42c07159af86318e6b22bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6059730582698271165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_01_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44c60bd4ac2f95611e1c42437b24de9c.jpg","text":"TemporaryFile(/tmp/multipartBody2284774290784216340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_02_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86ad161dff4d90ef3d47424f95cf8cba.jpg","text":"TemporaryFile(/tmp/multipartBody4064791528333723847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_02_16_9614.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b5acfce17ed4490c9af1872c3ca6b42.jpg","text":"TemporaryFile(/tmp/multipartBody3643694085113547306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_02_27_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/474dff9202b00fb724dacf00d5d6da19.jpg","text":"TemporaryFile(/tmp/multipartBody168602076184042161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240594253,"filename":"image_06042025_12_01_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350965465","file1":"1350965437","file0":"1350965434","file4":"1350965489","file5":"1350965493","file3":"1350965471"},"map_files_photo_id_array":[{"photo_id":"1350965493","filename":"file5"},{"photo_id":"1350965465","filename":"file2"},{"photo_id":"1350965489","filename":"file4"},{"photo_id":"1350965437","filename":"file1"},{"photo_id":"1350965434","filename":"file0"},{"photo_id":"1350965471","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965434":["hashtag1","hashtag2"]},{"1350965437":["hashtag1","hashtag2"]},{"1350965493":["hashtag1","hashtag2"]},{"1350965471":["hashtag1","hashtag2"]},{"1350965489":["hashtag1","hashtag2"]},{"1350965465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965434, 1350965437, 1350965493, 1350965471, 1350965489, 1350965465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.537293672561646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:16:32.493396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_57_10369.jpg', '/home/pi/Desktop/images/06042025/12/02/image_06042025_12_03_06_9428.jpg', '/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_27_10414.jpg', '/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_47_10472.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_17_10404.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_26_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_57_10369.jpg
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_03_06_9428.jpg
/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_27_10414.jpg
/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_47_10472.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_17_10404.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_26_9372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7109460830688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 01:16:42.513769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_57_10369.jpg', '/home/pi/Desktop/images/06042025/12/02/image_06042025_12_03_06_9428.jpg', '/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_27_10414.jpg', '/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_47_10472.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_17_10404.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_26_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_02_57_10369.jpg
/home/pi/Desktop/images/06042025/12/02/image_06042025_12_03_06_9428.jpg
/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_27_10414.jpg
/home/pi/Desktop/images/06042025/12/03/image_06042025_12_03_47_10472.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_17_10404.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_26_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965533","1350965521","1350965529","1350965555","1350965540","1350965525"],"photo_ids_order":["1350965521","1350965525","1350965529","1350965533","1350965540","1350965555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72e17c849430666bdef42c030ad93a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6819522610062156992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_03_47_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a219898b58037d0c4ece5ffc21b94f00.jpg","text":"TemporaryFile(/tmp/multipartBody3322036820373769394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_02_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23fb1d5efc7dea2d8a5b1f645dd565f6.jpg","text":"TemporaryFile(/tmp/multipartBody5647789880820574947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_03_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66ab94a4e3dbb87c253ae0674f998b32.jpg","text":"TemporaryFile(/tmp/multipartBody2310527775323691618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_04_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e8a9947962af21181bc8a982b28240b.jpg","text":"TemporaryFile(/tmp/multipartBody2410009726592661081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_04_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0361f0b713c4c938dcd74b07a7fdfd2.jpg","text":"TemporaryFile(/tmp/multipartBody713347056680196412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240663394,"filename":"image_06042025_12_03_06_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350965529","file1":"1350965525","file0":"1350965521","file4":"1350965540","file5":"1350965555","file3":"1350965533"},"map_files_photo_id_array":[{"photo_id":"1350965555","filename":"file5"},{"photo_id":"1350965529","filename":"file2"},{"photo_id":"1350965540","filename":"file4"},{"photo_id":"1350965525","filename":"file1"},{"photo_id":"1350965521","filename":"file0"},{"photo_id":"1350965533","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965533":["hashtag1","hashtag2"]},{"1350965521":["hashtag1","hashtag2"]},{"1350965529":["hashtag1","hashtag2"]},{"1350965555":["hashtag1","hashtag2"]},{"1350965540":["hashtag1","hashtag2"]},{"1350965525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965533, 1350965521, 1350965529, 1350965555, 1350965540, 1350965525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.090157985687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:17:32.786172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_37_10367.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_56_10353.jpg', '/home/pi/Desktop/images/06042025/12/04/image_06042025_12_05_07_10481.jpg', '/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_16_9338.jpg', '/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_27_10384.jpg', '/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_36_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_37_10367.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_04_56_10353.jpg
/home/pi/Desktop/images/06042025/12/04/image_06042025_12_05_07_10481.jpg
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_16_9338.jpg
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_27_10384.jpg
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_36_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350965896","1350965755","1350965842","1350965796","1350965707","1350965966"],"photo_ids_order":["1350965707","1350965755","1350965796","1350965842","1350965896","1350965966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61f3f6474efc226e9963a3b351354e91.jpg","text":"TemporaryFile(/tmp/multipartBody5626426204324065897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_05_27_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e19022ec1a5b947eaa7fd1c67fd146c1.jpg","text":"TemporaryFile(/tmp/multipartBody5383250798100296340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_04_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68006d7c778aa49c2c68ab4f17c8147f.jpg","text":"TemporaryFile(/tmp/multipartBody6265164219365525942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_05_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/331a99f26480d94b0008d81eacd08589.jpg","text":"TemporaryFile(/tmp/multipartBody3675144502492474848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_05_07_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92086e03d625706c9539ab580efac629.jpg","text":"TemporaryFile(/tmp/multipartBody4853422835178581448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_04_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9feedd7f0157d1bfd587549df6753a62.jpg","text":"TemporaryFile(/tmp/multipartBody4684851807203209731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240714588,"filename":"image_06042025_12_05_36_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350965796","file1":"1350965755","file0":"1350965707","file4":"1350965896","file5":"1350965966","file3":"1350965842"},"map_files_photo_id_array":[{"photo_id":"1350965966","filename":"file5"},{"photo_id":"1350965796","filename":"file2"},{"photo_id":"1350965896","filename":"file4"},{"photo_id":"1350965755","filename":"file1"},{"photo_id":"1350965707","filename":"file0"},{"photo_id":"1350965842","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350965896":["hashtag1","hashtag2"]},{"1350965755":["hashtag1","hashtag2"]},{"1350965842":["hashtag1","hashtag2"]},{"1350965796":["hashtag1","hashtag2"]},{"1350965707":["hashtag1","hashtag2"]},{"1350965966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350965896, 1350965755, 1350965842, 1350965796, 1350965707, 1350965966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.743457555770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:18:32.935580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_46_10366.jpg', '/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_57_10435.jpg', '/home/pi/Desktop/images/06042025/12/05/image_06042025_12_06_06_9354.jpg', '/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_36_9346.jpg', '/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_47_10417.jpg', '/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_56_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_46_10366.jpg
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_05_57_10435.jpg
/home/pi/Desktop/images/06042025/12/05/image_06042025_12_06_06_9354.jpg
/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_36_9346.jpg
/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_47_10417.jpg
/home/pi/Desktop/images/06042025/12/06/image_06042025_12_06_56_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350966672","1350966588","1350966714","1350966624","1350966545","1350966407"],"photo_ids_order":["1350966407","1350966545","1350966588","1350966624","1350966672","1350966714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27bd32115ee79b09b9906c0c958ff54e.jpg","text":"TemporaryFile(/tmp/multipartBody8508661720058824560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_06_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10407d98c1ced1983419ecb56bd02ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2815446176346685778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_06_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89006202b11044afb3f5f6a4d27c6b16.jpg","text":"TemporaryFile(/tmp/multipartBody4003623211795017998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_06_56_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a60306ac8a2d013e034a09ee4dc78639.jpg","text":"TemporaryFile(/tmp/multipartBody6413473046139731099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_06_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b963b00626d2dee3c06f8c15fdea315.jpg","text":"TemporaryFile(/tmp/multipartBody5313039858248013012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_05_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00014aeb976b59b204704913b2f2150e.jpg","text":"TemporaryFile(/tmp/multipartBody2024477455399477784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240774832,"filename":"image_06042025_12_05_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350966588","file1":"1350966545","file0":"1350966407","file4":"1350966672","file5":"1350966714","file3":"1350966624"},"map_files_photo_id_array":[{"photo_id":"1350966714","filename":"file5"},{"photo_id":"1350966588","filename":"file2"},{"photo_id":"1350966672","filename":"file4"},{"photo_id":"1350966545","filename":"file1"},{"photo_id":"1350966407","filename":"file0"},{"photo_id":"1350966624","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350966672":["hashtag1","hashtag2"]},{"1350966588":["hashtag1","hashtag2"]},{"1350966714":["hashtag1","hashtag2"]},{"1350966624":["hashtag1","hashtag2"]},{"1350966545":["hashtag1","hashtag2"]},{"1350966407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350966672, 1350966588, 1350966714, 1350966624, 1350966545, 1350966407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.557663917541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:19:33.088526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/06/image_06042025_12_07_07_10394.jpg', '/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_16_9460.jpg', '/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_26_10389.jpg', '/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_37_10414.jpg', '/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_46_9366.jpg', '/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_57_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/06/image_06042025_12_07_07_10394.jpg
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_16_9460.jpg
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_26_10389.jpg
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_37_10414.jpg
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_46_9366.jpg
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_07_57_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350967203","1350967277","1350967094","1350967174","1350967144","1350967306"],"photo_ids_order":["1350967094","1350967144","1350967174","1350967203","1350967277","1350967306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa08da8d7bc952c1de44ede2513a1722.jpg","text":"TemporaryFile(/tmp/multipartBody3658907404312408177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/774fc0c7f315c6ad6f252e4146b13d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1886450990242207316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc9dc3ba0f6980208301d53bdcb22733.jpg","text":"TemporaryFile(/tmp/multipartBody4797371023871165396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97500fb0c050aede83e7b372ceed700c.jpg","text":"TemporaryFile(/tmp/multipartBody6433424844046931801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d8377983aa546c6fb22cf7c87ecf275.jpg","text":"TemporaryFile(/tmp/multipartBody508108260428594471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_16_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c4bcd429f0e71b38c9dc9a031b6a486.jpg","text":"TemporaryFile(/tmp/multipartBody9156262931907334992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240834903,"filename":"image_06042025_12_07_57_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350967174","file1":"1350967144","file0":"1350967094","file4":"1350967277","file5":"1350967306","file3":"1350967203"},"map_files_photo_id_array":[{"photo_id":"1350967306","filename":"file5"},{"photo_id":"1350967174","filename":"file2"},{"photo_id":"1350967277","filename":"file4"},{"photo_id":"1350967144","filename":"file1"},{"photo_id":"1350967094","filename":"file0"},{"photo_id":"1350967203","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350967203":["hashtag1","hashtag2"]},{"1350967277":["hashtag1","hashtag2"]},{"1350967094":["hashtag1","hashtag2"]},{"1350967174":["hashtag1","hashtag2"]},{"1350967144":["hashtag1","hashtag2"]},{"1350967306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350967203, 1350967277, 1350967094, 1350967174, 1350967144, 1350967306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.984938621520996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:20:32.380638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/07/image_06042025_12_08_06_9461.jpg', '/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_27_10444.jpg', '/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_47_10365.jpg', '/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_56_9438.jpg', '/home/pi/Desktop/images/06042025/12/08/image_06042025_12_09_06_10341.jpg', '/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_17_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/07/image_06042025_12_08_06_9461.jpg
/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_27_10444.jpg
/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_47_10365.jpg
/home/pi/Desktop/images/06042025/12/08/image_06042025_12_08_56_9438.jpg
/home/pi/Desktop/images/06042025/12/08/image_06042025_12_09_06_10341.jpg
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_17_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350967947","1350967902","1350967818","1350967964","1350967811","1350967939"],"photo_ids_order":["1350967811","1350967818","1350967902","1350967939","1350967947","1350967964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06b12d56c3516cd08deb1542dd8d3f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4721518804017753205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_09_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f68e77216370800fa1c851e8225b3a5.jpg","text":"TemporaryFile(/tmp/multipartBody759561182328478154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_08_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13c879aca0b758ddb8d658ab75c4dfa7.jpg","text":"TemporaryFile(/tmp/multipartBody744752047670283265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_08_27_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a84fa30e220a6e9a852328b592fcdea1.jpg","text":"TemporaryFile(/tmp/multipartBody7777333030886351038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_09_17_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7427953e035b85a0d3d9d091f7df077.jpg","text":"TemporaryFile(/tmp/multipartBody5987676262412654424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_08_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d54b246836212af675e5d4e4ff1f8d35.jpg","text":"TemporaryFile(/tmp/multipartBody5656116469915618182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240894205,"filename":"image_06042025_12_08_56_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350967902","file1":"1350967818","file0":"1350967811","file4":"1350967947","file5":"1350967964","file3":"1350967939"},"map_files_photo_id_array":[{"photo_id":"1350967964","filename":"file5"},{"photo_id":"1350967902","filename":"file2"},{"photo_id":"1350967947","filename":"file4"},{"photo_id":"1350967818","filename":"file1"},{"photo_id":"1350967811","filename":"file0"},{"photo_id":"1350967939","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350967947":["hashtag1","hashtag2"]},{"1350967902":["hashtag1","hashtag2"]},{"1350967818":["hashtag1","hashtag2"]},{"1350967964":["hashtag1","hashtag2"]},{"1350967811":["hashtag1","hashtag2"]},{"1350967939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350967947, 1350967902, 1350967818, 1350967964, 1350967811, 1350967939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79795956611633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:21:32.466383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_26_9354.jpg', '/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_37_10375.jpg', '/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_47_10365.jpg', '/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_56_9466.jpg', '/home/pi/Desktop/images/06042025/12/09/image_06042025_12_10_07_10394.jpg', '/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_16_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_26_9354.jpg
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_37_10375.jpg
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_47_10365.jpg
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_09_56_9466.jpg
/home/pi/Desktop/images/06042025/12/09/image_06042025_12_10_07_10394.jpg
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_16_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350968186","1350968211","1350968153","1350968107","1350968184","1350968160"],"photo_ids_order":["1350968107","1350968153","1350968160","1350968184","1350968186","1350968211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56e1bbb8ca817ed5adaa800163f34a66.jpg","text":"TemporaryFile(/tmp/multipartBody5386683889438792313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_10_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f3ccd7fc95d9584b1b1142c683cb7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6068186991975965984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_10_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7718da29d41d7b1bf8d25ceef7e87d3.jpg","text":"TemporaryFile(/tmp/multipartBody6688093768710655919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_09_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/392472044d48f6bdc72a7f5d8b8fdd7c.jpg","text":"TemporaryFile(/tmp/multipartBody1699588361686276680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_09_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b640cd94a481964e7e1e0cb56414a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7568931467653055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_09_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/100f06ba2b38465684bef773472438a9.jpg","text":"TemporaryFile(/tmp/multipartBody421471885234155340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744240954251,"filename":"image_06042025_12_09_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350968160","file1":"1350968153","file0":"1350968107","file4":"1350968186","file5":"1350968211","file3":"1350968184"},"map_files_photo_id_array":[{"photo_id":"1350968211","filename":"file5"},{"photo_id":"1350968160","filename":"file2"},{"photo_id":"1350968186","filename":"file4"},{"photo_id":"1350968153","filename":"file1"},{"photo_id":"1350968107","filename":"file0"},{"photo_id":"1350968184","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350968186":["hashtag1","hashtag2"]},{"1350968211":["hashtag1","hashtag2"]},{"1350968153":["hashtag1","hashtag2"]},{"1350968107":["hashtag1","hashtag2"]},{"1350968184":["hashtag1","hashtag2"]},{"1350968160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350968186, 1350968211, 1350968153, 1350968107, 1350968184, 1350968160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84272360801697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:22:32.706664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_27_10365.jpg', '/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_37_10467.jpg', '/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_46_9354.jpg', '/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_57_10442.jpg', '/home/pi/Desktop/images/06042025/12/10/image_06042025_12_11_06_9349.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_17_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_27_10365.jpg
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_37_10467.jpg
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_46_9354.jpg
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_10_57_10442.jpg
/home/pi/Desktop/images/06042025/12/10/image_06042025_12_11_06_9349.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_17_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350968381","1350968437","1350968419","1350968394","1350968361","1350968439"],"photo_ids_order":["1350968361","1350968381","1350968394","1350968419","1350968437","1350968439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3512c69c443c050fadb0016fbd6526a.jpg","text":"TemporaryFile(/tmp/multipartBody7252252039173756698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_10_37_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5ee326d865fecb3c39b2e3e9a6a3cca.jpg","text":"TemporaryFile(/tmp/multipartBody987727502284562143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_11_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0eb20bbcd2cb807192b7d207b3aa522.jpg","text":"TemporaryFile(/tmp/multipartBody4944855874523432136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_10_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd63ff2a7ecfe68104c6e95742573753.jpg","text":"TemporaryFile(/tmp/multipartBody5876154422813457108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_10_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e51d19ad4c81414037517b61f5136004.jpg","text":"TemporaryFile(/tmp/multipartBody3904186203976373726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_10_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3774458f03f5a461864ab3e92c45f367.jpg","text":"TemporaryFile(/tmp/multipartBody9098827257681164573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241014518,"filename":"image_06042025_12_11_17_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350968394","file1":"1350968381","file0":"1350968361","file4":"1350968437","file5":"1350968439","file3":"1350968419"},"map_files_photo_id_array":[{"photo_id":"1350968439","filename":"file5"},{"photo_id":"1350968394","filename":"file2"},{"photo_id":"1350968437","filename":"file4"},{"photo_id":"1350968381","filename":"file1"},{"photo_id":"1350968361","filename":"file0"},{"photo_id":"1350968419","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350968381":["hashtag1","hashtag2"]},{"1350968437":["hashtag1","hashtag2"]},{"1350968419":["hashtag1","hashtag2"]},{"1350968394":["hashtag1","hashtag2"]},{"1350968361":["hashtag1","hashtag2"]},{"1350968439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350968381, 1350968437, 1350968419, 1350968394, 1350968361, 1350968439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84726524353027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:23:32.958628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_27_10389.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_36_9399.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_47_10503.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_56_9348.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_12_07_10404.jpg', '/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_27_10389.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_36_9399.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_47_10503.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_56_9348.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_12_07_10404.jpg
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_17_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7101693153381348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 01:23:42.961540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_27_10389.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_36_9399.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_47_10503.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_56_9348.jpg', '/home/pi/Desktop/images/06042025/12/11/image_06042025_12_12_07_10404.jpg', '/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_27_10389.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_36_9399.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_47_10503.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_11_56_9348.jpg
/home/pi/Desktop/images/06042025/12/11/image_06042025_12_12_07_10404.jpg
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_17_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350968601","1350968711","1350968680","1350968635","1350968661","1350968658"],"photo_ids_order":["1350968601","1350968635","1350968658","1350968661","1350968680","1350968711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99fcf40d6347cc585c9f44b1249395b6.jpg","text":"TemporaryFile(/tmp/multipartBody8873997474993202943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_11_27_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64564766344a647ea38a2f491f5839a3.jpg","text":"TemporaryFile(/tmp/multipartBody9179397015449390584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_12_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed41ab57fa974d4c3247a65f66c7b770.jpg","text":"TemporaryFile(/tmp/multipartBody8478752932411236045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_12_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d9b0bd79bca193d0fa6349810b78fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6481190586821549152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_11_36_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1f1cdc9892c732b5c61b6692b540229.jpg","text":"TemporaryFile(/tmp/multipartBody8979351486678943024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_11_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b8bd52b219b2ad54824de9c43acf1cd.jpg","text":"TemporaryFile(/tmp/multipartBody993956469374733911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241083843,"filename":"image_06042025_12_11_47_10503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350968658","file1":"1350968635","file0":"1350968601","file4":"1350968680","file5":"1350968711","file3":"1350968661"},"map_files_photo_id_array":[{"photo_id":"1350968711","filename":"file5"},{"photo_id":"1350968658","filename":"file2"},{"photo_id":"1350968680","filename":"file4"},{"photo_id":"1350968635","filename":"file1"},{"photo_id":"1350968601","filename":"file0"},{"photo_id":"1350968661","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350968601":["hashtag1","hashtag2"]},{"1350968711":["hashtag1","hashtag2"]},{"1350968680":["hashtag1","hashtag2"]},{"1350968635":["hashtag1","hashtag2"]},{"1350968661":["hashtag1","hashtag2"]},{"1350968658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350968601, 1350968711, 1350968680, 1350968635, 1350968661, 1350968658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87276792526245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:24:32.160465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_27_9477.jpg', '/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_37_10389.jpg', '/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_46_9381.jpg', '/home/pi/Desktop/images/06042025/12/12/image_06042025_12_13_06_9431.jpg', '/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_16_10345.jpg', '/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_27_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_27_9477.jpg
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_37_10389.jpg
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_12_46_9381.jpg
/home/pi/Desktop/images/06042025/12/12/image_06042025_12_13_06_9431.jpg
/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_16_10345.jpg
/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_27_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969062","1350968888","1350969032","1350968991","1350969009","1350968934"],"photo_ids_order":["1350968888","1350968934","1350968991","1350969009","1350969032","1350969062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/117a00dac8f00f9f13ad8195ab635eac.jpg","text":"TemporaryFile(/tmp/multipartBody1355961282331678803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_13_27_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c70f3162171878d748ed11c352eaefa.jpg","text":"TemporaryFile(/tmp/multipartBody6624537272426064758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_12_27_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fed1d36f934f657cf8ae8eb754e07084.jpg","text":"TemporaryFile(/tmp/multipartBody3218860127464179080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_13_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/046f5fac9b1b94376c27db32425bb97b.jpg","text":"TemporaryFile(/tmp/multipartBody6601240844556956739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_12_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c86d71e9bd7590396fc9068a761191d0.jpg","text":"TemporaryFile(/tmp/multipartBody8234586459275199371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_13_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4108a62ccf7dd0e7b5a3faeba9f950c1.jpg","text":"TemporaryFile(/tmp/multipartBody1035788630533365379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241133957,"filename":"image_06042025_12_12_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350968991","file1":"1350968934","file0":"1350968888","file4":"1350969032","file5":"1350969062","file3":"1350969009"},"map_files_photo_id_array":[{"photo_id":"1350969062","filename":"file5"},{"photo_id":"1350968991","filename":"file2"},{"photo_id":"1350969032","filename":"file4"},{"photo_id":"1350968934","filename":"file1"},{"photo_id":"1350968888","filename":"file0"},{"photo_id":"1350969009","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969062":["hashtag1","hashtag2"]},{"1350968888":["hashtag1","hashtag2"]},{"1350969032":["hashtag1","hashtag2"]},{"1350968991":["hashtag1","hashtag2"]},{"1350969009":["hashtag1","hashtag2"]},{"1350968934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969062, 1350968888, 1350969032, 1350968991, 1350969009, 1350968934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24725413322449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:25:32.355092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_36_9341.jpg', '/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_57_10428.jpg', '/home/pi/Desktop/images/06042025/12/13/image_06042025_12_14_06_9345.jpg', '/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_17_10436.jpg', '/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_37_10449.jpg', '/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_56_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_36_9341.jpg
/home/pi/Desktop/images/06042025/12/13/image_06042025_12_13_57_10428.jpg
/home/pi/Desktop/images/06042025/12/13/image_06042025_12_14_06_9345.jpg
/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_17_10436.jpg
/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_37_10449.jpg
/home/pi/Desktop/images/06042025/12/14/image_06042025_12_14_56_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969155","1350969164","1350969143","1350969151","1350969144","1350969170"],"photo_ids_order":["1350969143","1350969144","1350969151","1350969155","1350969164","1350969170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e05470685bef25bc5768bd1d45278674.jpg","text":"TemporaryFile(/tmp/multipartBody7669458354869888525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_14_17_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90738b99749e173659fd83708dfa11be.jpg","text":"TemporaryFile(/tmp/multipartBody8138357212868846010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_14_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19451fa8d466cd7f70e341dd0b758b72.jpg","text":"TemporaryFile(/tmp/multipartBody1581287760927048161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_13_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4698ddbd7486dcf8e580d3c8f211dbac.jpg","text":"TemporaryFile(/tmp/multipartBody893029780082070635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_14_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ab0b9f66bf11ef49ad3a1f4c02c6285.jpg","text":"TemporaryFile(/tmp/multipartBody8203824394996921074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_13_57_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3298874d2a3c730e178df3abacaea826.jpg","text":"TemporaryFile(/tmp/multipartBody290381261242176175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241194136,"filename":"image_06042025_12_14_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350969151","file1":"1350969144","file0":"1350969143","file4":"1350969164","file5":"1350969170","file3":"1350969155"},"map_files_photo_id_array":[{"photo_id":"1350969170","filename":"file5"},{"photo_id":"1350969151","filename":"file2"},{"photo_id":"1350969164","filename":"file4"},{"photo_id":"1350969144","filename":"file1"},{"photo_id":"1350969143","filename":"file0"},{"photo_id":"1350969155","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969155":["hashtag1","hashtag2"]},{"1350969164":["hashtag1","hashtag2"]},{"1350969143":["hashtag1","hashtag2"]},{"1350969151":["hashtag1","hashtag2"]},{"1350969144":["hashtag1","hashtag2"]},{"1350969170":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969155, 1350969164, 1350969143, 1350969151, 1350969144, 1350969170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90745735168457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:26:32.504380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/14/image_06042025_12_15_07_10419.jpg', '/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_16_9346.jpg', '/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_27_10366.jpg', '/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_37_10460.jpg', '/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_57_10472.jpg', '/home/pi/Desktop/images/06042025/12/15/image_06042025_12_16_06_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/14/image_06042025_12_15_07_10419.jpg
/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_16_9346.jpg
/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_27_10366.jpg
/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_37_10460.jpg
/home/pi/Desktop/images/06042025/12/15/image_06042025_12_15_57_10472.jpg
/home/pi/Desktop/images/06042025/12/15/image_06042025_12_16_06_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969251","1350969215","1350969227","1350969232","1350969255","1350969249"],"photo_ids_order":["1350969215","1350969227","1350969232","1350969249","1350969251","1350969255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a191da25e868af2ef1f1cbdb673c3ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3303232526748339884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_15_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/186fd11ca796a48d8ead5b3c266805e1.jpg","text":"TemporaryFile(/tmp/multipartBody7638583588846888153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_15_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd6c60e6b133c7c3f73bb86270eeb9cb.jpg","text":"TemporaryFile(/tmp/multipartBody8540245841504864473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_15_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cd3a8bffd227c9193e0ac7762ef82af.jpg","text":"TemporaryFile(/tmp/multipartBody7010824663113462632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_15_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0d6f7083ff065866cc32fd36ee2151b.jpg","text":"TemporaryFile(/tmp/multipartBody5542337974605549240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_16_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/283918c1ef2fc589f75a12c70a0eca7e.jpg","text":"TemporaryFile(/tmp/multipartBody830619143448092528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241254302,"filename":"image_06042025_12_15_37_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350969232","file1":"1350969227","file0":"1350969215","file4":"1350969251","file5":"1350969255","file3":"1350969249"},"map_files_photo_id_array":[{"photo_id":"1350969255","filename":"file5"},{"photo_id":"1350969232","filename":"file2"},{"photo_id":"1350969251","filename":"file4"},{"photo_id":"1350969227","filename":"file1"},{"photo_id":"1350969215","filename":"file0"},{"photo_id":"1350969249","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969251":["hashtag1","hashtag2"]},{"1350969215":["hashtag1","hashtag2"]},{"1350969227":["hashtag1","hashtag2"]},{"1350969232":["hashtag1","hashtag2"]},{"1350969255":["hashtag1","hashtag2"]},{"1350969249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969251, 1350969215, 1350969227, 1350969232, 1350969255, 1350969249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40392446517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:27:32.663449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_17_10356.jpg', '/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_26_9364.jpg', '/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_37_10355.jpg', '/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_46_9437.jpg', '/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_57_10387.jpg', '/home/pi/Desktop/images/06042025/12/17/image_06042025_12_18_07_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_17_10356.jpg
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_26_9364.jpg
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_37_10355.jpg
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_46_9437.jpg
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_17_57_10387.jpg
/home/pi/Desktop/images/06042025/12/17/image_06042025_12_18_07_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969311","1350969298","1350969322","1350969276","1350969342","1350969279"],"photo_ids_order":["1350969276","1350969279","1350969298","1350969311","1350969322","1350969342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3468dbbf144244b70b873acae6b2d620.jpg","text":"TemporaryFile(/tmp/multipartBody6238970168177929066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_17_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2b0855faf34a11f83caeb382a416aa3.jpg","text":"TemporaryFile(/tmp/multipartBody6568878045705410151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_17_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/706773555c5cf31f30bb65360b45c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody999593139846526215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_17_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fdaae76c3af63ff04902f63399982c2.jpg","text":"TemporaryFile(/tmp/multipartBody5014264574795829334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_17_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d40d6759974c232f2e25a3226cf0105.jpg","text":"TemporaryFile(/tmp/multipartBody6296316977906248107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_18_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1d7931b308387a976965889015dde9b.jpg","text":"TemporaryFile(/tmp/multipartBody280459393957976830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241314560,"filename":"image_06042025_12_17_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350969298","file1":"1350969279","file0":"1350969276","file4":"1350969322","file5":"1350969342","file3":"1350969311"},"map_files_photo_id_array":[{"photo_id":"1350969342","filename":"file5"},{"photo_id":"1350969298","filename":"file2"},{"photo_id":"1350969322","filename":"file4"},{"photo_id":"1350969279","filename":"file1"},{"photo_id":"1350969276","filename":"file0"},{"photo_id":"1350969311","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969311":["hashtag1","hashtag2"]},{"1350969298":["hashtag1","hashtag2"]},{"1350969322":["hashtag1","hashtag2"]},{"1350969276":["hashtag1","hashtag2"]},{"1350969342":["hashtag1","hashtag2"]},{"1350969279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969311, 1350969298, 1350969322, 1350969276, 1350969342, 1350969279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90808081626892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:28:32.919626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/18/image_06042025_12_18_47_10368.jpg', '/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_26_9484.jpg', '/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_36_10412.jpg', '/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_47_10411.jpg', '/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_56_9348.jpg', '/home/pi/Desktop/images/06042025/12/19/image_06042025_12_20_07_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/18/image_06042025_12_18_47_10368.jpg
/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_26_9484.jpg
/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_36_10412.jpg
/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_47_10411.jpg
/home/pi/Desktop/images/06042025/12/19/image_06042025_12_19_56_9348.jpg
/home/pi/Desktop/images/06042025/12/19/image_06042025_12_20_07_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969623","1350969632","1350969611","1350969617","1350969601","1350969615"],"photo_ids_order":["1350969601","1350969611","1350969615","1350969617","1350969623","1350969632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6362738f72585d5859493099984b223.jpg","text":"TemporaryFile(/tmp/multipartBody1857035659319329787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_19_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af16352ffbae5fe5164e26ec9bb273a5.jpg","text":"TemporaryFile(/tmp/multipartBody6091924744980318786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_20_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaddfa60ad40c346838de8ede8beb973.jpg","text":"TemporaryFile(/tmp/multipartBody2091363503332876922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_19_26_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69ae7ce5796df9e78dddf441da82f9f2.jpg","text":"TemporaryFile(/tmp/multipartBody1161699938473010551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_19_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/815fc3cb521f4f2bd5c2068593eb5b27.jpg","text":"TemporaryFile(/tmp/multipartBody6266780220456569429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_18_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69f43d656c8abe1bc095ce2246e21814.jpg","text":"TemporaryFile(/tmp/multipartBody4209441800632740141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241374719,"filename":"image_06042025_12_19_36_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350969615","file1":"1350969611","file0":"1350969601","file4":"1350969623","file5":"1350969632","file3":"1350969617"},"map_files_photo_id_array":[{"photo_id":"1350969632","filename":"file5"},{"photo_id":"1350969615","filename":"file2"},{"photo_id":"1350969623","filename":"file4"},{"photo_id":"1350969611","filename":"file1"},{"photo_id":"1350969601","filename":"file0"},{"photo_id":"1350969617","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969623":["hashtag1","hashtag2"]},{"1350969632":["hashtag1","hashtag2"]},{"1350969611":["hashtag1","hashtag2"]},{"1350969617":["hashtag1","hashtag2"]},{"1350969601":["hashtag1","hashtag2"]},{"1350969615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969623, 1350969632, 1350969611, 1350969617, 1350969601, 1350969615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.57905411720276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:29:33.071367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_17_10418.jpg', '/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_37_10449.jpg', '/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_57_10367.jpg', '/home/pi/Desktop/images/06042025/12/20/image_06042025_12_21_07_10473.jpg', '/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_16_9353.jpg', '/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_36_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_17_10418.jpg
/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_37_10449.jpg
/home/pi/Desktop/images/06042025/12/20/image_06042025_12_20_57_10367.jpg
/home/pi/Desktop/images/06042025/12/20/image_06042025_12_21_07_10473.jpg
/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_16_9353.jpg
/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_36_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350969815","1350969739","1350969876","1350969804","1350969788","1350969767"],"photo_ids_order":["1350969739","1350969767","1350969788","1350969804","1350969815","1350969876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9cdb953cdff6d782502584399021c0e.jpg","text":"TemporaryFile(/tmp/multipartBody1393544769361269432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_21_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c864b2a2b6ff49f22efe35a250b8b19.jpg","text":"TemporaryFile(/tmp/multipartBody4453472804048937632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_20_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/716c51bc7d43de945bddfab8f1c79901.jpg","text":"TemporaryFile(/tmp/multipartBody6704526925831352654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_21_36_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/155db64710c4b64f5f8137743a29fdea.jpg","text":"TemporaryFile(/tmp/multipartBody3266519229674990527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_21_07_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1958558ec52d2ea6db2fc6d7b755e996.jpg","text":"TemporaryFile(/tmp/multipartBody7564902175431862708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_20_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d27a1efa2faed98b7ad47bf30fee323.jpg","text":"TemporaryFile(/tmp/multipartBody3799318061269646319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241434862,"filename":"image_06042025_12_20_37_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350969788","file1":"1350969767","file0":"1350969739","file4":"1350969815","file5":"1350969876","file3":"1350969804"},"map_files_photo_id_array":[{"photo_id":"1350969876","filename":"file5"},{"photo_id":"1350969788","filename":"file2"},{"photo_id":"1350969815","filename":"file4"},{"photo_id":"1350969767","filename":"file1"},{"photo_id":"1350969739","filename":"file0"},{"photo_id":"1350969804","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350969815":["hashtag1","hashtag2"]},{"1350969739":["hashtag1","hashtag2"]},{"1350969876":["hashtag1","hashtag2"]},{"1350969804":["hashtag1","hashtag2"]},{"1350969788":["hashtag1","hashtag2"]},{"1350969767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350969815, 1350969739, 1350969876, 1350969804, 1350969788, 1350969767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51066732406616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:30:32.279780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_47_10365.jpg', '/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_56_9456.jpg', '/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_17_10471.jpg', '/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_26_9364.jpg', '/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_37_10345.jpg', '/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_46_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_47_10365.jpg
/home/pi/Desktop/images/06042025/12/21/image_06042025_12_21_56_9456.jpg
/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_17_10471.jpg
/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_26_9364.jpg
/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_37_10345.jpg
/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_46_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350970892","1350970769","1350970498","1350970420","1350971109","1350970638"],"photo_ids_order":["1350970420","1350970498","1350970638","1350970769","1350970892","1350971109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ceef47866cc452296e3f2cc47cccaf5.jpg","text":"TemporaryFile(/tmp/multipartBody5504199440949143755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_22_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf0756dc5e5dfc32fb0ffa184d6c5724.jpg","text":"TemporaryFile(/tmp/multipartBody6469336033946469962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_22_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab774a660e7da85f96a476c0570def2f.jpg","text":"TemporaryFile(/tmp/multipartBody6552251563206097638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_21_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b66b107ceb1f0eb7ca1834fdda1cbed.jpg","text":"TemporaryFile(/tmp/multipartBody5821544402084332662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_21_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3237447c21a36470e9c9945259507597.jpg","text":"TemporaryFile(/tmp/multipartBody3142229022820663825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_22_46_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aae08037db3c6433ef4ff19b27c1e68c.jpg","text":"TemporaryFile(/tmp/multipartBody8984813554204164079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241494064,"filename":"image_06042025_12_22_17_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350970638","file1":"1350970498","file0":"1350970420","file4":"1350970892","file5":"1350971109","file3":"1350970769"},"map_files_photo_id_array":[{"photo_id":"1350971109","filename":"file5"},{"photo_id":"1350970638","filename":"file2"},{"photo_id":"1350970892","filename":"file4"},{"photo_id":"1350970498","filename":"file1"},{"photo_id":"1350970420","filename":"file0"},{"photo_id":"1350970769","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350970892":["hashtag1","hashtag2"]},{"1350970769":["hashtag1","hashtag2"]},{"1350970498":["hashtag1","hashtag2"]},{"1350970420":["hashtag1","hashtag2"]},{"1350971109":["hashtag1","hashtag2"]},{"1350970638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350970892, 1350970769, 1350970498, 1350970420, 1350971109, 1350970638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28344964981079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:31:32.473641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_56_10361.jpg', '/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_16_9408.jpg', '/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_27_10527.jpg', '/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_36_9422.jpg', '/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_37_10353.jpg', '/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_47_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/22/image_06042025_12_22_56_10361.jpg
/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_16_9408.jpg
/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_27_10527.jpg
/home/pi/Desktop/images/06042025/12/23/image_06042025_12_23_36_9422.jpg
/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_37_10353.jpg
/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_47_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350971537","1350971458","1350971736","1350971622","1350971712","1350971663"],"photo_ids_order":["1350971458","1350971537","1350971622","1350971663","1350971712","1350971736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16607a7fb4edd96c99fc3bf4cd70180d.jpg","text":"TemporaryFile(/tmp/multipartBody6042833292593765937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_23_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1e34eca01d23bcf8fbe6f3dc0b90602.jpg","text":"TemporaryFile(/tmp/multipartBody3480885582310935200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_22_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/622d96450b27046c8fdb42af44df347d.jpg","text":"TemporaryFile(/tmp/multipartBody6111879713430077460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_24_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fffd6ee85db62b924e374d353851aa2d.jpg","text":"TemporaryFile(/tmp/multipartBody3460768029421804455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_23_27_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/370494c6b9d0441da011bd4acf676940.jpg","text":"TemporaryFile(/tmp/multipartBody109533388620011726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_24_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef59aca1035da472bfc35a9b4c64cf6e.jpg","text":"TemporaryFile(/tmp/multipartBody9032142631019798387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241554262,"filename":"image_06042025_12_23_36_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350971622","file1":"1350971537","file0":"1350971458","file4":"1350971712","file5":"1350971736","file3":"1350971663"},"map_files_photo_id_array":[{"photo_id":"1350971736","filename":"file5"},{"photo_id":"1350971622","filename":"file2"},{"photo_id":"1350971712","filename":"file4"},{"photo_id":"1350971537","filename":"file1"},{"photo_id":"1350971458","filename":"file0"},{"photo_id":"1350971663","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350971537":["hashtag1","hashtag2"]},{"1350971458":["hashtag1","hashtag2"]},{"1350971736":["hashtag1","hashtag2"]},{"1350971622":["hashtag1","hashtag2"]},{"1350971712":["hashtag1","hashtag2"]},{"1350971663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350971537, 1350971458, 1350971736, 1350971622, 1350971712, 1350971663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.442466020584106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:32:32.729052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_56_9350.jpg', '/home/pi/Desktop/images/06042025/12/24/image_06042025_12_25_07_10346.jpg', '/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_16_9411.jpg', '/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_26_10387.jpg', '/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_46_9375.jpg', '/home/pi/Desktop/images/06042025/12/26/image_06042025_12_26_27_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/24/image_06042025_12_24_56_9350.jpg
/home/pi/Desktop/images/06042025/12/24/image_06042025_12_25_07_10346.jpg
/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_16_9411.jpg
/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_26_10387.jpg
/home/pi/Desktop/images/06042025/12/25/image_06042025_12_25_46_9375.jpg
/home/pi/Desktop/images/06042025/12/26/image_06042025_12_26_27_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350971878","1350971923","1350971803","1350971844","1350971975","1350971808"],"photo_ids_order":["1350971803","1350971808","1350971844","1350971878","1350971923","1350971975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29acd0f3c066231085ae0b9cf1ba2f74.jpg","text":"TemporaryFile(/tmp/multipartBody9170619033560635325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_25_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6208e8b645a2746f99fff372b10d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody854960114175844615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_25_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca13e6e41e325c2e1a610136c9bdc7e4.jpg","text":"TemporaryFile(/tmp/multipartBody4553687640314721963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_24_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d852b22ed84a7de3b0fef15c5cb23de.jpg","text":"TemporaryFile(/tmp/multipartBody35762534130219730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_25_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbecd159864dcf041fb2e9ab559fd6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1367962919918763841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_26_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d0b492a7b9450d9c1f8fd21f8c1da0f.jpg","text":"TemporaryFile(/tmp/multipartBody4004018049054296140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241614546,"filename":"image_06042025_12_25_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350971844","file1":"1350971808","file0":"1350971803","file4":"1350971923","file5":"1350971975","file3":"1350971878"},"map_files_photo_id_array":[{"photo_id":"1350971975","filename":"file5"},{"photo_id":"1350971844","filename":"file2"},{"photo_id":"1350971923","filename":"file4"},{"photo_id":"1350971808","filename":"file1"},{"photo_id":"1350971803","filename":"file0"},{"photo_id":"1350971878","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350971878":["hashtag1","hashtag2"]},{"1350971923":["hashtag1","hashtag2"]},{"1350971803":["hashtag1","hashtag2"]},{"1350971844":["hashtag1","hashtag2"]},{"1350971975":["hashtag1","hashtag2"]},{"1350971808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350971878, 1350971923, 1350971803, 1350971844, 1350971975, 1350971808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37286162376404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:33:32.919265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/26/image_06042025_12_27_06_9340.jpg', '/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_17_10363.jpg', '/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_26_9454.jpg', '/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_36_10337.jpg', '/home/pi/Desktop/images/06042025/12/28/image_06042025_12_28_17_10370.jpg', '/home/pi/Desktop/images/06042025/12/28/image_06042025_12_28_57_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/26/image_06042025_12_27_06_9340.jpg
/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_17_10363.jpg
/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_26_9454.jpg
/home/pi/Desktop/images/06042025/12/27/image_06042025_12_27_36_10337.jpg
/home/pi/Desktop/images/06042025/12/28/image_06042025_12_28_17_10370.jpg
/home/pi/Desktop/images/06042025/12/28/image_06042025_12_28_57_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350972022","1350972001","1350972019","1350972010","1350972004","1350972018"],"photo_ids_order":["1350972001","1350972004","1350972010","1350972018","1350972019","1350972022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d0005f7fd40aa45170b453f309242a6.jpg","text":"TemporaryFile(/tmp/multipartBody796165834556830894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_28_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1e5379c9495b3df4d4d8b94069f1c38.jpg","text":"TemporaryFile(/tmp/multipartBody5621063364020957447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_27_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/550bfd38c2ae0996257424a50df6dff0.jpg","text":"TemporaryFile(/tmp/multipartBody9072512776928553931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_28_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2d66ca0f49f23a745d163a2ed1d795c.jpg","text":"TemporaryFile(/tmp/multipartBody7507061882275349027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_27_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e72e9ce9f32e90dfc9ef55ff5192e184.jpg","text":"TemporaryFile(/tmp/multipartBody4520779189773578730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_27_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eda5e16c517a401080ff5d78efa7d31c.jpg","text":"TemporaryFile(/tmp/multipartBody4868042360117419410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241674720,"filename":"image_06042025_12_27_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350972010","file1":"1350972004","file0":"1350972001","file4":"1350972019","file5":"1350972022","file3":"1350972018"},"map_files_photo_id_array":[{"photo_id":"1350972022","filename":"file5"},{"photo_id":"1350972010","filename":"file2"},{"photo_id":"1350972019","filename":"file4"},{"photo_id":"1350972004","filename":"file1"},{"photo_id":"1350972001","filename":"file0"},{"photo_id":"1350972018","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350972022":["hashtag1","hashtag2"]},{"1350972001":["hashtag1","hashtag2"]},{"1350972019":["hashtag1","hashtag2"]},{"1350972010":["hashtag1","hashtag2"]},{"1350972004":["hashtag1","hashtag2"]},{"1350972018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350972022, 1350972001, 1350972019, 1350972010, 1350972004, 1350972018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.321584939956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:34:32.182016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/28/image_06042025_12_29_07_10445.jpg', '/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_16_9361.jpg', '/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_27_10369.jpg', '/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_36_9371.jpg', '/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_46_10361.jpg', '/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_57_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/28/image_06042025_12_29_07_10445.jpg
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_16_9361.jpg
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_27_10369.jpg
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_36_9371.jpg
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_46_10361.jpg
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_29_57_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350972619","1350972241","1350972615","1350972278","1350972599","1350972455"],"photo_ids_order":["1350972241","1350972278","1350972455","1350972599","1350972615","1350972619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad9efb0a74e88f7c3a118e7e7fb71362.jpg","text":"TemporaryFile(/tmp/multipartBody6753445463336157768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_57_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b412fa6a4e4407fbd96a186201c8346.jpg","text":"TemporaryFile(/tmp/multipartBody9076378000191872304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_07_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7ef612f74573c58f6c4049724c162e9.jpg","text":"TemporaryFile(/tmp/multipartBody9029394403533484974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4755d0571e9f1eb3452f93e2691786c6.jpg","text":"TemporaryFile(/tmp/multipartBody6579887914825600376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_16_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a498c0a6a19b240fd6387ab47798f9ac.jpg","text":"TemporaryFile(/tmp/multipartBody8374588300866302018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c62eb97c642b0eca61f30d05127ed24.jpg","text":"TemporaryFile(/tmp/multipartBody9133974242337753067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241733981,"filename":"image_06042025_12_29_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350972455","file1":"1350972278","file0":"1350972241","file4":"1350972615","file5":"1350972619","file3":"1350972599"},"map_files_photo_id_array":[{"photo_id":"1350972619","filename":"file5"},{"photo_id":"1350972455","filename":"file2"},{"photo_id":"1350972615","filename":"file4"},{"photo_id":"1350972278","filename":"file1"},{"photo_id":"1350972241","filename":"file0"},{"photo_id":"1350972599","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350972619":["hashtag1","hashtag2"]},{"1350972241":["hashtag1","hashtag2"]},{"1350972615":["hashtag1","hashtag2"]},{"1350972278":["hashtag1","hashtag2"]},{"1350972599":["hashtag1","hashtag2"]},{"1350972455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350972619, 1350972241, 1350972615, 1350972278, 1350972599, 1350972455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75634765625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:35:32.347653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/29/image_06042025_12_30_06_9351.jpg', '/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_36_9357.jpg', '/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_47_10371.jpg', '/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_56_9444.jpg', '/home/pi/Desktop/images/06042025/12/30/image_06042025_12_31_07_10439.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_17_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/29/image_06042025_12_30_06_9351.jpg
/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_36_9357.jpg
/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_47_10371.jpg
/home/pi/Desktop/images/06042025/12/30/image_06042025_12_30_56_9444.jpg
/home/pi/Desktop/images/06042025/12/30/image_06042025_12_31_07_10439.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_17_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350973234","1350973149","1350973242","1350973221","1350973032","1350972822"],"photo_ids_order":["1350972822","1350973032","1350973149","1350973221","1350973234","1350973242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bddb8082fc040015770bfa37bfedc93e.jpg","text":"TemporaryFile(/tmp/multipartBody6781970704454998541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_31_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d129c991f1482846c346b82bd9fcf61f.jpg","text":"TemporaryFile(/tmp/multipartBody706255138371962710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_30_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e084a69f3222daf559a8e43396a28159.jpg","text":"TemporaryFile(/tmp/multipartBody963930186729590108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_31_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/615769650f03296331cf609b9925d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody6647895221272551729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_30_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1288428406400f5e50b2b6d0df09ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7016499718038834389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_30_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c8bd2c483e84caa3af1c35fba712a23.jpg","text":"TemporaryFile(/tmp/multipartBody5131600778445038330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241794131,"filename":"image_06042025_12_30_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350973149","file1":"1350973032","file0":"1350972822","file4":"1350973234","file5":"1350973242","file3":"1350973221"},"map_files_photo_id_array":[{"photo_id":"1350973242","filename":"file5"},{"photo_id":"1350973149","filename":"file2"},{"photo_id":"1350973234","filename":"file4"},{"photo_id":"1350973032","filename":"file1"},{"photo_id":"1350972822","filename":"file0"},{"photo_id":"1350973221","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350973234":["hashtag1","hashtag2"]},{"1350973149":["hashtag1","hashtag2"]},{"1350973242":["hashtag1","hashtag2"]},{"1350973221":["hashtag1","hashtag2"]},{"1350973032":["hashtag1","hashtag2"]},{"1350972822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350973234, 1350973149, 1350973242, 1350973221, 1350973032, 1350972822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.96125841140747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:36:32.576574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_26_9367.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_46_9350.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_57_10373.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_32_07_10446.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_16_9408.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_27_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_26_9367.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_46_9350.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_57_10373.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_32_07_10446.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_16_9408.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_27_10433.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7221276760101318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 01:36:42.529370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_26_9367.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_46_9350.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_57_10373.jpg', '/home/pi/Desktop/images/06042025/12/31/image_06042025_12_32_07_10446.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_16_9408.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_27_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_26_9367.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_46_9350.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_31_57_10373.jpg
/home/pi/Desktop/images/06042025/12/31/image_06042025_12_32_07_10446.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_16_9408.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_27_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350973549","1350973584","1350973614","1350973500","1350973637","1350973622"],"photo_ids_order":["1350973500","1350973549","1350973584","1350973614","1350973622","1350973637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ca2d449dd833af2198f6c1af837ebbe.jpg","text":"TemporaryFile(/tmp/multipartBody5724939729019446853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_31_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35dc0bd2fc265086a64ae25fefd86c74.jpg","text":"TemporaryFile(/tmp/multipartBody8622301130013062344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_31_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef4278d410417dc9ce39cd8a1b87087d.jpg","text":"TemporaryFile(/tmp/multipartBody8008769047710474165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_32_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/900639f92fc4b5f14b0abab7e7d9a481.jpg","text":"TemporaryFile(/tmp/multipartBody7041414526938709009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_31_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b64b33fe341168bad873e34a3ba20c16.jpg","text":"TemporaryFile(/tmp/multipartBody1021007702947742538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_32_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f48bdf33178c82d9d9b155a21c0d466c.jpg","text":"TemporaryFile(/tmp/multipartBody2158484798550961043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241863466,"filename":"image_06042025_12_32_16_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350973584","file1":"1350973549","file0":"1350973500","file4":"1350973622","file5":"1350973637","file3":"1350973614"},"map_files_photo_id_array":[{"photo_id":"1350973637","filename":"file5"},{"photo_id":"1350973584","filename":"file2"},{"photo_id":"1350973622","filename":"file4"},{"photo_id":"1350973549","filename":"file1"},{"photo_id":"1350973500","filename":"file0"},{"photo_id":"1350973614","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350973549":["hashtag1","hashtag2"]},{"1350973584":["hashtag1","hashtag2"]},{"1350973614":["hashtag1","hashtag2"]},{"1350973500":["hashtag1","hashtag2"]},{"1350973637":["hashtag1","hashtag2"]},{"1350973622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350973549, 1350973584, 1350973614, 1350973500, 1350973637, 1350973622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.150893688201904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:37:34.833192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_36_9411.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_47_10455.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_56_9429.jpg', '/home/pi/Desktop/images/06042025/12/32/image_06042025_12_33_07_10404.jpg', '/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_17_10360.jpg', '/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_26_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_36_9411.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_47_10455.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_32_56_9429.jpg
/home/pi/Desktop/images/06042025/12/32/image_06042025_12_33_07_10404.jpg
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_17_10360.jpg
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_26_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350973815","1350973809","1350973769","1350973808","1350973742","1350973798"],"photo_ids_order":["1350973742","1350973769","1350973798","1350973808","1350973809","1350973815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e41f783a2c7e25776d7094513fcb087f.jpg","text":"TemporaryFile(/tmp/multipartBody6694585726031226143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_33_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6359da0e046b0e82844f9dc709ddee6.jpg","text":"TemporaryFile(/tmp/multipartBody4260626540580493123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_33_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fa531928987a64a62a0c1538f7a6f32.jpg","text":"TemporaryFile(/tmp/multipartBody4250056766041289282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_32_47_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/920690ec058e42704e1024776cf3be1e.jpg","text":"TemporaryFile(/tmp/multipartBody7580603224000395997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_33_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba7b66ca5b82d7ee5b1d16fff4c23546.jpg","text":"TemporaryFile(/tmp/multipartBody8956449818585528270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_32_36_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cee5deb0e03959ee310f5a348243212f.jpg","text":"TemporaryFile(/tmp/multipartBody779623927971473253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241916620,"filename":"image_06042025_12_32_56_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350973798","file1":"1350973769","file0":"1350973742","file4":"1350973809","file5":"1350973815","file3":"1350973808"},"map_files_photo_id_array":[{"photo_id":"1350973815","filename":"file5"},{"photo_id":"1350973798","filename":"file2"},{"photo_id":"1350973809","filename":"file4"},{"photo_id":"1350973769","filename":"file1"},{"photo_id":"1350973742","filename":"file0"},{"photo_id":"1350973808","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350973815":["hashtag1","hashtag2"]},{"1350973809":["hashtag1","hashtag2"]},{"1350973769":["hashtag1","hashtag2"]},{"1350973808":["hashtag1","hashtag2"]},{"1350973742":["hashtag1","hashtag2"]},{"1350973798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350973815, 1350973809, 1350973769, 1350973808, 1350973742, 1350973798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47432017326355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:38:32.959264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_36_10100.jpg', '/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_47_10349.jpg', '/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_56_9469.jpg', '/home/pi/Desktop/images/06042025/12/33/image_06042025_12_34_07_10394.jpg', '/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_17_10374.jpg', '/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_46_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_36_10100.jpg
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_47_10349.jpg
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_33_56_9469.jpg
/home/pi/Desktop/images/06042025/12/33/image_06042025_12_34_07_10394.jpg
/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_17_10374.jpg
/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_46_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350973998","1350974010","1350973935","1350973985","1350974015","1350974018"],"photo_ids_order":["1350973935","1350973985","1350973998","1350974010","1350974015","1350974018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/379f20eef144534d0d4dfb85df602cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1022371459473245563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_33_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af8f01efeb5ce451656018bb7e2b05c4.jpg","text":"TemporaryFile(/tmp/multipartBody8782812121230646335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_34_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58c12a3fda9d406b34fa43020727b425.jpg","text":"TemporaryFile(/tmp/multipartBody7090944801958875819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_33_36_10100.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26f23de35e5d3b116feeff73a81807a7.jpg","text":"TemporaryFile(/tmp/multipartBody7048037486739923866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_33_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f824504142d5d1ae332e97103616a16.jpg","text":"TemporaryFile(/tmp/multipartBody8608355630375175498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_34_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f2ae8a90672057f67cad5712bbd9bba.jpg","text":"TemporaryFile(/tmp/multipartBody7691183856725097462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744241974761,"filename":"image_06042025_12_34_46_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350973998","file1":"1350973985","file0":"1350973935","file4":"1350974015","file5":"1350974018","file3":"1350974010"},"map_files_photo_id_array":[{"photo_id":"1350974018","filename":"file5"},{"photo_id":"1350973998","filename":"file2"},{"photo_id":"1350974015","filename":"file4"},{"photo_id":"1350973985","filename":"file1"},{"photo_id":"1350973935","filename":"file0"},{"photo_id":"1350974010","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350973998":["hashtag1","hashtag2"]},{"1350974010":["hashtag1","hashtag2"]},{"1350973935":["hashtag1","hashtag2"]},{"1350973985":["hashtag1","hashtag2"]},{"1350974015":["hashtag1","hashtag2"]},{"1350974018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350973998, 1350974010, 1350973935, 1350973985, 1350974015, 1350974018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.545146465301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:39:32.299714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_57_10356.jpg', '/home/pi/Desktop/images/06042025/12/34/image_06042025_12_35_07_10391.jpg', '/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_27_10364.jpg', '/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_37_10417.jpg', '/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_46_9348.jpg', '/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_57_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/34/image_06042025_12_34_57_10356.jpg
/home/pi/Desktop/images/06042025/12/34/image_06042025_12_35_07_10391.jpg
/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_27_10364.jpg
/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_37_10417.jpg
/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_46_9348.jpg
/home/pi/Desktop/images/06042025/12/35/image_06042025_12_35_57_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350974227","1350974118","1350974183","1350974219","1350974216","1350974164"],"photo_ids_order":["1350974118","1350974164","1350974183","1350974216","1350974219","1350974227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4060ba3cd570137b24bff4d33f1caa5b.jpg","text":"TemporaryFile(/tmp/multipartBody8608945985438056112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_35_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/553189d487477d004ff1a5c6f538996e.jpg","text":"TemporaryFile(/tmp/multipartBody200000631386047570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_34_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3b5e355cdd006b0c99c9dc64dca1df6.jpg","text":"TemporaryFile(/tmp/multipartBody5063331510231343396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_35_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1a43d5b2a188c7932f70a39716a6427.jpg","text":"TemporaryFile(/tmp/multipartBody396809036143905178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_35_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e4c15c1766ca316f44bd5baba56b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody1477524082282663322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_35_37_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e992d4ccf63714155729fe37a32f88c9.jpg","text":"TemporaryFile(/tmp/multipartBody763291518118191944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242034084,"filename":"image_06042025_12_35_07_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350974183","file1":"1350974164","file0":"1350974118","file4":"1350974219","file5":"1350974227","file3":"1350974216"},"map_files_photo_id_array":[{"photo_id":"1350974227","filename":"file5"},{"photo_id":"1350974183","filename":"file2"},{"photo_id":"1350974219","filename":"file4"},{"photo_id":"1350974164","filename":"file1"},{"photo_id":"1350974118","filename":"file0"},{"photo_id":"1350974216","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350974227":["hashtag1","hashtag2"]},{"1350974118":["hashtag1","hashtag2"]},{"1350974183":["hashtag1","hashtag2"]},{"1350974219":["hashtag1","hashtag2"]},{"1350974216":["hashtag1","hashtag2"]},{"1350974164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350974227, 1350974118, 1350974183, 1350974219, 1350974216, 1350974164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.514501094818115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:40:32.482100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/35/image_06042025_12_36_06_9336.jpg', '/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_16_10336.jpg', '/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_27_10426.jpg', '/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_36_9352.jpg', '/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_47_10419.jpg', '/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_57_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/35/image_06042025_12_36_06_9336.jpg
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_16_10336.jpg
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_27_10426.jpg
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_36_9352.jpg
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_47_10419.jpg
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_36_57_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350974373","1350974364","1350974313","1350974402","1350974339","1350974386"],"photo_ids_order":["1350974313","1350974339","1350974364","1350974373","1350974386","1350974402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9376ed059447dbd53ea2ad70b349b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody7334794582887326149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b28006d003ae468d794cd8b68fd2e869.jpg","text":"TemporaryFile(/tmp/multipartBody7755273073351383870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44845402c9f45d9fea823fff65b4f480.jpg","text":"TemporaryFile(/tmp/multipartBody2369858350461047049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/95b516cf7caeeb3e1c64e801451e564d.jpg","text":"TemporaryFile(/tmp/multipartBody416406127600092822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df5f30d8d433eca82ba5a7ffb79445c6.jpg","text":"TemporaryFile(/tmp/multipartBody282983318992285247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5cbb3f1cf52be300b1fb0376ad344bb.jpg","text":"TemporaryFile(/tmp/multipartBody5063796340432667675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242094266,"filename":"image_06042025_12_36_47_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350974364","file1":"1350974339","file0":"1350974313","file4":"1350974386","file5":"1350974402","file3":"1350974373"},"map_files_photo_id_array":[{"photo_id":"1350974402","filename":"file5"},{"photo_id":"1350974364","filename":"file2"},{"photo_id":"1350974386","filename":"file4"},{"photo_id":"1350974339","filename":"file1"},{"photo_id":"1350974313","filename":"file0"},{"photo_id":"1350974373","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350974373":["hashtag1","hashtag2"]},{"1350974364":["hashtag1","hashtag2"]},{"1350974313":["hashtag1","hashtag2"]},{"1350974402":["hashtag1","hashtag2"]},{"1350974339":["hashtag1","hashtag2"]},{"1350974386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350974373, 1350974364, 1350974313, 1350974402, 1350974339, 1350974386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.796502351760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:41:32.656130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/36/image_06042025_12_37_06_9411.jpg', '/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_17_10464.jpg', '/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_26_9452.jpg', '/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_37_10344.jpg', '/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_46_9426.jpg', '/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/36/image_06042025_12_37_06_9411.jpg
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_17_10464.jpg
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_26_9452.jpg
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_37_10344.jpg
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_46_9426.jpg
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_37_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350974541","1350974544","1350974538","1350974547","1350974552","1350974551"],"photo_ids_order":["1350974538","1350974541","1350974544","1350974547","1350974551","1350974552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7b69ddc81a5cb9193ab74ae60f627c3.jpg","text":"TemporaryFile(/tmp/multipartBody8105148709175427904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_17_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2eabe6a103660d2b73ba92b843ab2230.jpg","text":"TemporaryFile(/tmp/multipartBody4683665970050409363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_26_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/745d36a3e61b02899b84025ded5770e1.jpg","text":"TemporaryFile(/tmp/multipartBody1144202774872721112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_06_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba3c3f080839d6783182868b088b9d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7802976900769932209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f072ce6ed28c74edbd7671ef45fa952.jpg","text":"TemporaryFile(/tmp/multipartBody5415637737844263473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/735d0cbeba7b4cd71aabdfbbeb769316.jpg","text":"TemporaryFile(/tmp/multipartBody255196053161013123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242154430,"filename":"image_06042025_12_37_46_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350974544","file1":"1350974541","file0":"1350974538","file4":"1350974551","file5":"1350974552","file3":"1350974547"},"map_files_photo_id_array":[{"photo_id":"1350974552","filename":"file5"},{"photo_id":"1350974544","filename":"file2"},{"photo_id":"1350974551","filename":"file4"},{"photo_id":"1350974541","filename":"file1"},{"photo_id":"1350974538","filename":"file0"},{"photo_id":"1350974547","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350974541":["hashtag1","hashtag2"]},{"1350974544":["hashtag1","hashtag2"]},{"1350974538":["hashtag1","hashtag2"]},{"1350974547":["hashtag1","hashtag2"]},{"1350974552":["hashtag1","hashtag2"]},{"1350974551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350974541, 1350974544, 1350974538, 1350974547, 1350974552, 1350974551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13574481010437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:42:32.826677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/37/image_06042025_12_38_07_10404.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_16_9434.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_27_10381.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_36_9475.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_47_10361.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_57_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/37/image_06042025_12_38_07_10404.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_16_9434.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_27_10381.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_36_9475.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_47_10361.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_57_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350974707","1350974670","1350974756","1350974641","1350974644","1350974638"],"photo_ids_order":["1350974638","1350974641","1350974644","1350974670","1350974707","1350974756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f90945d223636030f3a9f06147f740f6.jpg","text":"TemporaryFile(/tmp/multipartBody938677600597927907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59892c8388ac32dc9d73d3003dc85b1c.jpg","text":"TemporaryFile(/tmp/multipartBody744479151924383784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_36_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88c77785bdc68b9ba15931a48ec5a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3517880090183634891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5287afdcfc52a9e7aa4fb5187f9fed7b.jpg","text":"TemporaryFile(/tmp/multipartBody790571318476373237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_16_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d1eee83c3ddbc9c9e5b8312ee5e02d9.jpg","text":"TemporaryFile(/tmp/multipartBody3103903135537477851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ba18cb610f06b140d9089a0d83fc8be.jpg","text":"TemporaryFile(/tmp/multipartBody1846484888525736523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242214606,"filename":"image_06042025_12_38_07_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350974644","file1":"1350974641","file0":"1350974638","file4":"1350974707","file5":"1350974756","file3":"1350974670"},"map_files_photo_id_array":[{"photo_id":"1350974756","filename":"file5"},{"photo_id":"1350974644","filename":"file2"},{"photo_id":"1350974707","filename":"file4"},{"photo_id":"1350974641","filename":"file1"},{"photo_id":"1350974638","filename":"file0"},{"photo_id":"1350974670","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350974707":["hashtag1","hashtag2"]},{"1350974670":["hashtag1","hashtag2"]},{"1350974756":["hashtag1","hashtag2"]},{"1350974641":["hashtag1","hashtag2"]},{"1350974644":["hashtag1","hashtag2"]},{"1350974638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350974707, 1350974670, 1350974756, 1350974641, 1350974644, 1350974638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44174361228943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:43:33.087209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/38/image_06042025_12_39_06_9461.jpg', '/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_17_10399.jpg', '/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_26_9385.jpg', '/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_37_10365.jpg', '/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_47_10466.jpg', '/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_57_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_39_06_9461.jpg
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_17_10399.jpg
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_26_9385.jpg
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_37_10365.jpg
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_47_10466.jpg
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_39_57_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350975039","1350975027","1350974991","1350974861","1350974858","1350975043"],"photo_ids_order":["1350974858","1350974861","1350974991","1350975027","1350975039","1350975043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1869a70eb459abc8aea18ca6f0ee56b7.jpg","text":"TemporaryFile(/tmp/multipartBody5200458941041529484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_47_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29b0d37ae892e3ef740cddd5b2b8420b.jpg","text":"TemporaryFile(/tmp/multipartBody4883077897668783535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3bf591118a5ccca30f34ccd01176d01f.jpg","text":"TemporaryFile(/tmp/multipartBody6566289647584147607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8e4db891d1689123659e526013c4dbb.jpg","text":"TemporaryFile(/tmp/multipartBody8396394809701262944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_17_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77204cf86f52973b6b6fb82c8ac34f81.jpg","text":"TemporaryFile(/tmp/multipartBody8778240156456888834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5f01d5089c0a17f91b0a5d5a7898f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2132374120556931097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242274884,"filename":"image_06042025_12_39_57_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350974991","file1":"1350974861","file0":"1350974858","file4":"1350975039","file5":"1350975043","file3":"1350975027"},"map_files_photo_id_array":[{"photo_id":"1350975043","filename":"file5"},{"photo_id":"1350974991","filename":"file2"},{"photo_id":"1350975039","filename":"file4"},{"photo_id":"1350974861","filename":"file1"},{"photo_id":"1350974858","filename":"file0"},{"photo_id":"1350975027","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350975039":["hashtag1","hashtag2"]},{"1350975027":["hashtag1","hashtag2"]},{"1350974991":["hashtag1","hashtag2"]},{"1350974861":["hashtag1","hashtag2"]},{"1350974858":["hashtag1","hashtag2"]},{"1350975043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350975039, 1350975027, 1350974991, 1350974861, 1350974858, 1350975043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58067512512207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:44:32.399302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/39/image_06042025_12_40_07_10403.jpg', '/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_16_9342.jpg', '/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_27_10373.jpg', '/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_36_9472.jpg', '/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_46_10359.jpg', '/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_57_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/39/image_06042025_12_40_07_10403.jpg
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_16_9342.jpg
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_27_10373.jpg
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_36_9472.jpg
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_46_10359.jpg
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_40_57_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350975246","1350975315","1350975309","1350975280","1350975199","1350975223"],"photo_ids_order":["1350975199","1350975223","1350975246","1350975280","1350975309","1350975315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2156506ea3ab2a29b243b21723cbcb7.jpg","text":"TemporaryFile(/tmp/multipartBody4665895298679593422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8afc6981d31bbd6749561ce17d12bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5117856280487735307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_57_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44e06c045a1034b742dd4c7dd4136ad0.jpg","text":"TemporaryFile(/tmp/multipartBody953615194431319276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0832270d039b381e59b06a4960e655ad.jpg","text":"TemporaryFile(/tmp/multipartBody3317357966288045656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_36_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61b5fc5b50af30c995674fcbae49efd7.jpg","text":"TemporaryFile(/tmp/multipartBody1131484517753279354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c47f692144d23f4366f4ecb423d3eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1738430406006034916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242334189,"filename":"image_06042025_12_40_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350975246","file1":"1350975223","file0":"1350975199","file4":"1350975309","file5":"1350975315","file3":"1350975280"},"map_files_photo_id_array":[{"photo_id":"1350975315","filename":"file5"},{"photo_id":"1350975246","filename":"file2"},{"photo_id":"1350975309","filename":"file4"},{"photo_id":"1350975223","filename":"file1"},{"photo_id":"1350975199","filename":"file0"},{"photo_id":"1350975280","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350975246":["hashtag1","hashtag2"]},{"1350975315":["hashtag1","hashtag2"]},{"1350975309":["hashtag1","hashtag2"]},{"1350975280":["hashtag1","hashtag2"]},{"1350975199":["hashtag1","hashtag2"]},{"1350975223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350975246, 1350975315, 1350975309, 1350975280, 1350975199, 1350975223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.992069244384766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:45:32.669808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/40/image_06042025_12_41_06_9347.jpg', '/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_17_10456.jpg', '/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_27_10359.jpg', '/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_36_9351.jpg', '/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_47_10478.jpg', '/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/40/image_06042025_12_41_06_9347.jpg
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_17_10456.jpg
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_27_10359.jpg
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_36_9351.jpg
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_47_10478.jpg
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_41_56_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350975557","1350975566","1350975499","1350975518","1350975577","1350975541"],"photo_ids_order":["1350975499","1350975518","1350975541","1350975557","1350975566","1350975577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb0c3d1bc1917df2f3c4403c3502e0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3273091563372045263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44919f87e25044e518f9dcb5dd1b1f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5312287702321701762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59577a098a8af788ec6d25b86c33ba68.jpg","text":"TemporaryFile(/tmp/multipartBody1942226649673440957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19bfdd58881dd6638a1d0de7ac5d2c45.jpg","text":"TemporaryFile(/tmp/multipartBody834969782041852328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e6724cc6159a3610c667e497edb432d.jpg","text":"TemporaryFile(/tmp/multipartBody5972998919726600903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2143e8b81995866a9f71649e135ef4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1659790514489440573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242394467,"filename":"image_06042025_12_41_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350975541","file1":"1350975518","file0":"1350975499","file4":"1350975566","file5":"1350975577","file3":"1350975557"},"map_files_photo_id_array":[{"photo_id":"1350975577","filename":"file5"},{"photo_id":"1350975541","filename":"file2"},{"photo_id":"1350975566","filename":"file4"},{"photo_id":"1350975518","filename":"file1"},{"photo_id":"1350975499","filename":"file0"},{"photo_id":"1350975557","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350975557":["hashtag1","hashtag2"]},{"1350975566":["hashtag1","hashtag2"]},{"1350975499":["hashtag1","hashtag2"]},{"1350975518":["hashtag1","hashtag2"]},{"1350975577":["hashtag1","hashtag2"]},{"1350975541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350975557, 1350975566, 1350975499, 1350975518, 1350975577, 1350975541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25912046432495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:46:32.755251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/41/image_06042025_12_42_07_10444.jpg', '/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_17_10355.jpg', '/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_26_9415.jpg', '/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_37_10439.jpg', '/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_46_9403.jpg', '/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_57_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/41/image_06042025_12_42_07_10444.jpg
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_17_10355.jpg
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_26_9415.jpg
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_37_10439.jpg
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_46_9403.jpg
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_42_57_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350976262","1350976250","1350976235","1350976270","1350976264","1350976222"],"photo_ids_order":["1350976222","1350976235","1350976250","1350976262","1350976264","1350976270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f290c3eb614938e0e97bd614df33fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6274060477099124726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41bc4f85130f4b61383f29d09d946f21.jpg","text":"TemporaryFile(/tmp/multipartBody6106319787691807626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99cd937722487e61aa4458124cc327bb.jpg","text":"TemporaryFile(/tmp/multipartBody8088685506991282650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75606131f03d93dba57d3e90bfb4950b.jpg","text":"TemporaryFile(/tmp/multipartBody3259354803197521414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/141034f604c3efec341bef98dc5e02a7.jpg","text":"TemporaryFile(/tmp/multipartBody8901710942936817901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1c1cc3aa0c9aee83b5251b6af47c2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8572880089452445473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242454553,"filename":"image_06042025_12_42_07_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350976250","file1":"1350976235","file0":"1350976222","file4":"1350976264","file5":"1350976270","file3":"1350976262"},"map_files_photo_id_array":[{"photo_id":"1350976270","filename":"file5"},{"photo_id":"1350976250","filename":"file2"},{"photo_id":"1350976264","filename":"file4"},{"photo_id":"1350976235","filename":"file1"},{"photo_id":"1350976222","filename":"file0"},{"photo_id":"1350976262","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350976262":["hashtag1","hashtag2"]},{"1350976250":["hashtag1","hashtag2"]},{"1350976235":["hashtag1","hashtag2"]},{"1350976270":["hashtag1","hashtag2"]},{"1350976264":["hashtag1","hashtag2"]},{"1350976222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350976262, 1350976250, 1350976235, 1350976270, 1350976264, 1350976222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.039398431777954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:47:33.437255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/42/image_06042025_12_43_06_9359.jpg', '/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_17_10434.jpg', '/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_27_10396.jpg', '/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_36_9357.jpg', '/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_47_10363.jpg', '/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_56_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/42/image_06042025_12_43_06_9359.jpg
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_17_10434.jpg
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_27_10396.jpg
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_36_9357.jpg
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_47_10363.jpg
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_43_56_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350976437","1350976469","1350976415","1350976494","1350976440","1350976434"],"photo_ids_order":["1350976415","1350976434","1350976437","1350976440","1350976469","1350976494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0a6dc541ecfd5c494ac7187ef1a6482.jpg","text":"TemporaryFile(/tmp/multipartBody1627226162104864896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cd6bff233106132b2b0a30974fecc25.jpg","text":"TemporaryFile(/tmp/multipartBody7466877649333061062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6186cbec9163f0660e5b3013527813b1.jpg","text":"TemporaryFile(/tmp/multipartBody1009482067905477357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/119680e3e24292901bbb573ce3dc8656.jpg","text":"TemporaryFile(/tmp/multipartBody6652934574168341980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40b240b63c263364b5682760293051fc.jpg","text":"TemporaryFile(/tmp/multipartBody965491598726065815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e36c007042a77e32ae0903a33fd38ca.jpg","text":"TemporaryFile(/tmp/multipartBody5344216118992735450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242515222,"filename":"image_06042025_12_43_17_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350976437","file1":"1350976434","file0":"1350976415","file4":"1350976469","file5":"1350976494","file3":"1350976440"},"map_files_photo_id_array":[{"photo_id":"1350976494","filename":"file5"},{"photo_id":"1350976437","filename":"file2"},{"photo_id":"1350976469","filename":"file4"},{"photo_id":"1350976434","filename":"file1"},{"photo_id":"1350976415","filename":"file0"},{"photo_id":"1350976440","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350976437":["hashtag1","hashtag2"]},{"1350976469":["hashtag1","hashtag2"]},{"1350976415":["hashtag1","hashtag2"]},{"1350976494":["hashtag1","hashtag2"]},{"1350976440":["hashtag1","hashtag2"]},{"1350976434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350976437, 1350976469, 1350976415, 1350976494, 1350976440, 1350976434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.536683082580566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:48:32.163579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/43/image_06042025_12_44_06_10358.jpg', '/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_17_10455.jpg', '/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_26_9354.jpg', '/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_37_10362.jpg', '/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_47_10411.jpg', '/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_56_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/43/image_06042025_12_44_06_10358.jpg
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_17_10455.jpg
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_26_9354.jpg
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_37_10362.jpg
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_47_10411.jpg
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_44_56_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350976862","1350976952","1350976975","1350976927","1350976899","1350976803"],"photo_ids_order":["1350976803","1350976862","1350976899","1350976927","1350976952","1350976975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5b7e436b292c8477eebbb594df14515.jpg","text":"TemporaryFile(/tmp/multipartBody1174802786152974156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_17_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47e162a6c6d88db109bccc4907fb9b51.jpg","text":"TemporaryFile(/tmp/multipartBody2841171001980932204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2803afbf8cd89021dfba72ae6e29df12.jpg","text":"TemporaryFile(/tmp/multipartBody1905541854633355128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01a0a4b4c631569e3fd2c308e8c83cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6582886264765202138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a270d0e6cbceabe65b99d4891af83d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2118876342477571537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e477ee59dbe9eae1634ef29f3f6c721.jpg","text":"TemporaryFile(/tmp/multipartBody8876959223180986847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242573969,"filename":"image_06042025_12_44_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350976899","file1":"1350976862","file0":"1350976803","file4":"1350976952","file5":"1350976975","file3":"1350976927"},"map_files_photo_id_array":[{"photo_id":"1350976975","filename":"file5"},{"photo_id":"1350976899","filename":"file2"},{"photo_id":"1350976952","filename":"file4"},{"photo_id":"1350976862","filename":"file1"},{"photo_id":"1350976803","filename":"file0"},{"photo_id":"1350976927","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350976862":["hashtag1","hashtag2"]},{"1350976952":["hashtag1","hashtag2"]},{"1350976975":["hashtag1","hashtag2"]},{"1350976927":["hashtag1","hashtag2"]},{"1350976899":["hashtag1","hashtag2"]},{"1350976803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350976862, 1350976952, 1350976975, 1350976927, 1350976899, 1350976803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73565101623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:49:32.349147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/44/image_06042025_12_45_07_10391.jpg', '/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_16_9341.jpg', '/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_27_10352.jpg', '/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_37_10398.jpg', '/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_46_9356.jpg', '/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_57_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/44/image_06042025_12_45_07_10391.jpg
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_16_9341.jpg
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_27_10352.jpg
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_37_10398.jpg
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_46_9356.jpg
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_45_57_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350977648","1350977441","1350977324","1350977551","1350977520","1350977588"],"photo_ids_order":["1350977324","1350977441","1350977520","1350977551","1350977588","1350977648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccc3785f7655e13d0a219091933ce139.jpg","text":"TemporaryFile(/tmp/multipartBody5580243537112116477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2d87b8ab24e8dfe341bed8c13259179.jpg","text":"TemporaryFile(/tmp/multipartBody5479265070106603939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba764855c1f25ccfd32a1e57e0d8e07f.jpg","text":"TemporaryFile(/tmp/multipartBody1610828915616345558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_07_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d5634cbf683790f32be003e35b8b02d.jpg","text":"TemporaryFile(/tmp/multipartBody464542798266581852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_37_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ef4a1226d081957696b8b3db5afaeea.jpg","text":"TemporaryFile(/tmp/multipartBody7393134370206478660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5dbb6d3beb4ae5aa61c828ecd34fe88a.jpg","text":"TemporaryFile(/tmp/multipartBody7302120834860440601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242634132,"filename":"image_06042025_12_45_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350977520","file1":"1350977441","file0":"1350977324","file4":"1350977588","file5":"1350977648","file3":"1350977551"},"map_files_photo_id_array":[{"photo_id":"1350977648","filename":"file5"},{"photo_id":"1350977520","filename":"file2"},{"photo_id":"1350977588","filename":"file4"},{"photo_id":"1350977441","filename":"file1"},{"photo_id":"1350977324","filename":"file0"},{"photo_id":"1350977551","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350977648":["hashtag1","hashtag2"]},{"1350977441":["hashtag1","hashtag2"]},{"1350977324":["hashtag1","hashtag2"]},{"1350977551":["hashtag1","hashtag2"]},{"1350977520":["hashtag1","hashtag2"]},{"1350977588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350977648, 1350977441, 1350977324, 1350977551, 1350977520, 1350977588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62802004814148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:50:32.466123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/45/image_06042025_12_46_06_9441.jpg', '/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_17_10432.jpg', '/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_27_10445.jpg', '/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_36_9361.jpg', '/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_47_10367.jpg', '/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_56_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/45/image_06042025_12_46_06_9441.jpg
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_17_10432.jpg
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_27_10445.jpg
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_36_9361.jpg
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_47_10367.jpg
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_46_56_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350977936","1350977851","1350978001","1350977967","1350977910","1350977882"],"photo_ids_order":["1350977851","1350977882","1350977910","1350977936","1350977967","1350978001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1062b51bc4ad76c2fc2191321f5d979.jpg","text":"TemporaryFile(/tmp/multipartBody5180842452602609745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b92080a132183fbfadb966e5600606a3.jpg","text":"TemporaryFile(/tmp/multipartBody7987215559139914884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_06_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47cf83550f854ca11bae53c2a836e32b.jpg","text":"TemporaryFile(/tmp/multipartBody1978491406519021829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89a2057b442d6aecd2a411e1c535cec7.jpg","text":"TemporaryFile(/tmp/multipartBody5318506950905630707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d63e97d6c6d127b2e8ae7e63aed2e595.jpg","text":"TemporaryFile(/tmp/multipartBody9140145621748847111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c519581934e9d2367f799e7a6a09283b.jpg","text":"TemporaryFile(/tmp/multipartBody1673619852585519649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242694314,"filename":"image_06042025_12_46_17_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350977910","file1":"1350977882","file0":"1350977851","file4":"1350977967","file5":"1350978001","file3":"1350977936"},"map_files_photo_id_array":[{"photo_id":"1350978001","filename":"file5"},{"photo_id":"1350977910","filename":"file2"},{"photo_id":"1350977967","filename":"file4"},{"photo_id":"1350977882","filename":"file1"},{"photo_id":"1350977851","filename":"file0"},{"photo_id":"1350977936","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350977936":["hashtag1","hashtag2"]},{"1350977851":["hashtag1","hashtag2"]},{"1350978001":["hashtag1","hashtag2"]},{"1350977967":["hashtag1","hashtag2"]},{"1350977910":["hashtag1","hashtag2"]},{"1350977882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350977936, 1350977851, 1350978001, 1350977967, 1350977910, 1350977882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71542811393738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:51:32.851678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/46/image_06042025_12_47_06_10350.jpg', '/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_17_10454.jpg', '/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_26_9364.jpg', '/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_37_10427.jpg', '/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_46_9366.jpg', '/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_56_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/46/image_06042025_12_47_06_10350.jpg
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_17_10454.jpg
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_26_9364.jpg
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_37_10427.jpg
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_46_9366.jpg
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_47_56_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350978388","1350978475","1350978520","1350978447","1350978363","1350978413"],"photo_ids_order":["1350978363","1350978388","1350978413","1350978447","1350978475","1350978520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38ddde8469e89584ae1d675a2b8e0f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8941754726650689519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_17_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/123fb5df9cdbbd66d0bced14cca0380f.jpg","text":"TemporaryFile(/tmp/multipartBody47103633590882250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a166c88492cf2351974cbdd180c76ed7.jpg","text":"TemporaryFile(/tmp/multipartBody104333832110008042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fe963ab69fec64cf4ab1cf78a440a39.jpg","text":"TemporaryFile(/tmp/multipartBody8315144568854673489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_37_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71b7bbca31fbf3b901c477b39eda39c6.jpg","text":"TemporaryFile(/tmp/multipartBody7009329955715125564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faa9fe477a82a3887e532dfde5b1e50b.jpg","text":"TemporaryFile(/tmp/multipartBody3330977374802623251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242754658,"filename":"image_06042025_12_47_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350978413","file1":"1350978388","file0":"1350978363","file4":"1350978475","file5":"1350978520","file3":"1350978447"},"map_files_photo_id_array":[{"photo_id":"1350978520","filename":"file5"},{"photo_id":"1350978413","filename":"file2"},{"photo_id":"1350978475","filename":"file4"},{"photo_id":"1350978388","filename":"file1"},{"photo_id":"1350978363","filename":"file0"},{"photo_id":"1350978447","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350978388":["hashtag1","hashtag2"]},{"1350978475":["hashtag1","hashtag2"]},{"1350978520":["hashtag1","hashtag2"]},{"1350978447":["hashtag1","hashtag2"]},{"1350978363":["hashtag1","hashtag2"]},{"1350978413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350978388, 1350978475, 1350978520, 1350978447, 1350978363, 1350978413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.407344341278076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:52:32.961564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/47/image_06042025_12_48_07_10476.jpg', '/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_16_9349.jpg', '/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_27_10408.jpg', '/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_37_10355.jpg', '/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_46_9366.jpg', '/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_57_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/47/image_06042025_12_48_07_10476.jpg
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_16_9349.jpg
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_27_10408.jpg
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_37_10355.jpg
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_46_9366.jpg
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_48_57_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350978679","1350978646","1350978631","1350978666","1350978683","1350978659"],"photo_ids_order":["1350978631","1350978646","1350978659","1350978666","1350978679","1350978683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a4aa3c33cbff483fc1141d7281d8197.jpg","text":"TemporaryFile(/tmp/multipartBody3581255346164325797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82c4792e56d303f3573a04bb67d91040.jpg","text":"TemporaryFile(/tmp/multipartBody8418608260019565787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae8e542ed063981128b6dc41b8b4bb67.jpg","text":"TemporaryFile(/tmp/multipartBody2752750969832739408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_07_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0f5d598b802caeee79ab558d48ca735.jpg","text":"TemporaryFile(/tmp/multipartBody8450185013849269842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1669abd4c32f9ebd350d8bf906c80d4.jpg","text":"TemporaryFile(/tmp/multipartBody5216376252981515562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/917f99b64f80c3aec2c36f5f8093372f.jpg","text":"TemporaryFile(/tmp/multipartBody7520345818787144599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242814763,"filename":"image_06042025_12_48_27_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350978659","file1":"1350978646","file0":"1350978631","file4":"1350978679","file5":"1350978683","file3":"1350978666"},"map_files_photo_id_array":[{"photo_id":"1350978683","filename":"file5"},{"photo_id":"1350978659","filename":"file2"},{"photo_id":"1350978679","filename":"file4"},{"photo_id":"1350978646","filename":"file1"},{"photo_id":"1350978631","filename":"file0"},{"photo_id":"1350978666","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350978679":["hashtag1","hashtag2"]},{"1350978646":["hashtag1","hashtag2"]},{"1350978631":["hashtag1","hashtag2"]},{"1350978666":["hashtag1","hashtag2"]},{"1350978683":["hashtag1","hashtag2"]},{"1350978659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350978679, 1350978646, 1350978631, 1350978666, 1350978683, 1350978659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12374782562256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:53:32.229472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/48/image_06042025_12_49_06_9413.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_17_10355.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_27_10404.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_36_9343.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_47_10459.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_56_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/48/image_06042025_12_49_06_9413.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_17_10355.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_27_10404.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_36_9343.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_47_10459.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_56_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350978760","1350978786","1350978741","1350978864","1350978813","1350978743"],"photo_ids_order":["1350978741","1350978743","1350978760","1350978786","1350978813","1350978864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/594df200a0e93e71b223ee13fc973ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5535994224248581642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_27_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6aecaebb4c487b8489add54e5a13de6.jpg","text":"TemporaryFile(/tmp/multipartBody9010972256368186348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c41639e49fee22cbb5fa46102021cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody8807228697973803643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/678c225360106a5ff2ff8db089858358.jpg","text":"TemporaryFile(/tmp/multipartBody258050682450799419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eaffa90503174faade2f1529981d8cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3241011566065402013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_47_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/561af6a25531e5966c174b3d07786464.jpg","text":"TemporaryFile(/tmp/multipartBody6186790603551888735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242874014,"filename":"image_06042025_12_49_17_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350978760","file1":"1350978743","file0":"1350978741","file4":"1350978813","file5":"1350978864","file3":"1350978786"},"map_files_photo_id_array":[{"photo_id":"1350978864","filename":"file5"},{"photo_id":"1350978760","filename":"file2"},{"photo_id":"1350978813","filename":"file4"},{"photo_id":"1350978743","filename":"file1"},{"photo_id":"1350978741","filename":"file0"},{"photo_id":"1350978786","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350978760":["hashtag1","hashtag2"]},{"1350978786":["hashtag1","hashtag2"]},{"1350978741":["hashtag1","hashtag2"]},{"1350978864":["hashtag1","hashtag2"]},{"1350978813":["hashtag1","hashtag2"]},{"1350978743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350978760, 1350978786, 1350978741, 1350978864, 1350978813, 1350978743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.598525524139404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:54:32.386956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/49/image_06042025_12_50_06_10349.jpg', '/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_26_9473.jpg', '/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_37_10366.jpg', '/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_46_9429.jpg', '/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_57_10443.jpg', '/home/pi/Desktop/images/06042025/12/50/image_06042025_12_51_07_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_50_06_10349.jpg
/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_26_9473.jpg
/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_37_10366.jpg
/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_46_9429.jpg
/home/pi/Desktop/images/06042025/12/50/image_06042025_12_50_57_10443.jpg
/home/pi/Desktop/images/06042025/12/50/image_06042025_12_51_07_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350979216","1350979188","1350979134","1350979221","1350979116","1350979226"],"photo_ids_order":["1350979116","1350979134","1350979188","1350979216","1350979221","1350979226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14b65f01c82edfa8e23b261a4731f8ad.jpg","text":"TemporaryFile(/tmp/multipartBody7074533526816794061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_50_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/675fe8d65b04c08adc4b9d7f3d6c83fc.jpg","text":"TemporaryFile(/tmp/multipartBody3602197818474118621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_50_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3e35a1f38fa59242df140e32dd7fb53.jpg","text":"TemporaryFile(/tmp/multipartBody9041192156551447358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_50_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e9e8ae1e98e45c526e9aea4fb2f5452.jpg","text":"TemporaryFile(/tmp/multipartBody3031344714036340247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_50_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446aacf118b63f2742897bc23c57c859.jpg","text":"TemporaryFile(/tmp/multipartBody6305767605884275868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_50_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b01af88c1006420ad44de97a863cf213.jpg","text":"TemporaryFile(/tmp/multipartBody1700199444497271434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242934180,"filename":"image_06042025_12_51_07_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350979188","file1":"1350979134","file0":"1350979116","file4":"1350979221","file5":"1350979226","file3":"1350979216"},"map_files_photo_id_array":[{"photo_id":"1350979226","filename":"file5"},{"photo_id":"1350979188","filename":"file2"},{"photo_id":"1350979221","filename":"file4"},{"photo_id":"1350979134","filename":"file1"},{"photo_id":"1350979116","filename":"file0"},{"photo_id":"1350979216","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350979216":["hashtag1","hashtag2"]},{"1350979188":["hashtag1","hashtag2"]},{"1350979134":["hashtag1","hashtag2"]},{"1350979221":["hashtag1","hashtag2"]},{"1350979116":["hashtag1","hashtag2"]},{"1350979226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350979216, 1350979188, 1350979134, 1350979221, 1350979116, 1350979226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.939884185791016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:55:32.627335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_16_9345.jpg', '/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_27_10397.jpg', '/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_57_10476.jpg', '/home/pi/Desktop/images/06042025/12/51/image_06042025_12_52_06_9354.jpg', '/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_17_10449.jpg', '/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_26_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_16_9345.jpg
/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_27_10397.jpg
/home/pi/Desktop/images/06042025/12/51/image_06042025_12_51_57_10476.jpg
/home/pi/Desktop/images/06042025/12/51/image_06042025_12_52_06_9354.jpg
/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_17_10449.jpg
/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_26_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350979311","1350979308","1350979292","1350979305","1350979297","1350979301"],"photo_ids_order":["1350979292","1350979297","1350979301","1350979305","1350979308","1350979311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/072a46566aaefaa35c350c3c7529e59e.jpg","text":"TemporaryFile(/tmp/multipartBody1841650252256373262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_52_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b3c32d1a14083fda93b61a0804e4abe.jpg","text":"TemporaryFile(/tmp/multipartBody4081256092591603432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_52_17_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76da81cd0832cc41473f5f9a27003ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5610598937734422895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_51_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f9232f41a7ced16a2e705450716cb24.jpg","text":"TemporaryFile(/tmp/multipartBody4600447518191495467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_52_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45457f0d6d58c7ece47aec04514462ee.jpg","text":"TemporaryFile(/tmp/multipartBody2080423978249108148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_51_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31bc529e1e44f408b26fd01973aba0b2.jpg","text":"TemporaryFile(/tmp/multipartBody3318660566226392587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744242994422,"filename":"image_06042025_12_51_57_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350979301","file1":"1350979297","file0":"1350979292","file4":"1350979308","file5":"1350979311","file3":"1350979305"},"map_files_photo_id_array":[{"photo_id":"1350979311","filename":"file5"},{"photo_id":"1350979301","filename":"file2"},{"photo_id":"1350979308","filename":"file4"},{"photo_id":"1350979297","filename":"file1"},{"photo_id":"1350979292","filename":"file0"},{"photo_id":"1350979305","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350979311":["hashtag1","hashtag2"]},{"1350979308":["hashtag1","hashtag2"]},{"1350979292":["hashtag1","hashtag2"]},{"1350979305":["hashtag1","hashtag2"]},{"1350979297":["hashtag1","hashtag2"]},{"1350979301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350979311, 1350979308, 1350979292, 1350979305, 1350979297, 1350979301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27863359451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:56:32.790505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_47_10393.jpg', '/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_56_9332.jpg', '/home/pi/Desktop/images/06042025/12/52/image_06042025_12_53_07_10361.jpg', '/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_26_10372.jpg', '/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_37_10406.jpg', '/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_46_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_47_10393.jpg
/home/pi/Desktop/images/06042025/12/52/image_06042025_12_52_56_9332.jpg
/home/pi/Desktop/images/06042025/12/52/image_06042025_12_53_07_10361.jpg
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_26_10372.jpg
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_37_10406.jpg
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_46_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":["1350979522","1350979510","1350979542","1350979512","1350979500","1350979517"],"photo_ids_order":["1350979500","1350979510","1350979512","1350979517","1350979522","1350979542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e687452cc3eac7001204dbf70dc3a680.jpg","text":"TemporaryFile(/tmp/multipartBody1777458026938417163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_53_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d604c90032f99f6307787ed2e64f18b.jpg","text":"TemporaryFile(/tmp/multipartBody1532908882667624354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_52_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edde311bb3325bd13bd212297a76d221.jpg","text":"TemporaryFile(/tmp/multipartBody6167018204125594365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_53_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d213d3d93ed1958e1d9369a02c70f838.jpg","text":"TemporaryFile(/tmp/multipartBody855484891448093333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_53_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edd34c2532704bc8489bc54fbed63ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2626419591122129102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_52_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10188c095599c965c92c5d023fb9d5b4.jpg","text":"TemporaryFile(/tmp/multipartBody1711498118887402072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243054581,"filename":"image_06042025_12_53_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350979512","file1":"1350979510","file0":"1350979500","file4":"1350979522","file5":"1350979542","file3":"1350979517"},"map_files_photo_id_array":[{"photo_id":"1350979542","filename":"file5"},{"photo_id":"1350979512","filename":"file2"},{"photo_id":"1350979522","filename":"file4"},{"photo_id":"1350979510","filename":"file1"},{"photo_id":"1350979500","filename":"file0"},{"photo_id":"1350979517","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350979522":["hashtag1","hashtag2"]},{"1350979510":["hashtag1","hashtag2"]},{"1350979542":["hashtag1","hashtag2"]},{"1350979512":["hashtag1","hashtag2"]},{"1350979500":["hashtag1","hashtag2"]},{"1350979517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350979522, 1350979510, 1350979542, 1350979512, 1350979500, 1350979517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20485258102417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:57:33.002553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_57_10347.jpg', '/home/pi/Desktop/images/06042025/12/53/image_06042025_12_54_07_10381.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_16_9334.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_27_10367.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_36_9417.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_57_10347.jpg
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_54_07_10381.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_16_9334.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_27_10367.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_36_9417.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 01:59:03.309253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_57_10347.jpg', '/home/pi/Desktop/images/06042025/12/53/image_06042025_12_54_07_10381.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_16_9334.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_27_10367.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_36_9417.jpg', '/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_53_57_10347.jpg
/home/pi/Desktop/images/06042025/12/53/image_06042025_12_54_07_10381.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_16_9334.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_27_10367.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_36_9417.jpg
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350980191","1350980095","1350980199","1350980127","1350980220","1350980159"],"photo_ids_order":["1350980095","1350980127","1350980159","1350980191","1350980199","1350980220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c3024a9102f7f1a980da7f70ad0ce85.jpg","text":"TemporaryFile(/tmp/multipartBody697857042220574295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_54_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/caf37b3c7492cbc84df8a1c46cebc79f.jpg","text":"TemporaryFile(/tmp/multipartBody1794882599283806281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_53_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88bb1f2442da23ad1d3d719e8e2cb0be.jpg","text":"TemporaryFile(/tmp/multipartBody2921564443148860931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_54_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da3d796f5c092b5e03a2454fe6655a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2002392741603449842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_54_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5902c79371926777aa857c4eefc59ed.jpg","text":"TemporaryFile(/tmp/multipartBody6268965066886187900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_54_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28d2c51330dcf61a87fba5ea8db0274b.jpg","text":"TemporaryFile(/tmp/multipartBody5800324662609789831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243204493,"filename":"image_06042025_12_54_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350980159","file1":"1350980127","file0":"1350980095","file4":"1350980199","file5":"1350980220","file3":"1350980191"},"map_files_photo_id_array":[{"photo_id":"1350980220","filename":"file5"},{"photo_id":"1350980159","filename":"file2"},{"photo_id":"1350980199","filename":"file4"},{"photo_id":"1350980127","filename":"file1"},{"photo_id":"1350980095","filename":"file0"},{"photo_id":"1350980191","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350980191":["hashtag1","hashtag2"]},{"1350980095":["hashtag1","hashtag2"]},{"1350980199":["hashtag1","hashtag2"]},{"1350980127":["hashtag1","hashtag2"]},{"1350980220":["hashtag1","hashtag2"]},{"1350980159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350980191, 1350980095, 1350980199, 1350980127, 1350980220, 1350980159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82615947723389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 01:59:52.414596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_57_10470.jpg', '/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_17_10352.jpg', '/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_27_10362.jpg', '/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_36_9368.jpg', '/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_47_10367.jpg', '/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_56_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/54/image_06042025_12_54_57_10470.jpg
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_17_10352.jpg
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_27_10362.jpg
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_36_9368.jpg
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_47_10367.jpg
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_55_56_9372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350980299","1350980326","1350980355","1350980379","1350980271","1350980267"],"photo_ids_order":["1350980267","1350980271","1350980299","1350980326","1350980355","1350980379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24c44b1abca91ae35c53431d9996c56d.jpg","text":"TemporaryFile(/tmp/multipartBody587539423125555484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_55_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89c17aefb8399f2283f212626b34aa77.jpg","text":"TemporaryFile(/tmp/multipartBody7135914460838173828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_55_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9569d996d5060305a77cd90cacc13487.jpg","text":"TemporaryFile(/tmp/multipartBody5498340218782978747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_55_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60b29c460ec1ccbee48bd213a5adde84.jpg","text":"TemporaryFile(/tmp/multipartBody4394089168737876299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_55_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d68272eb0f53cb1a792c3125031432c.jpg","text":"TemporaryFile(/tmp/multipartBody4369240513466335911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_55_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7c1f4c1fd996a6b5d1d59e87c531dd9.jpg","text":"TemporaryFile(/tmp/multipartBody325888553850022784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243254204,"filename":"image_06042025_12_54_57_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350980299","file1":"1350980271","file0":"1350980267","file4":"1350980355","file5":"1350980379","file3":"1350980326"},"map_files_photo_id_array":[{"photo_id":"1350980379","filename":"file5"},{"photo_id":"1350980299","filename":"file2"},{"photo_id":"1350980355","filename":"file4"},{"photo_id":"1350980271","filename":"file1"},{"photo_id":"1350980267","filename":"file0"},{"photo_id":"1350980326","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350980299":["hashtag1","hashtag2"]},{"1350980326":["hashtag1","hashtag2"]},{"1350980355":["hashtag1","hashtag2"]},{"1350980379":["hashtag1","hashtag2"]},{"1350980271":["hashtag1","hashtag2"]},{"1350980267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350980299, 1350980326, 1350980355, 1350980379, 1350980271, 1350980267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.485782861709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:00:32.669871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/55/image_06042025_12_56_06_10397.jpg', '/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_17_10461.jpg', '/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_26_9345.jpg', '/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_46_9405.jpg', '/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_56_10371.jpg', '/home/pi/Desktop/images/06042025/12/56/image_06042025_12_57_07_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/55/image_06042025_12_56_06_10397.jpg
/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_17_10461.jpg
/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_26_9345.jpg
/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_46_9405.jpg
/home/pi/Desktop/images/06042025/12/56/image_06042025_12_56_56_10371.jpg
/home/pi/Desktop/images/06042025/12/56/image_06042025_12_57_07_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350980488","1350980628","1350980535","1350980669","1350980582","1350980651"],"photo_ids_order":["1350980488","1350980535","1350980582","1350980628","1350980651","1350980669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba647e69ebbb16d2fced2efe49238829.jpg","text":"TemporaryFile(/tmp/multipartBody2795737913023777853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_56_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f46f17acface46627f48bb8cc6aaeb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7941031041030889502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_56_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/238061877b061026a88e3e4c5c328c31.jpg","text":"TemporaryFile(/tmp/multipartBody1755218427521654455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_56_17_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/540898e3cdf0c75506ef400a4b072f33.jpg","text":"TemporaryFile(/tmp/multipartBody7033236773367502598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_57_07_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82868dbc32e02d15d3b3249cdd3ba3cf.jpg","text":"TemporaryFile(/tmp/multipartBody9096696699518003935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_56_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3004aaff7c3c7661e75268a57a0bbcaa.jpg","text":"TemporaryFile(/tmp/multipartBody3808383712835169563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243294469,"filename":"image_06042025_12_56_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350980582","file1":"1350980535","file0":"1350980488","file4":"1350980651","file5":"1350980669","file3":"1350980628"},"map_files_photo_id_array":[{"photo_id":"1350980669","filename":"file5"},{"photo_id":"1350980582","filename":"file2"},{"photo_id":"1350980651","filename":"file4"},{"photo_id":"1350980535","filename":"file1"},{"photo_id":"1350980488","filename":"file0"},{"photo_id":"1350980628","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350980488":["hashtag1","hashtag2"]},{"1350980628":["hashtag1","hashtag2"]},{"1350980535":["hashtag1","hashtag2"]},{"1350980669":["hashtag1","hashtag2"]},{"1350980582":["hashtag1","hashtag2"]},{"1350980651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350980488, 1350980628, 1350980535, 1350980669, 1350980582, 1350980651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36766052246094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:01:33.126919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_16_9341.jpg', '/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_27_10368.jpg', '/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_36_9616.jpg', '/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_47_10426.jpg', '/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_56_9419.jpg', '/home/pi/Desktop/images/06042025/12/57/image_06042025_12_58_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_16_9341.jpg
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_27_10368.jpg
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_36_9616.jpg
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_47_10426.jpg
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_57_56_9419.jpg
/home/pi/Desktop/images/06042025/12/57/image_06042025_12_58_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350981061","1350981001","1350980871","1350980967","1350980940","1350980906"],"photo_ids_order":["1350980871","1350980906","1350980940","1350980967","1350981001","1350981061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5232a9e527f4a987294581e18cdc97f.jpg","text":"TemporaryFile(/tmp/multipartBody5756769479793780859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_58_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebcbd7a91682a24f540daf9ec724d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody9206495051878885407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_57_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59031078ae853f20b3dadb7f44eff12b.jpg","text":"TemporaryFile(/tmp/multipartBody670225429966548759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_57_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26a8b06502abe691ec3e2811ae543a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3459296785128304026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_57_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa759bea0c1b42344c2db8a9d4de116c.jpg","text":"TemporaryFile(/tmp/multipartBody938014124838925331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_57_36_9616.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3be8c0e6627ebaed7252914c142427e7.jpg","text":"TemporaryFile(/tmp/multipartBody6773161627202613113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243354902,"filename":"image_06042025_12_57_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350980940","file1":"1350980906","file0":"1350980871","file4":"1350981001","file5":"1350981061","file3":"1350980967"},"map_files_photo_id_array":[{"photo_id":"1350981061","filename":"file5"},{"photo_id":"1350980940","filename":"file2"},{"photo_id":"1350981001","filename":"file4"},{"photo_id":"1350980906","filename":"file1"},{"photo_id":"1350980871","filename":"file0"},{"photo_id":"1350980967","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350981061":["hashtag1","hashtag2"]},{"1350981001":["hashtag1","hashtag2"]},{"1350980871":["hashtag1","hashtag2"]},{"1350980967":["hashtag1","hashtag2"]},{"1350980940":["hashtag1","hashtag2"]},{"1350980906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350981061, 1350981001, 1350980871, 1350980967, 1350980940, 1350980906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37813067436218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:02:32.196737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_17_10455.jpg', '/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_26_9360.jpg', '/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_37_10397.jpg', '/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_46_9392.jpg', '/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_56_10415.jpg', '/home/pi/Desktop/images/06042025/12/58/image_06042025_12_59_07_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_17_10455.jpg
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_26_9360.jpg
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_37_10397.jpg
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_46_9392.jpg
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_58_56_10415.jpg
/home/pi/Desktop/images/06042025/12/58/image_06042025_12_59_07_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350981412","1350981662","1350981551","1350981746","1350981707","1350981496"],"photo_ids_order":["1350981412","1350981496","1350981551","1350981662","1350981707","1350981746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1ec732ebdf78b9eb8ec3fa3bdf2c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody380777138771845251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_58_17_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48e5274afc735b6527eb4ef313e8ee83.jpg","text":"TemporaryFile(/tmp/multipartBody3170498718177864611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_58_46_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c4155ccefeb9a0e7cafb761b5b0bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody7056228576544099082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_58_37_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c655d40662bae8a4a45b4ca0379f9080.jpg","text":"TemporaryFile(/tmp/multipartBody6361809936530779566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_59_07_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5d7644e99783c2c5f0980ca2748e52c.jpg","text":"TemporaryFile(/tmp/multipartBody6145570348962057119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_58_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47648e845f002abfda36566941de56a4.jpg","text":"TemporaryFile(/tmp/multipartBody3728752895011382010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243413982,"filename":"image_06042025_12_58_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350981551","file1":"1350981496","file0":"1350981412","file4":"1350981707","file5":"1350981746","file3":"1350981662"},"map_files_photo_id_array":[{"photo_id":"1350981746","filename":"file5"},{"photo_id":"1350981551","filename":"file2"},{"photo_id":"1350981707","filename":"file4"},{"photo_id":"1350981496","filename":"file1"},{"photo_id":"1350981412","filename":"file0"},{"photo_id":"1350981662","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350981412":["hashtag1","hashtag2"]},{"1350981662":["hashtag1","hashtag2"]},{"1350981551":["hashtag1","hashtag2"]},{"1350981746":["hashtag1","hashtag2"]},{"1350981707":["hashtag1","hashtag2"]},{"1350981496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350981412, 1350981662, 1350981551, 1350981746, 1350981707, 1350981496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40788006782532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:03:32.291140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_27_10372.jpg', '/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_37_10351.jpg', '/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_46_9371.jpg', '/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_57_10377.jpg', '/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_14_10081.jpg', '/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_24_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_27_10372.jpg
/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_37_10351.jpg
/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_46_9371.jpg
/home/pi/Desktop/images/06042025/12/59/image_06042025_12_59_57_10377.jpg
/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_14_10081.jpg
/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_24_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350981981","1350982317","1350982208","1350982471","1350982135","1350982063"],"photo_ids_order":["1350981981","1350982063","1350982135","1350982208","1350982317","1350982471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f34edc236c290eae6cb9602f8f2f355a.jpg","text":"TemporaryFile(/tmp/multipartBody2976120182145697019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_12_59_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1bdd0fdccff5020cd2b8f0c6097a641.jpg","text":"TemporaryFile(/tmp/multipartBody2997020519120525290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_13_01_14_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e01758ae9a8c8a59e94cfe4caaa48d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2731804272412406558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_12_59_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a76ee653b6663eb602d91bc76a25bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody6652275902291117376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_13_01_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bf2717d09259133d8089c8191e82d91.jpg","text":"TemporaryFile(/tmp/multipartBody595214050471865648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_12_59_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0780df7829fac409722e1b069cb2babb.jpg","text":"TemporaryFile(/tmp/multipartBody6221828417373356242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243474108,"filename":"image_06042025_12_59_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350982135","file1":"1350982063","file0":"1350981981","file4":"1350982317","file5":"1350982471","file3":"1350982208"},"map_files_photo_id_array":[{"photo_id":"1350982471","filename":"file5"},{"photo_id":"1350982135","filename":"file2"},{"photo_id":"1350982317","filename":"file4"},{"photo_id":"1350982063","filename":"file1"},{"photo_id":"1350981981","filename":"file0"},{"photo_id":"1350982208","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350981981":["hashtag1","hashtag2"]},{"1350982317":["hashtag1","hashtag2"]},{"1350982208":["hashtag1","hashtag2"]},{"1350982471":["hashtag1","hashtag2"]},{"1350982135":["hashtag1","hashtag2"]},{"1350982063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350981981, 1350982317, 1350982208, 1350982471, 1350982135, 1350982063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.772271394729614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:04:32.480525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_35_10395.jpg', '/home/pi/Desktop/images/06042025/13/01/image_06042025_13_02_04_9371.jpg', '/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_25_10384.jpg', '/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_34_9426.jpg', '/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_44_10367.jpg', '/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_54_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/01/image_06042025_13_01_35_10395.jpg
/home/pi/Desktop/images/06042025/13/01/image_06042025_13_02_04_9371.jpg
/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_25_10384.jpg
/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_34_9426.jpg
/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_44_10367.jpg
/home/pi/Desktop/images/06042025/13/02/image_06042025_13_02_54_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350982977","1350982938","1350983149","1350983056","1350983002","1350983094"],"photo_ids_order":["1350982938","1350982977","1350983002","1350983056","1350983094","1350983149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/354aab6c5f3a72e7680f60679aba364c.jpg","text":"TemporaryFile(/tmp/multipartBody4622480185606785936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_02_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25f9f51933e6c2caaed85637aa88d53c.jpg","text":"TemporaryFile(/tmp/multipartBody691155995505819759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_01_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5fef58c565d568148b70300bab2ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody7371135500502915642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_02_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d336a63dd2a4c5345e82050b1e6858bf.jpg","text":"TemporaryFile(/tmp/multipartBody2388803149408870251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_02_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdb91ba2592a417cbeb768e1139903e5.jpg","text":"TemporaryFile(/tmp/multipartBody3773411370101884018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_02_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1325d3dd74592c507a87bcdda3a76a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2278341371403496687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243534266,"filename":"image_06042025_13_02_44_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350983002","file1":"1350982977","file0":"1350982938","file4":"1350983094","file5":"1350983149","file3":"1350983056"},"map_files_photo_id_array":[{"photo_id":"1350983149","filename":"file5"},{"photo_id":"1350983002","filename":"file2"},{"photo_id":"1350983094","filename":"file4"},{"photo_id":"1350982977","filename":"file1"},{"photo_id":"1350982938","filename":"file0"},{"photo_id":"1350983056","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350982977":["hashtag1","hashtag2"]},{"1350982938":["hashtag1","hashtag2"]},{"1350983149":["hashtag1","hashtag2"]},{"1350983056":["hashtag1","hashtag2"]},{"1350983002":["hashtag1","hashtag2"]},{"1350983094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350982977, 1350982938, 1350983149, 1350983056, 1350983002, 1350983094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42973327636719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:05:32.824253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_24_9438.jpg', '/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_35_10452.jpg', '/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_44_9415.jpg', '/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_54_10364.jpg', '/home/pi/Desktop/images/06042025/13/03/image_06042025_13_04_05_10357.jpg', '/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_14_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_24_9438.jpg
/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_35_10452.jpg
/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_44_9415.jpg
/home/pi/Desktop/images/06042025/13/03/image_06042025_13_03_54_10364.jpg
/home/pi/Desktop/images/06042025/13/03/image_06042025_13_04_05_10357.jpg
/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_14_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350983552","1350983531","1350983414","1350983494","1350983446","1350983577"],"photo_ids_order":["1350983414","1350983446","1350983494","1350983531","1350983552","1350983577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/070df3f9f4d5d14a5e724256f7618e05.jpg","text":"TemporaryFile(/tmp/multipartBody3574875602307949682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_04_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97f42b7efaaefdefd84d10af39c81f66.jpg","text":"TemporaryFile(/tmp/multipartBody1868296843043424405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_03_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54585511d1e21879e793576af055a005.jpg","text":"TemporaryFile(/tmp/multipartBody1060599004661714366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_03_24_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3be9af648e0f66b395dba3c3e4fa8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4610990935020677274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_03_44_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bec0408a12781a9f256344d374dace2e.jpg","text":"TemporaryFile(/tmp/multipartBody6485276650812671215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_03_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae1bdb113d14112c973352a3ce314555.jpg","text":"TemporaryFile(/tmp/multipartBody3028087909450508625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243594625,"filename":"image_06042025_13_04_14_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350983494","file1":"1350983446","file0":"1350983414","file4":"1350983552","file5":"1350983577","file3":"1350983531"},"map_files_photo_id_array":[{"photo_id":"1350983577","filename":"file5"},{"photo_id":"1350983494","filename":"file2"},{"photo_id":"1350983552","filename":"file4"},{"photo_id":"1350983446","filename":"file1"},{"photo_id":"1350983414","filename":"file0"},{"photo_id":"1350983531","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350983552":["hashtag1","hashtag2"]},{"1350983531":["hashtag1","hashtag2"]},{"1350983414":["hashtag1","hashtag2"]},{"1350983494":["hashtag1","hashtag2"]},{"1350983446":["hashtag1","hashtag2"]},{"1350983577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350983552, 1350983531, 1350983414, 1350983494, 1350983446, 1350983577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.52089595794678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:06:33.000482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_24_10354.jpg', '/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_44_9336.jpg', '/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_55_10332.jpg', '/home/pi/Desktop/images/06042025/13/04/image_06042025_13_05_04_9506.jpg', '/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_25_10421.jpg', '/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_34_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_24_10354.jpg
/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_44_9336.jpg
/home/pi/Desktop/images/06042025/13/04/image_06042025_13_04_55_10332.jpg
/home/pi/Desktop/images/06042025/13/04/image_06042025_13_05_04_9506.jpg
/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_25_10421.jpg
/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_34_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350984009","1350983748","1350983782","1350983962","1350983816","1350983725"],"photo_ids_order":["1350983725","1350983748","1350983782","1350983816","1350983962","1350984009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12f645a1ec2591cae7d6422499043b31.jpg","text":"TemporaryFile(/tmp/multipartBody4691595362604699653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_05_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f705418b3c8b61e88ac043b26d8d6047.jpg","text":"TemporaryFile(/tmp/multipartBody9049988786385413582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_04_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8df03de33e0e132c4fd77ad2092b535.jpg","text":"TemporaryFile(/tmp/multipartBody3178899351146584955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_04_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9223732963414c0f050e7f18e002e947.jpg","text":"TemporaryFile(/tmp/multipartBody3088142505353284862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_05_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7f0dc4aa0dcdd9994bd34cdf68a6f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6801327094458110977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_05_04_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8a5c2ef47859aadce73f8a9cded0450.jpg","text":"TemporaryFile(/tmp/multipartBody6113435762552444964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243654788,"filename":"image_06042025_13_04_24_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350983782","file1":"1350983748","file0":"1350983725","file4":"1350983962","file5":"1350984009","file3":"1350983816"},"map_files_photo_id_array":[{"photo_id":"1350984009","filename":"file5"},{"photo_id":"1350983782","filename":"file2"},{"photo_id":"1350983962","filename":"file4"},{"photo_id":"1350983748","filename":"file1"},{"photo_id":"1350983725","filename":"file0"},{"photo_id":"1350983816","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350984009":["hashtag1","hashtag2"]},{"1350983748":["hashtag1","hashtag2"]},{"1350983782":["hashtag1","hashtag2"]},{"1350983962":["hashtag1","hashtag2"]},{"1350983816":["hashtag1","hashtag2"]},{"1350983725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350984009, 1350983748, 1350983782, 1350983962, 1350983816, 1350983725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.322946071624756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:07:32.243551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_45_10375.jpg', '/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_55_10103.jpg', '/home/pi/Desktop/images/06042025/13/05/image_06042025_13_06_04_9407.jpg', '/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_14_10373.jpg', '/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_34_10370.jpg', '/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_45_10375.jpg
/home/pi/Desktop/images/06042025/13/05/image_06042025_13_05_55_10103.jpg
/home/pi/Desktop/images/06042025/13/05/image_06042025_13_06_04_9407.jpg
/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_14_10373.jpg
/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_34_10370.jpg
/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_45_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350984213","1350984176","1350984188","1350984172","1350984180","1350984147"],"photo_ids_order":["1350984147","1350984172","1350984176","1350984180","1350984188","1350984213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c6c2e14fea982ce8c63c16b8361473c.jpg","text":"TemporaryFile(/tmp/multipartBody6242182346442033177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_06_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/621662d28a79f5555e22b4103945a9bf.jpg","text":"TemporaryFile(/tmp/multipartBody1453197258867713490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_06_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41b4cd7086023455b5b4912d483fe2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5482673596179139957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_06_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29d44ed6c996ede9ef50cd2d0bf955e0.jpg","text":"TemporaryFile(/tmp/multipartBody5076832504902643211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_05_55_10103.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f154e55b4d74cf7fb2350e34c7a9c41c.jpg","text":"TemporaryFile(/tmp/multipartBody6078263372866827991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_06_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/822120253971c0e268731f8d280d94f7.jpg","text":"TemporaryFile(/tmp/multipartBody771010338381303283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243714077,"filename":"image_06042025_13_05_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350984176","file1":"1350984172","file0":"1350984147","file4":"1350984188","file5":"1350984213","file3":"1350984180"},"map_files_photo_id_array":[{"photo_id":"1350984213","filename":"file5"},{"photo_id":"1350984176","filename":"file2"},{"photo_id":"1350984188","filename":"file4"},{"photo_id":"1350984172","filename":"file1"},{"photo_id":"1350984147","filename":"file0"},{"photo_id":"1350984180","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350984213":["hashtag1","hashtag2"]},{"1350984176":["hashtag1","hashtag2"]},{"1350984188":["hashtag1","hashtag2"]},{"1350984172":["hashtag1","hashtag2"]},{"1350984180":["hashtag1","hashtag2"]},{"1350984147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350984213, 1350984176, 1350984188, 1350984172, 1350984180, 1350984147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.946590423583984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:08:32.327931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_54_9345.jpg', '/home/pi/Desktop/images/06042025/13/06/image_06042025_13_07_05_10509.jpg', '/home/pi/Desktop/images/06042025/13/07/image_06042025_13_07_24_10373.jpg', '/home/pi/Desktop/images/06042025/13/07/image_06042025_13_08_04_9494.jpg', '/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_25_10477.jpg', '/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_34_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/06/image_06042025_13_06_54_9345.jpg
/home/pi/Desktop/images/06042025/13/06/image_06042025_13_07_05_10509.jpg
/home/pi/Desktop/images/06042025/13/07/image_06042025_13_07_24_10373.jpg
/home/pi/Desktop/images/06042025/13/07/image_06042025_13_08_04_9494.jpg
/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_25_10477.jpg
/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_34_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350984389","1350984449","1350984341","1350984305","1350984307","1350984501"],"photo_ids_order":["1350984305","1350984307","1350984341","1350984389","1350984449","1350984501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0627002b7d80ad662075bf75544c8d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1144524744575465811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_08_04_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d0225c18ff7553c99c61ebf970eaf7a.jpg","text":"TemporaryFile(/tmp/multipartBody7737364034805343139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_08_25_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec45c1622b9bd057b702674ca5dfcfa2.jpg","text":"TemporaryFile(/tmp/multipartBody219846995488555184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_07_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28db80f6f14fae7d62a64529f21c5373.jpg","text":"TemporaryFile(/tmp/multipartBody3955502106209930721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_06_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4568d82100e173659221941ca81b159c.jpg","text":"TemporaryFile(/tmp/multipartBody1414689135281005635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_07_05_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b90bf3311cb86ea7980fcb2e52089762.jpg","text":"TemporaryFile(/tmp/multipartBody5807458308322972941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243774115,"filename":"image_06042025_13_08_34_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350984341","file1":"1350984307","file0":"1350984305","file4":"1350984449","file5":"1350984501","file3":"1350984389"},"map_files_photo_id_array":[{"photo_id":"1350984501","filename":"file5"},{"photo_id":"1350984341","filename":"file2"},{"photo_id":"1350984449","filename":"file4"},{"photo_id":"1350984307","filename":"file1"},{"photo_id":"1350984305","filename":"file0"},{"photo_id":"1350984389","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350984389":["hashtag1","hashtag2"]},{"1350984449":["hashtag1","hashtag2"]},{"1350984341":["hashtag1","hashtag2"]},{"1350984305":["hashtag1","hashtag2"]},{"1350984307":["hashtag1","hashtag2"]},{"1350984501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350984389, 1350984449, 1350984341, 1350984305, 1350984307, 1350984501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80675792694092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:09:32.689994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_45_10363.jpg', '/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_54_9460.jpg', '/home/pi/Desktop/images/06042025/13/08/image_06042025_13_09_05_10464.jpg', '/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_14_9459.jpg', '/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_24_10367.jpg', '/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_34_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_45_10363.jpg
/home/pi/Desktop/images/06042025/13/08/image_06042025_13_08_54_9460.jpg
/home/pi/Desktop/images/06042025/13/08/image_06042025_13_09_05_10464.jpg
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_14_9459.jpg
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_24_10367.jpg
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_34_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350984887","1350984848","1350984832","1350984802","1350984825","1350984881"],"photo_ids_order":["1350984802","1350984825","1350984832","1350984848","1350984881","1350984887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94984a74992413d279fc4bbcafb2f3c6.jpg","text":"TemporaryFile(/tmp/multipartBody7297704785443679649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_09_34_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/543fc989d14d21d94d1f3c466b51971b.jpg","text":"TemporaryFile(/tmp/multipartBody4736621069606610486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_09_14_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69c6d861e2d5c7371196a66735746f85.jpg","text":"TemporaryFile(/tmp/multipartBody7408630442727038276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_09_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03b17af379c55a3f157fc4bc174cbef6.jpg","text":"TemporaryFile(/tmp/multipartBody564780636123295113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_08_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fb936bbd194dbf0e00b9bc623d4ec03.jpg","text":"TemporaryFile(/tmp/multipartBody9128850026244237646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_08_54_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3b531e5c948bcfa4da6d9f58530a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody6253718828189937102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243834477,"filename":"image_06042025_13_09_24_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350984832","file1":"1350984825","file0":"1350984802","file4":"1350984881","file5":"1350984887","file3":"1350984848"},"map_files_photo_id_array":[{"photo_id":"1350984887","filename":"file5"},{"photo_id":"1350984832","filename":"file2"},{"photo_id":"1350984881","filename":"file4"},{"photo_id":"1350984825","filename":"file1"},{"photo_id":"1350984802","filename":"file0"},{"photo_id":"1350984848","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350984887":["hashtag1","hashtag2"]},{"1350984848":["hashtag1","hashtag2"]},{"1350984832":["hashtag1","hashtag2"]},{"1350984802":["hashtag1","hashtag2"]},{"1350984825":["hashtag1","hashtag2"]},{"1350984881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350984887, 1350984848, 1350984832, 1350984802, 1350984825, 1350984881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29553008079529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:10:32.826020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_44_10376.jpg', '/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_55_10420.jpg', '/home/pi/Desktop/images/06042025/13/09/image_06042025_13_10_04_9333.jpg', '/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_14_10365.jpg', '/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_25_10364.jpg', '/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_34_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_44_10376.jpg
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_09_55_10420.jpg
/home/pi/Desktop/images/06042025/13/09/image_06042025_13_10_04_9333.jpg
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_14_10365.jpg
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_25_10364.jpg
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_34_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350984962","1350984950","1350984975","1350984957","1350984945","1350984980"],"photo_ids_order":["1350984945","1350984950","1350984957","1350984962","1350984975","1350984980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca753873500a57b80df1e6e5bc14b41a.jpg","text":"TemporaryFile(/tmp/multipartBody6126870592164825156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_10_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c608a90da2ccce917be220574a8e516.jpg","text":"TemporaryFile(/tmp/multipartBody5200616605344400377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_09_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bd3a4476de45c1f7cc2c98ef958c373.jpg","text":"TemporaryFile(/tmp/multipartBody3777531843558576587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_10_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c01bafc41361bc7d6f9ccde929358616.jpg","text":"TemporaryFile(/tmp/multipartBody5617690823286514708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_10_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50042fc3fd3be84ebf34ec38bb4d8cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8295596831999039223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_09_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d235d58b4f97fb138d06b6530605afcf.jpg","text":"TemporaryFile(/tmp/multipartBody4694210252742081849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243894651,"filename":"image_06042025_13_10_34_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350984957","file1":"1350984950","file0":"1350984945","file4":"1350984975","file5":"1350984980","file3":"1350984962"},"map_files_photo_id_array":[{"photo_id":"1350984980","filename":"file5"},{"photo_id":"1350984957","filename":"file2"},{"photo_id":"1350984975","filename":"file4"},{"photo_id":"1350984950","filename":"file1"},{"photo_id":"1350984945","filename":"file0"},{"photo_id":"1350984962","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350984962":["hashtag1","hashtag2"]},{"1350984950":["hashtag1","hashtag2"]},{"1350984975":["hashtag1","hashtag2"]},{"1350984957":["hashtag1","hashtag2"]},{"1350984945":["hashtag1","hashtag2"]},{"1350984980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350984962, 1350984950, 1350984975, 1350984957, 1350984945, 1350984980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.316288471221924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:11:33.007017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_44_10357.jpg', '/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_54_9427.jpg', '/home/pi/Desktop/images/06042025/13/10/image_06042025_13_11_04_10373.jpg', '/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_15_10445.jpg', '/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_24_9425.jpg', '/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_44_10357.jpg
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_10_54_9427.jpg
/home/pi/Desktop/images/06042025/13/10/image_06042025_13_11_04_10373.jpg
/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_15_10445.jpg
/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_24_9425.jpg
/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985067","1350985055","1350985049","1350985042","1350985061","1350985064"],"photo_ids_order":["1350985042","1350985049","1350985055","1350985061","1350985064","1350985067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d143ef9d27064840b2003e1de76ac805.jpg","text":"TemporaryFile(/tmp/multipartBody6820299421175862594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_11_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec9ae266e58ef9f274c8a1d7275023f8.jpg","text":"TemporaryFile(/tmp/multipartBody7923303741718706580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_11_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4311a4cd0b2a3e6043de056cfc2378be.jpg","text":"TemporaryFile(/tmp/multipartBody5793831905870826522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_10_54_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5be083e6c4ce39a6a9782e17da4276cd.jpg","text":"TemporaryFile(/tmp/multipartBody7282108560120479396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_10_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f748eda7ad77bcb5ebd22b8670c6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2587460128064166584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_11_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb838584d742c4e640152589f48d52d0.jpg","text":"TemporaryFile(/tmp/multipartBody758566275285862265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744243954795,"filename":"image_06042025_13_11_24_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985055","file1":"1350985049","file0":"1350985042","file4":"1350985064","file5":"1350985067","file3":"1350985061"},"map_files_photo_id_array":[{"photo_id":"1350985067","filename":"file5"},{"photo_id":"1350985055","filename":"file2"},{"photo_id":"1350985064","filename":"file4"},{"photo_id":"1350985049","filename":"file1"},{"photo_id":"1350985042","filename":"file0"},{"photo_id":"1350985061","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985067":["hashtag1","hashtag2"]},{"1350985055":["hashtag1","hashtag2"]},{"1350985049":["hashtag1","hashtag2"]},{"1350985042":["hashtag1","hashtag2"]},{"1350985061":["hashtag1","hashtag2"]},{"1350985064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985067, 1350985055, 1350985049, 1350985042, 1350985061, 1350985064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.860578536987305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:12:32.612497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_44_9368.jpg', '/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_54_10349.jpg', '/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_14_9348.jpg', '/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_35_10362.jpg', '/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_44_9354.jpg', '/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_54_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_44_9368.jpg
/home/pi/Desktop/images/06042025/13/11/image_06042025_13_11_54_10349.jpg
/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_14_9348.jpg
/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_35_10362.jpg
/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_44_9354.jpg
/home/pi/Desktop/images/06042025/13/12/image_06042025_13_12_54_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985118","1350985135","1350985122","1350985094","1350985088","1350985097"],"photo_ids_order":["1350985088","1350985094","1350985097","1350985118","1350985122","1350985135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c01c66538b6ddc35c157be21bb5f19bf.jpg","text":"TemporaryFile(/tmp/multipartBody6716535157979420355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_12_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0d5e26c8d0ad96504c8a3f83f9c134e.jpg","text":"TemporaryFile(/tmp/multipartBody6250530570543409880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_12_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ad386ea904f46b8162c9ad12a84ff73.jpg","text":"TemporaryFile(/tmp/multipartBody7396520500463105437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_12_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04b2cb398ff17549699c143058ec7d24.jpg","text":"TemporaryFile(/tmp/multipartBody6518690577125494954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_11_54_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8698868514f0b16a0a94c33a5939f13.jpg","text":"TemporaryFile(/tmp/multipartBody3248920308562459812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_11_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/422bdfe6b089e774285ffef3becc94ff.jpg","text":"TemporaryFile(/tmp/multipartBody526869650108046703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244014408,"filename":"image_06042025_13_12_14_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985097","file1":"1350985094","file0":"1350985088","file4":"1350985122","file5":"1350985135","file3":"1350985118"},"map_files_photo_id_array":[{"photo_id":"1350985135","filename":"file5"},{"photo_id":"1350985097","filename":"file2"},{"photo_id":"1350985122","filename":"file4"},{"photo_id":"1350985094","filename":"file1"},{"photo_id":"1350985088","filename":"file0"},{"photo_id":"1350985118","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985118":["hashtag1","hashtag2"]},{"1350985135":["hashtag1","hashtag2"]},{"1350985122":["hashtag1","hashtag2"]},{"1350985094":["hashtag1","hashtag2"]},{"1350985088":["hashtag1","hashtag2"]},{"1350985097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985118, 1350985135, 1350985122, 1350985094, 1350985088, 1350985097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53994393348694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:13:32.753362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_14_10354.jpg', '/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_34_9342.jpg', '/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_44_10357.jpg', '/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_55_10351.jpg', '/home/pi/Desktop/images/06042025/13/13/image_06042025_13_14_04_9443.jpg', '/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_24_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_14_10354.jpg
/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_34_9342.jpg
/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_44_10357.jpg
/home/pi/Desktop/images/06042025/13/13/image_06042025_13_13_55_10351.jpg
/home/pi/Desktop/images/06042025/13/13/image_06042025_13_14_04_9443.jpg
/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_24_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985564","1350985558","1350985552","1350985599","1350985572","1350985533"],"photo_ids_order":["1350985533","1350985552","1350985558","1350985564","1350985572","1350985599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f02c0c230130cfa8a5631ac2e0df14b.jpg","text":"TemporaryFile(/tmp/multipartBody4530754752069303125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_13_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21070c55d4450cef1c7eaa79e62df0c5.jpg","text":"TemporaryFile(/tmp/multipartBody6673068628276940642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_13_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1248010b1b5bc6bac1c454f81325f990.jpg","text":"TemporaryFile(/tmp/multipartBody1195912364794148767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_13_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ac26897ea4ca1cce9e5aaf672f3c21b.jpg","text":"TemporaryFile(/tmp/multipartBody2577234751240731118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_14_24_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6689d9f188b9c74aa13919778847857.jpg","text":"TemporaryFile(/tmp/multipartBody7087147825258089810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_14_04_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/553f84d9fd13c069815d9a2eab6f02dd.jpg","text":"TemporaryFile(/tmp/multipartBody7937479805550408137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244074558,"filename":"image_06042025_13_13_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985558","file1":"1350985552","file0":"1350985533","file4":"1350985572","file5":"1350985599","file3":"1350985564"},"map_files_photo_id_array":[{"photo_id":"1350985599","filename":"file5"},{"photo_id":"1350985558","filename":"file2"},{"photo_id":"1350985572","filename":"file4"},{"photo_id":"1350985552","filename":"file1"},{"photo_id":"1350985533","filename":"file0"},{"photo_id":"1350985564","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985564":["hashtag1","hashtag2"]},{"1350985558":["hashtag1","hashtag2"]},{"1350985552":["hashtag1","hashtag2"]},{"1350985599":["hashtag1","hashtag2"]},{"1350985572":["hashtag1","hashtag2"]},{"1350985533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985564, 1350985558, 1350985552, 1350985599, 1350985572, 1350985533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77184462547302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:14:32.966623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_45_10355.jpg', '/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_54_9332.jpg', '/home/pi/Desktop/images/06042025/13/14/image_06042025_13_15_04_10391.jpg', '/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_15_10340.jpg', '/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_24_9466.jpg', '/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_44_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_45_10355.jpg
/home/pi/Desktop/images/06042025/13/14/image_06042025_13_14_54_9332.jpg
/home/pi/Desktop/images/06042025/13/14/image_06042025_13_15_04_10391.jpg
/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_15_10340.jpg
/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_24_9466.jpg
/home/pi/Desktop/images/06042025/13/15/image_06042025_13_15_44_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985711","1350985716","1350985701","1350985704","1350985713","1350985707"],"photo_ids_order":["1350985701","1350985704","1350985707","1350985711","1350985713","1350985716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bb1a1c98624d54521c776ca8fc34ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7811596722496761320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_15_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d8bd14f08ddcba1451f01c2164e8fa2.jpg","text":"TemporaryFile(/tmp/multipartBody150613671636767215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_15_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97bd17850505b0a60bcd7de34eb50fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8393974458947502133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_14_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/681739667aa19c6126bfb178be4a7325.jpg","text":"TemporaryFile(/tmp/multipartBody3420724705674039826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_14_54_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76d26189444f1c9c336d8565f882be4f.jpg","text":"TemporaryFile(/tmp/multipartBody981159396438121377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_15_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4834d160f538cc7a98659edb5740f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody4486062390543288934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244134758,"filename":"image_06042025_13_15_04_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985707","file1":"1350985704","file0":"1350985701","file4":"1350985713","file5":"1350985716","file3":"1350985711"},"map_files_photo_id_array":[{"photo_id":"1350985716","filename":"file5"},{"photo_id":"1350985707","filename":"file2"},{"photo_id":"1350985713","filename":"file4"},{"photo_id":"1350985704","filename":"file1"},{"photo_id":"1350985701","filename":"file0"},{"photo_id":"1350985711","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985711":["hashtag1","hashtag2"]},{"1350985716":["hashtag1","hashtag2"]},{"1350985701":["hashtag1","hashtag2"]},{"1350985704":["hashtag1","hashtag2"]},{"1350985713":["hashtag1","hashtag2"]},{"1350985707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985711, 1350985716, 1350985701, 1350985704, 1350985713, 1350985707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.301180839538574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:15:32.167129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/15/image_06042025_13_16_05_10344.jpg', '/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_14_9434.jpg', '/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_25_10403.jpg', '/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_34_9350.jpg', '/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_44_10376.jpg', '/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_55_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/15/image_06042025_13_16_05_10344.jpg
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_14_9434.jpg
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_25_10403.jpg
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_34_9350.jpg
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_44_10376.jpg
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_16_55_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985811","1350985825","1350985821","1350985815","1350985818","1350985823"],"photo_ids_order":["1350985811","1350985815","1350985818","1350985821","1350985823","1350985825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f1d62574bea9a08a27ba303c6a2fe95.jpg","text":"TemporaryFile(/tmp/multipartBody6865416984488105671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a49ceecf461606b422020a1033280a1.jpg","text":"TemporaryFile(/tmp/multipartBody7020029587549934432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bebdf6302b6e8f81fe8e015399b5bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3692946385452965242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c27cc58c862f75351355a061a53962c.jpg","text":"TemporaryFile(/tmp/multipartBody8515823993774091127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4af1c14042e2d6ef07b6afbeacb0c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody5869241926285421214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/178e21efbb3069c5a3489f6ba3112b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1729128604784167803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244193955,"filename":"image_06042025_13_16_44_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985818","file1":"1350985815","file0":"1350985811","file4":"1350985823","file5":"1350985825","file3":"1350985821"},"map_files_photo_id_array":[{"photo_id":"1350985825","filename":"file5"},{"photo_id":"1350985818","filename":"file2"},{"photo_id":"1350985823","filename":"file4"},{"photo_id":"1350985815","filename":"file1"},{"photo_id":"1350985811","filename":"file0"},{"photo_id":"1350985821","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985811":["hashtag1","hashtag2"]},{"1350985825":["hashtag1","hashtag2"]},{"1350985821":["hashtag1","hashtag2"]},{"1350985815":["hashtag1","hashtag2"]},{"1350985818":["hashtag1","hashtag2"]},{"1350985823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985811, 1350985825, 1350985821, 1350985815, 1350985818, 1350985823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.907307863235474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:16:32.473020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/16/image_06042025_13_17_04_9459.jpg', '/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_15_10332.jpg', '/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_24_9416.jpg', '/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_34_10415.jpg', '/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_45_10393.jpg', '/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_54_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/16/image_06042025_13_17_04_9459.jpg
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_15_10332.jpg
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_24_9416.jpg
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_34_10415.jpg
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_45_10393.jpg
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_17_54_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985849","1350985851","1350985845","1350985854","1350985857","1350985859"],"photo_ids_order":["1350985845","1350985849","1350985851","1350985854","1350985857","1350985859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37df39e1921f3d8c4216697a642595a0.jpg","text":"TemporaryFile(/tmp/multipartBody3520768982413526126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4789d2fd34835ccbb66b95c5e5184ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1211932665072723753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a2af73b0f9c165965512b4e59f6678c.jpg","text":"TemporaryFile(/tmp/multipartBody1085019887274487457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_04_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/864c18787bb5db622f7ad17b996f9307.jpg","text":"TemporaryFile(/tmp/multipartBody2853048861894465080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_34_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43a639d4c576877ca2782744c0d54304.jpg","text":"TemporaryFile(/tmp/multipartBody3630909194309737818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a414302dfc30d1264acc253496354e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8086735642455854240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244254247,"filename":"image_06042025_13_17_54_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985851","file1":"1350985849","file0":"1350985845","file4":"1350985857","file5":"1350985859","file3":"1350985854"},"map_files_photo_id_array":[{"photo_id":"1350985859","filename":"file5"},{"photo_id":"1350985851","filename":"file2"},{"photo_id":"1350985857","filename":"file4"},{"photo_id":"1350985849","filename":"file1"},{"photo_id":"1350985845","filename":"file0"},{"photo_id":"1350985854","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985849":["hashtag1","hashtag2"]},{"1350985851":["hashtag1","hashtag2"]},{"1350985845":["hashtag1","hashtag2"]},{"1350985854":["hashtag1","hashtag2"]},{"1350985857":["hashtag1","hashtag2"]},{"1350985859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985849, 1350985851, 1350985845, 1350985854, 1350985857, 1350985859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.309510469436646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:17:32.671632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/17/image_06042025_13_18_05_10369.jpg', '/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_14_9358.jpg', '/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_35_10361.jpg', '/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_44_9433.jpg', '/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_54_10365.jpg', '/home/pi/Desktop/images/06042025/13/18/image_06042025_13_19_04_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/17/image_06042025_13_18_05_10369.jpg
/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_14_9358.jpg
/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_35_10361.jpg
/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_44_9433.jpg
/home/pi/Desktop/images/06042025/13/18/image_06042025_13_18_54_10365.jpg
/home/pi/Desktop/images/06042025/13/18/image_06042025_13_19_04_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350985916","1350985921","1350985930","1350985924","1350985918","1350985927"],"photo_ids_order":["1350985916","1350985918","1350985921","1350985924","1350985927","1350985930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8f5f80d1e08261c6bd488a47acb31e1.jpg","text":"TemporaryFile(/tmp/multipartBody3731786372596307536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_18_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12019bda432a6b7d25795676e30cff08.jpg","text":"TemporaryFile(/tmp/multipartBody8219755350195760981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_18_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c36f9a2fb5d20cee52de100411ee457.jpg","text":"TemporaryFile(/tmp/multipartBody646043909517891713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_19_04_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b20168cfc9cd4351cb7d0863a7fb783a.jpg","text":"TemporaryFile(/tmp/multipartBody6682517746430080726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_18_44_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7a4e7a4c122ef01afe6b7e5cb83f247.jpg","text":"TemporaryFile(/tmp/multipartBody4536460009138948949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_18_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3abfb7406cb7455dffa7c9551ca91fae.jpg","text":"TemporaryFile(/tmp/multipartBody7586187128410355645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244314468,"filename":"image_06042025_13_18_54_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350985921","file1":"1350985918","file0":"1350985916","file4":"1350985927","file5":"1350985930","file3":"1350985924"},"map_files_photo_id_array":[{"photo_id":"1350985930","filename":"file5"},{"photo_id":"1350985921","filename":"file2"},{"photo_id":"1350985927","filename":"file4"},{"photo_id":"1350985918","filename":"file1"},{"photo_id":"1350985916","filename":"file0"},{"photo_id":"1350985924","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350985916":["hashtag1","hashtag2"]},{"1350985921":["hashtag1","hashtag2"]},{"1350985930":["hashtag1","hashtag2"]},{"1350985924":["hashtag1","hashtag2"]},{"1350985918":["hashtag1","hashtag2"]},{"1350985927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350985916, 1350985921, 1350985930, 1350985924, 1350985918, 1350985927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.511746644973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:18:32.975249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_14_10400.jpg', '/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_25_10369.jpg', '/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_45_10456.jpg', '/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_55_10390.jpg', '/home/pi/Desktop/images/06042025/13/19/image_06042025_13_20_04_9347.jpg', '/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_14_10400.jpg
/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_25_10369.jpg
/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_45_10456.jpg
/home/pi/Desktop/images/06042025/13/19/image_06042025_13_19_55_10390.jpg
/home/pi/Desktop/images/06042025/13/19/image_06042025_13_20_04_9347.jpg
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350986032","1350985993","1350986017","1350986026","1350986022","1350986045"],"photo_ids_order":["1350985993","1350986017","1350986022","1350986026","1350986032","1350986045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be19c694b6fe8a82eaab1e973bbe9cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3727898065060633746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_20_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f36d68392533bb442e84e7c32260fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7998463629311697882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_19_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3b1e68ec9519dfc459885d769209b60.jpg","text":"TemporaryFile(/tmp/multipartBody8906795936439948129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_19_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d210b011073b6ed806ea0f3513d7e54.jpg","text":"TemporaryFile(/tmp/multipartBody2016795808618841923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_19_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9bcda2d3d627c0c450972585694e75b.jpg","text":"TemporaryFile(/tmp/multipartBody6910611037687652531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_19_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a5f71ea05b8b96cdfea8298af608bed.jpg","text":"TemporaryFile(/tmp/multipartBody5843585477933312737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244374779,"filename":"image_06042025_13_20_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350986022","file1":"1350986017","file0":"1350985993","file4":"1350986032","file5":"1350986045","file3":"1350986026"},"map_files_photo_id_array":[{"photo_id":"1350986045","filename":"file5"},{"photo_id":"1350986022","filename":"file2"},{"photo_id":"1350986032","filename":"file4"},{"photo_id":"1350986017","filename":"file1"},{"photo_id":"1350985993","filename":"file0"},{"photo_id":"1350986026","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350986032":["hashtag1","hashtag2"]},{"1350985993":["hashtag1","hashtag2"]},{"1350986017":["hashtag1","hashtag2"]},{"1350986026":["hashtag1","hashtag2"]},{"1350986022":["hashtag1","hashtag2"]},{"1350986045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350986032, 1350985993, 1350986017, 1350986026, 1350986022, 1350986045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09120512008667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:19:32.165189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_24_9431.jpg', '/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_34_10365.jpg', '/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_45_10359.jpg', '/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_54_9354.jpg', '/home/pi/Desktop/images/06042025/13/20/image_06042025_13_21_04_10351.jpg', '/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_15_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_24_9431.jpg
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_34_10365.jpg
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_45_10359.jpg
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_20_54_9354.jpg
/home/pi/Desktop/images/06042025/13/20/image_06042025_13_21_04_10351.jpg
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_15_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350986278","1350986233","1350986221","1350986268","1350986256","1350986238"],"photo_ids_order":["1350986221","1350986233","1350986238","1350986256","1350986268","1350986278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd02dc407775426e3b6016ffa218c405.jpg","text":"TemporaryFile(/tmp/multipartBody8381128169861168633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_21_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4894a5af18a12882939a63fc688c3319.jpg","text":"TemporaryFile(/tmp/multipartBody6813214630192766356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_20_34_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4243ba996804a14cbf2e2c3610402c4.jpg","text":"TemporaryFile(/tmp/multipartBody3731643339094399539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_20_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dba9b3964dd67638da46f9fd251dc02.jpg","text":"TemporaryFile(/tmp/multipartBody7150175466332677004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_21_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8b9fd7869dc477bff83795923668bf9.jpg","text":"TemporaryFile(/tmp/multipartBody272781357766203624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_20_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e4f23ffc6083ecb88c9a4e7c4c66d90.jpg","text":"TemporaryFile(/tmp/multipartBody1982642842176317258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244433972,"filename":"image_06042025_13_20_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350986238","file1":"1350986233","file0":"1350986221","file4":"1350986268","file5":"1350986278","file3":"1350986256"},"map_files_photo_id_array":[{"photo_id":"1350986278","filename":"file5"},{"photo_id":"1350986238","filename":"file2"},{"photo_id":"1350986268","filename":"file4"},{"photo_id":"1350986233","filename":"file1"},{"photo_id":"1350986221","filename":"file0"},{"photo_id":"1350986256","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350986278":["hashtag1","hashtag2"]},{"1350986233":["hashtag1","hashtag2"]},{"1350986221":["hashtag1","hashtag2"]},{"1350986268":["hashtag1","hashtag2"]},{"1350986256":["hashtag1","hashtag2"]},{"1350986238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350986278, 1350986233, 1350986221, 1350986268, 1350986256, 1350986238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86018085479736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:20:32.288150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_24_9350.jpg', '/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_35_10351.jpg', '/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_44_9355.jpg', '/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_54_10347.jpg', '/home/pi/Desktop/images/06042025/13/21/image_06042025_13_22_05_10344.jpg', '/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_14_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_24_9350.jpg
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_35_10351.jpg
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_44_9355.jpg
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_21_54_10347.jpg
/home/pi/Desktop/images/06042025/13/21/image_06042025_13_22_05_10344.jpg
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_14_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350986742","1350986952","1350986879","1350986645","1350986567","1350986810"],"photo_ids_order":["1350986567","1350986645","1350986742","1350986810","1350986879","1350986952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b29beefc4f791d53d5f5bc8a9a7f62e.jpg","text":"TemporaryFile(/tmp/multipartBody397538838451452061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_21_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f936ed786bceb7d7d93eec558db70211.jpg","text":"TemporaryFile(/tmp/multipartBody1392661741715230489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_22_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be607554b12d5b8b8fb78b31f6666923.jpg","text":"TemporaryFile(/tmp/multipartBody375881928486494865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_22_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a00b6a65412682be6693ff7055f0f463.jpg","text":"TemporaryFile(/tmp/multipartBody1626194939191040452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_21_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02503f7baeb16f646f35df0ee212d41b.jpg","text":"TemporaryFile(/tmp/multipartBody7046355435596926842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_21_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b0d5f0918984b0021a4a21f170e4539.jpg","text":"TemporaryFile(/tmp/multipartBody6150948001039785819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244494120,"filename":"image_06042025_13_21_54_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350986742","file1":"1350986645","file0":"1350986567","file4":"1350986879","file5":"1350986952","file3":"1350986810"},"map_files_photo_id_array":[{"photo_id":"1350986952","filename":"file5"},{"photo_id":"1350986742","filename":"file2"},{"photo_id":"1350986879","filename":"file4"},{"photo_id":"1350986645","filename":"file1"},{"photo_id":"1350986567","filename":"file0"},{"photo_id":"1350986810","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350986742":["hashtag1","hashtag2"]},{"1350986952":["hashtag1","hashtag2"]},{"1350986879":["hashtag1","hashtag2"]},{"1350986645":["hashtag1","hashtag2"]},{"1350986567":["hashtag1","hashtag2"]},{"1350986810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350986742, 1350986952, 1350986879, 1350986645, 1350986567, 1350986810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.53201174736023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:21:32.635681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_24_10387.jpg', '/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_35_10488.jpg', '/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_44_9474.jpg', '/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_55_10359.jpg', '/home/pi/Desktop/images/06042025/13/22/image_06042025_13_23_04_9427.jpg', '/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_15_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_24_10387.jpg
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_35_10488.jpg
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_44_9474.jpg
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_22_55_10359.jpg
/home/pi/Desktop/images/06042025/13/22/image_06042025_13_23_04_9427.jpg
/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_15_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350987316","1350987267","1350987290","1350987347","1350987227","1350987334"],"photo_ids_order":["1350987227","1350987267","1350987290","1350987316","1350987334","1350987347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c28b0abdf24b62f06595807d6f51616c.jpg","text":"TemporaryFile(/tmp/multipartBody4211035263098513146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_22_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f93d9b8ce56ee68a36953d93cafe1231.jpg","text":"TemporaryFile(/tmp/multipartBody7264054647310016964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_22_35_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0372585019e603d4a286cc3833dda057.jpg","text":"TemporaryFile(/tmp/multipartBody4900159316593328717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_22_44_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4857e2a546420c05d18ce319baafabc7.jpg","text":"TemporaryFile(/tmp/multipartBody7757706858427251796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_23_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd9856d75dcf08c1a5720063987bb3a9.jpg","text":"TemporaryFile(/tmp/multipartBody1697760698642288046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_22_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68b7097fa5014898d7ca3dc084b7b9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8785979510407305290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244554429,"filename":"image_06042025_13_23_04_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350987290","file1":"1350987267","file0":"1350987227","file4":"1350987334","file5":"1350987347","file3":"1350987316"},"map_files_photo_id_array":[{"photo_id":"1350987347","filename":"file5"},{"photo_id":"1350987290","filename":"file2"},{"photo_id":"1350987334","filename":"file4"},{"photo_id":"1350987267","filename":"file1"},{"photo_id":"1350987227","filename":"file0"},{"photo_id":"1350987316","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350987316":["hashtag1","hashtag2"]},{"1350987267":["hashtag1","hashtag2"]},{"1350987290":["hashtag1","hashtag2"]},{"1350987347":["hashtag1","hashtag2"]},{"1350987227":["hashtag1","hashtag2"]},{"1350987334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350987316, 1350987267, 1350987290, 1350987347, 1350987227, 1350987334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46820783615112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:22:32.768204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_34_10434.jpg', '/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_45_10438.jpg', '/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_54_9352.jpg', '/home/pi/Desktop/images/06042025/13/23/image_06042025_13_24_05_10363.jpg', '/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_14_9359.jpg', '/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_24_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_34_10434.jpg
/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_45_10438.jpg
/home/pi/Desktop/images/06042025/13/23/image_06042025_13_23_54_9352.jpg
/home/pi/Desktop/images/06042025/13/23/image_06042025_13_24_05_10363.jpg
/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_14_9359.jpg
/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_24_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350987543","1350987491","1350987521","1350987503","1350987496","1350987500"],"photo_ids_order":["1350987491","1350987496","1350987500","1350987503","1350987521","1350987543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c43b954a7fbead430e9c5d802426b147.jpg","text":"TemporaryFile(/tmp/multipartBody3711955989647401325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_24_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75731d69508c72b2378200d646845849.jpg","text":"TemporaryFile(/tmp/multipartBody7434253385586613646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_23_34_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b95746dc5a1dcbc300f4d3717d9d5f11.jpg","text":"TemporaryFile(/tmp/multipartBody2808160085081416806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_24_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c440b9a7030fbf9e2d5b826efc71f41.jpg","text":"TemporaryFile(/tmp/multipartBody206712691756206450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_24_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/585d1800dd2fdaef13ad075645b6eb36.jpg","text":"TemporaryFile(/tmp/multipartBody2939512693453856110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_23_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7694938b20bee0b6e8695cfe558b696f.jpg","text":"TemporaryFile(/tmp/multipartBody2248719030345478285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244614641,"filename":"image_06042025_13_23_54_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350987500","file1":"1350987496","file0":"1350987491","file4":"1350987521","file5":"1350987543","file3":"1350987503"},"map_files_photo_id_array":[{"photo_id":"1350987543","filename":"file5"},{"photo_id":"1350987500","filename":"file2"},{"photo_id":"1350987521","filename":"file4"},{"photo_id":"1350987496","filename":"file1"},{"photo_id":"1350987491","filename":"file0"},{"photo_id":"1350987503","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350987543":["hashtag1","hashtag2"]},{"1350987491":["hashtag1","hashtag2"]},{"1350987521":["hashtag1","hashtag2"]},{"1350987503":["hashtag1","hashtag2"]},{"1350987496":["hashtag1","hashtag2"]},{"1350987500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350987543, 1350987491, 1350987521, 1350987503, 1350987496, 1350987500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.955034494400024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:23:33.080538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_44_9459.jpg', '/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_55_10403.jpg', '/home/pi/Desktop/images/06042025/13/24/image_06042025_13_25_04_9417.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_14_10329.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_25_10355.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_34_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_44_9459.jpg
/home/pi/Desktop/images/06042025/13/24/image_06042025_13_24_55_10403.jpg
/home/pi/Desktop/images/06042025/13/24/image_06042025_13_25_04_9417.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_14_10329.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_25_10355.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_34_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350987811","1350987835","1350987975","1350987863","1350987949","1350987922"],"photo_ids_order":["1350987811","1350987835","1350987863","1350987922","1350987949","1350987975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/650fd0de299fbb999e5b02f828cbe02b.jpg","text":"TemporaryFile(/tmp/multipartBody720969719718320660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_24_44_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d22ba75352289c3c4a10bcfa5d75c866.jpg","text":"TemporaryFile(/tmp/multipartBody9029202580140814921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_24_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7ce41980ef2f6e880137f4e7c11447f.jpg","text":"TemporaryFile(/tmp/multipartBody8873392340356212250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_25_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2302c543f9dc3270047de5f2d3433f06.jpg","text":"TemporaryFile(/tmp/multipartBody6543965196683610488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_25_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccae9e6835b71ae990ca4cb73c5a00b7.jpg","text":"TemporaryFile(/tmp/multipartBody2515491672307871190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_25_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dba8b5db70453efcf647710c3761913c.jpg","text":"TemporaryFile(/tmp/multipartBody161484557977408861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244674871,"filename":"image_06042025_13_25_14_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350987863","file1":"1350987835","file0":"1350987811","file4":"1350987949","file5":"1350987975","file3":"1350987922"},"map_files_photo_id_array":[{"photo_id":"1350987975","filename":"file5"},{"photo_id":"1350987863","filename":"file2"},{"photo_id":"1350987949","filename":"file4"},{"photo_id":"1350987835","filename":"file1"},{"photo_id":"1350987811","filename":"file0"},{"photo_id":"1350987922","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350987811":["hashtag1","hashtag2"]},{"1350987835":["hashtag1","hashtag2"]},{"1350987975":["hashtag1","hashtag2"]},{"1350987863":["hashtag1","hashtag2"]},{"1350987949":["hashtag1","hashtag2"]},{"1350987922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350987811, 1350987835, 1350987975, 1350987863, 1350987949, 1350987922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.35794472694397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:24:32.261067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_44_10364.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_55_10362.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_26_04_9423.jpg', '/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_34_10355.jpg', '/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_45_10340.jpg', '/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_54_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_44_10364.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_55_10362.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_26_04_9423.jpg
/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_34_10355.jpg
/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_45_10340.jpg
/home/pi/Desktop/images/06042025/13/26/image_06042025_13_26_54_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350988341","1350988086","1350988286","1350988181","1350988156","1350988129"],"photo_ids_order":["1350988086","1350988129","1350988156","1350988181","1350988286","1350988341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/281518b81aa007a1cb7b0122fc4c31a2.jpg","text":"TemporaryFile(/tmp/multipartBody999213198191237048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_26_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4263aa60cc02436dd1f0c2e3fc08d46c.jpg","text":"TemporaryFile(/tmp/multipartBody7420034747786653027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_25_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23cfed3120cf93011a0ce89f830507ad.jpg","text":"TemporaryFile(/tmp/multipartBody2023600660088166500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_26_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/516feffc092239d8afb84d5442800feb.jpg","text":"TemporaryFile(/tmp/multipartBody8981163039015562023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_26_34_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a49a4acc2ab28143d59a5d73670dd53.jpg","text":"TemporaryFile(/tmp/multipartBody7050338561529844843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_26_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b572de6e1fd4e564a0577a8994d5bde4.jpg","text":"TemporaryFile(/tmp/multipartBody6599779812678074408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244734338,"filename":"image_06042025_13_25_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350988156","file1":"1350988129","file0":"1350988086","file4":"1350988286","file5":"1350988341","file3":"1350988181"},"map_files_photo_id_array":[{"photo_id":"1350988341","filename":"file5"},{"photo_id":"1350988156","filename":"file2"},{"photo_id":"1350988286","filename":"file4"},{"photo_id":"1350988129","filename":"file1"},{"photo_id":"1350988086","filename":"file0"},{"photo_id":"1350988181","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350988341":["hashtag1","hashtag2"]},{"1350988086":["hashtag1","hashtag2"]},{"1350988286":["hashtag1","hashtag2"]},{"1350988181":["hashtag1","hashtag2"]},{"1350988156":["hashtag1","hashtag2"]},{"1350988129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350988341, 1350988086, 1350988286, 1350988181, 1350988156, 1350988129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.803869009017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:25:32.440878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_15_10416.jpg', '/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_24_9347.jpg', '/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_44_9369.jpg', '/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_54_10358.jpg', '/home/pi/Desktop/images/06042025/13/27/image_06042025_13_28_05_10353.jpg', '/home/pi/Desktop/images/06042025/13/28/image_06042025_13_28_24_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_15_10416.jpg
/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_24_9347.jpg
/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_44_9369.jpg
/home/pi/Desktop/images/06042025/13/27/image_06042025_13_27_54_10358.jpg
/home/pi/Desktop/images/06042025/13/27/image_06042025_13_28_05_10353.jpg
/home/pi/Desktop/images/06042025/13/28/image_06042025_13_28_24_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350988659","1350988752","1350988740","1350988754","1350988744","1350988695"],"photo_ids_order":["1350988659","1350988695","1350988740","1350988744","1350988752","1350988754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f577fb0f2d66b3b41008346c822be90.jpg","text":"TemporaryFile(/tmp/multipartBody7283537142954055983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_27_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df40666026b09b13a06284cb90390b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3157103080842546618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_28_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53665197d1475a985ac20e67a421b710.jpg","text":"TemporaryFile(/tmp/multipartBody4631664161592583478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_27_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1aad4ab9e17778e32e7335ba1525a17a.jpg","text":"TemporaryFile(/tmp/multipartBody4781934814855799923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_28_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d48667d058c01276073c92024fccd15.jpg","text":"TemporaryFile(/tmp/multipartBody1914187411623551102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_27_54_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a3d20021fd2ab936030921399c567bb.jpg","text":"TemporaryFile(/tmp/multipartBody1457835615979504815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244794215,"filename":"image_06042025_13_27_24_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350988740","file1":"1350988695","file0":"1350988659","file4":"1350988752","file5":"1350988754","file3":"1350988744"},"map_files_photo_id_array":[{"photo_id":"1350988754","filename":"file5"},{"photo_id":"1350988740","filename":"file2"},{"photo_id":"1350988752","filename":"file4"},{"photo_id":"1350988695","filename":"file1"},{"photo_id":"1350988659","filename":"file0"},{"photo_id":"1350988744","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350988659":["hashtag1","hashtag2"]},{"1350988752":["hashtag1","hashtag2"]},{"1350988740":["hashtag1","hashtag2"]},{"1350988754":["hashtag1","hashtag2"]},{"1350988744":["hashtag1","hashtag2"]},{"1350988695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350988659, 1350988752, 1350988740, 1350988754, 1350988744, 1350988695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.620025396347046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:26:32.684465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/28/image_06042025_13_28_54_10350.jpg', '/home/pi/Desktop/images/06042025/13/28/image_06042025_13_29_05_10366.jpg', '/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_14_9349.jpg', '/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_25_10367.jpg', '/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_34_9406.jpg', '/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_44_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/28/image_06042025_13_28_54_10350.jpg
/home/pi/Desktop/images/06042025/13/28/image_06042025_13_29_05_10366.jpg
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_14_9349.jpg
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_25_10367.jpg
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_34_9406.jpg
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_44_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350989007","1350988985","1350989234","1350989194","1350989212","1350989134"],"photo_ids_order":["1350988985","1350989007","1350989134","1350989194","1350989212","1350989234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edf7efac4f9d0879911bff992855f30e.jpg","text":"TemporaryFile(/tmp/multipartBody6476735030931813358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_29_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59f0d2f7936a72219904ab501b8f5b06.jpg","text":"TemporaryFile(/tmp/multipartBody6866418248189043926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_28_54_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29e1de07598a76b712528be80b6f9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5058066950751252179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_29_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55b0b23eb3802d121e7dfbd82a792ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7937585221628029038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_29_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd5fa1730e5ce3231ce9897c806122d4.jpg","text":"TemporaryFile(/tmp/multipartBody4059446277550644225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_29_34_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17acbce4f1713a5427e7c1a2809a36a6.jpg","text":"TemporaryFile(/tmp/multipartBody5757081010033164635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244854473,"filename":"image_06042025_13_29_14_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350989134","file1":"1350989007","file0":"1350988985","file4":"1350989212","file5":"1350989234","file3":"1350989194"},"map_files_photo_id_array":[{"photo_id":"1350989234","filename":"file5"},{"photo_id":"1350989134","filename":"file2"},{"photo_id":"1350989212","filename":"file4"},{"photo_id":"1350989007","filename":"file1"},{"photo_id":"1350988985","filename":"file0"},{"photo_id":"1350989194","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350989007":["hashtag1","hashtag2"]},{"1350988985":["hashtag1","hashtag2"]},{"1350989234":["hashtag1","hashtag2"]},{"1350989194":["hashtag1","hashtag2"]},{"1350989212":["hashtag1","hashtag2"]},{"1350989134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350989007, 1350988985, 1350989234, 1350989194, 1350989212, 1350989134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.049041509628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:27:32.943786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_55_10348.jpg', '/home/pi/Desktop/images/06042025/13/29/image_06042025_13_30_04_9355.jpg', '/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_14_10377.jpg', '/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_25_10390.jpg', '/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_34_9459.jpg', '/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_45_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_29_55_10348.jpg
/home/pi/Desktop/images/06042025/13/29/image_06042025_13_30_04_9355.jpg
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_14_10377.jpg
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_25_10390.jpg
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_34_9459.jpg
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_45_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350989567","1350989459","1350989599","1350989516","1350989587","1350989583"],"photo_ids_order":["1350989459","1350989516","1350989567","1350989583","1350989587","1350989599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47e303f1ca0c570732dfc60ca65616e4.jpg","text":"TemporaryFile(/tmp/multipartBody4616380696203364426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_30_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a8f3f49e0c6263b96b67c4d572c38a8.jpg","text":"TemporaryFile(/tmp/multipartBody600509561708557146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_29_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e7e4098113a742e05a87b8f9c8e7ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4742629684381285236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_30_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88161b1ecb2a5e1d7bcc102d20a202cc.jpg","text":"TemporaryFile(/tmp/multipartBody3344793087593166319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_30_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/412a63b7727558041f909ace0acd6077.jpg","text":"TemporaryFile(/tmp/multipartBody3997059268188658088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_30_34_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfe3451942363c3dca235c3083a43452.jpg","text":"TemporaryFile(/tmp/multipartBody17132187840346533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244914730,"filename":"image_06042025_13_30_25_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350989567","file1":"1350989516","file0":"1350989459","file4":"1350989587","file5":"1350989599","file3":"1350989583"},"map_files_photo_id_array":[{"photo_id":"1350989599","filename":"file5"},{"photo_id":"1350989567","filename":"file2"},{"photo_id":"1350989587","filename":"file4"},{"photo_id":"1350989516","filename":"file1"},{"photo_id":"1350989459","filename":"file0"},{"photo_id":"1350989583","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350989567":["hashtag1","hashtag2"]},{"1350989459":["hashtag1","hashtag2"]},{"1350989599":["hashtag1","hashtag2"]},{"1350989516":["hashtag1","hashtag2"]},{"1350989587":["hashtag1","hashtag2"]},{"1350989583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350989567, 1350989459, 1350989599, 1350989516, 1350989587, 1350989583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14717388153076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:28:32.166969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_54_9430.jpg', '/home/pi/Desktop/images/06042025/13/30/image_06042025_13_31_04_10352.jpg', '/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_15_10344.jpg', '/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_24_9343.jpg', '/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_34_10410.jpg', '/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_30_54_9430.jpg
/home/pi/Desktop/images/06042025/13/30/image_06042025_13_31_04_10352.jpg
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_15_10344.jpg
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_24_9343.jpg
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_34_10410.jpg
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350989628","1350989633","1350989659","1350989662","1350989635","1350989638"],"photo_ids_order":["1350989628","1350989633","1350989635","1350989638","1350989659","1350989662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0aa7bece3d575e5da7c4bf294b71ce53.jpg","text":"TemporaryFile(/tmp/multipartBody3165877804651945909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_30_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5e74af4e6ff7b8b17d37b5400b9daa1.jpg","text":"TemporaryFile(/tmp/multipartBody4840710454999999795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_31_04_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b351581cb0d6aba5c612329ad6f8d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody2241954712553571474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_31_34_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/754e1ec2eb783a93556c5081a7d30ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3904387525525393310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_31_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e31c58bf1bbb29896dcc0479958924c.jpg","text":"TemporaryFile(/tmp/multipartBody4669689723425191086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_31_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccd222e2357239c56405f3e83424c470.jpg","text":"TemporaryFile(/tmp/multipartBody60600583778276790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744244973938,"filename":"image_06042025_13_31_24_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350989635","file1":"1350989633","file0":"1350989628","file4":"1350989659","file5":"1350989662","file3":"1350989638"},"map_files_photo_id_array":[{"photo_id":"1350989662","filename":"file5"},{"photo_id":"1350989635","filename":"file2"},{"photo_id":"1350989659","filename":"file4"},{"photo_id":"1350989633","filename":"file1"},{"photo_id":"1350989628","filename":"file0"},{"photo_id":"1350989638","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350989628":["hashtag1","hashtag2"]},{"1350989633":["hashtag1","hashtag2"]},{"1350989659":["hashtag1","hashtag2"]},{"1350989662":["hashtag1","hashtag2"]},{"1350989635":["hashtag1","hashtag2"]},{"1350989638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350989628, 1350989633, 1350989659, 1350989662, 1350989635, 1350989638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20784306526184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:29:32.341888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_54_9356.jpg', '/home/pi/Desktop/images/06042025/13/31/image_06042025_13_32_05_10361.jpg', '/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_14_9485.jpg', '/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_24_10364.jpg', '/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_35_10411.jpg', '/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_44_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_31_54_9356.jpg
/home/pi/Desktop/images/06042025/13/31/image_06042025_13_32_05_10361.jpg
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_14_9485.jpg
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_24_10364.jpg
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_35_10411.jpg
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_44_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350989712","1350989715","1350989718","1350989747","1350989755","1350989722"],"photo_ids_order":["1350989712","1350989715","1350989718","1350989722","1350989747","1350989755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0293d8858813e5ffe8255d9266fdc487.jpg","text":"TemporaryFile(/tmp/multipartBody1699961136597529638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_31_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26aa1c7dee77946f80ea21d198324823.jpg","text":"TemporaryFile(/tmp/multipartBody1640008015098282159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_32_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5866f3b81e4cebb03d019d9223e1e21.jpg","text":"TemporaryFile(/tmp/multipartBody3659316744659907412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_32_14_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e61c61d67fb965f73bb63e02affbbe60.jpg","text":"TemporaryFile(/tmp/multipartBody2114948182125047958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_32_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35e4806677bc3f072b02eceeb2c3a218.jpg","text":"TemporaryFile(/tmp/multipartBody1099235045803922258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_32_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60871d56006860ab10badd00a1ea1f68.jpg","text":"TemporaryFile(/tmp/multipartBody1929058661228538858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245034119,"filename":"image_06042025_13_32_24_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350989718","file1":"1350989715","file0":"1350989712","file4":"1350989747","file5":"1350989755","file3":"1350989722"},"map_files_photo_id_array":[{"photo_id":"1350989755","filename":"file5"},{"photo_id":"1350989718","filename":"file2"},{"photo_id":"1350989747","filename":"file4"},{"photo_id":"1350989715","filename":"file1"},{"photo_id":"1350989712","filename":"file0"},{"photo_id":"1350989722","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350989712":["hashtag1","hashtag2"]},{"1350989715":["hashtag1","hashtag2"]},{"1350989718":["hashtag1","hashtag2"]},{"1350989747":["hashtag1","hashtag2"]},{"1350989755":["hashtag1","hashtag2"]},{"1350989722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350989712, 1350989715, 1350989718, 1350989747, 1350989755, 1350989722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79440951347351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:30:32.649172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_54_10342.jpg', '/home/pi/Desktop/images/06042025/13/32/image_06042025_13_33_05_10404.jpg', '/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_14_9338.jpg', '/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_34_9419.jpg', '/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_44_10357.jpg', '/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_32_54_10342.jpg
/home/pi/Desktop/images/06042025/13/32/image_06042025_13_33_05_10404.jpg
/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_14_9338.jpg
/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_34_9419.jpg
/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_44_10357.jpg
/home/pi/Desktop/images/06042025/13/33/image_06042025_13_33_55_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350990318","1350990213","1350990449","1350990397","1350990298","1350990370"],"photo_ids_order":["1350990213","1350990298","1350990318","1350990370","1350990397","1350990449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4da8761b9fcb6ade522fe7515ac737b9.jpg","text":"TemporaryFile(/tmp/multipartBody5838894909666465512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_33_14_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03d8c4b70b90e5fbea4bf520dce27e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7305470840105451878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_32_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed82bd5238b5ddae154d3f910574a694.jpg","text":"TemporaryFile(/tmp/multipartBody2456003643526055410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_33_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad0842012260fd4adc108db01ebbb0d6.jpg","text":"TemporaryFile(/tmp/multipartBody5971913725504978389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_33_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b572f0d51c71ac3c0ea617eaea462a6.jpg","text":"TemporaryFile(/tmp/multipartBody2598647772314800565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_33_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59ed4781c42a67b39cabb3ea5b722fec.jpg","text":"TemporaryFile(/tmp/multipartBody4269898977578886128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245094425,"filename":"image_06042025_13_33_34_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350990318","file1":"1350990298","file0":"1350990213","file4":"1350990397","file5":"1350990449","file3":"1350990370"},"map_files_photo_id_array":[{"photo_id":"1350990449","filename":"file5"},{"photo_id":"1350990318","filename":"file2"},{"photo_id":"1350990397","filename":"file4"},{"photo_id":"1350990298","filename":"file1"},{"photo_id":"1350990213","filename":"file0"},{"photo_id":"1350990370","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350990318":["hashtag1","hashtag2"]},{"1350990213":["hashtag1","hashtag2"]},{"1350990449":["hashtag1","hashtag2"]},{"1350990397":["hashtag1","hashtag2"]},{"1350990298":["hashtag1","hashtag2"]},{"1350990370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350990318, 1350990213, 1350990449, 1350990397, 1350990298, 1350990370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56589341163635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:31:32.843808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/33/image_06042025_13_34_04_9342.jpg', '/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_14_10339.jpg', '/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_25_10366.jpg', '/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_34_9422.jpg', '/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_54_9405.jpg', '/home/pi/Desktop/images/06042025/13/34/image_06042025_13_35_04_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/33/image_06042025_13_34_04_9342.jpg
/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_14_10339.jpg
/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_25_10366.jpg
/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_34_9422.jpg
/home/pi/Desktop/images/06042025/13/34/image_06042025_13_34_54_9405.jpg
/home/pi/Desktop/images/06042025/13/34/image_06042025_13_35_04_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350990647","1350990586","1350990613","1350990700","1350990591","1350990619"],"photo_ids_order":["1350990586","1350990591","1350990613","1350990619","1350990647","1350990700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/034b5f26fae0753617b9abe0f8d0e23a.jpg","text":"TemporaryFile(/tmp/multipartBody7688490694776066932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_34_54_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fe6c798995d153b6cd91eb6f9706dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8739678015911309732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_34_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca466919e21b5b1b80563f8d8c7de662.jpg","text":"TemporaryFile(/tmp/multipartBody8422044973747893148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_34_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97941521c89bbd64148ea604edf0cb93.jpg","text":"TemporaryFile(/tmp/multipartBody1054003725987347208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_35_04_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6eea236059c55afe519b6a04420c6d6.jpg","text":"TemporaryFile(/tmp/multipartBody2245534308291793314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_34_14_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/876df33fdd5941b765e2a227af1e69af.jpg","text":"TemporaryFile(/tmp/multipartBody5725845983505318566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245154610,"filename":"image_06042025_13_34_34_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350990613","file1":"1350990591","file0":"1350990586","file4":"1350990647","file5":"1350990700","file3":"1350990619"},"map_files_photo_id_array":[{"photo_id":"1350990700","filename":"file5"},{"photo_id":"1350990613","filename":"file2"},{"photo_id":"1350990647","filename":"file4"},{"photo_id":"1350990591","filename":"file1"},{"photo_id":"1350990586","filename":"file0"},{"photo_id":"1350990619","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350990647":["hashtag1","hashtag2"]},{"1350990586":["hashtag1","hashtag2"]},{"1350990613":["hashtag1","hashtag2"]},{"1350990700":["hashtag1","hashtag2"]},{"1350990591":["hashtag1","hashtag2"]},{"1350990619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350990647, 1350990586, 1350990613, 1350990700, 1350990591, 1350990619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.084564208984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:32:32.979118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_15_10457.jpg', '/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_24_9466.jpg', '/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_35_10405.jpg', '/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_44_9338.jpg', '/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_54_10350.jpg', '/home/pi/Desktop/images/06042025/13/35/image_06042025_13_36_05_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_15_10457.jpg
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_24_9466.jpg
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_35_10405.jpg
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_44_9338.jpg
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_35_54_10350.jpg
/home/pi/Desktop/images/06042025/13/35/image_06042025_13_36_05_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350990795","1350990861","1350990942","1350990827","1350990898","1350990922"],"photo_ids_order":["1350990795","1350990827","1350990861","1350990898","1350990922","1350990942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8719c0b698e31922dbc56a23463b8d5d.jpg","text":"TemporaryFile(/tmp/multipartBody591043010869603671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_35_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b450f8d2f40d478a724c5e0610d4180.jpg","text":"TemporaryFile(/tmp/multipartBody5939645517551213730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_35_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77f57fe6928d6d83f6069fb237991513.jpg","text":"TemporaryFile(/tmp/multipartBody5295879120669853808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_36_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ea806d047f7b357fe752bcdcacfddf9.jpg","text":"TemporaryFile(/tmp/multipartBody3173792630227636078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_35_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/733b6a7de1811c56fe1187afc255aadb.jpg","text":"TemporaryFile(/tmp/multipartBody6346860768569125637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_35_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1d71bfd1f7c439fef3ff02e759accec.jpg","text":"TemporaryFile(/tmp/multipartBody8318507612987661211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245214747,"filename":"image_06042025_13_35_54_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350990861","file1":"1350990827","file0":"1350990795","file4":"1350990922","file5":"1350990942","file3":"1350990898"},"map_files_photo_id_array":[{"photo_id":"1350990942","filename":"file5"},{"photo_id":"1350990861","filename":"file2"},{"photo_id":"1350990922","filename":"file4"},{"photo_id":"1350990827","filename":"file1"},{"photo_id":"1350990795","filename":"file0"},{"photo_id":"1350990898","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350990795":["hashtag1","hashtag2"]},{"1350990861":["hashtag1","hashtag2"]},{"1350990942":["hashtag1","hashtag2"]},{"1350990827":["hashtag1","hashtag2"]},{"1350990898":["hashtag1","hashtag2"]},{"1350990922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350990795, 1350990861, 1350990942, 1350990827, 1350990898, 1350990922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.794710874557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:33:32.182949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_14_9339.jpg', '/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_24_10347.jpg', '/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_35_10347.jpg', '/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_55_10382.jpg', '/home/pi/Desktop/images/06042025/13/36/image_06042025_13_37_04_9412.jpg', '/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_14_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_14_9339.jpg
/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_24_10347.jpg
/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_35_10347.jpg
/home/pi/Desktop/images/06042025/13/36/image_06042025_13_36_55_10382.jpg
/home/pi/Desktop/images/06042025/13/36/image_06042025_13_37_04_9412.jpg
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_14_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350991128","1350991115","1350991162","1350991123","1350991164","1350991158"],"photo_ids_order":["1350991115","1350991123","1350991128","1350991158","1350991162","1350991164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d37c04b04a52c2239120c21870d8ebd8.jpg","text":"TemporaryFile(/tmp/multipartBody524980351626044235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_36_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1db869b7426101db981071e17f9dffa0.jpg","text":"TemporaryFile(/tmp/multipartBody5114791126889901785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_36_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83b30b054835a448544efb87f83eaa3d.jpg","text":"TemporaryFile(/tmp/multipartBody294753708502993422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_37_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c47b49088f35c68066bddc09e99d164.jpg","text":"TemporaryFile(/tmp/multipartBody1635076390942471196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_36_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cc0033ed8435552b9e6adade8d329fe.jpg","text":"TemporaryFile(/tmp/multipartBody6794060291030247383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_37_14_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d367d23cb90fa0842a5e563ee6454e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2087658633887730959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245273987,"filename":"image_06042025_13_36_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350991128","file1":"1350991123","file0":"1350991115","file4":"1350991162","file5":"1350991164","file3":"1350991158"},"map_files_photo_id_array":[{"photo_id":"1350991164","filename":"file5"},{"photo_id":"1350991128","filename":"file2"},{"photo_id":"1350991162","filename":"file4"},{"photo_id":"1350991123","filename":"file1"},{"photo_id":"1350991115","filename":"file0"},{"photo_id":"1350991158","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350991128":["hashtag1","hashtag2"]},{"1350991115":["hashtag1","hashtag2"]},{"1350991162":["hashtag1","hashtag2"]},{"1350991123":["hashtag1","hashtag2"]},{"1350991164":["hashtag1","hashtag2"]},{"1350991158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350991128, 1350991115, 1350991162, 1350991123, 1350991164, 1350991158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.800875663757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:34:32.487311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_25_10445.jpg', '/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_34_9419.jpg', '/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_45_10356.jpg', '/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_54_9370.jpg', '/home/pi/Desktop/images/06042025/13/37/image_06042025_13_38_04_10407.jpg', '/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_25_10445.jpg
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_34_9419.jpg
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_45_10356.jpg
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_37_54_9370.jpg
/home/pi/Desktop/images/06042025/13/37/image_06042025_13_38_04_10407.jpg
/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350991418","1350991406","1350991432","1350991441","1350991429","1350991402"],"photo_ids_order":["1350991402","1350991406","1350991418","1350991429","1350991432","1350991441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87e3fec6dce3e66fbb3e008c8c40adc6.jpg","text":"TemporaryFile(/tmp/multipartBody8775160654057580417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_37_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6819eea8d41610c178a610ea6d42a80.jpg","text":"TemporaryFile(/tmp/multipartBody3925666478482916628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_37_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14e02490616feb9052f481b3567c5faf.jpg","text":"TemporaryFile(/tmp/multipartBody1538960313177932874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_38_04_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b30df7bd7ecafccdb2a453c6fb447e6.jpg","text":"TemporaryFile(/tmp/multipartBody550088883726014383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_38_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c7a96d7365c3d346b605f46d5b912e6.jpg","text":"TemporaryFile(/tmp/multipartBody5331751783127495130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_37_54_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd87094d2928097ced92062c2dd55ccf.jpg","text":"TemporaryFile(/tmp/multipartBody1355120947259850914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245334354,"filename":"image_06042025_13_37_25_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350991418","file1":"1350991406","file0":"1350991402","file4":"1350991432","file5":"1350991441","file3":"1350991429"},"map_files_photo_id_array":[{"photo_id":"1350991441","filename":"file5"},{"photo_id":"1350991418","filename":"file2"},{"photo_id":"1350991432","filename":"file4"},{"photo_id":"1350991406","filename":"file1"},{"photo_id":"1350991402","filename":"file0"},{"photo_id":"1350991429","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350991418":["hashtag1","hashtag2"]},{"1350991406":["hashtag1","hashtag2"]},{"1350991432":["hashtag1","hashtag2"]},{"1350991441":["hashtag1","hashtag2"]},{"1350991429":["hashtag1","hashtag2"]},{"1350991402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350991418, 1350991406, 1350991432, 1350991441, 1350991429, 1350991402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2295126914978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:35:32.581973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_24_9354.jpg', '/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_34_10368.jpg', '/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_45_10410.jpg', '/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_54_9355.jpg', '/home/pi/Desktop/images/06042025/13/39/image_06042025_13_39_35_10355.jpg', '/home/pi/Desktop/images/06042025/13/39/image_06042025_13_39_54_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_24_9354.jpg
/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_34_10368.jpg
/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_45_10410.jpg
/home/pi/Desktop/images/06042025/13/38/image_06042025_13_38_54_9355.jpg
/home/pi/Desktop/images/06042025/13/39/image_06042025_13_39_35_10355.jpg
/home/pi/Desktop/images/06042025/13/39/image_06042025_13_39_54_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350991638","1350991602","1350991661","1350991550","1350991625","1350991624"],"photo_ids_order":["1350991550","1350991602","1350991624","1350991625","1350991638","1350991661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5c3153421610187b343cbeeb064345d.jpg","text":"TemporaryFile(/tmp/multipartBody2003527525294210881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_39_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70da7b83ea5eaee291895a4233131d5e.jpg","text":"TemporaryFile(/tmp/multipartBody233142916960688622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_38_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae1c3faa05da75bf7293da721627685c.jpg","text":"TemporaryFile(/tmp/multipartBody1758905080052447219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_39_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d250528c033d13159cf6119449b140ad.jpg","text":"TemporaryFile(/tmp/multipartBody8187213840844259729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_38_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/663c1336044d7dd65a3b86f932f2aecb.jpg","text":"TemporaryFile(/tmp/multipartBody3348313937529045705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_38_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe5d60b164b966629d43983b51909555.jpg","text":"TemporaryFile(/tmp/multipartBody107504064597968953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245394364,"filename":"image_06042025_13_38_45_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350991624","file1":"1350991602","file0":"1350991550","file4":"1350991638","file5":"1350991661","file3":"1350991625"},"map_files_photo_id_array":[{"photo_id":"1350991661","filename":"file5"},{"photo_id":"1350991624","filename":"file2"},{"photo_id":"1350991638","filename":"file4"},{"photo_id":"1350991602","filename":"file1"},{"photo_id":"1350991550","filename":"file0"},{"photo_id":"1350991625","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350991638":["hashtag1","hashtag2"]},{"1350991602":["hashtag1","hashtag2"]},{"1350991661":["hashtag1","hashtag2"]},{"1350991550":["hashtag1","hashtag2"]},{"1350991625":["hashtag1","hashtag2"]},{"1350991624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350991638, 1350991602, 1350991661, 1350991550, 1350991625, 1350991624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.045830965042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:36:32.788416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/39/image_06042025_13_40_05_10338.jpg', '/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_25_10417.jpg', '/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_34_9492.jpg', '/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_44_10364.jpg', '/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_55_10357.jpg', '/home/pi/Desktop/images/06042025/13/40/image_06042025_13_41_04_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/39/image_06042025_13_40_05_10338.jpg
/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_25_10417.jpg
/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_34_9492.jpg
/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_44_10364.jpg
/home/pi/Desktop/images/06042025/13/40/image_06042025_13_40_55_10357.jpg
/home/pi/Desktop/images/06042025/13/40/image_06042025_13_41_04_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350991821","1350991844","1350991867","1350991840","1350991878","1350991827"],"photo_ids_order":["1350991821","1350991827","1350991840","1350991844","1350991867","1350991878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb04467259bd7c5f3e9a9937cbf917fb.jpg","text":"TemporaryFile(/tmp/multipartBody5397294389143681457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_40_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48ab2c6b39edb23168d28ab169b5d17f.jpg","text":"TemporaryFile(/tmp/multipartBody7440056973078642404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_40_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9bed6ba8d24697190034034b3e8b784.jpg","text":"TemporaryFile(/tmp/multipartBody5282893139675717767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_40_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf546040f4b0f6264b4897c9d6237bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4446911678027573681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_40_34_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b1b5fe8b375a2f5ada96410ad842d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6691827246377050934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_41_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14e167b222052a90c0b568b4b4b62720.jpg","text":"TemporaryFile(/tmp/multipartBody6135312160052687936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245454565,"filename":"image_06042025_13_40_25_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350991840","file1":"1350991827","file0":"1350991821","file4":"1350991867","file5":"1350991878","file3":"1350991844"},"map_files_photo_id_array":[{"photo_id":"1350991878","filename":"file5"},{"photo_id":"1350991840","filename":"file2"},{"photo_id":"1350991867","filename":"file4"},{"photo_id":"1350991827","filename":"file1"},{"photo_id":"1350991821","filename":"file0"},{"photo_id":"1350991844","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350991821":["hashtag1","hashtag2"]},{"1350991844":["hashtag1","hashtag2"]},{"1350991867":["hashtag1","hashtag2"]},{"1350991840":["hashtag1","hashtag2"]},{"1350991878":["hashtag1","hashtag2"]},{"1350991827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350991821, 1350991844, 1350991867, 1350991840, 1350991878, 1350991827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.316816568374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:37:32.965337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_15_10344.jpg', '/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_24_9465.jpg', '/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_34_10393.jpg', '/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_45_10360.jpg', '/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_54_9406.jpg', '/home/pi/Desktop/images/06042025/13/41/image_06042025_13_42_05_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_15_10344.jpg
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_24_9465.jpg
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_34_10393.jpg
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_45_10360.jpg
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_41_54_9406.jpg
/home/pi/Desktop/images/06042025/13/41/image_06042025_13_42_05_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350992036","1350992021","1350992098","1350992061","1350992079","1350992034"],"photo_ids_order":["1350992021","1350992034","1350992036","1350992061","1350992079","1350992098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca94efd68978b0c06496a127f46adce4.jpg","text":"TemporaryFile(/tmp/multipartBody3240137840106356866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_41_34_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a59b1697b04b673437c71ed2fb98f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4606624875145475462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_41_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d922e0ee4547be8946312bc4b68f588.jpg","text":"TemporaryFile(/tmp/multipartBody5032190429603157983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_42_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a6f29b91330c00a70fe673edaa1a627.jpg","text":"TemporaryFile(/tmp/multipartBody5279864972575195387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_41_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccb338885aecc7d66b2a59d03bec7457.jpg","text":"TemporaryFile(/tmp/multipartBody2868727223624755866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_41_54_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3292f4be9d75a6949a044a7e23b396b1.jpg","text":"TemporaryFile(/tmp/multipartBody2348001241222645189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245514744,"filename":"image_06042025_13_41_24_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350992036","file1":"1350992034","file0":"1350992021","file4":"1350992079","file5":"1350992098","file3":"1350992061"},"map_files_photo_id_array":[{"photo_id":"1350992098","filename":"file5"},{"photo_id":"1350992036","filename":"file2"},{"photo_id":"1350992079","filename":"file4"},{"photo_id":"1350992034","filename":"file1"},{"photo_id":"1350992021","filename":"file0"},{"photo_id":"1350992061","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350992036":["hashtag1","hashtag2"]},{"1350992021":["hashtag1","hashtag2"]},{"1350992098":["hashtag1","hashtag2"]},{"1350992061":["hashtag1","hashtag2"]},{"1350992079":["hashtag1","hashtag2"]},{"1350992034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350992036, 1350992021, 1350992098, 1350992061, 1350992079, 1350992034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28753876686096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:38:32.236674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_14_9445.jpg', '/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_24_10421.jpg', '/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_35_10479.jpg', '/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_44_9339.jpg', '/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_55_10354.jpg', '/home/pi/Desktop/images/06042025/13/42/image_06042025_13_43_04_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_14_9445.jpg
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_24_10421.jpg
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_35_10479.jpg
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_44_9339.jpg
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_42_55_10354.jpg
/home/pi/Desktop/images/06042025/13/42/image_06042025_13_43_04_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350992351","1350992321","1350992293","1350992206","1350992271","1350992178"],"photo_ids_order":["1350992178","1350992206","1350992271","1350992293","1350992321","1350992351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/defed1236dec436e89cd9b2c0ee46524.jpg","text":"TemporaryFile(/tmp/multipartBody5726048292216698552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_43_04_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb95b4d0752e5c2415f4296ba4f29bd5.jpg","text":"TemporaryFile(/tmp/multipartBody43881520684921210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_42_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3412d9c9f957b21113146ec0a3e2f74.jpg","text":"TemporaryFile(/tmp/multipartBody792576559222455160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_42_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e990dfe33a11835b66db72aebd9190.jpg","text":"TemporaryFile(/tmp/multipartBody7019181043511151833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_42_24_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdc77873a399b5c32a65799579401ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1670798478607958943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_42_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/afdde5ee5baa651faaa957f6913a28ba.jpg","text":"TemporaryFile(/tmp/multipartBody3220668434714670735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245574043,"filename":"image_06042025_13_42_14_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350992271","file1":"1350992206","file0":"1350992178","file4":"1350992321","file5":"1350992351","file3":"1350992293"},"map_files_photo_id_array":[{"photo_id":"1350992351","filename":"file5"},{"photo_id":"1350992271","filename":"file2"},{"photo_id":"1350992321","filename":"file4"},{"photo_id":"1350992206","filename":"file1"},{"photo_id":"1350992178","filename":"file0"},{"photo_id":"1350992293","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350992351":["hashtag1","hashtag2"]},{"1350992321":["hashtag1","hashtag2"]},{"1350992293":["hashtag1","hashtag2"]},{"1350992206":["hashtag1","hashtag2"]},{"1350992271":["hashtag1","hashtag2"]},{"1350992178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350992351, 1350992321, 1350992293, 1350992206, 1350992271, 1350992178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.708133697509766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:39:32.543442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_14_10337.jpg', '/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_25_10413.jpg', '/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_34_9374.jpg', '/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_45_10371.jpg', '/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_54_9494.jpg', '/home/pi/Desktop/images/06042025/13/43/image_06042025_13_44_04_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_14_10337.jpg
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_25_10413.jpg
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_34_9374.jpg
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_45_10371.jpg
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_43_54_9494.jpg
/home/pi/Desktop/images/06042025/13/43/image_06042025_13_44_04_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350992597","1350992468","1350992414","1350992708","1350992405","1350992410"],"photo_ids_order":["1350992405","1350992410","1350992414","1350992468","1350992597","1350992708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c6a3503703315980864bb24594da538.jpg","text":"TemporaryFile(/tmp/multipartBody8924589938336170485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_43_54_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9711bfd01103c1e174bf2f6e1796ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8577331175113431819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_43_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0e8859ed76d9dea429095946a5a1f3e.jpg","text":"TemporaryFile(/tmp/multipartBody24612829182448317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_43_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35ee24ed7e9b47757472bb5a6da07fcf.jpg","text":"TemporaryFile(/tmp/multipartBody820494740587639886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_44_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14f57d91708a3d91a5092ceee2cc6ae6.jpg","text":"TemporaryFile(/tmp/multipartBody310843019412511373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_43_14_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e530f95e554855fcb708b0f450b84d2f.jpg","text":"TemporaryFile(/tmp/multipartBody1504203786248894416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245634329,"filename":"image_06042025_13_43_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350992414","file1":"1350992410","file0":"1350992405","file4":"1350992597","file5":"1350992708","file3":"1350992468"},"map_files_photo_id_array":[{"photo_id":"1350992708","filename":"file5"},{"photo_id":"1350992414","filename":"file2"},{"photo_id":"1350992597","filename":"file4"},{"photo_id":"1350992410","filename":"file1"},{"photo_id":"1350992405","filename":"file0"},{"photo_id":"1350992468","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350992597":["hashtag1","hashtag2"]},{"1350992468":["hashtag1","hashtag2"]},{"1350992414":["hashtag1","hashtag2"]},{"1350992708":["hashtag1","hashtag2"]},{"1350992405":["hashtag1","hashtag2"]},{"1350992410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350992597, 1350992468, 1350992414, 1350992708, 1350992405, 1350992410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.580424785614014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:40:32.650341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_15_10423.jpg', '/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_24_9424.jpg', '/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_35_10342.jpg', '/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_45_10353.jpg', '/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_14_9385.jpg', '/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_24_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_15_10423.jpg
/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_24_9424.jpg
/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_35_10342.jpg
/home/pi/Desktop/images/06042025/13/44/image_06042025_13_44_45_10353.jpg
/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_14_9385.jpg
/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_24_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350993298","1350993372","1350993273","1350993240","1350993213","1350993335"],"photo_ids_order":["1350993213","1350993240","1350993273","1350993298","1350993335","1350993372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2cef007e5eee1068c4837069cd4413e.jpg","text":"TemporaryFile(/tmp/multipartBody7256102250410839382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_44_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/174e225b5a6edc832be2b650cc209b54.jpg","text":"TemporaryFile(/tmp/multipartBody8166933706125431928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_45_24_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47696e15d0d057588aa7adeee0a1187b.jpg","text":"TemporaryFile(/tmp/multipartBody6394652975348861689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_44_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/189749be6ea7060587b9291f68832157.jpg","text":"TemporaryFile(/tmp/multipartBody4988378788819944329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_44_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/005533526354e926d7bc9b4cb73cd7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4858082927299515968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_44_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c7e894a6c4a4551721e717d8ce2e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody1243321785659614412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245694429,"filename":"image_06042025_13_45_14_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350993273","file1":"1350993240","file0":"1350993213","file4":"1350993335","file5":"1350993372","file3":"1350993298"},"map_files_photo_id_array":[{"photo_id":"1350993372","filename":"file5"},{"photo_id":"1350993273","filename":"file2"},{"photo_id":"1350993335","filename":"file4"},{"photo_id":"1350993240","filename":"file1"},{"photo_id":"1350993213","filename":"file0"},{"photo_id":"1350993298","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350993298":["hashtag1","hashtag2"]},{"1350993372":["hashtag1","hashtag2"]},{"1350993273":["hashtag1","hashtag2"]},{"1350993240":["hashtag1","hashtag2"]},{"1350993213":["hashtag1","hashtag2"]},{"1350993335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350993298, 1350993372, 1350993273, 1350993240, 1350993213, 1350993335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.369171142578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:41:32.987935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_35_10363.jpg', '/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_44_9426.jpg', '/home/pi/Desktop/images/06042025/13/45/image_06042025_13_46_05_10414.jpg', '/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_14_9399.jpg', '/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_25_10396.jpg', '/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_34_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_35_10363.jpg
/home/pi/Desktop/images/06042025/13/45/image_06042025_13_45_44_9426.jpg
/home/pi/Desktop/images/06042025/13/45/image_06042025_13_46_05_10414.jpg
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_14_9399.jpg
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_25_10396.jpg
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_34_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350993602","1350993545","1350993506","1350993568","1350993526","1350993529"],"photo_ids_order":["1350993506","1350993526","1350993529","1350993545","1350993568","1350993602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1313180e14961b5c0bc07fd1461921f3.jpg","text":"TemporaryFile(/tmp/multipartBody8122946422717684866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_46_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba0b834c565d3e4a86af04d729b3d2df.jpg","text":"TemporaryFile(/tmp/multipartBody841608867435317495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_46_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbfa175df525269ce91f4a056f21a991.jpg","text":"TemporaryFile(/tmp/multipartBody1276839445669416359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_45_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32ef52331abef4e250fcf05f3e07aa90.jpg","text":"TemporaryFile(/tmp/multipartBody208810191100164100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_46_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/707b054643aaf8b94f3691a8a1fd819a.jpg","text":"TemporaryFile(/tmp/multipartBody7365188658276735661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_45_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21c396489063918d14c84e8813759a97.jpg","text":"TemporaryFile(/tmp/multipartBody1122897997149038523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245754778,"filename":"image_06042025_13_46_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350993529","file1":"1350993526","file0":"1350993506","file4":"1350993568","file5":"1350993602","file3":"1350993545"},"map_files_photo_id_array":[{"photo_id":"1350993602","filename":"file5"},{"photo_id":"1350993529","filename":"file2"},{"photo_id":"1350993568","filename":"file4"},{"photo_id":"1350993526","filename":"file1"},{"photo_id":"1350993506","filename":"file0"},{"photo_id":"1350993545","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350993602":["hashtag1","hashtag2"]},{"1350993545":["hashtag1","hashtag2"]},{"1350993506":["hashtag1","hashtag2"]},{"1350993568":["hashtag1","hashtag2"]},{"1350993526":["hashtag1","hashtag2"]},{"1350993529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350993602, 1350993545, 1350993506, 1350993568, 1350993526, 1350993529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14169788360596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:42:32.173243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_44_10357.jpg', '/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_55_10423.jpg', '/home/pi/Desktop/images/06042025/13/46/image_06042025_13_47_04_9345.jpg', '/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_15_10333.jpg', '/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_24_9380.jpg', '/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_34_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_44_10357.jpg
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_46_55_10423.jpg
/home/pi/Desktop/images/06042025/13/46/image_06042025_13_47_04_9345.jpg
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_15_10333.jpg
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_24_9380.jpg
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_34_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350993710","1350993704","1350993707","1350993753","1350993702","1350993788"],"photo_ids_order":["1350993702","1350993704","1350993707","1350993710","1350993753","1350993788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ff9c010287232d20e0f091e37263bff.jpg","text":"TemporaryFile(/tmp/multipartBody1596579523084599759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_47_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c7665488963bcde3de4c08d12269f48.jpg","text":"TemporaryFile(/tmp/multipartBody1535468677213690004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_46_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b39f34a4e89c129aa9a911ef75852fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6087297222245685626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_47_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97aed6ce22a7c73cd2e97a2f8ed066da.jpg","text":"TemporaryFile(/tmp/multipartBody8265720755859342576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_47_24_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d57d9c6670499d8d65748bf468771a0.jpg","text":"TemporaryFile(/tmp/multipartBody7899868029245447093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_46_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3315bfcc61fc86abd54d313a441de2b.jpg","text":"TemporaryFile(/tmp/multipartBody2539685751894493342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245813963,"filename":"image_06042025_13_47_34_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350993707","file1":"1350993704","file0":"1350993702","file4":"1350993753","file5":"1350993788","file3":"1350993710"},"map_files_photo_id_array":[{"photo_id":"1350993788","filename":"file5"},{"photo_id":"1350993707","filename":"file2"},{"photo_id":"1350993753","filename":"file4"},{"photo_id":"1350993704","filename":"file1"},{"photo_id":"1350993702","filename":"file0"},{"photo_id":"1350993710","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350993710":["hashtag1","hashtag2"]},{"1350993704":["hashtag1","hashtag2"]},{"1350993707":["hashtag1","hashtag2"]},{"1350993753":["hashtag1","hashtag2"]},{"1350993702":["hashtag1","hashtag2"]},{"1350993788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350993710, 1350993704, 1350993707, 1350993753, 1350993702, 1350993788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.401999950408936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:43:32.379001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_45_10362.jpg', '/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_54_9422.jpg', '/home/pi/Desktop/images/06042025/13/47/image_06042025_13_48_05_10437.jpg', '/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_15_10403.jpg', '/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_24_9366.jpg', '/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_35_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_45_10362.jpg
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_47_54_9422.jpg
/home/pi/Desktop/images/06042025/13/47/image_06042025_13_48_05_10437.jpg
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_15_10403.jpg
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_24_9366.jpg
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_35_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350994027","1350993859","1350993974","1350993896","1350994052","1350993839"],"photo_ids_order":["1350993839","1350993859","1350993896","1350993974","1350994027","1350994052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab2d0b30f9159c2e3a5522fb5be1db27.jpg","text":"TemporaryFile(/tmp/multipartBody1548342463903624550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_48_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e4ed6ddc88559528a317fb7eb774b17.jpg","text":"TemporaryFile(/tmp/multipartBody5526572671887869469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_47_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0ef4c06c1beaca2ebcb934f72e485d2.jpg","text":"TemporaryFile(/tmp/multipartBody158795811655474789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_48_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7cb3504a258a8b47afb7f4a024a685f.jpg","text":"TemporaryFile(/tmp/multipartBody3528027634119632724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_48_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e0c2e72e5131b0d784008f619e088d7.jpg","text":"TemporaryFile(/tmp/multipartBody7704317130132229402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_48_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42f8aeb758809404199d6faf44fcf705.jpg","text":"TemporaryFile(/tmp/multipartBody7251883449407802380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245874165,"filename":"image_06042025_13_47_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350993896","file1":"1350993859","file0":"1350993839","file4":"1350994027","file5":"1350994052","file3":"1350993974"},"map_files_photo_id_array":[{"photo_id":"1350994052","filename":"file5"},{"photo_id":"1350993896","filename":"file2"},{"photo_id":"1350994027","filename":"file4"},{"photo_id":"1350993859","filename":"file1"},{"photo_id":"1350993839","filename":"file0"},{"photo_id":"1350993974","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350994027":["hashtag1","hashtag2"]},{"1350993859":["hashtag1","hashtag2"]},{"1350993974":["hashtag1","hashtag2"]},{"1350993896":["hashtag1","hashtag2"]},{"1350994052":["hashtag1","hashtag2"]},{"1350993839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350994027, 1350993859, 1350993974, 1350993896, 1350994052, 1350993839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55798697471619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:44:32.538353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_44_9411.jpg', '/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_54_10346.jpg', '/home/pi/Desktop/images/06042025/13/48/image_06042025_13_49_05_10419.jpg', '/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_14_9343.jpg', '/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_25_10376.jpg', '/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_34_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_44_9411.jpg
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_48_54_10346.jpg
/home/pi/Desktop/images/06042025/13/48/image_06042025_13_49_05_10419.jpg
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_14_9343.jpg
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_25_10376.jpg
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_34_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350994279","1350994299","1350994287","1350994292","1350994295","1350994289"],"photo_ids_order":["1350994279","1350994287","1350994289","1350994292","1350994295","1350994299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a2e8a76bea3937bec7669781534d1d4.jpg","text":"TemporaryFile(/tmp/multipartBody741832763884967378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_48_44_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1fb00196077daf8eb47514016db4d75.jpg","text":"TemporaryFile(/tmp/multipartBody386492196750061407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_49_34_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecfe1b52652405cc566562dcd5953358.jpg","text":"TemporaryFile(/tmp/multipartBody3100838376432621232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_48_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad5e8907a286510697ae2766bb14eed3.jpg","text":"TemporaryFile(/tmp/multipartBody6021437725661821038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_49_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d8f686c95346e84587fa8e6e7123a40.jpg","text":"TemporaryFile(/tmp/multipartBody6986517735097579159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_49_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5840323c167e912a5a0e86d05265dd55.jpg","text":"TemporaryFile(/tmp/multipartBody2394253346170261193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245934305,"filename":"image_06042025_13_49_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350994289","file1":"1350994287","file0":"1350994279","file4":"1350994295","file5":"1350994299","file3":"1350994292"},"map_files_photo_id_array":[{"photo_id":"1350994299","filename":"file5"},{"photo_id":"1350994289","filename":"file2"},{"photo_id":"1350994295","filename":"file4"},{"photo_id":"1350994287","filename":"file1"},{"photo_id":"1350994279","filename":"file0"},{"photo_id":"1350994292","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350994279":["hashtag1","hashtag2"]},{"1350994299":["hashtag1","hashtag2"]},{"1350994287":["hashtag1","hashtag2"]},{"1350994292":["hashtag1","hashtag2"]},{"1350994295":["hashtag1","hashtag2"]},{"1350994289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350994279, 1350994299, 1350994287, 1350994292, 1350994295, 1350994289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.004884004592896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:45:32.768248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_44_10405.jpg', '/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_55_10373.jpg', '/home/pi/Desktop/images/06042025/13/49/image_06042025_13_50_04_9349.jpg', '/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_14_10350.jpg', '/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_25_10406.jpg', '/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_34_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_44_10405.jpg
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_49_55_10373.jpg
/home/pi/Desktop/images/06042025/13/49/image_06042025_13_50_04_9349.jpg
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_14_10350.jpg
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_25_10406.jpg
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_34_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350994363","1350994351","1350994501","1350994377","1350994401","1350994370"],"photo_ids_order":["1350994351","1350994363","1350994370","1350994377","1350994401","1350994501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e81614a9b4a24241d378fa2cd4e53e48.jpg","text":"TemporaryFile(/tmp/multipartBody7716109383439940250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_49_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0475ac5149250048dc1f3bc413fd25a.jpg","text":"TemporaryFile(/tmp/multipartBody8440343717129505054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_49_44_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76e6ffdd83d1b7a1960f1d29b49e98d7.jpg","text":"TemporaryFile(/tmp/multipartBody3821622560219817222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_50_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a2b41966e455a5459945e5e9996f70f.jpg","text":"TemporaryFile(/tmp/multipartBody5201149042581062298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_50_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0336c143ddba2d4af065a61f4c573b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2040278119807646976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_50_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/503726fc36e997f746acf4e8bdd7e63e.jpg","text":"TemporaryFile(/tmp/multipartBody3900376127572705515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744245994537,"filename":"image_06042025_13_50_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350994370","file1":"1350994363","file0":"1350994351","file4":"1350994401","file5":"1350994501","file3":"1350994377"},"map_files_photo_id_array":[{"photo_id":"1350994501","filename":"file5"},{"photo_id":"1350994370","filename":"file2"},{"photo_id":"1350994401","filename":"file4"},{"photo_id":"1350994363","filename":"file1"},{"photo_id":"1350994351","filename":"file0"},{"photo_id":"1350994377","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350994363":["hashtag1","hashtag2"]},{"1350994351":["hashtag1","hashtag2"]},{"1350994501":["hashtag1","hashtag2"]},{"1350994377":["hashtag1","hashtag2"]},{"1350994401":["hashtag1","hashtag2"]},{"1350994370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350994363, 1350994351, 1350994501, 1350994377, 1350994401, 1350994370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.232763051986694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:46:33.048510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_45_10381.jpg', '/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_54_9436.jpg', '/home/pi/Desktop/images/06042025/13/50/image_06042025_13_51_04_10350.jpg', '/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_24_9362.jpg', '/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_35_10406.jpg', '/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_44_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_45_10381.jpg
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_50_54_9436.jpg
/home/pi/Desktop/images/06042025/13/50/image_06042025_13_51_04_10350.jpg
/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_24_9362.jpg
/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_35_10406.jpg
/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_44_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350994627","1350994653","1350994749","1350994713","1350994691","1350994655"],"photo_ids_order":["1350994627","1350994653","1350994655","1350994691","1350994713","1350994749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e76dfe4aace4b10ccab922cfd122a72.jpg","text":"TemporaryFile(/tmp/multipartBody7914440686510315075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_50_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62366ead2421b374a9ddd73a6b0e5eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7660524888039408536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_50_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bb0765a66d461ed61abb95aad7dfb49.jpg","text":"TemporaryFile(/tmp/multipartBody668714256200120494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_51_44_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/316c773e23058b4a9c78f86a47f8ff26.jpg","text":"TemporaryFile(/tmp/multipartBody4760417750494900799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_51_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7939ab072c17b0953d7bfa87901be9c5.jpg","text":"TemporaryFile(/tmp/multipartBody9154800139256271339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_51_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3cd880c6e9b8c9a5a8e065ef764ba61.jpg","text":"TemporaryFile(/tmp/multipartBody8039112776864149889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246054844,"filename":"image_06042025_13_51_04_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350994655","file1":"1350994653","file0":"1350994627","file4":"1350994713","file5":"1350994749","file3":"1350994691"},"map_files_photo_id_array":[{"photo_id":"1350994749","filename":"file5"},{"photo_id":"1350994655","filename":"file2"},{"photo_id":"1350994713","filename":"file4"},{"photo_id":"1350994653","filename":"file1"},{"photo_id":"1350994627","filename":"file0"},{"photo_id":"1350994691","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350994627":["hashtag1","hashtag2"]},{"1350994653":["hashtag1","hashtag2"]},{"1350994749":["hashtag1","hashtag2"]},{"1350994713":["hashtag1","hashtag2"]},{"1350994691":["hashtag1","hashtag2"]},{"1350994655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350994627, 1350994653, 1350994749, 1350994713, 1350994691, 1350994655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99540877342224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:47:32.339319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_54_10371.jpg', '/home/pi/Desktop/images/06042025/13/51/image_06042025_13_52_05_10365.jpg', '/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_14_9386.jpg', '/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_25_10345.jpg', '/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_34_9460.jpg', '/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_44_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/51/image_06042025_13_51_54_10371.jpg
/home/pi/Desktop/images/06042025/13/51/image_06042025_13_52_05_10365.jpg
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_14_9386.jpg
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_25_10345.jpg
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_34_9460.jpg
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_44_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350995184","1350995101","1350995057","1350995144","1350995207","1350995242"],"photo_ids_order":["1350995057","1350995101","1350995144","1350995184","1350995207","1350995242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446cb22acc2185ebe86e9a05d813b8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8570021755719821775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_52_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8444e0af42d79e77760864e9c9e11b2.jpg","text":"TemporaryFile(/tmp/multipartBody2346855428268186847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_52_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a65accf15f76cd5fbac27b22a0678cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7688090752828078308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_51_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f065df5efd77a32b0586f92ff06bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody2191380534933997083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_52_14_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c11fcdda67c50440b7d0970f80b72115.jpg","text":"TemporaryFile(/tmp/multipartBody3015546681468275388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_52_34_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8a5f239c35989a1344e2730ca6651af.jpg","text":"TemporaryFile(/tmp/multipartBody2410318161864598915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246114123,"filename":"image_06042025_13_52_44_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350995144","file1":"1350995101","file0":"1350995057","file4":"1350995207","file5":"1350995242","file3":"1350995184"},"map_files_photo_id_array":[{"photo_id":"1350995242","filename":"file5"},{"photo_id":"1350995144","filename":"file2"},{"photo_id":"1350995207","filename":"file4"},{"photo_id":"1350995101","filename":"file1"},{"photo_id":"1350995057","filename":"file0"},{"photo_id":"1350995184","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350995184":["hashtag1","hashtag2"]},{"1350995101":["hashtag1","hashtag2"]},{"1350995057":["hashtag1","hashtag2"]},{"1350995144":["hashtag1","hashtag2"]},{"1350995207":["hashtag1","hashtag2"]},{"1350995242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350995184, 1350995101, 1350995057, 1350995144, 1350995207, 1350995242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.156511068344116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:48:32.642486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_55_10352.jpg', '/home/pi/Desktop/images/06042025/13/52/image_06042025_13_53_04_9454.jpg', '/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_15_10441.jpg', '/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_24_9352.jpg', '/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_34_10417.jpg', '/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_52_55_10352.jpg
/home/pi/Desktop/images/06042025/13/52/image_06042025_13_53_04_9454.jpg
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_15_10441.jpg
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_24_9352.jpg
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_34_10417.jpg
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350995710","1350995637","1350995687","1350995698","1350995644","1350995713"],"photo_ids_order":["1350995637","1350995644","1350995687","1350995698","1350995710","1350995713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5feb2479090f0d77ff9e38e5ebe0bc86.jpg","text":"TemporaryFile(/tmp/multipartBody280743502676912228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_53_34_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0508022110e55d4a7008c481ed3ad982.jpg","text":"TemporaryFile(/tmp/multipartBody1323823849184782971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_52_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5148e25040b5f81b0b6d021c19b58785.jpg","text":"TemporaryFile(/tmp/multipartBody7513621516378397668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_53_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5458ef3a9ac38656d7f2c11b2fd6c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7355057164279916355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_53_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/930636409978305cd8e0f6de8036d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody7980231324956794774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_53_04_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d3e33c4189e28b77d764873baab0aeb.jpg","text":"TemporaryFile(/tmp/multipartBody7624321634234539783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246174424,"filename":"image_06042025_13_53_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350995687","file1":"1350995644","file0":"1350995637","file4":"1350995710","file5":"1350995713","file3":"1350995698"},"map_files_photo_id_array":[{"photo_id":"1350995713","filename":"file5"},{"photo_id":"1350995687","filename":"file2"},{"photo_id":"1350995710","filename":"file4"},{"photo_id":"1350995644","filename":"file1"},{"photo_id":"1350995637","filename":"file0"},{"photo_id":"1350995698","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350995710":["hashtag1","hashtag2"]},{"1350995637":["hashtag1","hashtag2"]},{"1350995687":["hashtag1","hashtag2"]},{"1350995698":["hashtag1","hashtag2"]},{"1350995644":["hashtag1","hashtag2"]},{"1350995713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350995710, 1350995637, 1350995687, 1350995698, 1350995644, 1350995713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.277323722839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:49:32.600974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_54_9471.jpg', '/home/pi/Desktop/images/06042025/13/53/image_06042025_13_54_05_10378.jpg', '/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_24_10338.jpg', '/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_35_10443.jpg', '/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_44_9336.jpg', '/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_54_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_53_54_9471.jpg
/home/pi/Desktop/images/06042025/13/53/image_06042025_13_54_05_10378.jpg
/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_24_10338.jpg
/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_35_10443.jpg
/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_44_9336.jpg
/home/pi/Desktop/images/06042025/13/54/image_06042025_13_54_54_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350995929","1350995891","1350995852","1350995903","1350995881","1350995926"],"photo_ids_order":["1350995852","1350995881","1350995891","1350995903","1350995926","1350995929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcb32a8b9a9961558aee1cf38799dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody8994179540697799196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_54_54_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f11905fab02d03e922e876f258dfe73.jpg","text":"TemporaryFile(/tmp/multipartBody7300496818574659510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_54_24_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2db5157dbe7f13a49c28d7f96221a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1365392510896297107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_53_54_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b15f5654896bf06a0db4f2230d079349.jpg","text":"TemporaryFile(/tmp/multipartBody211294958175866273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_54_35_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa8327442e327fef53cdfe8820dcd026.jpg","text":"TemporaryFile(/tmp/multipartBody6167847231550557134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_54_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4c38e6f0c08cca8d7f6d1062d780b9f.jpg","text":"TemporaryFile(/tmp/multipartBody9092372788043197533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246234653,"filename":"image_06042025_13_54_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350995891","file1":"1350995881","file0":"1350995852","file4":"1350995926","file5":"1350995929","file3":"1350995903"},"map_files_photo_id_array":[{"photo_id":"1350995929","filename":"file5"},{"photo_id":"1350995891","filename":"file2"},{"photo_id":"1350995926","filename":"file4"},{"photo_id":"1350995881","filename":"file1"},{"photo_id":"1350995852","filename":"file0"},{"photo_id":"1350995903","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350995929":["hashtag1","hashtag2"]},{"1350995891":["hashtag1","hashtag2"]},{"1350995852":["hashtag1","hashtag2"]},{"1350995903":["hashtag1","hashtag2"]},{"1350995881":["hashtag1","hashtag2"]},{"1350995926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350995929, 1350995891, 1350995852, 1350995903, 1350995881, 1350995926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39649772644043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:50:32.896816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/54/image_06042025_13_55_05_10390.jpg', '/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_14_9363.jpg', '/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_25_10376.jpg', '/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_34_9462.jpg', '/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_44_10426.jpg', '/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_54_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/54/image_06042025_13_55_05_10390.jpg
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_14_9363.jpg
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_25_10376.jpg
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_34_9462.jpg
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_44_10426.jpg
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_55_54_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350995997","1350995993","1350996047","1350996026","1350996076","1350996103"],"photo_ids_order":["1350995993","1350995997","1350996026","1350996047","1350996076","1350996103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1c774c97597a391d0bf1bca5e6a0257.jpg","text":"TemporaryFile(/tmp/multipartBody7599640107926079556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eaaed364472ee827424013688cd045ba.jpg","text":"TemporaryFile(/tmp/multipartBody6954316128795030464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00e40d6d3b339e35a2fe3d1e0b6efb4f.jpg","text":"TemporaryFile(/tmp/multipartBody4783661943114132451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_34_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7943d55892edc4b1ec20b854f8c0bb51.jpg","text":"TemporaryFile(/tmp/multipartBody3588260594936605280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9425a3d7b3af967ebfcf5fdb3f6d948.jpg","text":"TemporaryFile(/tmp/multipartBody4745427178832460590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_44_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e29cdc730cf23a2a0e175bc52a8f7e95.jpg","text":"TemporaryFile(/tmp/multipartBody6265995280248045915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246294685,"filename":"image_06042025_13_55_54_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996026","file1":"1350995997","file0":"1350995993","file4":"1350996076","file5":"1350996103","file3":"1350996047"},"map_files_photo_id_array":[{"photo_id":"1350996103","filename":"file5"},{"photo_id":"1350996026","filename":"file2"},{"photo_id":"1350996076","filename":"file4"},{"photo_id":"1350995997","filename":"file1"},{"photo_id":"1350995993","filename":"file0"},{"photo_id":"1350996047","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350995997":["hashtag1","hashtag2"]},{"1350995993":["hashtag1","hashtag2"]},{"1350996047":["hashtag1","hashtag2"]},{"1350996026":["hashtag1","hashtag2"]},{"1350996076":["hashtag1","hashtag2"]},{"1350996103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350995997, 1350995993, 1350996047, 1350996026, 1350996076, 1350996103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43524885177612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:51:33.147372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/55/image_06042025_13_56_04_10357.jpg', '/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_15_10355.jpg', '/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_24_9338.jpg', '/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_34_10386.jpg', '/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_45_10361.jpg', '/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_54_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/55/image_06042025_13_56_04_10357.jpg
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_15_10355.jpg
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_24_9338.jpg
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_34_10386.jpg
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_45_10361.jpg
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_56_54_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350996330","1350996255","1350996309","1350996286","1350996262","1350996250"],"photo_ids_order":["1350996250","1350996255","1350996262","1350996286","1350996309","1350996330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b459088b7955eb6522683dcd0e319dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7697722106807205362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_54_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/715280012a7f7ad10b393acf9b0e626d.jpg","text":"TemporaryFile(/tmp/multipartBody4330714894300676278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/059e16b45d9625ff3b37a3093c8d101f.jpg","text":"TemporaryFile(/tmp/multipartBody3396854875168140574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0aa656b15dacd655d10aa89440d856e.jpg","text":"TemporaryFile(/tmp/multipartBody2663127293143699679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_34_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f37caa5b2c6f1fb92bf65e0dfa0c4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5746876312787655417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a91c4ae59638ba28143ba208a6807988.jpg","text":"TemporaryFile(/tmp/multipartBody5952265570822711073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246354927,"filename":"image_06042025_13_56_04_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996262","file1":"1350996255","file0":"1350996250","file4":"1350996309","file5":"1350996330","file3":"1350996286"},"map_files_photo_id_array":[{"photo_id":"1350996330","filename":"file5"},{"photo_id":"1350996262","filename":"file2"},{"photo_id":"1350996309","filename":"file4"},{"photo_id":"1350996255","filename":"file1"},{"photo_id":"1350996250","filename":"file0"},{"photo_id":"1350996286","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350996330":["hashtag1","hashtag2"]},{"1350996255":["hashtag1","hashtag2"]},{"1350996309":["hashtag1","hashtag2"]},{"1350996286":["hashtag1","hashtag2"]},{"1350996262":["hashtag1","hashtag2"]},{"1350996250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350996330, 1350996255, 1350996309, 1350996286, 1350996262, 1350996250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6154887676239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:52:32.314540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/56/image_06042025_13_57_05_10375.jpg', '/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_14_9454.jpg', '/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_24_10369.jpg', '/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_35_10479.jpg', '/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_44_9356.jpg', '/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/56/image_06042025_13_57_05_10375.jpg
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_14_9454.jpg
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_24_10369.jpg
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_35_10479.jpg
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_44_9356.jpg
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_57_55_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350996465","1350996450","1350996482","1350996386","1350996383","1350996458"],"photo_ids_order":["1350996383","1350996386","1350996450","1350996458","1350996465","1350996482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7236b3f10868b82dc17ca45b43a4036.jpg","text":"TemporaryFile(/tmp/multipartBody4251584262945018518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8ae6943baa9dfacb964a0aa29495319.jpg","text":"TemporaryFile(/tmp/multipartBody4076050096281398314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_24_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97fe5414ec6726f6497bcb49fa91c34c.jpg","text":"TemporaryFile(/tmp/multipartBody5210225608465511489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/563ad2ce039bf8a0a306adb65ec1a491.jpg","text":"TemporaryFile(/tmp/multipartBody2172956890752251875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_14_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e22fb1daa2af66307fa17eea92f33aa.jpg","text":"TemporaryFile(/tmp/multipartBody3850000845084863869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bb150ea0a4560b88529183887e087fa.jpg","text":"TemporaryFile(/tmp/multipartBody5876569365418944716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246414081,"filename":"image_06042025_13_57_35_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996450","file1":"1350996386","file0":"1350996383","file4":"1350996465","file5":"1350996482","file3":"1350996458"},"map_files_photo_id_array":[{"photo_id":"1350996482","filename":"file5"},{"photo_id":"1350996450","filename":"file2"},{"photo_id":"1350996465","filename":"file4"},{"photo_id":"1350996386","filename":"file1"},{"photo_id":"1350996383","filename":"file0"},{"photo_id":"1350996458","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350996465":["hashtag1","hashtag2"]},{"1350996450":["hashtag1","hashtag2"]},{"1350996482":["hashtag1","hashtag2"]},{"1350996386":["hashtag1","hashtag2"]},{"1350996383":["hashtag1","hashtag2"]},{"1350996458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350996465, 1350996450, 1350996482, 1350996386, 1350996383, 1350996458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.297271490097046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:53:32.412892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/57/image_06042025_13_58_04_9358.jpg', '/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_14_10351.jpg', '/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_25_10372.jpg', '/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_34_9382.jpg', '/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_45_10377.jpg', '/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_14_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/57/image_06042025_13_58_04_9358.jpg
/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_14_10351.jpg
/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_25_10372.jpg
/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_34_9382.jpg
/home/pi/Desktop/images/06042025/13/58/image_06042025_13_58_45_10377.jpg
/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_14_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350996558","1350996606","1350996583","1350996544","1350996538","1350996541"],"photo_ids_order":["1350996538","1350996541","1350996544","1350996558","1350996583","1350996606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2375c38ae15565dfd36ab88c79d66c8.jpg","text":"TemporaryFile(/tmp/multipartBody12538891460789069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_58_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a24071fd29762aaf151f00def42eafdc.jpg","text":"TemporaryFile(/tmp/multipartBody7339980302870476788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_59_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e45c0756a0bca8bb29e64e683e11abc.jpg","text":"TemporaryFile(/tmp/multipartBody7847164235894833517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_58_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/735e32034a050082b3aec93bf0295c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2865047231188066362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_58_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e16ccf656eca762ed1f9c4232ef19513.jpg","text":"TemporaryFile(/tmp/multipartBody7450209410808988508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_58_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15c2debf3c49f7ec2d71d9efab575a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6443157361365335925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246474191,"filename":"image_06042025_13_58_14_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996544","file1":"1350996541","file0":"1350996538","file4":"1350996583","file5":"1350996606","file3":"1350996558"},"map_files_photo_id_array":[{"photo_id":"1350996606","filename":"file5"},{"photo_id":"1350996544","filename":"file2"},{"photo_id":"1350996583","filename":"file4"},{"photo_id":"1350996541","filename":"file1"},{"photo_id":"1350996538","filename":"file0"},{"photo_id":"1350996558","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350996558":["hashtag1","hashtag2"]},{"1350996606":["hashtag1","hashtag2"]},{"1350996583":["hashtag1","hashtag2"]},{"1350996544":["hashtag1","hashtag2"]},{"1350996538":["hashtag1","hashtag2"]},{"1350996541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350996558, 1350996606, 1350996583, 1350996544, 1350996538, 1350996541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96189737319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:54:32.644692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_24_9483.jpg', '/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_34_10366.jpg', '/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_45_10409.jpg', '/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_54_9426.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_15_10076.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_25_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_24_9483.jpg
/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_34_10366.jpg
/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_45_10409.jpg
/home/pi/Desktop/images/06042025/13/59/image_06042025_13_59_54_9426.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_15_10076.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_25_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350996732","1350996729","1350996723","1350996705","1350996652","1350996678"],"photo_ids_order":["1350996652","1350996678","1350996705","1350996723","1350996729","1350996732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d07fb20d7e0853c6fe87349a93cde11b.jpg","text":"TemporaryFile(/tmp/multipartBody7802581734266898585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_14_01_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5586f186e913696f23cefd7109a7c4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5531597812123466649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_14_01_15_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb0fb327b712a3cc394c48c8a1f2866e.jpg","text":"TemporaryFile(/tmp/multipartBody5859887889564209082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_13_59_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bed0ac8d226d25dba456aa2ed131b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1676951532666092272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_13_59_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/feeb3824d24efbfb6f7a989718caf869.jpg","text":"TemporaryFile(/tmp/multipartBody8311773257133468319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_13_59_24_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a65859fd8d2f2b7377c61d982967dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8048530386410073668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246534430,"filename":"image_06042025_13_59_34_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996705","file1":"1350996678","file0":"1350996652","file4":"1350996729","file5":"1350996732","file3":"1350996723"},"map_files_photo_id_array":[{"photo_id":"1350996732","filename":"file5"},{"photo_id":"1350996705","filename":"file2"},{"photo_id":"1350996729","filename":"file4"},{"photo_id":"1350996678","filename":"file1"},{"photo_id":"1350996652","filename":"file0"},{"photo_id":"1350996723","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350996732":["hashtag1","hashtag2"]},{"1350996729":["hashtag1","hashtag2"]},{"1350996723":["hashtag1","hashtag2"]},{"1350996705":["hashtag1","hashtag2"]},{"1350996652":["hashtag1","hashtag2"]},{"1350996678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350996732, 1350996729, 1350996723, 1350996705, 1350996652, 1350996678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78738498687744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:55:32.842998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_36_10361.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_45_9457.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_55_10342.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_02_05_9405.jpg', '/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_26_10344.jpg', '/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_35_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_36_10361.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_45_9457.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_55_10342.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_02_05_9405.jpg
/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_26_10344.jpg
/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_35_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350996890","1350996857","1350996848","1350996821","1350996793","1350996885"],"photo_ids_order":["1350996793","1350996821","1350996848","1350996857","1350996885","1350996890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba922a1a6e91d970355e67e43968fd00.jpg","text":"TemporaryFile(/tmp/multipartBody8600065736768425593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_02_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cbcb9d08407d9e3be553adab1dd99e3.jpg","text":"TemporaryFile(/tmp/multipartBody5728463297629771513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_02_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5652188e4a8873c3b82a050b368aebf4.jpg","text":"TemporaryFile(/tmp/multipartBody7033129331866219045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_01_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d12354ee37de66d0c1dd397b316f1b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6031240373759814890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_01_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e25d9825c7b9d228b096386893a16fc.jpg","text":"TemporaryFile(/tmp/multipartBody4062187288669954364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_01_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae57d9bb46b043b4c2770aad6935aef2.jpg","text":"TemporaryFile(/tmp/multipartBody3231593681257749136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246594620,"filename":"image_06042025_14_02_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350996848","file1":"1350996821","file0":"1350996793","file4":"1350996885","file5":"1350996890","file3":"1350996857"},"map_files_photo_id_array":[{"photo_id":"1350996890","filename":"file5"},{"photo_id":"1350996848","filename":"file2"},{"photo_id":"1350996885","filename":"file4"},{"photo_id":"1350996821","filename":"file1"},{"photo_id":"1350996793","filename":"file0"},{"photo_id":"1350996857","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350996890":["hashtag1","hashtag2"]},{"1350996857":["hashtag1","hashtag2"]},{"1350996848":["hashtag1","hashtag2"]},{"1350996821":["hashtag1","hashtag2"]},{"1350996793":["hashtag1","hashtag2"]},{"1350996885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350996890, 1350996857, 1350996848, 1350996821, 1350996793, 1350996885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39729952812195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:56:33.081779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_45_10381.jpg', '/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_56_10380.jpg', '/home/pi/Desktop/images/06042025/14/02/image_06042025_14_03_05_9421.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_16_10427.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_25_9348.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_45_10381.jpg
/home/pi/Desktop/images/06042025/14/02/image_06042025_14_02_56_10380.jpg
/home/pi/Desktop/images/06042025/14/02/image_06042025_14_03_05_9421.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_16_10427.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_25_9348.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350997014","1350997034","1350996971","1350997042","1350996993","1350997032"],"photo_ids_order":["1350996971","1350996993","1350997014","1350997032","1350997034","1350997042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/910fbf92a56d4953e98a390a98ab1132.jpg","text":"TemporaryFile(/tmp/multipartBody9124673735917484633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_03_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a9fdff85d83b69ce3a8f9f0858f7846.jpg","text":"TemporaryFile(/tmp/multipartBody8512657872251853343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_03_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dee63d2ac8ad2608075edafe2134b802.jpg","text":"TemporaryFile(/tmp/multipartBody316929537769313550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_02_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7dc5cc7c64f44e7ce1d668643d06b11.jpg","text":"TemporaryFile(/tmp/multipartBody1746439144984614694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_03_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9407a94b2de01d05bbdc44301bc411eb.jpg","text":"TemporaryFile(/tmp/multipartBody6232188234902231000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_02_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b335cb8a1409ff8e1ea13c233bab137.jpg","text":"TemporaryFile(/tmp/multipartBody5211615259050805253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246654870,"filename":"image_06042025_14_03_16_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350997014","file1":"1350996993","file0":"1350996971","file4":"1350997034","file5":"1350997042","file3":"1350997032"},"map_files_photo_id_array":[{"photo_id":"1350997042","filename":"file5"},{"photo_id":"1350997014","filename":"file2"},{"photo_id":"1350997034","filename":"file4"},{"photo_id":"1350996993","filename":"file1"},{"photo_id":"1350996971","filename":"file0"},{"photo_id":"1350997032","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350997014":["hashtag1","hashtag2"]},{"1350997034":["hashtag1","hashtag2"]},{"1350996971":["hashtag1","hashtag2"]},{"1350997042":["hashtag1","hashtag2"]},{"1350996993":["hashtag1","hashtag2"]},{"1350997032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350997014, 1350997034, 1350996971, 1350997042, 1350996993, 1350997032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76221966743469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 02:57:32.325831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_46_10353.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_55_9423.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_04_05_10339.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_16_10352.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_25_9440.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_36_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_46_10353.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_55_9423.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_04_05_10339.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_16_10352.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_25_9440.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_36_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 02:59:03.526734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_46_10353.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_55_9423.jpg', '/home/pi/Desktop/images/06042025/14/03/image_06042025_14_04_05_10339.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_16_10352.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_25_9440.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_36_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_46_10353.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_03_55_9423.jpg
/home/pi/Desktop/images/06042025/14/03/image_06042025_14_04_05_10339.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_16_10352.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_25_9440.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_36_10380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350997496","1350997559","1350997511","1350997523","1350997581","1350997501"],"photo_ids_order":["1350997496","1350997501","1350997511","1350997523","1350997559","1350997581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6435dd2485d957def8909344819bd7d9.jpg","text":"TemporaryFile(/tmp/multipartBody2296327453238818922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_03_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2277f5cf0da9a5f5fca2f275fd98bdad.jpg","text":"TemporaryFile(/tmp/multipartBody6974598688200615275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_04_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f8ce353aac14133c64150ccd30e0b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3904474873858092623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_04_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce7db3b0bbe8f3102f89c727ef355b41.jpg","text":"TemporaryFile(/tmp/multipartBody8486705164389448251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_04_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91c54d754e16b3a12a06cbe17127fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody1016673089365362469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_04_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f825a4235eb942acb570f31b9bf5cb9.jpg","text":"TemporaryFile(/tmp/multipartBody3457521843238133073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246804479,"filename":"image_06042025_14_03_55_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350997511","file1":"1350997501","file0":"1350997496","file4":"1350997559","file5":"1350997581","file3":"1350997523"},"map_files_photo_id_array":[{"photo_id":"1350997581","filename":"file5"},{"photo_id":"1350997511","filename":"file2"},{"photo_id":"1350997559","filename":"file4"},{"photo_id":"1350997501","filename":"file1"},{"photo_id":"1350997496","filename":"file0"},{"photo_id":"1350997523","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350997496":["hashtag1","hashtag2"]},{"1350997559":["hashtag1","hashtag2"]},{"1350997511":["hashtag1","hashtag2"]},{"1350997523":["hashtag1","hashtag2"]},{"1350997581":["hashtag1","hashtag2"]},{"1350997501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350997496, 1350997559, 1350997511, 1350997523, 1350997581, 1350997501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84003949165344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 02:59:42.656232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_45_9462.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_55_10369.jpg', '/home/pi/Desktop/images/06042025/14/04/image_06042025_14_05_05_9421.jpg', '/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_15_10349.jpg', '/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_26_10352.jpg', '/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_35_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_45_9462.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_04_55_10369.jpg
/home/pi/Desktop/images/06042025/14/04/image_06042025_14_05_05_9421.jpg
/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_15_10349.jpg
/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_26_10352.jpg
/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_35_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350997706","1350997615","1350997612","1350997600","1350997656","1350997629"],"photo_ids_order":["1350997600","1350997612","1350997615","1350997629","1350997656","1350997706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/686118ae54ab160fb95e14f739f0949c.jpg","text":"TemporaryFile(/tmp/multipartBody5065040545516348733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_05_35_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/838554a0f1db06caa4fa38c85a195550.jpg","text":"TemporaryFile(/tmp/multipartBody1120374279755777663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_05_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bad4109fb83bb5ac6b819c5e26109a2.jpg","text":"TemporaryFile(/tmp/multipartBody2890992691535210793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_04_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19608f69fcb2130a0c6edc6d62fde99d.jpg","text":"TemporaryFile(/tmp/multipartBody7146666073307575829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_04_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/010ad63a3de3b93dc3451ecf7cc308c6.jpg","text":"TemporaryFile(/tmp/multipartBody7804137196730335626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_05_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8c5ddd724cae091152be380785b790f.jpg","text":"TemporaryFile(/tmp/multipartBody9124735987058668326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246843599,"filename":"image_06042025_14_05_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350997615","file1":"1350997612","file0":"1350997600","file4":"1350997656","file5":"1350997706","file3":"1350997629"},"map_files_photo_id_array":[{"photo_id":"1350997706","filename":"file5"},{"photo_id":"1350997615","filename":"file2"},{"photo_id":"1350997656","filename":"file4"},{"photo_id":"1350997612","filename":"file1"},{"photo_id":"1350997600","filename":"file0"},{"photo_id":"1350997629","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350997706":["hashtag1","hashtag2"]},{"1350997615":["hashtag1","hashtag2"]},{"1350997612":["hashtag1","hashtag2"]},{"1350997600":["hashtag1","hashtag2"]},{"1350997656":["hashtag1","hashtag2"]},{"1350997629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350997706, 1350997615, 1350997612, 1350997600, 1350997656, 1350997629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78945255279541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:00:32.872843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_56_10358.jpg', '/home/pi/Desktop/images/06042025/14/05/image_06042025_14_06_05_9329.jpg', '/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_15_10341.jpg', '/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_26_10368.jpg', '/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_35_9411.jpg', '/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_46_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/05/image_06042025_14_05_56_10358.jpg
/home/pi/Desktop/images/06042025/14/05/image_06042025_14_06_05_9329.jpg
/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_15_10341.jpg
/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_26_10368.jpg
/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_35_9411.jpg
/home/pi/Desktop/images/06042025/14/06/image_06042025_14_06_46_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350998024","1350997975","1350998068","1350997945","1350998046","1350997917"],"photo_ids_order":["1350997917","1350997945","1350997975","1350998024","1350998046","1350998068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c97a46c79f360041a05c679ea3d3ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8836157263912782180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_06_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4651cf52c30573967b0f970e93a0c6dd.jpg","text":"TemporaryFile(/tmp/multipartBody8834252266723903704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_06_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3283c029da5b406436df7d168bb315e.jpg","text":"TemporaryFile(/tmp/multipartBody541541129080234627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_06_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db3a159ad901bc43750244d067a9e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1308202094165944350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_06_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e68ad64f46b3e23d8e2db728c023df1.jpg","text":"TemporaryFile(/tmp/multipartBody1466379705665779429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_06_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca3e348d1080bd62903156576598e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5011198750684751837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246894679,"filename":"image_06042025_14_05_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350997975","file1":"1350997945","file0":"1350997917","file4":"1350998046","file5":"1350998068","file3":"1350998024"},"map_files_photo_id_array":[{"photo_id":"1350998068","filename":"file5"},{"photo_id":"1350997975","filename":"file2"},{"photo_id":"1350998046","filename":"file4"},{"photo_id":"1350997945","filename":"file1"},{"photo_id":"1350997917","filename":"file0"},{"photo_id":"1350998024","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350998024":["hashtag1","hashtag2"]},{"1350997975":["hashtag1","hashtag2"]},{"1350998068":["hashtag1","hashtag2"]},{"1350997945":["hashtag1","hashtag2"]},{"1350998046":["hashtag1","hashtag2"]},{"1350997917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350998024, 1350997975, 1350998068, 1350997945, 1350998046, 1350997917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.94358563423157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:01:33.043659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_15_9463.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_25_10375.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_36_10365.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_45_9430.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_55_10354.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_08_05_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_15_9463.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_25_10375.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_36_10365.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_45_9430.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_55_10354.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_08_05_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350998309","1350998269","1350998317","1350998209","1350998241","1350998288"],"photo_ids_order":["1350998209","1350998241","1350998269","1350998288","1350998309","1350998317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0433b886cf06c3b0e0448d09c2e7ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2206936578294784072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_07_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96c23de873487f2617683337f2c07d5e.jpg","text":"TemporaryFile(/tmp/multipartBody1115078610314626608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_07_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e3077b7cb631d5d4e3b1d8bf1abf9d4.jpg","text":"TemporaryFile(/tmp/multipartBody5210310820530204202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_08_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3688f37345b8d3eb1e98d11cb6d8542e.jpg","text":"TemporaryFile(/tmp/multipartBody1448323579235964835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_07_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/160032a08a99491cf0063368da86e22f.jpg","text":"TemporaryFile(/tmp/multipartBody1391651510897709706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_07_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be107f621b49a380f8c2dd9967a215de.jpg","text":"TemporaryFile(/tmp/multipartBody1819106557782030228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744246954812,"filename":"image_06042025_14_07_45_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350998269","file1":"1350998241","file0":"1350998209","file4":"1350998309","file5":"1350998317","file3":"1350998288"},"map_files_photo_id_array":[{"photo_id":"1350998317","filename":"file5"},{"photo_id":"1350998269","filename":"file2"},{"photo_id":"1350998309","filename":"file4"},{"photo_id":"1350998241","filename":"file1"},{"photo_id":"1350998209","filename":"file0"},{"photo_id":"1350998288","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350998309":["hashtag1","hashtag2"]},{"1350998269":["hashtag1","hashtag2"]},{"1350998317":["hashtag1","hashtag2"]},{"1350998209":["hashtag1","hashtag2"]},{"1350998241":["hashtag1","hashtag2"]},{"1350998288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350998309, 1350998269, 1350998317, 1350998209, 1350998241, 1350998288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51943230628967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:02:32.272611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_15_10343.jpg', '/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_26_10364.jpg', '/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_35_9364.jpg', '/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_45_10339.jpg', '/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_56_10365.jpg', '/home/pi/Desktop/images/06042025/14/08/image_06042025_14_09_05_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_15_10343.jpg
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_26_10364.jpg
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_35_9364.jpg
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_45_10339.jpg
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_08_56_10365.jpg
/home/pi/Desktop/images/06042025/14/08/image_06042025_14_09_05_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350998543","1350998528","1350998513","1350998551","1350998494","1350998559"],"photo_ids_order":["1350998494","1350998513","1350998528","1350998543","1350998551","1350998559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/808fcabf82d982ee3aeeebc5544046e9.jpg","text":"TemporaryFile(/tmp/multipartBody7758529442041588653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_08_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85c212e7402e523d3f66e80c1212c897.jpg","text":"TemporaryFile(/tmp/multipartBody5677222684857406117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_08_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d7782ad0d55c393a319935b531ade7f.jpg","text":"TemporaryFile(/tmp/multipartBody581274991204263638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_08_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83972e06a80d3fa238c4e34990982e47.jpg","text":"TemporaryFile(/tmp/multipartBody4754130202243328480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_08_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d37b0578c9f1364d5c030824b6f65729.jpg","text":"TemporaryFile(/tmp/multipartBody3968849490517480753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_08_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2ef5a50fb596b93ebdfee4184907f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6986417189863649280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247014058,"filename":"image_06042025_14_09_05_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350998528","file1":"1350998513","file0":"1350998494","file4":"1350998551","file5":"1350998559","file3":"1350998543"},"map_files_photo_id_array":[{"photo_id":"1350998559","filename":"file5"},{"photo_id":"1350998528","filename":"file2"},{"photo_id":"1350998551","filename":"file4"},{"photo_id":"1350998513","filename":"file1"},{"photo_id":"1350998494","filename":"file0"},{"photo_id":"1350998543","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350998543":["hashtag1","hashtag2"]},{"1350998528":["hashtag1","hashtag2"]},{"1350998513":["hashtag1","hashtag2"]},{"1350998551":["hashtag1","hashtag2"]},{"1350998494":["hashtag1","hashtag2"]},{"1350998559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350998543, 1350998528, 1350998513, 1350998551, 1350998494, 1350998559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32163667678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:03:32.410956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_15_10350.jpg', '/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_35_9388.jpg', '/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_45_10340.jpg', '/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_55_9455.jpg', '/home/pi/Desktop/images/06042025/14/09/image_06042025_14_10_05_10358.jpg', '/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_25_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_15_10350.jpg
/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_35_9388.jpg
/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_45_10340.jpg
/home/pi/Desktop/images/06042025/14/09/image_06042025_14_09_55_9455.jpg
/home/pi/Desktop/images/06042025/14/09/image_06042025_14_10_05_10358.jpg
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_25_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350998647","1350998629","1350998614","1350998625","1350998693","1350998672"],"photo_ids_order":["1350998614","1350998625","1350998629","1350998647","1350998672","1350998693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31b7d032168f528ded3353f65915ada6.jpg","text":"TemporaryFile(/tmp/multipartBody5439859005425889135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_09_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47dd4301d26f5fb90513f8578103cb89.jpg","text":"TemporaryFile(/tmp/multipartBody92124731105019988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_09_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a693d992c71665f25db6bcc1cafd912b.jpg","text":"TemporaryFile(/tmp/multipartBody6587737915153064651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_09_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4934d0da23cc8482b05d26c41c7a7eac.jpg","text":"TemporaryFile(/tmp/multipartBody4566266979767254513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_09_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d513ccd34614d832e0d2aa1b26cf1297.jpg","text":"TemporaryFile(/tmp/multipartBody8189435574091321546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_10_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc1c65a964f482aeb42692ec6068efa1.jpg","text":"TemporaryFile(/tmp/multipartBody9119361276993299180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247074188,"filename":"image_06042025_14_10_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350998629","file1":"1350998625","file0":"1350998614","file4":"1350998672","file5":"1350998693","file3":"1350998647"},"map_files_photo_id_array":[{"photo_id":"1350998693","filename":"file5"},{"photo_id":"1350998629","filename":"file2"},{"photo_id":"1350998672","filename":"file4"},{"photo_id":"1350998625","filename":"file1"},{"photo_id":"1350998614","filename":"file0"},{"photo_id":"1350998647","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350998647":["hashtag1","hashtag2"]},{"1350998629":["hashtag1","hashtag2"]},{"1350998614":["hashtag1","hashtag2"]},{"1350998625":["hashtag1","hashtag2"]},{"1350998693":["hashtag1","hashtag2"]},{"1350998672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350998647, 1350998629, 1350998614, 1350998625, 1350998693, 1350998672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60418629646301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:04:32.669492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_35_10358.jpg', '/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_45_9397.jpg', '/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_55_10355.jpg', '/home/pi/Desktop/images/06042025/14/10/image_06042025_14_11_06_10437.jpg', '/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_15_9473.jpg', '/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_26_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_35_10358.jpg
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_45_9397.jpg
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_55_10355.jpg
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_11_06_10437.jpg
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_15_9473.jpg
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_26_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350998927","1350998861","1350998855","1350998898","1350998865","1350998975"],"photo_ids_order":["1350998855","1350998861","1350998865","1350998898","1350998927","1350998975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eea84ba81311afde7879b67db76319cd.jpg","text":"TemporaryFile(/tmp/multipartBody8827970035665851582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_11_15_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ca9fc5b3e243272bc5d82eba394418.jpg","text":"TemporaryFile(/tmp/multipartBody433085356660875877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_10_45_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fcefe5a16acddd3c0220554c59caf0e.jpg","text":"TemporaryFile(/tmp/multipartBody431483566836020292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_10_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b574153ceaa45a78216a1e472cb8529f.jpg","text":"TemporaryFile(/tmp/multipartBody3095689794698651652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_11_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8861a1c92582918dff49474ffa280abe.jpg","text":"TemporaryFile(/tmp/multipartBody7547966315505197934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_10_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e39d90239ced6dfa7b0c1684cb8c4de.jpg","text":"TemporaryFile(/tmp/multipartBody278389167928127231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247134452,"filename":"image_06042025_14_11_26_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350998865","file1":"1350998861","file0":"1350998855","file4":"1350998927","file5":"1350998975","file3":"1350998898"},"map_files_photo_id_array":[{"photo_id":"1350998975","filename":"file5"},{"photo_id":"1350998865","filename":"file2"},{"photo_id":"1350998927","filename":"file4"},{"photo_id":"1350998861","filename":"file1"},{"photo_id":"1350998855","filename":"file0"},{"photo_id":"1350998898","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350998927":["hashtag1","hashtag2"]},{"1350998861":["hashtag1","hashtag2"]},{"1350998855":["hashtag1","hashtag2"]},{"1350998898":["hashtag1","hashtag2"]},{"1350998865":["hashtag1","hashtag2"]},{"1350998975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350998927, 1350998861, 1350998855, 1350998898, 1350998865, 1350998975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.16011381149292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:05:32.979955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_35_9410.jpg', '/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_45_10367.jpg', '/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_56_10375.jpg', '/home/pi/Desktop/images/06042025/14/11/image_06042025_14_12_05_9462.jpg', '/home/pi/Desktop/images/06042025/14/12/image_06042025_14_12_46_10348.jpg', '/home/pi/Desktop/images/06042025/14/12/image_06042025_14_12_55_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_35_9410.jpg
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_45_10367.jpg
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_11_56_10375.jpg
/home/pi/Desktop/images/06042025/14/11/image_06042025_14_12_05_9462.jpg
/home/pi/Desktop/images/06042025/14/12/image_06042025_14_12_46_10348.jpg
/home/pi/Desktop/images/06042025/14/12/image_06042025_14_12_55_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350999029","1350999073","1350999033","1350999042","1350999044","1350999053"],"photo_ids_order":["1350999029","1350999033","1350999042","1350999044","1350999053","1350999073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b70fd45546c35ecaa4aade29bbd3a2a.jpg","text":"TemporaryFile(/tmp/multipartBody900839880171441370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_11_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77e98ef26b3c3eed826e6f007b2a559d.jpg","text":"TemporaryFile(/tmp/multipartBody3569412529113778790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_12_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/427335f724e7e334b7cbcb8d27117e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3764217504556809755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_11_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5519c8894f1f5b23389f0e218059f86c.jpg","text":"TemporaryFile(/tmp/multipartBody6095123666481293003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_11_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb38641bdfdb154bf9c2777f71b22427.jpg","text":"TemporaryFile(/tmp/multipartBody7344846458995358870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_12_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2febfd51e4a37916ddd41d203519aed6.jpg","text":"TemporaryFile(/tmp/multipartBody4743559874289726588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247197557,"filename":"image_06042025_14_12_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350999042","file1":"1350999033","file0":"1350999029","file4":"1350999053","file5":"1350999073","file3":"1350999044"},"map_files_photo_id_array":[{"photo_id":"1350999073","filename":"file5"},{"photo_id":"1350999042","filename":"file2"},{"photo_id":"1350999053","filename":"file4"},{"photo_id":"1350999033","filename":"file1"},{"photo_id":"1350999029","filename":"file0"},{"photo_id":"1350999044","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350999029":["hashtag1","hashtag2"]},{"1350999073":["hashtag1","hashtag2"]},{"1350999033":["hashtag1","hashtag2"]},{"1350999042":["hashtag1","hashtag2"]},{"1350999044":["hashtag1","hashtag2"]},{"1350999053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350999029, 1350999073, 1350999033, 1350999042, 1350999044, 1350999053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.762065410614014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:06:33.165304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/12/image_06042025_14_13_05_10340.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_36_10355.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_45_9434.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_55_10370.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_14_06_10353.jpg', '/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_15_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/12/image_06042025_14_13_05_10340.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_36_10355.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_45_9434.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_55_10370.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_14_06_10353.jpg
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_15_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350999126","1350999114","1350999123","1350999143","1350999146","1350999119"],"photo_ids_order":["1350999114","1350999119","1350999123","1350999126","1350999143","1350999146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ebbcd27d7478b565e142d2f4356068b.jpg","text":"TemporaryFile(/tmp/multipartBody7573522531000731051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_13_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9704123ecb6e9a401de29e5ddb62d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody3691244805151260484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_13_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e61b552ad3003b389d3ddb376fd788b.jpg","text":"TemporaryFile(/tmp/multipartBody2128425930652227455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_13_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67cf394fc089c35de2180b1d68cd5d31.jpg","text":"TemporaryFile(/tmp/multipartBody6626293540842649313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_14_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4aaf2a534afa7fddab7fc0c8822d112b.jpg","text":"TemporaryFile(/tmp/multipartBody1951779848691905211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_14_15_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ab1d8f98960d395afe650035e0b4a52.jpg","text":"TemporaryFile(/tmp/multipartBody1064276192084690642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247254945,"filename":"image_06042025_14_13_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350999123","file1":"1350999119","file0":"1350999114","file4":"1350999143","file5":"1350999146","file3":"1350999126"},"map_files_photo_id_array":[{"photo_id":"1350999146","filename":"file5"},{"photo_id":"1350999123","filename":"file2"},{"photo_id":"1350999143","filename":"file4"},{"photo_id":"1350999119","filename":"file1"},{"photo_id":"1350999114","filename":"file0"},{"photo_id":"1350999126","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350999126":["hashtag1","hashtag2"]},{"1350999114":["hashtag1","hashtag2"]},{"1350999123":["hashtag1","hashtag2"]},{"1350999143":["hashtag1","hashtag2"]},{"1350999146":["hashtag1","hashtag2"]},{"1350999119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350999126, 1350999114, 1350999123, 1350999143, 1350999146, 1350999119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24600601196289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:07:32.343084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_35_9361.jpg', '/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_45_10340.jpg', '/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_56_10410.jpg', '/home/pi/Desktop/images/06042025/14/14/image_06042025_14_15_05_9348.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_15_10349.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_25_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_35_9361.jpg
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_45_10340.jpg
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_56_10410.jpg
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_15_05_9348.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_15_10349.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_25_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350999276","1350999279","1350999213","1350999272","1350999248","1350999278"],"photo_ids_order":["1350999213","1350999248","1350999272","1350999276","1350999278","1350999279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/645c516bae3905a7a7037a7d1624f59c.jpg","text":"TemporaryFile(/tmp/multipartBody8409119296512079209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_15_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9263ad066d56e5d7f1fd5fb53b28302.jpg","text":"TemporaryFile(/tmp/multipartBody3052883893376007924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_15_25_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b453f5125deb4906f93e72312c68aa7.jpg","text":"TemporaryFile(/tmp/multipartBody419444409100506634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_14_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3857a49b908a374ade10af0bff45a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody5172282144776149622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_14_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ab54b141ced8e2fa00f728c39e35dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8010794882135867010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_14_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c12f3e50b8e38305b471083d97f715d6.jpg","text":"TemporaryFile(/tmp/multipartBody1860712258580770785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247314145,"filename":"image_06042025_14_15_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350999272","file1":"1350999248","file0":"1350999213","file4":"1350999278","file5":"1350999279","file3":"1350999276"},"map_files_photo_id_array":[{"photo_id":"1350999279","filename":"file5"},{"photo_id":"1350999272","filename":"file2"},{"photo_id":"1350999278","filename":"file4"},{"photo_id":"1350999248","filename":"file1"},{"photo_id":"1350999213","filename":"file0"},{"photo_id":"1350999276","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350999276":["hashtag1","hashtag2"]},{"1350999279":["hashtag1","hashtag2"]},{"1350999213":["hashtag1","hashtag2"]},{"1350999272":["hashtag1","hashtag2"]},{"1350999248":["hashtag1","hashtag2"]},{"1350999278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350999276, 1350999279, 1350999213, 1350999272, 1350999248, 1350999278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.659448862075806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:08:32.659310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_35_10384.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_46_10386.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_55_9463.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_16_06_10400.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_15_9463.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_25_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_35_10384.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_46_10386.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_55_9463.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_16_06_10400.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_15_9463.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_25_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350999425","1350999415","1350999372","1350999378","1350999402","1350999368"],"photo_ids_order":["1350999368","1350999372","1350999378","1350999402","1350999415","1350999425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0751fb2b7c9db661a32104bea6aa51f3.jpg","text":"TemporaryFile(/tmp/multipartBody1846787028625103079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_16_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73726d273aa71a9f4eea31f7e836e946.jpg","text":"TemporaryFile(/tmp/multipartBody6216956893057376467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_16_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5626c144ce2cd02d1d62e5f48874fff.jpg","text":"TemporaryFile(/tmp/multipartBody3004477855020877762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_15_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55107de5e70c6518c5b0c6df53d0e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6660161159750690152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_15_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40a83491e501930d35bc70aecb86f593.jpg","text":"TemporaryFile(/tmp/multipartBody6171166309448578007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_16_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/178256e66760859fc19f2c2b1baf082e.jpg","text":"TemporaryFile(/tmp/multipartBody2454732396069137360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247374456,"filename":"image_06042025_14_15_35_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350999378","file1":"1350999372","file0":"1350999368","file4":"1350999415","file5":"1350999425","file3":"1350999402"},"map_files_photo_id_array":[{"photo_id":"1350999425","filename":"file5"},{"photo_id":"1350999378","filename":"file2"},{"photo_id":"1350999415","filename":"file4"},{"photo_id":"1350999372","filename":"file1"},{"photo_id":"1350999368","filename":"file0"},{"photo_id":"1350999402","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350999425":["hashtag1","hashtag2"]},{"1350999415":["hashtag1","hashtag2"]},{"1350999372":["hashtag1","hashtag2"]},{"1350999378":["hashtag1","hashtag2"]},{"1350999402":["hashtag1","hashtag2"]},{"1350999368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350999425, 1350999415, 1350999372, 1350999378, 1350999402, 1350999368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43405508995056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:09:32.828513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_36_10403.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_45_9423.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_56_10366.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_17_05_9443.jpg', '/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_15_10342.jpg', '/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_36_10403.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_45_9423.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_56_10366.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_17_05_9443.jpg
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_15_10342.jpg
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_26_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350999876","1351000070","1350999972","1350999930","1350999794","1350999845"],"photo_ids_order":["1350999794","1350999845","1350999876","1350999930","1350999972","1351000070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1193513f7cb4f9172d409b000d484ab.jpg","text":"TemporaryFile(/tmp/multipartBody4187322694383917797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_16_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a87d41e841859c13619cf08e9ef9be2.jpg","text":"TemporaryFile(/tmp/multipartBody490106183232977652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_17_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ba2e5951e88dd2c8e2e1b3e93127ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2909726443698590840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_17_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5440e57b55375dc44cb87b4786fbc425.jpg","text":"TemporaryFile(/tmp/multipartBody7741438047434050562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_17_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/add2b4a2796d8859f4490f358b793127.jpg","text":"TemporaryFile(/tmp/multipartBody2263285734125066654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_16_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5637d6ead1bbcbe7ee085785f30a5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2585864054532393445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247434627,"filename":"image_06042025_14_16_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350999876","file1":"1350999845","file0":"1350999794","file4":"1350999972","file5":"1351000070","file3":"1350999930"},"map_files_photo_id_array":[{"photo_id":"1351000070","filename":"file5"},{"photo_id":"1350999876","filename":"file2"},{"photo_id":"1350999972","filename":"file4"},{"photo_id":"1350999845","filename":"file1"},{"photo_id":"1350999794","filename":"file0"},{"photo_id":"1350999930","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350999876":["hashtag1","hashtag2"]},{"1351000070":["hashtag1","hashtag2"]},{"1350999972":["hashtag1","hashtag2"]},{"1350999930":["hashtag1","hashtag2"]},{"1350999794":["hashtag1","hashtag2"]},{"1350999845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350999876, 1351000070, 1350999972, 1350999930, 1350999794, 1350999845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0153226852417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:10:33.156706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_35_9475.jpg', '/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_46_10366.jpg', '/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_55_9481.jpg', '/home/pi/Desktop/images/06042025/14/17/image_06042025_14_18_06_10526.jpg', '/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_15_9447.jpg', '/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_25_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_35_9475.jpg
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_46_10366.jpg
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_55_9481.jpg
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_18_06_10526.jpg
/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_15_9447.jpg
/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_25_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351000266","1351000332","1351000310","1351000313","1351000291","1351000234"],"photo_ids_order":["1351000234","1351000266","1351000291","1351000310","1351000313","1351000332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47235a690c4ccff2d737d04d39a584c3.jpg","text":"TemporaryFile(/tmp/multipartBody7163031297419892796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_17_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bfc35e857bd9219c75c6f219dd232f4.jpg","text":"TemporaryFile(/tmp/multipartBody1177397806450053356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_18_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3130c8be16af893b60b58a22c34c3d51.jpg","text":"TemporaryFile(/tmp/multipartBody7287087557283718870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_18_06_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d0fb943db62de626cb15075a8ade558.jpg","text":"TemporaryFile(/tmp/multipartBody3062120756291847925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_18_15_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/109011f8af274ab9d942d6f79f0affc3.jpg","text":"TemporaryFile(/tmp/multipartBody4876486232356292773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_17_55_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eea60de459f6ddf87ca7f69e106ce808.jpg","text":"TemporaryFile(/tmp/multipartBody8641568411327237283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247494958,"filename":"image_06042025_14_17_35_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351000291","file1":"1351000266","file0":"1351000234","file4":"1351000313","file5":"1351000332","file3":"1351000310"},"map_files_photo_id_array":[{"photo_id":"1351000332","filename":"file5"},{"photo_id":"1351000291","filename":"file2"},{"photo_id":"1351000313","filename":"file4"},{"photo_id":"1351000266","filename":"file1"},{"photo_id":"1351000234","filename":"file0"},{"photo_id":"1351000310","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351000266":["hashtag1","hashtag2"]},{"1351000332":["hashtag1","hashtag2"]},{"1351000310":["hashtag1","hashtag2"]},{"1351000313":["hashtag1","hashtag2"]},{"1351000291":["hashtag1","hashtag2"]},{"1351000234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351000266, 1351000332, 1351000310, 1351000313, 1351000291, 1351000234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45079445838928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:11:32.496958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_36_10428.jpg', '/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_45_9456.jpg', '/home/pi/Desktop/images/06042025/14/18/image_06042025_14_19_05_9370.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_15_10136.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_25_10377.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_35_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_36_10428.jpg
/home/pi/Desktop/images/06042025/14/18/image_06042025_14_18_45_9456.jpg
/home/pi/Desktop/images/06042025/14/18/image_06042025_14_19_05_9370.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_15_10136.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_25_10377.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_35_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351000473","1351000443","1351000509","1351000568","1351000552","1351000540"],"photo_ids_order":["1351000443","1351000473","1351000509","1351000540","1351000552","1351000568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63c7e1456432ea4eb54068623cdd9151.jpg","text":"TemporaryFile(/tmp/multipartBody5612359189254421205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_18_45_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2217923ed344c3ce5f36340a3c7442bb.jpg","text":"TemporaryFile(/tmp/multipartBody4830640093871144676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_18_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28bd7d28d026906e52b225c4d9792224.jpg","text":"TemporaryFile(/tmp/multipartBody9185805373033753891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_19_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/568daf6b811ca251107175afc6dac0c3.jpg","text":"TemporaryFile(/tmp/multipartBody3362422110091938580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_19_35_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88adc994bc098c11ead5009bdd190afc.jpg","text":"TemporaryFile(/tmp/multipartBody6961080690554387564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_19_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db7e772cb663483c499de7d8a8b6723c.jpg","text":"TemporaryFile(/tmp/multipartBody1151637578411758856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247554306,"filename":"image_06042025_14_19_15_10136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351000509","file1":"1351000473","file0":"1351000443","file4":"1351000552","file5":"1351000568","file3":"1351000540"},"map_files_photo_id_array":[{"photo_id":"1351000568","filename":"file5"},{"photo_id":"1351000509","filename":"file2"},{"photo_id":"1351000552","filename":"file4"},{"photo_id":"1351000473","filename":"file1"},{"photo_id":"1351000443","filename":"file0"},{"photo_id":"1351000540","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351000473":["hashtag1","hashtag2"]},{"1351000443":["hashtag1","hashtag2"]},{"1351000509":["hashtag1","hashtag2"]},{"1351000568":["hashtag1","hashtag2"]},{"1351000552":["hashtag1","hashtag2"]},{"1351000540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351000473, 1351000443, 1351000509, 1351000568, 1351000552, 1351000540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.504286766052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:12:32.761204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_45_10359.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_56_10362.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_05_9376.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_15_10336.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_45_10431.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_55_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_45_10359.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_56_10362.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_05_9376.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_15_10336.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_45_10431.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_55_9487.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7152070999145508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 03:12:42.741359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_45_10359.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_56_10362.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_05_9376.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_15_10336.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_45_10431.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_55_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_45_10359.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_56_10362.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_05_9376.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_15_10336.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_45_10431.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_55_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351001084","1351001016","1351000733","1351001071","1351000942","1351000903"],"photo_ids_order":["1351000733","1351000903","1351000942","1351001016","1351001071","1351001084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcf0df1238f1f9868fe525082edcd0d4.jpg","text":"TemporaryFile(/tmp/multipartBody7161423839035747591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_20_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4dc0774f032978b01c800c0cd0e50c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4551025099129334810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_20_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc364a4e7c2a71c044d305ae64fc6b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7217522492507416899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_19_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c964a0928ca92d23d3113bb3e4b2b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1029872116018563328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_20_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a8ce8750c0682991913ac5bc5e3d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody3862102816456423931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_20_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/814bede50d038536330c5e37eef25164.jpg","text":"TemporaryFile(/tmp/multipartBody2041585438515519560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247623646,"filename":"image_06042025_14_19_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351000942","file1":"1351000903","file0":"1351000733","file4":"1351001071","file5":"1351001084","file3":"1351001016"},"map_files_photo_id_array":[{"photo_id":"1351001084","filename":"file5"},{"photo_id":"1351000942","filename":"file2"},{"photo_id":"1351001071","filename":"file4"},{"photo_id":"1351000903","filename":"file1"},{"photo_id":"1351000733","filename":"file0"},{"photo_id":"1351001016","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351001084":["hashtag1","hashtag2"]},{"1351001016":["hashtag1","hashtag2"]},{"1351000733":["hashtag1","hashtag2"]},{"1351001071":["hashtag1","hashtag2"]},{"1351000942":["hashtag1","hashtag2"]},{"1351000903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351001084, 1351001016, 1351000733, 1351001071, 1351000942, 1351000903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.12479567527771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:13:33.126962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_16_10378.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_25_9468.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_36_10362.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_45_9441.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_55_10370.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_22_06_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_16_10378.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_25_9468.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_36_10362.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_45_9441.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_55_10370.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_22_06_10342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.71378493309021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 03:13:43.151146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_16_10378.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_25_9468.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_36_10362.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_45_9441.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_55_10370.jpg', '/home/pi/Desktop/images/06042025/14/21/image_06042025_14_22_06_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_16_10378.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_25_9468.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_36_10362.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_45_9441.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_21_55_10370.jpg
/home/pi/Desktop/images/06042025/14/21/image_06042025_14_22_06_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351001511","1351001426","1351001354","1351001391","1351001487","1351001532"],"photo_ids_order":["1351001354","1351001391","1351001426","1351001487","1351001511","1351001532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14ac404305cbe8a4aca4ff31ec96e20a.jpg","text":"TemporaryFile(/tmp/multipartBody3396775861411674456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_21_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9bc2c76545ec1fc61349232eafce75e.jpg","text":"TemporaryFile(/tmp/multipartBody2596887939281542977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_21_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b46e02fb5cd3155187aee4521e0e1759.jpg","text":"TemporaryFile(/tmp/multipartBody7861002478357417639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_21_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/614aa73c4a477d05f53d8c2570a82f9c.jpg","text":"TemporaryFile(/tmp/multipartBody916779766131296262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_21_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/092101092685d8aabb9daa99cef1a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody3891745329096490679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_21_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/310285d25bc268bbf7df5ce86bc7c706.jpg","text":"TemporaryFile(/tmp/multipartBody5567384730309759697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247684055,"filename":"image_06042025_14_22_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351001426","file1":"1351001391","file0":"1351001354","file4":"1351001511","file5":"1351001532","file3":"1351001487"},"map_files_photo_id_array":[{"photo_id":"1351001532","filename":"file5"},{"photo_id":"1351001426","filename":"file2"},{"photo_id":"1351001511","filename":"file4"},{"photo_id":"1351001391","filename":"file1"},{"photo_id":"1351001354","filename":"file0"},{"photo_id":"1351001487","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351001511":["hashtag1","hashtag2"]},{"1351001426":["hashtag1","hashtag2"]},{"1351001354":["hashtag1","hashtag2"]},{"1351001391":["hashtag1","hashtag2"]},{"1351001487":["hashtag1","hashtag2"]},{"1351001532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351001511, 1351001426, 1351001354, 1351001391, 1351001487, 1351001532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7499577999115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:14:32.201141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_15_9437.jpg', '/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_26_10373.jpg', '/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_35_9382.jpg', '/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_45_10347.jpg', '/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_56_10354.jpg', '/home/pi/Desktop/images/06042025/14/22/image_06042025_14_23_05_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_15_9437.jpg
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_26_10373.jpg
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_35_9382.jpg
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_45_10347.jpg
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_22_56_10354.jpg
/home/pi/Desktop/images/06042025/14/22/image_06042025_14_23_05_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351001814","1351001780","1351001921","1351001858","1351001872","1351001865"],"photo_ids_order":["1351001780","1351001814","1351001858","1351001865","1351001872","1351001921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ce34442fe1e068c6a6f74934027aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody6912543750419504140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_22_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3200e7490c4aac2a871251e601d0aee.jpg","text":"TemporaryFile(/tmp/multipartBody6497126942742732737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_22_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4e2d9c1af0a4a291009bce0ccaf5428.jpg","text":"TemporaryFile(/tmp/multipartBody6773737085203818279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_23_05_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/750fc1bceea424864ce647ca4bc865d8.jpg","text":"TemporaryFile(/tmp/multipartBody116270654289791712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_22_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccfe7e8fd8ec4ae11b28c1f0b5dd7801.jpg","text":"TemporaryFile(/tmp/multipartBody6869808852529435386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_22_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3d15df230be662b110ff114305d2cc9.jpg","text":"TemporaryFile(/tmp/multipartBody991072811191413445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247734004,"filename":"image_06042025_14_22_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351001858","file1":"1351001814","file0":"1351001780","file4":"1351001872","file5":"1351001921","file3":"1351001865"},"map_files_photo_id_array":[{"photo_id":"1351001921","filename":"file5"},{"photo_id":"1351001858","filename":"file2"},{"photo_id":"1351001872","filename":"file4"},{"photo_id":"1351001814","filename":"file1"},{"photo_id":"1351001780","filename":"file0"},{"photo_id":"1351001865","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351001814":["hashtag1","hashtag2"]},{"1351001780":["hashtag1","hashtag2"]},{"1351001921":["hashtag1","hashtag2"]},{"1351001858":["hashtag1","hashtag2"]},{"1351001872":["hashtag1","hashtag2"]},{"1351001865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351001814, 1351001780, 1351001921, 1351001858, 1351001872, 1351001865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43942427635193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:15:32.348378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_15_10341.jpg', '/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_35_10407.jpg', '/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_46_10356.jpg', '/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_55_9358.jpg', '/home/pi/Desktop/images/06042025/14/23/image_06042025_14_24_05_10358.jpg', '/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_16_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_15_10341.jpg
/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_35_10407.jpg
/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_46_10356.jpg
/home/pi/Desktop/images/06042025/14/23/image_06042025_14_23_55_9358.jpg
/home/pi/Desktop/images/06042025/14/23/image_06042025_14_24_05_10358.jpg
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_16_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002107","1351002091","1351001975","1351002011","1351002058","1351001985"],"photo_ids_order":["1351001975","1351001985","1351002011","1351002058","1351002091","1351002107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05110dac88e71b8c8a01e73e899340e5.jpg","text":"TemporaryFile(/tmp/multipartBody6049264182382744521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_24_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1572ba98565627ae6900d76bc1f8cec1.jpg","text":"TemporaryFile(/tmp/multipartBody3639676388556867527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_24_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50a2f0ca0434419b902904a6b53c8d69.jpg","text":"TemporaryFile(/tmp/multipartBody8938685143280402612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_23_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84dc588c709cf47b066c26d681670761.jpg","text":"TemporaryFile(/tmp/multipartBody8342429435352779132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_23_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee04a9fa2aed0480345a67c10aa00580.jpg","text":"TemporaryFile(/tmp/multipartBody4915908044342061939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_23_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc34823738882e05ac1abee2eb93983b.jpg","text":"TemporaryFile(/tmp/multipartBody5370230616140689850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247794167,"filename":"image_06042025_14_23_35_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002011","file1":"1351001985","file0":"1351001975","file4":"1351002091","file5":"1351002107","file3":"1351002058"},"map_files_photo_id_array":[{"photo_id":"1351002107","filename":"file5"},{"photo_id":"1351002011","filename":"file2"},{"photo_id":"1351002091","filename":"file4"},{"photo_id":"1351001985","filename":"file1"},{"photo_id":"1351001975","filename":"file0"},{"photo_id":"1351002058","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002107":["hashtag1","hashtag2"]},{"1351002091":["hashtag1","hashtag2"]},{"1351001975":["hashtag1","hashtag2"]},{"1351002011":["hashtag1","hashtag2"]},{"1351002058":["hashtag1","hashtag2"]},{"1351001985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002107, 1351002091, 1351001975, 1351002011, 1351002058, 1351001985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.431817054748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:16:32.546177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_25_9377.jpg', '/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_35_10364.jpg', '/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_45_9398.jpg', '/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_55_10449.jpg', '/home/pi/Desktop/images/06042025/14/24/image_06042025_14_25_06_10355.jpg', '/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_25_9377.jpg
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_35_10364.jpg
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_45_9398.jpg
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_24_55_10449.jpg
/home/pi/Desktop/images/06042025/14/24/image_06042025_14_25_06_10355.jpg
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002158","1351002190","1351002175","1351002226","1351002150","1351002204"],"photo_ids_order":["1351002150","1351002158","1351002175","1351002190","1351002204","1351002226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cc38e86eaa9cb4d97acb121d00881b6.jpg","text":"TemporaryFile(/tmp/multipartBody4134796974682941026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_24_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/126732e0bb13d9239feb9e03e2b0ad81.jpg","text":"TemporaryFile(/tmp/multipartBody8969966728313614577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_24_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a179377ab581f2ac433ec2c4d42bb55.jpg","text":"TemporaryFile(/tmp/multipartBody6720274925105914878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_24_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbfcebc9b51562a7800fac331f232c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6154565899363232238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_25_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/767cfb11bac047a34832147c4dc23144.jpg","text":"TemporaryFile(/tmp/multipartBody599765960371172605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_24_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6218237a362f19142ab3c6d4566a87e.jpg","text":"TemporaryFile(/tmp/multipartBody982021095585129986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247854348,"filename":"image_06042025_14_25_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002175","file1":"1351002158","file0":"1351002150","file4":"1351002204","file5":"1351002226","file3":"1351002190"},"map_files_photo_id_array":[{"photo_id":"1351002226","filename":"file5"},{"photo_id":"1351002175","filename":"file2"},{"photo_id":"1351002204","filename":"file4"},{"photo_id":"1351002158","filename":"file1"},{"photo_id":"1351002150","filename":"file0"},{"photo_id":"1351002190","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002158":["hashtag1","hashtag2"]},{"1351002190":["hashtag1","hashtag2"]},{"1351002175":["hashtag1","hashtag2"]},{"1351002226":["hashtag1","hashtag2"]},{"1351002150":["hashtag1","hashtag2"]},{"1351002204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002158, 1351002190, 1351002175, 1351002226, 1351002150, 1351002204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.840009927749634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:17:32.943500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_25_10372.jpg', '/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_36_10371.jpg', '/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_45_9363.jpg', '/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_55_10344.jpg', '/home/pi/Desktop/images/06042025/14/25/image_06042025_14_26_05_9389.jpg', '/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_15_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_25_10372.jpg
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_36_10371.jpg
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_45_9363.jpg
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_25_55_10344.jpg
/home/pi/Desktop/images/06042025/14/25/image_06042025_14_26_05_9389.jpg
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_15_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002380","1351002356","1351002385","1351002387","1351002297","1351002324"],"photo_ids_order":["1351002297","1351002324","1351002356","1351002380","1351002385","1351002387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ae44ecf07ce3b92bf6ca35f6028ae15.jpg","text":"TemporaryFile(/tmp/multipartBody993557984540799170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_25_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c46c9ae7218aeb42b1cb6f87243e6c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3278234351320467068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_25_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a033215feeb1ed172301a1d40ee9038.jpg","text":"TemporaryFile(/tmp/multipartBody4302799256712886364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_26_05_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57e05fd3c15c4d0ae65460fcaa72e977.jpg","text":"TemporaryFile(/tmp/multipartBody7382717540684895821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_26_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14d950f570972c731d4490e8416f4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5591249453830699928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_25_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/324e1bdec8dce93c56d48c081ca6fae3.jpg","text":"TemporaryFile(/tmp/multipartBody694212828083463259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247914741,"filename":"image_06042025_14_25_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002356","file1":"1351002324","file0":"1351002297","file4":"1351002385","file5":"1351002387","file3":"1351002380"},"map_files_photo_id_array":[{"photo_id":"1351002387","filename":"file5"},{"photo_id":"1351002356","filename":"file2"},{"photo_id":"1351002385","filename":"file4"},{"photo_id":"1351002324","filename":"file1"},{"photo_id":"1351002297","filename":"file0"},{"photo_id":"1351002380","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002380":["hashtag1","hashtag2"]},{"1351002356":["hashtag1","hashtag2"]},{"1351002385":["hashtag1","hashtag2"]},{"1351002387":["hashtag1","hashtag2"]},{"1351002297":["hashtag1","hashtag2"]},{"1351002324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002380, 1351002356, 1351002385, 1351002387, 1351002297, 1351002324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77322292327881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:18:33.043831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_26_10367.jpg', '/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_35_9473.jpg', '/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_45_10376.jpg', '/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_55_9443.jpg', '/home/pi/Desktop/images/06042025/14/26/image_06042025_14_27_05_10353.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_16_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_26_10367.jpg
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_35_9473.jpg
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_45_10376.jpg
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_26_55_9443.jpg
/home/pi/Desktop/images/06042025/14/26/image_06042025_14_27_05_10353.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_16_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002437","1351002446","1351002469","1351002424","1351002474","1351002456"],"photo_ids_order":["1351002424","1351002437","1351002446","1351002456","1351002469","1351002474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ebfa847ca2674bc102bedaea8ce61b4.jpg","text":"TemporaryFile(/tmp/multipartBody5220116447831993136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_26_35_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5646422bdae719c28a57481b62068a52.jpg","text":"TemporaryFile(/tmp/multipartBody7168236581812402893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_26_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a57a8adc88e9a3e7c050d639a5946a49.jpg","text":"TemporaryFile(/tmp/multipartBody332922301410549443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_27_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e3ec815ded9c595a4fccd277ccd0aa1.jpg","text":"TemporaryFile(/tmp/multipartBody349297209145981420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_26_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cc45d7c9ef690eec1dbd9cb2e857017.jpg","text":"TemporaryFile(/tmp/multipartBody3390003141142132016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_27_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f474ffd17200c1251b32dc7b2208e69.jpg","text":"TemporaryFile(/tmp/multipartBody8483695281344526887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744247974846,"filename":"image_06042025_14_26_55_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002446","file1":"1351002437","file0":"1351002424","file4":"1351002469","file5":"1351002474","file3":"1351002456"},"map_files_photo_id_array":[{"photo_id":"1351002474","filename":"file5"},{"photo_id":"1351002446","filename":"file2"},{"photo_id":"1351002469","filename":"file4"},{"photo_id":"1351002437","filename":"file1"},{"photo_id":"1351002424","filename":"file0"},{"photo_id":"1351002456","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002437":["hashtag1","hashtag2"]},{"1351002446":["hashtag1","hashtag2"]},{"1351002469":["hashtag1","hashtag2"]},{"1351002424":["hashtag1","hashtag2"]},{"1351002474":["hashtag1","hashtag2"]},{"1351002456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002437, 1351002446, 1351002469, 1351002424, 1351002474, 1351002456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.571951389312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:19:32.347055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_25_9475.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_35_10357.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_46_10336.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_55_9394.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_28_06_10364.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_15_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_25_9475.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_35_10357.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_46_10336.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_55_9394.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_28_06_10364.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_15_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002581","1351002643","1351002669","1351002723","1351002705","1351002677"],"photo_ids_order":["1351002581","1351002643","1351002669","1351002677","1351002705","1351002723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/667eb6bf0761722477a56afe22e18fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4181500092088556760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_27_25_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37a4d810804cedac484bad37a3a7ef72.jpg","text":"TemporaryFile(/tmp/multipartBody386949125136804864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_27_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5cdaaa29bd00be0453022971783decc.jpg","text":"TemporaryFile(/tmp/multipartBody3789865869494829294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_27_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f16a54d11dcc126e8cdc4173d663c20.jpg","text":"TemporaryFile(/tmp/multipartBody953932078024444919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_28_15_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2058ce86b36416710e43847d0e38327.jpg","text":"TemporaryFile(/tmp/multipartBody7040429888134933652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_28_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13776f8e949d97bc993af015451b7ee6.jpg","text":"TemporaryFile(/tmp/multipartBody9211959202251881547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248034173,"filename":"image_06042025_14_27_55_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002669","file1":"1351002643","file0":"1351002581","file4":"1351002705","file5":"1351002723","file3":"1351002677"},"map_files_photo_id_array":[{"photo_id":"1351002723","filename":"file5"},{"photo_id":"1351002669","filename":"file2"},{"photo_id":"1351002705","filename":"file4"},{"photo_id":"1351002643","filename":"file1"},{"photo_id":"1351002581","filename":"file0"},{"photo_id":"1351002677","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002581":["hashtag1","hashtag2"]},{"1351002643":["hashtag1","hashtag2"]},{"1351002669":["hashtag1","hashtag2"]},{"1351002723":["hashtag1","hashtag2"]},{"1351002705":["hashtag1","hashtag2"]},{"1351002677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002581, 1351002643, 1351002669, 1351002723, 1351002705, 1351002677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.372119426727295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:20:32.429531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_25_10348.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_36_10356.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_45_9345.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_55_10380.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_29_06_10351.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_25_10348.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_36_10356.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_45_9345.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_55_10380.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_29_06_10351.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_15_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002806","1351002749","1351002740","1351002745","1351002768","1351002782"],"photo_ids_order":["1351002740","1351002745","1351002749","1351002768","1351002782","1351002806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e61e1893bd2604f3adb5a210a7c7a6f.jpg","text":"TemporaryFile(/tmp/multipartBody5958501193533590616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_29_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b6b881c86034b708db400e6f9e3309f.jpg","text":"TemporaryFile(/tmp/multipartBody3639982125530701326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_28_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6be7d5405ab048478e0fc9686a8bd54.jpg","text":"TemporaryFile(/tmp/multipartBody6469450293799818162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_28_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0684ed4479773770f5973ca5ccb19bd4.jpg","text":"TemporaryFile(/tmp/multipartBody320464741770720991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_28_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/397dab556c7fb14d8037e61203743e03.jpg","text":"TemporaryFile(/tmp/multipartBody321311301150497241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_28_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09b39fec717c9b105eed3ecc541f1bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4968660556133902260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248094231,"filename":"image_06042025_14_29_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002749","file1":"1351002745","file0":"1351002740","file4":"1351002782","file5":"1351002806","file3":"1351002768"},"map_files_photo_id_array":[{"photo_id":"1351002806","filename":"file5"},{"photo_id":"1351002749","filename":"file2"},{"photo_id":"1351002782","filename":"file4"},{"photo_id":"1351002745","filename":"file1"},{"photo_id":"1351002740","filename":"file0"},{"photo_id":"1351002768","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002806":["hashtag1","hashtag2"]},{"1351002749":["hashtag1","hashtag2"]},{"1351002740":["hashtag1","hashtag2"]},{"1351002745":["hashtag1","hashtag2"]},{"1351002768":["hashtag1","hashtag2"]},{"1351002782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002806, 1351002749, 1351002740, 1351002745, 1351002768, 1351002782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.710647106170654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:21:32.638420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_25_10342.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_35_9459.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_45_10356.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_56_10346.jpg', '/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_35_9370.jpg', '/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_25_10342.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_35_9459.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_45_10356.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_56_10346.jpg
/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_35_9370.jpg
/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_46_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351002923","1351003150","1351002935","1351003095","1351003027","1351002900"],"photo_ids_order":["1351002900","1351002923","1351002935","1351003027","1351003095","1351003150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0fdd805fef47dd6c697aae0698f6497.jpg","text":"TemporaryFile(/tmp/multipartBody7537506309546089648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_29_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b60f4e8196778614b7b0fa6f9cb9a284.jpg","text":"TemporaryFile(/tmp/multipartBody5167376584986646008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_30_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08047db10dcd7b2d826404bfde7c6cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4735457771713097943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_29_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29f2e21423dc444923f277210c29fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody1357067252122468187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_30_35_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a343496b471ad6acdba7092191f29709.jpg","text":"TemporaryFile(/tmp/multipartBody329963718018007561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_29_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a76cd18aef2aa0da9af027a90769eb9.jpg","text":"TemporaryFile(/tmp/multipartBody9027665381800245272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248154431,"filename":"image_06042025_14_29_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351002935","file1":"1351002923","file0":"1351002900","file4":"1351003095","file5":"1351003150","file3":"1351003027"},"map_files_photo_id_array":[{"photo_id":"1351003150","filename":"file5"},{"photo_id":"1351002935","filename":"file2"},{"photo_id":"1351003095","filename":"file4"},{"photo_id":"1351002923","filename":"file1"},{"photo_id":"1351002900","filename":"file0"},{"photo_id":"1351003027","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351002923":["hashtag1","hashtag2"]},{"1351003150":["hashtag1","hashtag2"]},{"1351002935":["hashtag1","hashtag2"]},{"1351003095":["hashtag1","hashtag2"]},{"1351003027":["hashtag1","hashtag2"]},{"1351002900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351002923, 1351003150, 1351002935, 1351003095, 1351003027, 1351002900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36536002159119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:22:32.890620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_55_9527.jpg', '/home/pi/Desktop/images/06042025/14/30/image_06042025_14_31_05_10423.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_15_9405.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_25_10395.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_36_10351.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_45_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/30/image_06042025_14_30_55_9527.jpg
/home/pi/Desktop/images/06042025/14/30/image_06042025_14_31_05_10423.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_15_9405.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_25_10395.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_36_10351.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_45_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351003535","1351003573","1351003729","1351003825","1351003776","1351003637"],"photo_ids_order":["1351003535","1351003573","1351003637","1351003729","1351003776","1351003825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e72924eb918560350a5553e05b0598d0.jpg","text":"TemporaryFile(/tmp/multipartBody9208491861059395771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_30_55_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98e25a9fc25e6fb404f67ebc75ae5311.jpg","text":"TemporaryFile(/tmp/multipartBody1322564794475741268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_31_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d7672c28cfc676de3e9f9a4203eb84e.jpg","text":"TemporaryFile(/tmp/multipartBody1970536942421894314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_31_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77572b74b027c8a49f9f153387a30483.jpg","text":"TemporaryFile(/tmp/multipartBody5066356232944362401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_31_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29e2287ba788f877e84872c5545dcdde.jpg","text":"TemporaryFile(/tmp/multipartBody2903103189792945139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_31_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13c3e528464b7b2365a77f216c7f3223.jpg","text":"TemporaryFile(/tmp/multipartBody3783131271303379908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248214706,"filename":"image_06042025_14_31_15_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351003637","file1":"1351003573","file0":"1351003535","file4":"1351003776","file5":"1351003825","file3":"1351003729"},"map_files_photo_id_array":[{"photo_id":"1351003825","filename":"file5"},{"photo_id":"1351003637","filename":"file2"},{"photo_id":"1351003776","filename":"file4"},{"photo_id":"1351003573","filename":"file1"},{"photo_id":"1351003535","filename":"file0"},{"photo_id":"1351003729","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351003535":["hashtag1","hashtag2"]},{"1351003573":["hashtag1","hashtag2"]},{"1351003729":["hashtag1","hashtag2"]},{"1351003825":["hashtag1","hashtag2"]},{"1351003776":["hashtag1","hashtag2"]},{"1351003637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351003535, 1351003573, 1351003729, 1351003825, 1351003776, 1351003637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.247199058532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:23:32.154761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_55_10365.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_32_06_10352.jpg', '/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_15_9327.jpg', '/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_25_10356.jpg', '/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_36_10359.jpg', '/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_55_10365.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_32_06_10352.jpg
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_15_9327.jpg
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_25_10356.jpg
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_36_10359.jpg
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351004179","1351004116","1351004244","1351004066","1351003979","1351004012"],"photo_ids_order":["1351003979","1351004012","1351004066","1351004116","1351004179","1351004244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf440e73abdf68430502e35552a30f53.jpg","text":"TemporaryFile(/tmp/multipartBody3789167057641541181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_32_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0df813683f587f3ad9a3d9d254ea8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1584865117738929857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_32_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5dcf6225a449f856ed082fcefd51c17.jpg","text":"TemporaryFile(/tmp/multipartBody5909187552824428631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_32_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f9404901a8a6394aa0440d103ef9fff.jpg","text":"TemporaryFile(/tmp/multipartBody8156853488380890699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_32_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43ccfeb01a3398e62019d9510dc9ea20.jpg","text":"TemporaryFile(/tmp/multipartBody1287892980818723426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_31_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/696fcaacaaa6522205f62a919ebc7527.jpg","text":"TemporaryFile(/tmp/multipartBody1296881300888726100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248273945,"filename":"image_06042025_14_32_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351004066","file1":"1351004012","file0":"1351003979","file4":"1351004179","file5":"1351004244","file3":"1351004116"},"map_files_photo_id_array":[{"photo_id":"1351004244","filename":"file5"},{"photo_id":"1351004066","filename":"file2"},{"photo_id":"1351004179","filename":"file4"},{"photo_id":"1351004012","filename":"file1"},{"photo_id":"1351003979","filename":"file0"},{"photo_id":"1351004116","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351004179":["hashtag1","hashtag2"]},{"1351004116":["hashtag1","hashtag2"]},{"1351004244":["hashtag1","hashtag2"]},{"1351004066":["hashtag1","hashtag2"]},{"1351003979":["hashtag1","hashtag2"]},{"1351004012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351004179, 1351004116, 1351004244, 1351004066, 1351003979, 1351004012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77242612838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:24:32.424376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/32/image_06042025_14_33_05_9413.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_15_10422.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_26_10358.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_35_9348.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_56_10377.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_34_05_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_33_05_9413.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_15_10422.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_26_10358.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_35_9348.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_56_10377.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_34_05_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351004902","1351004760","1351004876","1351004849","1351004720","1351004810"],"photo_ids_order":["1351004720","1351004760","1351004810","1351004849","1351004876","1351004902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/489516efd9956ff43b9659a185fdf932.jpg","text":"TemporaryFile(/tmp/multipartBody8513586334047988626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_34_05_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41341c7c36ddbdbd2db4bbf8a0e9640a.jpg","text":"TemporaryFile(/tmp/multipartBody988453994749286881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_33_15_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/971ad19e9bbd6de36149e0014dab815e.jpg","text":"TemporaryFile(/tmp/multipartBody1862183217752296506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_33_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4684efef9cb829e8b30cd90ec9e598e.jpg","text":"TemporaryFile(/tmp/multipartBody101732263902673218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_33_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a86f2ca024cffbbdbdbc6d7a1d24231.jpg","text":"TemporaryFile(/tmp/multipartBody6078495475372322342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_33_05_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cede0c19d16103c4af8e15d551b2164f.jpg","text":"TemporaryFile(/tmp/multipartBody6660169744865403546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248334222,"filename":"image_06042025_14_33_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351004810","file1":"1351004760","file0":"1351004720","file4":"1351004876","file5":"1351004902","file3":"1351004849"},"map_files_photo_id_array":[{"photo_id":"1351004902","filename":"file5"},{"photo_id":"1351004810","filename":"file2"},{"photo_id":"1351004876","filename":"file4"},{"photo_id":"1351004760","filename":"file1"},{"photo_id":"1351004720","filename":"file0"},{"photo_id":"1351004849","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351004902":["hashtag1","hashtag2"]},{"1351004760":["hashtag1","hashtag2"]},{"1351004876":["hashtag1","hashtag2"]},{"1351004849":["hashtag1","hashtag2"]},{"1351004720":["hashtag1","hashtag2"]},{"1351004810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351004902, 1351004760, 1351004876, 1351004849, 1351004720, 1351004810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.443403244018555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:25:32.697590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_16_10412.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_25_9337.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_35_10347.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_46_10356.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_55_9349.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_35_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_16_10412.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_25_9337.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_35_10347.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_46_10356.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_55_9349.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_35_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351005159","1351005283","1351005209","1351005190","1351005250","1351005229"],"photo_ids_order":["1351005159","1351005190","1351005209","1351005229","1351005250","1351005283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2151c6187818a1f29420b4867d5b9f10.jpg","text":"TemporaryFile(/tmp/multipartBody7884282693123330214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_34_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0df51478ea3cb3a0faebd58a73deb088.jpg","text":"TemporaryFile(/tmp/multipartBody1484547316607592127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_35_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/219fe087295ec76a2df470e6592b1f22.jpg","text":"TemporaryFile(/tmp/multipartBody2952541609817509407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_34_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37371ab730791838797074bb02bfcec1.jpg","text":"TemporaryFile(/tmp/multipartBody4755368733879114627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_34_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bfbf9fb8ea230d2911d9057aafcf2f0.jpg","text":"TemporaryFile(/tmp/multipartBody7044697948960222386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_34_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f84987ede9ba74454b54692a3d790bc.jpg","text":"TemporaryFile(/tmp/multipartBody4037515862562294429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248394523,"filename":"image_06042025_14_34_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351005209","file1":"1351005190","file0":"1351005159","file4":"1351005250","file5":"1351005283","file3":"1351005229"},"map_files_photo_id_array":[{"photo_id":"1351005283","filename":"file5"},{"photo_id":"1351005209","filename":"file2"},{"photo_id":"1351005250","filename":"file4"},{"photo_id":"1351005190","filename":"file1"},{"photo_id":"1351005159","filename":"file0"},{"photo_id":"1351005229","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351005159":["hashtag1","hashtag2"]},{"1351005283":["hashtag1","hashtag2"]},{"1351005209":["hashtag1","hashtag2"]},{"1351005190":["hashtag1","hashtag2"]},{"1351005250":["hashtag1","hashtag2"]},{"1351005229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351005159, 1351005283, 1351005209, 1351005190, 1351005250, 1351005229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7070415019989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:26:32.883981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_15_9447.jpg', '/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_25_10385.jpg', '/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_36_10350.jpg', '/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_45_9454.jpg', '/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_55_10369.jpg', '/home/pi/Desktop/images/06042025/14/35/image_06042025_14_36_05_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_15_9447.jpg
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_25_10385.jpg
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_36_10350.jpg
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_45_9454.jpg
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_35_55_10369.jpg
/home/pi/Desktop/images/06042025/14/35/image_06042025_14_36_05_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351005415","1351005416","1351005419","1351005394","1351005385","1351005412"],"photo_ids_order":["1351005385","1351005394","1351005412","1351005415","1351005416","1351005419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/802028f07178b14267465c10df3be093.jpg","text":"TemporaryFile(/tmp/multipartBody2787145619254599545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_35_45_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/796c52214596cc789543a937cd4363a4.jpg","text":"TemporaryFile(/tmp/multipartBody3425488122798795766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_35_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/951c2b75dbb614a4abae972852be441e.jpg","text":"TemporaryFile(/tmp/multipartBody2078865648757030829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_36_05_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49c21b308f4a466d6a71e6c00f5146d8.jpg","text":"TemporaryFile(/tmp/multipartBody4260545726296869385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_35_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50604b5cdd9a5acc4fb921cfb5f09bee.jpg","text":"TemporaryFile(/tmp/multipartBody686853570802986170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_35_15_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9d8ea71f6337f3648fdc29f279d2fba.jpg","text":"TemporaryFile(/tmp/multipartBody7928597198685495570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248454695,"filename":"image_06042025_14_35_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351005412","file1":"1351005394","file0":"1351005385","file4":"1351005416","file5":"1351005419","file3":"1351005415"},"map_files_photo_id_array":[{"photo_id":"1351005419","filename":"file5"},{"photo_id":"1351005412","filename":"file2"},{"photo_id":"1351005416","filename":"file4"},{"photo_id":"1351005394","filename":"file1"},{"photo_id":"1351005385","filename":"file0"},{"photo_id":"1351005415","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351005415":["hashtag1","hashtag2"]},{"1351005416":["hashtag1","hashtag2"]},{"1351005419":["hashtag1","hashtag2"]},{"1351005394":["hashtag1","hashtag2"]},{"1351005385":["hashtag1","hashtag2"]},{"1351005412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351005415, 1351005416, 1351005419, 1351005394, 1351005385, 1351005412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79934096336365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:27:32.283332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_15_10417.jpg', '/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_26_10378.jpg', '/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_35_9419.jpg', '/home/pi/Desktop/images/06042025/14/36/image_06042025_14_37_05_10388.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_15_9573.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_15_10417.jpg
/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_26_10378.jpg
/home/pi/Desktop/images/06042025/14/36/image_06042025_14_36_35_9419.jpg
/home/pi/Desktop/images/06042025/14/36/image_06042025_14_37_05_10388.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_15_9573.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351005541","1351005600","1351005485","1351005488","1351005524","1351005481"],"photo_ids_order":["1351005481","1351005485","1351005488","1351005524","1351005541","1351005600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf950cfe58921152e48448ec33761c93.jpg","text":"TemporaryFile(/tmp/multipartBody6853878861781300192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_37_15_9573.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a62cb018e09a0411135e895e062c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1110925040257342880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_37_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82ac979d986763020613301ef3891ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4483720585570757801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_36_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56432a19ce6b0b8b30419e681c967735.jpg","text":"TemporaryFile(/tmp/multipartBody8205103763654996582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_36_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e74e625bef2a8af6448cc05a798bffb.jpg","text":"TemporaryFile(/tmp/multipartBody4450687322507881029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_37_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c90a800ccb878b5115c963611fb647aa.jpg","text":"TemporaryFile(/tmp/multipartBody2217975439133029952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248514100,"filename":"image_06042025_14_36_15_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351005488","file1":"1351005485","file0":"1351005481","file4":"1351005541","file5":"1351005600","file3":"1351005524"},"map_files_photo_id_array":[{"photo_id":"1351005600","filename":"file5"},{"photo_id":"1351005488","filename":"file2"},{"photo_id":"1351005541","filename":"file4"},{"photo_id":"1351005485","filename":"file1"},{"photo_id":"1351005481","filename":"file0"},{"photo_id":"1351005524","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351005541":["hashtag1","hashtag2"]},{"1351005600":["hashtag1","hashtag2"]},{"1351005485":["hashtag1","hashtag2"]},{"1351005488":["hashtag1","hashtag2"]},{"1351005524":["hashtag1","hashtag2"]},{"1351005481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351005541, 1351005600, 1351005485, 1351005488, 1351005524, 1351005481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.900949478149414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:28:32.314591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_36_10441.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_45_9369.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_56_10378.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_38_05_9455.jpg', '/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_15_10339.jpg', '/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_35_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_36_10441.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_45_9369.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_56_10378.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_38_05_9455.jpg
/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_15_10339.jpg
/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_35_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351005814","1351005836","1351005710","1351005856","1351005742","1351005670"],"photo_ids_order":["1351005670","1351005710","1351005742","1351005814","1351005836","1351005856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f4f0ed6702fd1e475b440e577f80807.jpg","text":"TemporaryFile(/tmp/multipartBody5501191410324933296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_38_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f0904f67c0d515979d21c92d40ea7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2145581369554599855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_38_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4646fca7888c4d7562660e52a69863f2.jpg","text":"TemporaryFile(/tmp/multipartBody2718974969960240109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_37_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f72177858dcf0f88d13f1e08d91e336.jpg","text":"TemporaryFile(/tmp/multipartBody4635511638380685736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_38_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aed3e964ae117ce3472a80ea447df06d.jpg","text":"TemporaryFile(/tmp/multipartBody7731554824140063111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_37_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3da6d63882ef2821a3a560c0ed0a6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5112251423822919633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248574124,"filename":"image_06042025_14_37_36_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351005742","file1":"1351005710","file0":"1351005670","file4":"1351005836","file5":"1351005856","file3":"1351005814"},"map_files_photo_id_array":[{"photo_id":"1351005856","filename":"file5"},{"photo_id":"1351005742","filename":"file2"},{"photo_id":"1351005836","filename":"file4"},{"photo_id":"1351005710","filename":"file1"},{"photo_id":"1351005670","filename":"file0"},{"photo_id":"1351005814","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351005814":["hashtag1","hashtag2"]},{"1351005836":["hashtag1","hashtag2"]},{"1351005710":["hashtag1","hashtag2"]},{"1351005856":["hashtag1","hashtag2"]},{"1351005742":["hashtag1","hashtag2"]},{"1351005670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351005814, 1351005836, 1351005710, 1351005856, 1351005742, 1351005670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32804799079895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:29:32.504999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_46_10340.jpg', '/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_55_9478.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_16_10354.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_25_9404.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_36_10387.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_46_10340.jpg
/home/pi/Desktop/images/06042025/14/38/image_06042025_14_38_55_9478.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_16_10354.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_25_9404.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_36_10387.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351006197","1351006143","1351006230","1351006221","1351006084","1351006225"],"photo_ids_order":["1351006084","1351006143","1351006197","1351006221","1351006225","1351006230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5363b48fe55c73c0b65654905ecb98b.jpg","text":"TemporaryFile(/tmp/multipartBody7954382619361572063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_39_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e969dd608923722996c9010cdc244ec.jpg","text":"TemporaryFile(/tmp/multipartBody5212985661685392022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_38_55_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73f21949f9d44e24691e7245d728b147.jpg","text":"TemporaryFile(/tmp/multipartBody682710058687379790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_39_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3461c8323accf6a1fe1eeff9a482f9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5572459526893414554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_39_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddb6f85d5e1e33d5dd4ceec14dea3f07.jpg","text":"TemporaryFile(/tmp/multipartBody506228164664366351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_38_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7b63d8f9a856147b7b4d0db85db30fe.jpg","text":"TemporaryFile(/tmp/multipartBody9017541626281398106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248634350,"filename":"image_06042025_14_39_36_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351006197","file1":"1351006143","file0":"1351006084","file4":"1351006225","file5":"1351006230","file3":"1351006221"},"map_files_photo_id_array":[{"photo_id":"1351006230","filename":"file5"},{"photo_id":"1351006197","filename":"file2"},{"photo_id":"1351006225","filename":"file4"},{"photo_id":"1351006143","filename":"file1"},{"photo_id":"1351006084","filename":"file0"},{"photo_id":"1351006221","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351006197":["hashtag1","hashtag2"]},{"1351006143":["hashtag1","hashtag2"]},{"1351006230":["hashtag1","hashtag2"]},{"1351006221":["hashtag1","hashtag2"]},{"1351006084":["hashtag1","hashtag2"]},{"1351006225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351006197, 1351006143, 1351006230, 1351006221, 1351006084, 1351006225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25677752494812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:30:32.696804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_55_10445.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_40_06_10356.jpg', '/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_15_9347.jpg', '/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_25_10352.jpg', '/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_36_10343.jpg', '/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_45_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_55_10445.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_40_06_10356.jpg
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_15_9347.jpg
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_25_10352.jpg
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_36_10343.jpg
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_45_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351006416","1351006466","1351006451","1351006486","1351006483","1351006392"],"photo_ids_order":["1351006392","1351006416","1351006451","1351006466","1351006483","1351006486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97549bbad6c497f8fcc38530e4978263.jpg","text":"TemporaryFile(/tmp/multipartBody2890034318615697952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_40_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9890d3e4577a3e31b7e2493d58d16656.jpg","text":"TemporaryFile(/tmp/multipartBody208985320790161557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_40_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce45b804021a12ae6d98011a5b0944ba.jpg","text":"TemporaryFile(/tmp/multipartBody2719632827864907582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_40_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fc03221a9dab2a5b12fd5fe09bf6556.jpg","text":"TemporaryFile(/tmp/multipartBody8579412618767974988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_40_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51616dcea1c35358031ece1038fbe8eb.jpg","text":"TemporaryFile(/tmp/multipartBody702491786319553865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_40_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03a621b107b795310abf47ccbb393dc9.jpg","text":"TemporaryFile(/tmp/multipartBody9058430856605097378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248694520,"filename":"image_06042025_14_39_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351006451","file1":"1351006416","file0":"1351006392","file4":"1351006483","file5":"1351006486","file3":"1351006466"},"map_files_photo_id_array":[{"photo_id":"1351006486","filename":"file5"},{"photo_id":"1351006451","filename":"file2"},{"photo_id":"1351006483","filename":"file4"},{"photo_id":"1351006416","filename":"file1"},{"photo_id":"1351006392","filename":"file0"},{"photo_id":"1351006466","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351006416":["hashtag1","hashtag2"]},{"1351006466":["hashtag1","hashtag2"]},{"1351006451":["hashtag1","hashtag2"]},{"1351006486":["hashtag1","hashtag2"]},{"1351006483":["hashtag1","hashtag2"]},{"1351006392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351006416, 1351006466, 1351006451, 1351006486, 1351006483, 1351006392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04117393493652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:31:32.957066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_56_10367.jpg', '/home/pi/Desktop/images/06042025/14/40/image_06042025_14_41_05_9449.jpg', '/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_15_10334.jpg', '/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_26_10394.jpg', '/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_45_10355.jpg', '/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_55_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_40_56_10367.jpg
/home/pi/Desktop/images/06042025/14/40/image_06042025_14_41_05_9449.jpg
/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_15_10334.jpg
/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_26_10394.jpg
/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_45_10355.jpg
/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_55_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351006587","1351006656","1351006661","1351006658","1351006652","1351006590"],"photo_ids_order":["1351006587","1351006590","1351006652","1351006656","1351006658","1351006661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17614cc1645370a28a39594b916dcf00.jpg","text":"TemporaryFile(/tmp/multipartBody2413561917258139313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_40_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fef1701f0ee1e4e8ea9ac21190de32a2.jpg","text":"TemporaryFile(/tmp/multipartBody7528818981254660432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_41_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfdb7ba441e484d80035c9b179503010.jpg","text":"TemporaryFile(/tmp/multipartBody3441562695634051480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_41_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/340d4f2d556b948dfa7a73a55d9019a3.jpg","text":"TemporaryFile(/tmp/multipartBody8907213985700322797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_41_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80fd0f9a6a5a53c4e14de57a9f37aeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7877523361390543921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_41_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/485d965f2d38ff76aee1ec1b4f39b8c2.jpg","text":"TemporaryFile(/tmp/multipartBody57540983846184389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248754761,"filename":"image_06042025_14_41_05_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351006652","file1":"1351006590","file0":"1351006587","file4":"1351006658","file5":"1351006661","file3":"1351006656"},"map_files_photo_id_array":[{"photo_id":"1351006661","filename":"file5"},{"photo_id":"1351006652","filename":"file2"},{"photo_id":"1351006658","filename":"file4"},{"photo_id":"1351006590","filename":"file1"},{"photo_id":"1351006587","filename":"file0"},{"photo_id":"1351006656","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351006587":["hashtag1","hashtag2"]},{"1351006656":["hashtag1","hashtag2"]},{"1351006661":["hashtag1","hashtag2"]},{"1351006658":["hashtag1","hashtag2"]},{"1351006652":["hashtag1","hashtag2"]},{"1351006590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351006587, 1351006656, 1351006661, 1351006658, 1351006652, 1351006590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08210229873657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:32:32.208091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_16_10377.jpg', '/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_35_10346.jpg', '/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_45_9442.jpg', '/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_55_10366.jpg', '/home/pi/Desktop/images/06042025/14/42/image_06042025_14_43_06_10383.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_15_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_16_10377.jpg
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_35_10346.jpg
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_45_9442.jpg
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_55_10366.jpg
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_43_06_10383.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_15_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007000","1351007053","1351007032","1351007014","1351007008","1351007002"],"photo_ids_order":["1351007000","1351007002","1351007008","1351007014","1351007032","1351007053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/171abac2463925d80f989e2cfcf0f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3501796634618300367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_42_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/053c8c06901045552e9b8e09e81911e2.jpg","text":"TemporaryFile(/tmp/multipartBody3064048056700477574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_43_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88e9ddc151ee861030d11d8fdf306894.jpg","text":"TemporaryFile(/tmp/multipartBody1067029968175073768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_43_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dc725a6efa5f36dbe89383c3897a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody4244678669331668007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_42_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12c5aa3c4c98630b6bf8b1299e297ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4755719899306142490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_42_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/914e1ce025f333c281aa88bf68aeb4d0.jpg","text":"TemporaryFile(/tmp/multipartBody4088975764804088421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248814012,"filename":"image_06042025_14_42_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007008","file1":"1351007002","file0":"1351007000","file4":"1351007032","file5":"1351007053","file3":"1351007014"},"map_files_photo_id_array":[{"photo_id":"1351007053","filename":"file5"},{"photo_id":"1351007008","filename":"file2"},{"photo_id":"1351007032","filename":"file4"},{"photo_id":"1351007002","filename":"file1"},{"photo_id":"1351007000","filename":"file0"},{"photo_id":"1351007014","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007000":["hashtag1","hashtag2"]},{"1351007053":["hashtag1","hashtag2"]},{"1351007032":["hashtag1","hashtag2"]},{"1351007014":["hashtag1","hashtag2"]},{"1351007008":["hashtag1","hashtag2"]},{"1351007002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007000, 1351007053, 1351007032, 1351007014, 1351007008, 1351007002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.841941833496094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:33:32.330874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_25_10356.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_36_10428.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_45_9343.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_55_10355.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_44_05_9438.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_25_10356.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_36_10428.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_45_9343.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_55_10355.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_44_05_9438.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007279","1351007318","1351007353","1351007292","1351007286","1351007313"],"photo_ids_order":["1351007279","1351007286","1351007292","1351007313","1351007318","1351007353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6581b0720043b958827772b2efcf98df.jpg","text":"TemporaryFile(/tmp/multipartBody1369276586383037753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_43_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c3e3d494729ba774b5a7899a5b3a0b6.jpg","text":"TemporaryFile(/tmp/multipartBody6547374482551647895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_44_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13718432c24165f07073eccd4f9cedb7.jpg","text":"TemporaryFile(/tmp/multipartBody1802245331715093274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_44_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d76e2c3c50eb6f9e4dc2027fe181b2de.jpg","text":"TemporaryFile(/tmp/multipartBody8281370066134740196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_43_45_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9378e01bc9d19c9ec1a14584f4a33594.jpg","text":"TemporaryFile(/tmp/multipartBody5463692267558561987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_43_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e913a1c54af4c5ea6a8eb3ebbd80018.jpg","text":"TemporaryFile(/tmp/multipartBody3915970029604118422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248874131,"filename":"image_06042025_14_43_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007292","file1":"1351007286","file0":"1351007279","file4":"1351007318","file5":"1351007353","file3":"1351007313"},"map_files_photo_id_array":[{"photo_id":"1351007353","filename":"file5"},{"photo_id":"1351007292","filename":"file2"},{"photo_id":"1351007318","filename":"file4"},{"photo_id":"1351007286","filename":"file1"},{"photo_id":"1351007279","filename":"file0"},{"photo_id":"1351007313","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007279":["hashtag1","hashtag2"]},{"1351007318":["hashtag1","hashtag2"]},{"1351007353":["hashtag1","hashtag2"]},{"1351007292":["hashtag1","hashtag2"]},{"1351007286":["hashtag1","hashtag2"]},{"1351007313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007279, 1351007318, 1351007353, 1351007292, 1351007286, 1351007313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.729246854782104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:34:32.425477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_26_10357.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_35_9389.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_45_10331.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_56_10439.jpg', '/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_25_9484.jpg', '/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_26_10357.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_35_9389.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_45_10331.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_56_10439.jpg
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_25_9484.jpg
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007700","1351007687","1351007656","1351007659","1351007647","1351007697"],"photo_ids_order":["1351007647","1351007656","1351007659","1351007687","1351007697","1351007700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1906f72735eaae3ef2ee99bbc79e968.jpg","text":"TemporaryFile(/tmp/multipartBody4623629928099865413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_45_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cda76c5f84198e0c5f021d1fdaf7416f.jpg","text":"TemporaryFile(/tmp/multipartBody482358155100030410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_44_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dea2c0a67faf5a5923a427f69597a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3055502577001555264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_44_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa46b66f175a813b41f31d054957efec.jpg","text":"TemporaryFile(/tmp/multipartBody5724552576461530961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_44_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a0ac0d616eaf82beec7399e8298f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody7285829053721497723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_44_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c8981f03a449c129bb723534b6d6922.jpg","text":"TemporaryFile(/tmp/multipartBody1713065296949859502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248934253,"filename":"image_06042025_14_45_25_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007659","file1":"1351007656","file0":"1351007647","file4":"1351007697","file5":"1351007700","file3":"1351007687"},"map_files_photo_id_array":[{"photo_id":"1351007700","filename":"file5"},{"photo_id":"1351007659","filename":"file2"},{"photo_id":"1351007697","filename":"file4"},{"photo_id":"1351007656","filename":"file1"},{"photo_id":"1351007647","filename":"file0"},{"photo_id":"1351007687","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007700":["hashtag1","hashtag2"]},{"1351007687":["hashtag1","hashtag2"]},{"1351007656":["hashtag1","hashtag2"]},{"1351007659":["hashtag1","hashtag2"]},{"1351007647":["hashtag1","hashtag2"]},{"1351007697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007700, 1351007687, 1351007656, 1351007659, 1351007647, 1351007697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.588125467300415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:35:32.786702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_55_9438.jpg', '/home/pi/Desktop/images/06042025/14/45/image_06042025_14_46_06_10357.jpg', '/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_25_10424.jpg', '/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_56_10372.jpg', '/home/pi/Desktop/images/06042025/14/46/image_06042025_14_47_05_9415.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_55_9438.jpg
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_46_06_10357.jpg
/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_25_10424.jpg
/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_56_10372.jpg
/home/pi/Desktop/images/06042025/14/46/image_06042025_14_47_05_9415.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007733","1351007735","1351007723","1351007726","1351007737","1351007728"],"photo_ids_order":["1351007723","1351007726","1351007728","1351007733","1351007735","1351007737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2783e24a389c7cc564c58b34a74fb2b7.jpg","text":"TemporaryFile(/tmp/multipartBody449343654048158455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_46_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edd9fe19eec9d1ae8547b5726a782709.jpg","text":"TemporaryFile(/tmp/multipartBody2853648400032511296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_47_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dda3dc5b6c749e01d870a9965a3f25d5.jpg","text":"TemporaryFile(/tmp/multipartBody7206107612828618629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_45_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b64bb2d8d896d1753815a6c8be51c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody608259442521033961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_46_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e73001ee933e6e67dec280f2dffb9eb.jpg","text":"TemporaryFile(/tmp/multipartBody5297224801181460331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_47_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9e7cd36c86eb55f04dbe1e405b53b52.jpg","text":"TemporaryFile(/tmp/multipartBody5290783334705667688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744248994594,"filename":"image_06042025_14_46_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007728","file1":"1351007726","file0":"1351007723","file4":"1351007735","file5":"1351007737","file3":"1351007733"},"map_files_photo_id_array":[{"photo_id":"1351007737","filename":"file5"},{"photo_id":"1351007728","filename":"file2"},{"photo_id":"1351007735","filename":"file4"},{"photo_id":"1351007726","filename":"file1"},{"photo_id":"1351007723","filename":"file0"},{"photo_id":"1351007733","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007733":["hashtag1","hashtag2"]},{"1351007735":["hashtag1","hashtag2"]},{"1351007723":["hashtag1","hashtag2"]},{"1351007726":["hashtag1","hashtag2"]},{"1351007737":["hashtag1","hashtag2"]},{"1351007728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007733, 1351007735, 1351007723, 1351007726, 1351007737, 1351007728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81431555747986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:36:32.947347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_45_10356.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_10365.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_48_05_9402.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_16_10340.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_10446.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_45_10356.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_10365.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_48_05_9402.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_16_10340.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_10446.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_46_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.705695390701294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 03:36:43.007990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_45_10356.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_10365.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_48_05_9402.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_16_10340.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_10446.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_45_10356.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_10365.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_48_05_9402.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_16_10340.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_10446.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007783","1351007780","1351007773","1351007782","1351007776","1351007769"],"photo_ids_order":["1351007769","1351007773","1351007776","1351007780","1351007782","1351007783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e4c64351b9bca2e8ac75d67b1a82c0d.jpg","text":"TemporaryFile(/tmp/multipartBody6259269560579453662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_48_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5efd956893ba014a35d672883b009be3.jpg","text":"TemporaryFile(/tmp/multipartBody5824729996267381145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_48_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e2f8978cb5d0bf8476ce93762991073.jpg","text":"TemporaryFile(/tmp/multipartBody4952052322260187452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_47_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c6b590e414e495475bafdfdd8042280.jpg","text":"TemporaryFile(/tmp/multipartBody7038786772526164750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_48_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a62156c8149f590e616a87bf094719db.jpg","text":"TemporaryFile(/tmp/multipartBody958642778261194880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_48_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1f1e371507b5bd53ad98c99e711ef72.jpg","text":"TemporaryFile(/tmp/multipartBody8779401137969515003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249063887,"filename":"image_06042025_14_47_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007776","file1":"1351007773","file0":"1351007769","file4":"1351007782","file5":"1351007783","file3":"1351007780"},"map_files_photo_id_array":[{"photo_id":"1351007783","filename":"file5"},{"photo_id":"1351007776","filename":"file2"},{"photo_id":"1351007782","filename":"file4"},{"photo_id":"1351007773","filename":"file1"},{"photo_id":"1351007769","filename":"file0"},{"photo_id":"1351007780","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007783":["hashtag1","hashtag2"]},{"1351007780":["hashtag1","hashtag2"]},{"1351007773":["hashtag1","hashtag2"]},{"1351007782":["hashtag1","hashtag2"]},{"1351007776":["hashtag1","hashtag2"]},{"1351007769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007783, 1351007780, 1351007773, 1351007782, 1351007776, 1351007769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98142075538635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:37:33.058972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_55_9407.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_49_06_10365.jpg', '/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_15_9427.jpg', '/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_25_10380.jpg', '/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_36_10366.jpg', '/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_45_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_55_9407.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_49_06_10365.jpg
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_15_9427.jpg
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_25_10380.jpg
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_36_10366.jpg
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351007814","1351007824","1351007812","1351007821","1351007859","1351007817"],"photo_ids_order":["1351007812","1351007814","1351007817","1351007821","1351007824","1351007859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e89fd8d7330d1064def8af952f5030dc.jpg","text":"TemporaryFile(/tmp/multipartBody5089587634017734913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_49_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1b0af5a3d72deccd5c88fd09afd2224.jpg","text":"TemporaryFile(/tmp/multipartBody6876798003433917153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_49_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fb576092966d054cd0293f7b7b138b4.jpg","text":"TemporaryFile(/tmp/multipartBody3772525918448970198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_48_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdb8b64735a36130d548bf376f7067e4.jpg","text":"TemporaryFile(/tmp/multipartBody6505292824504310720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_49_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3abfe07f286b09456507258ddcb5f40.jpg","text":"TemporaryFile(/tmp/multipartBody190949768389640472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_49_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8801ca9fc8ddabb8f59b126b7dc7482e.jpg","text":"TemporaryFile(/tmp/multipartBody3524418386830459988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249114860,"filename":"image_06042025_14_49_15_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351007817","file1":"1351007814","file0":"1351007812","file4":"1351007824","file5":"1351007859","file3":"1351007821"},"map_files_photo_id_array":[{"photo_id":"1351007859","filename":"file5"},{"photo_id":"1351007817","filename":"file2"},{"photo_id":"1351007824","filename":"file4"},{"photo_id":"1351007814","filename":"file1"},{"photo_id":"1351007812","filename":"file0"},{"photo_id":"1351007821","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351007814":["hashtag1","hashtag2"]},{"1351007824":["hashtag1","hashtag2"]},{"1351007812":["hashtag1","hashtag2"]},{"1351007821":["hashtag1","hashtag2"]},{"1351007859":["hashtag1","hashtag2"]},{"1351007817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351007814, 1351007824, 1351007812, 1351007821, 1351007859, 1351007817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95714569091797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:38:32.289585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_55_10339.jpg', '/home/pi/Desktop/images/06042025/14/49/image_06042025_14_50_06_10362.jpg', '/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_15_9350.jpg', '/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_25_10352.jpg', '/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_35_9421.jpg', '/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_45_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_49_55_10339.jpg
/home/pi/Desktop/images/06042025/14/49/image_06042025_14_50_06_10362.jpg
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_15_9350.jpg
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_25_10352.jpg
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_35_9421.jpg
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_45_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351008215","1351008088","1351008256","1351008058","1351008264","1351008138"],"photo_ids_order":["1351008058","1351008088","1351008138","1351008215","1351008256","1351008264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e06cf84856b7627a69909bf869965d31.jpg","text":"TemporaryFile(/tmp/multipartBody5994313951156125562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_50_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dcb9172683c715b2b3ec6e638915291.jpg","text":"TemporaryFile(/tmp/multipartBody6902063678235979955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_50_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3404598392a563598d6a80ea71bc7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8010130314183446530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_50_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0953e1a3e789c404da8b28743672690b.jpg","text":"TemporaryFile(/tmp/multipartBody2094426390041181348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_49_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e023c1f2a836dd5e64257b0c0edc9e25.jpg","text":"TemporaryFile(/tmp/multipartBody6617333137753485675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_50_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f4535e66c6f8629fe2c71b59cbcc12c.jpg","text":"TemporaryFile(/tmp/multipartBody8086284031622697103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249174103,"filename":"image_06042025_14_50_15_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351008138","file1":"1351008088","file0":"1351008058","file4":"1351008256","file5":"1351008264","file3":"1351008215"},"map_files_photo_id_array":[{"photo_id":"1351008264","filename":"file5"},{"photo_id":"1351008138","filename":"file2"},{"photo_id":"1351008256","filename":"file4"},{"photo_id":"1351008088","filename":"file1"},{"photo_id":"1351008058","filename":"file0"},{"photo_id":"1351008215","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351008215":["hashtag1","hashtag2"]},{"1351008088":["hashtag1","hashtag2"]},{"1351008256":["hashtag1","hashtag2"]},{"1351008058":["hashtag1","hashtag2"]},{"1351008264":["hashtag1","hashtag2"]},{"1351008138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351008215, 1351008088, 1351008256, 1351008058, 1351008264, 1351008138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.882176637649536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:39:32.489982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_56_10362.jpg', '/home/pi/Desktop/images/06042025/14/50/image_06042025_14_51_05_9343.jpg', '/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_15_10359.jpg', '/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_26_10365.jpg', '/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_35_9351.jpg', '/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_45_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_56_10362.jpg
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_51_05_9343.jpg
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_15_10359.jpg
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_26_10365.jpg
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_35_9351.jpg
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_45_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351008431","1351008413","1351008439","1351008387","1351008462","1351008392"],"photo_ids_order":["1351008387","1351008392","1351008413","1351008431","1351008439","1351008462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e7e457800779edc4fe1dd8af1d7703.jpg","text":"TemporaryFile(/tmp/multipartBody978426407110908559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_51_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b961de6c217f5b2a774c0ef72c8b0cd.jpg","text":"TemporaryFile(/tmp/multipartBody5775115381960731120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_51_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6dda5d7a5a4011897bcc1b76ec78bcf.jpg","text":"TemporaryFile(/tmp/multipartBody918712100652382952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_51_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8752be833a0971d3f38e0f16a350639.jpg","text":"TemporaryFile(/tmp/multipartBody5131108651442741762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_50_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77b7843088a84b5e27be8638bd3d8af6.jpg","text":"TemporaryFile(/tmp/multipartBody2179874260585772327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_51_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24111c143eecc915bddf40a2bd5334d6.jpg","text":"TemporaryFile(/tmp/multipartBody5267128703132564542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249234303,"filename":"image_06042025_14_51_05_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351008413","file1":"1351008392","file0":"1351008387","file4":"1351008439","file5":"1351008462","file3":"1351008431"},"map_files_photo_id_array":[{"photo_id":"1351008462","filename":"file5"},{"photo_id":"1351008413","filename":"file2"},{"photo_id":"1351008439","filename":"file4"},{"photo_id":"1351008392","filename":"file1"},{"photo_id":"1351008387","filename":"file0"},{"photo_id":"1351008431","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351008431":["hashtag1","hashtag2"]},{"1351008413":["hashtag1","hashtag2"]},{"1351008439":["hashtag1","hashtag2"]},{"1351008387":["hashtag1","hashtag2"]},{"1351008462":["hashtag1","hashtag2"]},{"1351008392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351008431, 1351008413, 1351008439, 1351008387, 1351008462, 1351008392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04684138298035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:40:32.663316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_56_10388.jpg', '/home/pi/Desktop/images/06042025/14/51/image_06042025_14_52_05_9369.jpg', '/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_25_9402.jpg', '/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_35_10365.jpg', '/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_46_10408.jpg', '/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_55_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_51_56_10388.jpg
/home/pi/Desktop/images/06042025/14/51/image_06042025_14_52_05_9369.jpg
/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_25_9402.jpg
/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_35_10365.jpg
/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_46_10408.jpg
/home/pi/Desktop/images/06042025/14/52/image_06042025_14_52_55_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351008503","1351008541","1351008565","1351008526","1351008511","1351008508"],"photo_ids_order":["1351008503","1351008508","1351008511","1351008526","1351008541","1351008565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a003abf5cb325e770a5cac18777ef16f.jpg","text":"TemporaryFile(/tmp/multipartBody7047791043907791264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_51_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa4fea85299e41a34af0f9b096eead85.jpg","text":"TemporaryFile(/tmp/multipartBody7372818729489442036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_52_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a7668488b338177234f69d7b36cbb63.jpg","text":"TemporaryFile(/tmp/multipartBody6136422072744184324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_52_55_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53ce2cebf6d20fa403f9474299f952d3.jpg","text":"TemporaryFile(/tmp/multipartBody4839680341059404001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_52_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/860598b1da170a0453159280d043fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody3901479119472485792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_52_25_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a6e8a4e94c6cb60da3aa858a2ea918a.jpg","text":"TemporaryFile(/tmp/multipartBody4698338094450982918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249294501,"filename":"image_06042025_14_52_05_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351008511","file1":"1351008508","file0":"1351008503","file4":"1351008541","file5":"1351008565","file3":"1351008526"},"map_files_photo_id_array":[{"photo_id":"1351008565","filename":"file5"},{"photo_id":"1351008511","filename":"file2"},{"photo_id":"1351008541","filename":"file4"},{"photo_id":"1351008508","filename":"file1"},{"photo_id":"1351008503","filename":"file0"},{"photo_id":"1351008526","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351008503":["hashtag1","hashtag2"]},{"1351008541":["hashtag1","hashtag2"]},{"1351008565":["hashtag1","hashtag2"]},{"1351008526":["hashtag1","hashtag2"]},{"1351008511":["hashtag1","hashtag2"]},{"1351008508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351008503, 1351008541, 1351008565, 1351008526, 1351008511, 1351008508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.227691650390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:41:32.825101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/52/image_06042025_14_53_05_10341.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_15_9466.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_25_10444.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_36_10394.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_45_9404.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/52/image_06042025_14_53_05_10341.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_15_9466.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_25_10444.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_36_10394.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_45_9404.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_56_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351008839","1351008824","1351008862","1351008882","1351008756","1351008791"],"photo_ids_order":["1351008756","1351008791","1351008824","1351008839","1351008862","1351008882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02303e220d1ffb9244d1f43e6657ab32.jpg","text":"TemporaryFile(/tmp/multipartBody6047379497940102234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e628811e926bb101ac4f2e7b94f6b204.jpg","text":"TemporaryFile(/tmp/multipartBody7778980248461909075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e61e6c23c732b803aae236cd9b7fea04.jpg","text":"TemporaryFile(/tmp/multipartBody4074044479479010938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_45_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62fb80afcd10a49d26f1724ea3496c35.jpg","text":"TemporaryFile(/tmp/multipartBody5273437529790613186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bcf8302616e82517f73b60692536e9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8931692665121901686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5dca7781d244f09b91574466c0d77adf.jpg","text":"TemporaryFile(/tmp/multipartBody4925553539549317991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249354639,"filename":"image_06042025_14_53_15_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351008824","file1":"1351008791","file0":"1351008756","file4":"1351008862","file5":"1351008882","file3":"1351008839"},"map_files_photo_id_array":[{"photo_id":"1351008882","filename":"file5"},{"photo_id":"1351008824","filename":"file2"},{"photo_id":"1351008862","filename":"file4"},{"photo_id":"1351008791","filename":"file1"},{"photo_id":"1351008756","filename":"file0"},{"photo_id":"1351008839","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351008839":["hashtag1","hashtag2"]},{"1351008824":["hashtag1","hashtag2"]},{"1351008862":["hashtag1","hashtag2"]},{"1351008882":["hashtag1","hashtag2"]},{"1351008756":["hashtag1","hashtag2"]},{"1351008791":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351008839, 1351008824, 1351008862, 1351008882, 1351008756, 1351008791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.936070919036865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:42:33.044447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/53/image_06042025_14_54_05_9413.jpg', '/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_15_10348.jpg', '/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_35_9387.jpg', '/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_46_10448.jpg', '/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_55_9430.jpg', '/home/pi/Desktop/images/06042025/14/55/image_06042025_14_55_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_54_05_9413.jpg
/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_15_10348.jpg
/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_35_9387.jpg
/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_46_10448.jpg
/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_55_9430.jpg
/home/pi/Desktop/images/06042025/14/55/image_06042025_14_55_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351008977","1351008990","1351009008","1351009067","1351009055","1351009064"],"photo_ids_order":["1351008977","1351008990","1351009008","1351009055","1351009064","1351009067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff47bb0817f7dbb95216db750dfd4f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7106710805969109541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_54_05_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11946868734e94efb36046a749f71f69.jpg","text":"TemporaryFile(/tmp/multipartBody4717263732614392725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_54_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5b7022fab88c325281ca0439dc8f046.jpg","text":"TemporaryFile(/tmp/multipartBody1151399418953021683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_54_35_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0e9a44c1d3130030a1d9e67d4adcbd2.jpg","text":"TemporaryFile(/tmp/multipartBody8953186166385432435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_55_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21a2abbb5f8d17d9cc644addbf3bd548.jpg","text":"TemporaryFile(/tmp/multipartBody9185992026888726969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_54_46_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b83f2775a9a8dbba5f2437bc010064b.jpg","text":"TemporaryFile(/tmp/multipartBody7066103539239807814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249414854,"filename":"image_06042025_14_54_55_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351009008","file1":"1351008990","file0":"1351008977","file4":"1351009064","file5":"1351009067","file3":"1351009055"},"map_files_photo_id_array":[{"photo_id":"1351009067","filename":"file5"},{"photo_id":"1351009008","filename":"file2"},{"photo_id":"1351009064","filename":"file4"},{"photo_id":"1351008990","filename":"file1"},{"photo_id":"1351008977","filename":"file0"},{"photo_id":"1351009055","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351008977":["hashtag1","hashtag2"]},{"1351008990":["hashtag1","hashtag2"]},{"1351009008":["hashtag1","hashtag2"]},{"1351009067":["hashtag1","hashtag2"]},{"1351009055":["hashtag1","hashtag2"]},{"1351009064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351008977, 1351008990, 1351009008, 1351009067, 1351009055, 1351009064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.027217626571655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:43:32.231883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/55/image_06042025_14_55_55_9458.jpg', '/home/pi/Desktop/images/06042025/14/55/image_06042025_14_56_06_10533.jpg', '/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_15_9403.jpg', '/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_26_10441.jpg', '/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_35_9546.jpg', '/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/55/image_06042025_14_55_55_9458.jpg
/home/pi/Desktop/images/06042025/14/55/image_06042025_14_56_06_10533.jpg
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_15_9403.jpg
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_26_10441.jpg
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_35_9546.jpg
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351009441","1351009522","1351009417","1351009449","1351009437","1351009499"],"photo_ids_order":["1351009417","1351009437","1351009441","1351009449","1351009499","1351009522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/267e5e7028c9c33c581920c54314e477.jpg","text":"TemporaryFile(/tmp/multipartBody7448261217601266232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_56_15_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e2e398c3c471838fd5e7f8a7c9771a8.jpg","text":"TemporaryFile(/tmp/multipartBody2940611111018520316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_56_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80edcfb3395a191ec44bb0aad3b46663.jpg","text":"TemporaryFile(/tmp/multipartBody7231794825860062301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_55_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7bd58fb5c4b4d8048cf3fe339f27eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8577980429619668410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_56_26_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5aa209a2f6d91b4b8200597e6a3fb583.jpg","text":"TemporaryFile(/tmp/multipartBody2535674758596121395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_56_06_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625b8602d4713a69fb49b1b71627c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6795021806084355587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249474022,"filename":"image_06042025_14_56_35_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351009441","file1":"1351009437","file0":"1351009417","file4":"1351009499","file5":"1351009522","file3":"1351009449"},"map_files_photo_id_array":[{"photo_id":"1351009522","filename":"file5"},{"photo_id":"1351009441","filename":"file2"},{"photo_id":"1351009499","filename":"file4"},{"photo_id":"1351009437","filename":"file1"},{"photo_id":"1351009417","filename":"file0"},{"photo_id":"1351009449","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351009441":["hashtag1","hashtag2"]},{"1351009522":["hashtag1","hashtag2"]},{"1351009417":["hashtag1","hashtag2"]},{"1351009449":["hashtag1","hashtag2"]},{"1351009437":["hashtag1","hashtag2"]},{"1351009499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351009441, 1351009522, 1351009417, 1351009449, 1351009437, 1351009499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49458956718445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:44:32.405410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_56_10346.jpg', '/home/pi/Desktop/images/06042025/14/56/image_06042025_14_57_05_9392.jpg', '/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_16_10385.jpg', '/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_25_9423.jpg', '/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_46_10343.jpg', '/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_55_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_56_56_10346.jpg
/home/pi/Desktop/images/06042025/14/56/image_06042025_14_57_05_9392.jpg
/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_16_10385.jpg
/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_25_9423.jpg
/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_46_10343.jpg
/home/pi/Desktop/images/06042025/14/57/image_06042025_14_57_55_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351009864","1351009831","1351009710","1351009668","1351009749","1351009775"],"photo_ids_order":["1351009668","1351009710","1351009749","1351009775","1351009831","1351009864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6f826f8d22ac67cca6f3d642e85c932.jpg","text":"TemporaryFile(/tmp/multipartBody5599058529858830602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_57_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3d2849d53a670101884089b7143b5b0.jpg","text":"TemporaryFile(/tmp/multipartBody7441425490567019686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_57_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8f0698d503cdb9d0e38de77da953c3e.jpg","text":"TemporaryFile(/tmp/multipartBody5543967493641886200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_57_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fc5dcbedb277cc2f9ddc8ea52f8dd47.jpg","text":"TemporaryFile(/tmp/multipartBody7637152877434276495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_56_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83c3f4ceaac586b1a071510b90b654e0.jpg","text":"TemporaryFile(/tmp/multipartBody5112580751623521213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_57_16_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b21887f0c3fd855a3dd9fbd363331d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1104158601154507010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249534200,"filename":"image_06042025_14_57_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351009749","file1":"1351009710","file0":"1351009668","file4":"1351009831","file5":"1351009864","file3":"1351009775"},"map_files_photo_id_array":[{"photo_id":"1351009864","filename":"file5"},{"photo_id":"1351009749","filename":"file2"},{"photo_id":"1351009831","filename":"file4"},{"photo_id":"1351009710","filename":"file1"},{"photo_id":"1351009668","filename":"file0"},{"photo_id":"1351009775","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351009864":["hashtag1","hashtag2"]},{"1351009831":["hashtag1","hashtag2"]},{"1351009710":["hashtag1","hashtag2"]},{"1351009668":["hashtag1","hashtag2"]},{"1351009749":["hashtag1","hashtag2"]},{"1351009775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351009864, 1351009831, 1351009710, 1351009668, 1351009749, 1351009775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.411969900131226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:45:32.516317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_25_10350.jpg', '/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_36_10371.jpg', '/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_45_9359.jpg', '/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_55_10393.jpg', '/home/pi/Desktop/images/06042025/14/58/image_06042025_14_59_06_10368.jpg', '/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_15_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_25_10350.jpg
/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_36_10371.jpg
/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_45_9359.jpg
/home/pi/Desktop/images/06042025/14/58/image_06042025_14_58_55_10393.jpg
/home/pi/Desktop/images/06042025/14/58/image_06042025_14_59_06_10368.jpg
/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_15_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351010438","1351010123","1351010173","1351010071","1351010199","1351010390"],"photo_ids_order":["1351010071","1351010123","1351010173","1351010199","1351010390","1351010438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/827e8813e09cefe827d3e4739d4756a1.jpg","text":"TemporaryFile(/tmp/multipartBody384538892768779551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_59_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1aabe5d87835a8cfb6bd9fe45721434e.jpg","text":"TemporaryFile(/tmp/multipartBody842270873202723266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_58_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d59abe5699652bb3fb889bac7ea1efde.jpg","text":"TemporaryFile(/tmp/multipartBody6849711914824423655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_58_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7f47bfc599045e99212c32639bad03e.jpg","text":"TemporaryFile(/tmp/multipartBody7555764036129016993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_58_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ed7f16dbe47de98161c7d772c08ec64.jpg","text":"TemporaryFile(/tmp/multipartBody9091419993391562996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_58_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d4e90499c8bc92f4e2f2588c0edb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody4320702641373735722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249594321,"filename":"image_06042025_14_59_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351010173","file1":"1351010123","file0":"1351010071","file4":"1351010390","file5":"1351010438","file3":"1351010199"},"map_files_photo_id_array":[{"photo_id":"1351010438","filename":"file5"},{"photo_id":"1351010173","filename":"file2"},{"photo_id":"1351010390","filename":"file4"},{"photo_id":"1351010123","filename":"file1"},{"photo_id":"1351010071","filename":"file0"},{"photo_id":"1351010199","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351010438":["hashtag1","hashtag2"]},{"1351010123":["hashtag1","hashtag2"]},{"1351010173":["hashtag1","hashtag2"]},{"1351010071":["hashtag1","hashtag2"]},{"1351010199":["hashtag1","hashtag2"]},{"1351010390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351010438, 1351010123, 1351010173, 1351010071, 1351010199, 1351010390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01790904998779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:46:32.785754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_35_9419.jpg', '/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_56_10357.jpg', '/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_16_10080.jpg', '/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_26_10362.jpg', '/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_37_10466.jpg', '/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_46_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_35_9419.jpg
/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_56_10357.jpg
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_16_10080.jpg
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_26_10362.jpg
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_37_10466.jpg
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_46_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351010741","1351010801","1351010749","1351010757","1351010814","1351010777"],"photo_ids_order":["1351010741","1351010749","1351010757","1351010777","1351010801","1351010814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49febbbf005470d3f259c59e146f6a06.jpg","text":"TemporaryFile(/tmp/multipartBody2567983142910961632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_14_59_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d45263548cb32bf1b78f56c3cadaf3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6847807341196121476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_15_00_37_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3b3689b16bc40eac57aeea26d9fc709.jpg","text":"TemporaryFile(/tmp/multipartBody1370725383755153688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_14_59_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb85ee1f162752d90a920ae47e64e696.jpg","text":"TemporaryFile(/tmp/multipartBody5210647137708764612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_15_00_16_10080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8af47c9a286c305ec9ee47605a8660a.jpg","text":"TemporaryFile(/tmp/multipartBody6364553122795769543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_15_00_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2185fab5fc0a61c9837c8e7e60f6e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7429474873298851112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249654613,"filename":"image_06042025_15_00_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351010757","file1":"1351010749","file0":"1351010741","file4":"1351010801","file5":"1351010814","file3":"1351010777"},"map_files_photo_id_array":[{"photo_id":"1351010814","filename":"file5"},{"photo_id":"1351010757","filename":"file2"},{"photo_id":"1351010801","filename":"file4"},{"photo_id":"1351010749","filename":"file1"},{"photo_id":"1351010741","filename":"file0"},{"photo_id":"1351010777","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351010741":["hashtag1","hashtag2"]},{"1351010801":["hashtag1","hashtag2"]},{"1351010749":["hashtag1","hashtag2"]},{"1351010757":["hashtag1","hashtag2"]},{"1351010814":["hashtag1","hashtag2"]},{"1351010777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351010741, 1351010801, 1351010749, 1351010757, 1351010814, 1351010777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67364716529846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:47:32.979301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_57_10358.jpg', '/home/pi/Desktop/images/06042025/15/00/image_06042025_15_01_07_10354.jpg', '/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_37_10359.jpg', '/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_46_9353.jpg', '/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_57_10363.jpg', '/home/pi/Desktop/images/06042025/15/01/image_06042025_15_02_06_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_00_57_10358.jpg
/home/pi/Desktop/images/06042025/15/00/image_06042025_15_01_07_10354.jpg
/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_37_10359.jpg
/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_46_9353.jpg
/home/pi/Desktop/images/06042025/15/01/image_06042025_15_01_57_10363.jpg
/home/pi/Desktop/images/06042025/15/01/image_06042025_15_02_06_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011029","1351011022","1351011063","1351011075","1351011048","1351011032"],"photo_ids_order":["1351011022","1351011029","1351011032","1351011048","1351011063","1351011075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a351bbd3c5b91177a045ea7f188424ca.jpg","text":"TemporaryFile(/tmp/multipartBody4945927701082697495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_01_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e6039c4cb857824479cc3f632e6ff2e.jpg","text":"TemporaryFile(/tmp/multipartBody1733903257501171574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_00_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdb3bad794e7cfaea16156fe691a9463.jpg","text":"TemporaryFile(/tmp/multipartBody4742087897210846696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_01_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/374365666235ad308a8193e0c75e9afe.jpg","text":"TemporaryFile(/tmp/multipartBody706325442178497163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_02_06_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9db330942baca7d63dbe8fc9921c5290.jpg","text":"TemporaryFile(/tmp/multipartBody913598340022033846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_01_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc71b655b561329b74f3dde531909a42.jpg","text":"TemporaryFile(/tmp/multipartBody3169960846219258325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249714845,"filename":"image_06042025_15_01_37_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011032","file1":"1351011029","file0":"1351011022","file4":"1351011063","file5":"1351011075","file3":"1351011048"},"map_files_photo_id_array":[{"photo_id":"1351011075","filename":"file5"},{"photo_id":"1351011032","filename":"file2"},{"photo_id":"1351011063","filename":"file4"},{"photo_id":"1351011029","filename":"file1"},{"photo_id":"1351011022","filename":"file0"},{"photo_id":"1351011048","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011029":["hashtag1","hashtag2"]},{"1351011022":["hashtag1","hashtag2"]},{"1351011063":["hashtag1","hashtag2"]},{"1351011075":["hashtag1","hashtag2"]},{"1351011048":["hashtag1","hashtag2"]},{"1351011032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011029, 1351011022, 1351011063, 1351011075, 1351011048, 1351011032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77344560623169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:48:32.174323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_17_10375.jpg', '/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_36_9412.jpg', '/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_47_10350.jpg', '/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_56_9353.jpg', '/home/pi/Desktop/images/06042025/15/02/image_06042025_15_03_06_10356.jpg', '/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_17_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_17_10375.jpg
/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_36_9412.jpg
/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_47_10350.jpg
/home/pi/Desktop/images/06042025/15/02/image_06042025_15_02_56_9353.jpg
/home/pi/Desktop/images/06042025/15/02/image_06042025_15_03_06_10356.jpg
/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_17_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011128","1351011148","1351011133","1351011136","1351011145","1351011120"],"photo_ids_order":["1351011120","1351011128","1351011133","1351011136","1351011145","1351011148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1f56275134ddd01daa5f8b3fb88375e.jpg","text":"TemporaryFile(/tmp/multipartBody7825715915802656375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_02_36_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98dbb8d4bd6782cdff6ee61acce4b99d.jpg","text":"TemporaryFile(/tmp/multipartBody3124354905617835685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_03_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb90f8f856726e614aad9d53abf58ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6999092132320852123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_02_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0da4c0191b6ee9b39d9261b592abdbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3675943455310859293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_02_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ea3036e4b68352a4290403afaa20775.jpg","text":"TemporaryFile(/tmp/multipartBody4061437766124065424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_03_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d555dbe758eb5af019e31dee35edb56.jpg","text":"TemporaryFile(/tmp/multipartBody3070896532937705549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249773982,"filename":"image_06042025_15_02_17_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011133","file1":"1351011128","file0":"1351011120","file4":"1351011145","file5":"1351011148","file3":"1351011136"},"map_files_photo_id_array":[{"photo_id":"1351011148","filename":"file5"},{"photo_id":"1351011133","filename":"file2"},{"photo_id":"1351011145","filename":"file4"},{"photo_id":"1351011128","filename":"file1"},{"photo_id":"1351011120","filename":"file0"},{"photo_id":"1351011136","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011128":["hashtag1","hashtag2"]},{"1351011148":["hashtag1","hashtag2"]},{"1351011133":["hashtag1","hashtag2"]},{"1351011136":["hashtag1","hashtag2"]},{"1351011145":["hashtag1","hashtag2"]},{"1351011120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011128, 1351011148, 1351011133, 1351011136, 1351011145, 1351011120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.8699586391449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:49:32.509043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_26_9469.jpg', '/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_56_10371.jpg', '/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_16_9411.jpg', '/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_36_9478.jpg', '/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_46_10367.jpg', '/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_57_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_26_9469.jpg
/home/pi/Desktop/images/06042025/15/03/image_06042025_15_03_56_10371.jpg
/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_16_9411.jpg
/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_36_9478.jpg
/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_46_10367.jpg
/home/pi/Desktop/images/06042025/15/04/image_06042025_15_04_57_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011199","1351011265","1351011258","1351011185","1351011188","1351011230"],"photo_ids_order":["1351011185","1351011188","1351011199","1351011230","1351011258","1351011265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6131fe1770ad220ce398f469229a731.jpg","text":"TemporaryFile(/tmp/multipartBody8610322801782097150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_04_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b153c930dd0b334ab834f6dc29f4a59.jpg","text":"TemporaryFile(/tmp/multipartBody7136223833182884932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_04_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad4897d42a8d1ef329c8cb377e530590.jpg","text":"TemporaryFile(/tmp/multipartBody6323067003312125208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_04_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ea09ec7637755e45c7c647de18153d7.jpg","text":"TemporaryFile(/tmp/multipartBody2980189666339802480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_03_26_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c73662bf1fd4c8e63899dee0460e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody6059583828326361833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_03_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60ebae4d72135ea0e07589a009e93ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7617369817240702786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249836827,"filename":"image_06042025_15_04_36_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011199","file1":"1351011188","file0":"1351011185","file4":"1351011258","file5":"1351011265","file3":"1351011230"},"map_files_photo_id_array":[{"photo_id":"1351011265","filename":"file5"},{"photo_id":"1351011199","filename":"file2"},{"photo_id":"1351011258","filename":"file4"},{"photo_id":"1351011188","filename":"file1"},{"photo_id":"1351011185","filename":"file0"},{"photo_id":"1351011230","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011199":["hashtag1","hashtag2"]},{"1351011265":["hashtag1","hashtag2"]},{"1351011258":["hashtag1","hashtag2"]},{"1351011185":["hashtag1","hashtag2"]},{"1351011188":["hashtag1","hashtag2"]},{"1351011230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011199, 1351011265, 1351011258, 1351011185, 1351011188, 1351011230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08973717689514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:50:32.438075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/04/image_06042025_15_05_06_9415.jpg', '/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_27_10471.jpg', '/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_47_10365.jpg', '/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_56_9471.jpg', '/home/pi/Desktop/images/06042025/15/05/image_06042025_15_06_07_10409.jpg', '/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_16_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/04/image_06042025_15_05_06_9415.jpg
/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_27_10471.jpg
/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_47_10365.jpg
/home/pi/Desktop/images/06042025/15/05/image_06042025_15_05_56_9471.jpg
/home/pi/Desktop/images/06042025/15/05/image_06042025_15_06_07_10409.jpg
/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_16_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011295","1351011325","1351011339","1351011309","1351011299","1351011320"],"photo_ids_order":["1351011295","1351011299","1351011309","1351011320","1351011325","1351011339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d7cfb1f1d3c0be2cbd8121158d2bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody2571014497176930387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_05_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfe24d63a0952fbc9822155560136648.jpg","text":"TemporaryFile(/tmp/multipartBody2068845806609659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_06_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5de7776c6b8f1fd337f5e99ddffc818.jpg","text":"TemporaryFile(/tmp/multipartBody6549156723801199355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_06_16_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5bc6a23963ef62398f5696a751f709b.jpg","text":"TemporaryFile(/tmp/multipartBody5495929193861373372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_05_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1f2cfbcd22909fc399686ceaf54bda5.jpg","text":"TemporaryFile(/tmp/multipartBody5363047912251450568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_05_27_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/341b4a0f572d0e4daf3a37aa4e18aa09.jpg","text":"TemporaryFile(/tmp/multipartBody7115278802414630960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249894223,"filename":"image_06042025_15_05_56_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011309","file1":"1351011299","file0":"1351011295","file4":"1351011325","file5":"1351011339","file3":"1351011320"},"map_files_photo_id_array":[{"photo_id":"1351011339","filename":"file5"},{"photo_id":"1351011309","filename":"file2"},{"photo_id":"1351011325","filename":"file4"},{"photo_id":"1351011299","filename":"file1"},{"photo_id":"1351011295","filename":"file0"},{"photo_id":"1351011320","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011295":["hashtag1","hashtag2"]},{"1351011325":["hashtag1","hashtag2"]},{"1351011339":["hashtag1","hashtag2"]},{"1351011309":["hashtag1","hashtag2"]},{"1351011299":["hashtag1","hashtag2"]},{"1351011320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011295, 1351011325, 1351011339, 1351011309, 1351011299, 1351011320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75704550743103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:51:32.633866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_37_10354.jpg', '/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_57_10354.jpg', '/home/pi/Desktop/images/06042025/15/06/image_06042025_15_07_07_10399.jpg', '/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_16_9352.jpg', '/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_27_10373.jpg', '/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_37_10354.jpg
/home/pi/Desktop/images/06042025/15/06/image_06042025_15_06_57_10354.jpg
/home/pi/Desktop/images/06042025/15/06/image_06042025_15_07_07_10399.jpg
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_16_9352.jpg
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_27_10373.jpg
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011556","1351011571","1351011550","1351011535","1351011540","1351011546"],"photo_ids_order":["1351011535","1351011540","1351011546","1351011550","1351011556","1351011571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4a6dba2cc7f32c56e3306d2d578e514.jpg","text":"TemporaryFile(/tmp/multipartBody9133730056104528835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_07_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa6f6e26aa241f0289b08b3eb18e1b68.jpg","text":"TemporaryFile(/tmp/multipartBody4293951701375207658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_07_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c0737f4f6eb50bf571f5baba9cd0fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1077361878425041979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_07_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/149cb5f42f0461923ddfdbbecd886ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5841367283928344164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_06_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/668f96621a6bec2f77e081828a8e8da1.jpg","text":"TemporaryFile(/tmp/multipartBody2257313286609280266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_06_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db00f10ee7bfbb872a8630bf17a4229c.jpg","text":"TemporaryFile(/tmp/multipartBody8549528486082036663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744249954445,"filename":"image_06042025_15_07_07_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011546","file1":"1351011540","file0":"1351011535","file4":"1351011556","file5":"1351011571","file3":"1351011550"},"map_files_photo_id_array":[{"photo_id":"1351011571","filename":"file5"},{"photo_id":"1351011546","filename":"file2"},{"photo_id":"1351011556","filename":"file4"},{"photo_id":"1351011540","filename":"file1"},{"photo_id":"1351011535","filename":"file0"},{"photo_id":"1351011550","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011556":["hashtag1","hashtag2"]},{"1351011571":["hashtag1","hashtag2"]},{"1351011550":["hashtag1","hashtag2"]},{"1351011535":["hashtag1","hashtag2"]},{"1351011540":["hashtag1","hashtag2"]},{"1351011546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011556, 1351011571, 1351011550, 1351011535, 1351011540, 1351011546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36613917350769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:52:32.817430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_57_10473.jpg', '/home/pi/Desktop/images/06042025/15/07/image_06042025_15_08_06_9332.jpg', '/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_17_10330.jpg', '/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_26_9409.jpg', '/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_36_10367.jpg', '/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_47_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_57_10473.jpg
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_08_06_9332.jpg
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_17_10330.jpg
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_26_9409.jpg
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_36_10367.jpg
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_47_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011661","1351011658","1351011654","1351011648","1351011645","1351011665"],"photo_ids_order":["1351011645","1351011648","1351011654","1351011658","1351011661","1351011665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f156d4575136cfa831f7cb6628ec87b5.jpg","text":"TemporaryFile(/tmp/multipartBody6395323825687787784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_08_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6ac1276fa4f44b1d2423142d17a7bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1872301829801674085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_08_26_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f55cd01152d3b5e7cde2a0de643a644.jpg","text":"TemporaryFile(/tmp/multipartBody7920313012562008103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_08_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/552662ca876381d55099f3a22b8c74e0.jpg","text":"TemporaryFile(/tmp/multipartBody4325149014010636379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_08_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/681bbe97caa54106b1602203080637af.jpg","text":"TemporaryFile(/tmp/multipartBody5814752205657456888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_07_57_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b14c1825954b2f464bbbe163fa8fe390.jpg","text":"TemporaryFile(/tmp/multipartBody666333575917589779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250014620,"filename":"image_06042025_15_08_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011654","file1":"1351011648","file0":"1351011645","file4":"1351011661","file5":"1351011665","file3":"1351011658"},"map_files_photo_id_array":[{"photo_id":"1351011665","filename":"file5"},{"photo_id":"1351011654","filename":"file2"},{"photo_id":"1351011661","filename":"file4"},{"photo_id":"1351011648","filename":"file1"},{"photo_id":"1351011645","filename":"file0"},{"photo_id":"1351011658","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011661":["hashtag1","hashtag2"]},{"1351011658":["hashtag1","hashtag2"]},{"1351011654":["hashtag1","hashtag2"]},{"1351011648":["hashtag1","hashtag2"]},{"1351011645":["hashtag1","hashtag2"]},{"1351011665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011661, 1351011658, 1351011654, 1351011648, 1351011645, 1351011665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.075575828552246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:53:33.014782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_56_9424.jpg', '/home/pi/Desktop/images/06042025/15/08/image_06042025_15_09_07_10373.jpg', '/home/pi/Desktop/images/06042025/15/09/image_06042025_15_09_17_10468.jpg', '/home/pi/Desktop/images/06042025/15/09/image_06042025_15_09_26_9449.jpg', '/home/pi/Desktop/images/06042025/15/10/image_06042025_15_10_57_10485.jpg', '/home/pi/Desktop/images/06042025/15/10/image_06042025_15_11_06_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_08_56_9424.jpg
/home/pi/Desktop/images/06042025/15/08/image_06042025_15_09_07_10373.jpg
/home/pi/Desktop/images/06042025/15/09/image_06042025_15_09_17_10468.jpg
/home/pi/Desktop/images/06042025/15/09/image_06042025_15_09_26_9449.jpg
/home/pi/Desktop/images/06042025/15/10/image_06042025_15_10_57_10485.jpg
/home/pi/Desktop/images/06042025/15/10/image_06042025_15_11_06_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351011754","1351011739","1351011714","1351011782","1351011737","1351011731"],"photo_ids_order":["1351011714","1351011731","1351011737","1351011739","1351011754","1351011782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1ec90dfa5bf1b7da03f8163e9487e88.jpg","text":"TemporaryFile(/tmp/multipartBody4364676279214799943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_10_57_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abbeebcc02d9d8505336c6a1b2da86a8.jpg","text":"TemporaryFile(/tmp/multipartBody5534704728328750293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_09_26_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b4b6ce73ddbf9b76e1358297ad37233.jpg","text":"TemporaryFile(/tmp/multipartBody4756798898759026706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_08_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7b867b1d8be4d7ad7566edb3b8b950d.jpg","text":"TemporaryFile(/tmp/multipartBody257011754525342352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_11_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e8309881397b6cea4898c34dad4ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody2103098770767666725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_09_17_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5bf95a875726d38955791a2044935c3.jpg","text":"TemporaryFile(/tmp/multipartBody8854626402353415743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250074807,"filename":"image_06042025_15_09_07_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011737","file1":"1351011731","file0":"1351011714","file4":"1351011754","file5":"1351011782","file3":"1351011739"},"map_files_photo_id_array":[{"photo_id":"1351011782","filename":"file5"},{"photo_id":"1351011737","filename":"file2"},{"photo_id":"1351011754","filename":"file4"},{"photo_id":"1351011731","filename":"file1"},{"photo_id":"1351011714","filename":"file0"},{"photo_id":"1351011739","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351011754":["hashtag1","hashtag2"]},{"1351011739":["hashtag1","hashtag2"]},{"1351011714":["hashtag1","hashtag2"]},{"1351011782":["hashtag1","hashtag2"]},{"1351011737":["hashtag1","hashtag2"]},{"1351011731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351011754, 1351011739, 1351011714, 1351011782, 1351011737, 1351011731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.152894735336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:54:32.253772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_17_10352.jpg', '/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_36_10348.jpg', '/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_47_10362.jpg', '/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_17_10407.jpg', '/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_37_10344.jpg', '/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_56_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_17_10352.jpg
/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_36_10348.jpg
/home/pi/Desktop/images/06042025/15/11/image_06042025_15_11_47_10362.jpg
/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_17_10407.jpg
/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_37_10344.jpg
/home/pi/Desktop/images/06042025/15/12/image_06042025_15_12_56_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351012072","1351012042","1351012021","1351011992","1351011950","1351011917"],"photo_ids_order":["1351011917","1351011950","1351011992","1351012021","1351012042","1351012072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ad9bd83c5addfcc3436998348f060c0.jpg","text":"TemporaryFile(/tmp/multipartBody1632146642793351663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_12_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d037d3baa44b2e41008021e22fa3ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4701357873548240170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_12_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b075e33a2138d2d4695c4db97a3c3d27.jpg","text":"TemporaryFile(/tmp/multipartBody2289315600769030102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_12_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/636fe1c55e0c15da52fc56b5aea275e2.jpg","text":"TemporaryFile(/tmp/multipartBody5266977101831710567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_11_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12f0c434a3ad5b30db158868f5ee4d51.jpg","text":"TemporaryFile(/tmp/multipartBody3829946198249711666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_11_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/347d787373de0beea73cfe607722adfe.jpg","text":"TemporaryFile(/tmp/multipartBody2919834408977277672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250134045,"filename":"image_06042025_15_11_17_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351011992","file1":"1351011950","file0":"1351011917","file4":"1351012042","file5":"1351012072","file3":"1351012021"},"map_files_photo_id_array":[{"photo_id":"1351012072","filename":"file5"},{"photo_id":"1351011992","filename":"file2"},{"photo_id":"1351012042","filename":"file4"},{"photo_id":"1351011950","filename":"file1"},{"photo_id":"1351011917","filename":"file0"},{"photo_id":"1351012021","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351012072":["hashtag1","hashtag2"]},{"1351012042":["hashtag1","hashtag2"]},{"1351012021":["hashtag1","hashtag2"]},{"1351011992":["hashtag1","hashtag2"]},{"1351011950":["hashtag1","hashtag2"]},{"1351011917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351012072, 1351012042, 1351012021, 1351011992, 1351011950, 1351011917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3283793926239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:55:32.351322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_27_10423.jpg', '/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_36_9437.jpg', '/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_57_10417.jpg', '/home/pi/Desktop/images/06042025/15/13/image_06042025_15_14_06_9334.jpg', '/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_26_9395.jpg', '/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_27_10423.jpg
/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_36_9437.jpg
/home/pi/Desktop/images/06042025/15/13/image_06042025_15_13_57_10417.jpg
/home/pi/Desktop/images/06042025/15/13/image_06042025_15_14_06_9334.jpg
/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_26_9395.jpg
/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351012299","1351012281","1351012254","1351012283","1351012294","1351012297"],"photo_ids_order":["1351012254","1351012281","1351012283","1351012294","1351012297","1351012299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fb63e41828720033fe9bf8faffb4796.jpg","text":"TemporaryFile(/tmp/multipartBody8984561894741250971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_14_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f2c21a71d7e1779d34407251192582d.jpg","text":"TemporaryFile(/tmp/multipartBody3190447053839090476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_13_36_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31b372e021956ee51bfa28826891cbc3.jpg","text":"TemporaryFile(/tmp/multipartBody4321329489323631519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_13_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e60efc1f27280f379cd67e989bf0aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody4812663243572860146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_13_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e3b85cc9ab621e10aeeaa72c6034419.jpg","text":"TemporaryFile(/tmp/multipartBody4860654974362718433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_14_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85f30e7ef2b7ecb334a7f424cca07fef.jpg","text":"TemporaryFile(/tmp/multipartBody7142358977950716059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250194135,"filename":"image_06042025_15_14_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351012283","file1":"1351012281","file0":"1351012254","file4":"1351012297","file5":"1351012299","file3":"1351012294"},"map_files_photo_id_array":[{"photo_id":"1351012299","filename":"file5"},{"photo_id":"1351012283","filename":"file2"},{"photo_id":"1351012297","filename":"file4"},{"photo_id":"1351012281","filename":"file1"},{"photo_id":"1351012254","filename":"file0"},{"photo_id":"1351012294","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351012299":["hashtag1","hashtag2"]},{"1351012281":["hashtag1","hashtag2"]},{"1351012254":["hashtag1","hashtag2"]},{"1351012283":["hashtag1","hashtag2"]},{"1351012294":["hashtag1","hashtag2"]},{"1351012297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351012299, 1351012281, 1351012254, 1351012283, 1351012294, 1351012297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.89492988586426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:56:52.584665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_47_10348.jpg', '/home/pi/Desktop/images/06042025/15/14/image_06042025_15_15_07_10354.jpg', '/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_17_10437.jpg', '/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_26_9412.jpg', '/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_37_10359.jpg', '/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_46_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/14/image_06042025_15_14_47_10348.jpg
/home/pi/Desktop/images/06042025/15/14/image_06042025_15_15_07_10354.jpg
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_17_10437.jpg
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_26_9412.jpg
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_37_10359.jpg
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_46_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351012761","1351012527","1351012691","1351012664","1351012571","1351012421"],"photo_ids_order":["1351012421","1351012527","1351012571","1351012664","1351012691","1351012761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4fb9ea87f08b6993dd53e3bcca6b08d.jpg","text":"TemporaryFile(/tmp/multipartBody6651836202239946490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_15_46_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74ccb4185e32ab5f74ed9c5520831663.jpg","text":"TemporaryFile(/tmp/multipartBody681939977639733287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_15_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b4d13812de81cea021f1b0403426c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3790357387089619006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_15_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd51ad531473e61a9ccbbe642a50da91.jpg","text":"TemporaryFile(/tmp/multipartBody6058175771621794189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_15_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ef9c50cf815f0853148c6f42d21792a.jpg","text":"TemporaryFile(/tmp/multipartBody5245593858006892800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_15_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17c0f1de6fa6c101d36e9d6c2d94d7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7137804005554657701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250274386,"filename":"image_06042025_15_14_47_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351012571","file1":"1351012527","file0":"1351012421","file4":"1351012691","file5":"1351012761","file3":"1351012664"},"map_files_photo_id_array":[{"photo_id":"1351012761","filename":"file5"},{"photo_id":"1351012571","filename":"file2"},{"photo_id":"1351012691","filename":"file4"},{"photo_id":"1351012527","filename":"file1"},{"photo_id":"1351012421","filename":"file0"},{"photo_id":"1351012664","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351012761":["hashtag1","hashtag2"]},{"1351012527":["hashtag1","hashtag2"]},{"1351012691":["hashtag1","hashtag2"]},{"1351012664":["hashtag1","hashtag2"]},{"1351012571":["hashtag1","hashtag2"]},{"1351012421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351012761, 1351012527, 1351012691, 1351012664, 1351012571, 1351012421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.433422565460205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 03:57:42.818954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_57_10460.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_16_9324.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_27_10428.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_36_9348.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_46_10371.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_57_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_57_10460.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_16_9324.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_27_10428.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_36_9348.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_46_10371.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_57_10468.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 03:59:03.447269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_57_10460.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_16_9324.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_27_10428.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_36_9348.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_46_10371.jpg', '/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_57_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/15/image_06042025_15_15_57_10460.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_16_9324.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_27_10428.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_36_9348.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_46_10371.jpg
/home/pi/Desktop/images/06042025/15/16/image_06042025_15_16_57_10468.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351013748","1351013742","1351013544","1351013727","1351013582","1351013651"],"photo_ids_order":["1351013544","1351013582","1351013651","1351013727","1351013742","1351013748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3dcafd54a4b1e9a6adb283737aad871.jpg","text":"TemporaryFile(/tmp/multipartBody5814193013671025320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_16_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e00ab5fb1505007207217973888986c8.jpg","text":"TemporaryFile(/tmp/multipartBody145224222744734387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_16_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58aad2f10fdd9c77f4152b710bba156a.jpg","text":"TemporaryFile(/tmp/multipartBody3910282620481575710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_15_57_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1f92d5d3c30e2a9aa7b2b0a771697e0.jpg","text":"TemporaryFile(/tmp/multipartBody1022665033424188448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_16_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1171a96b7e8ded27e585455cf93d0855.jpg","text":"TemporaryFile(/tmp/multipartBody7623494733290310795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_16_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/009a1db185ec841734d9b083c54b9236.jpg","text":"TemporaryFile(/tmp/multipartBody6136362483719716980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250404519,"filename":"image_06042025_15_16_27_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351013651","file1":"1351013582","file0":"1351013544","file4":"1351013742","file5":"1351013748","file3":"1351013727"},"map_files_photo_id_array":[{"photo_id":"1351013748","filename":"file5"},{"photo_id":"1351013651","filename":"file2"},{"photo_id":"1351013742","filename":"file4"},{"photo_id":"1351013582","filename":"file1"},{"photo_id":"1351013544","filename":"file0"},{"photo_id":"1351013727","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351013748":["hashtag1","hashtag2"]},{"1351013742":["hashtag1","hashtag2"]},{"1351013544":["hashtag1","hashtag2"]},{"1351013727":["hashtag1","hashtag2"]},{"1351013582":["hashtag1","hashtag2"]},{"1351013651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351013748, 1351013742, 1351013544, 1351013727, 1351013582, 1351013651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83426213264465 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 03:59:52.380422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_10042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22200973, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744250452000}
4310
2737582
4310
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_17_10775.jpg', '/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_27_9333.jpg', '/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_37_10446.jpg', '/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_48_10336.jpg', '/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_57_9339.jpg', '/home/pi/Desktop/images/10042025/00/01/image_10042025_00_02_07_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_17_10775.jpg
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_27_9333.jpg
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_37_10446.jpg
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_48_10336.jpg
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_01_57_9339.jpg
/home/pi/Desktop/images/10042025/00/01/image_10042025_00_02_07_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351013778","1351013757","1351013823","1351013843","1351013852","1351013849"],"photo_ids_order":["1351013757","1351013778","1351013823","1351013843","1351013849","1351013852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bfcc48ba33dc4241690c629cc70921c.jpg","text":"TemporaryFile(/tmp/multipartBody2528733302047026191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_01_27_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0a2f03c80d0e378243fdf3cc6fa5168.jpg","text":"TemporaryFile(/tmp/multipartBody1736786343184849797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_01_17_10775.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4551409e82126ecfc6932a7c84b59463.jpg","text":"TemporaryFile(/tmp/multipartBody6630557230069295623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_01_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5198a877c6e81e6e46db706b61469a62.jpg","text":"TemporaryFile(/tmp/multipartBody5398867024342772030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_01_48_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/391749a90dd85c0c8c4ce2ab2f45dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8841080946832676789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_02_07_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b69400641aef5550685743a7f7483f4.jpg","text":"TemporaryFile(/tmp/multipartBody5235600193762716341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250454275,"filename":"image_10042025_00_01_57_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351013823","file1":"1351013778","file0":"1351013757","file4":"1351013849","file5":"1351013852","file3":"1351013843"},"map_files_photo_id_array":[{"photo_id":"1351013852","filename":"file5"},{"photo_id":"1351013823","filename":"file2"},{"photo_id":"1351013849","filename":"file4"},{"photo_id":"1351013778","filename":"file1"},{"photo_id":"1351013757","filename":"file0"},{"photo_id":"1351013843","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351013778":["hashtag1","hashtag2"]},{"1351013757":["hashtag1","hashtag2"]},{"1351013823":["hashtag1","hashtag2"]},{"1351013843":["hashtag1","hashtag2"]},{"1351013852":["hashtag1","hashtag2"]},{"1351013849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351013778, 1351013757, 1351013823, 1351013843, 1351013852, 1351013849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.891510248184204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 04:00:42.601692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_17_9350.jpg', '/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_27_10374.jpg', '/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_38_10380.jpg', '/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_47_9400.jpg', '/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_57_10520.jpg', '/home/pi/Desktop/images/10042025/00/02/image_10042025_00_03_07_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_17_9350.jpg
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_27_10374.jpg
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_38_10380.jpg
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_47_9400.jpg
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_02_57_10520.jpg
/home/pi/Desktop/images/10042025/00/02/image_10042025_00_03_07_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351013886","1351013880","1351013882","1351013891","1351013879","1351013884"],"photo_ids_order":["1351013879","1351013880","1351013882","1351013884","1351013886","1351013891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00e84ab6c326d8eed9747a0642c72b33.jpg","text":"TemporaryFile(/tmp/multipartBody2390880180817130734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_02_57_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd4279ea56dbbedbc9ededd1bfc851ea.jpg","text":"TemporaryFile(/tmp/multipartBody4010044529004141583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_02_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c19381ed71b551df4bbc5881f6377078.jpg","text":"TemporaryFile(/tmp/multipartBody1352650777017766589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_02_38_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90440930f05dd57dd0d18e8b3b65133d.jpg","text":"TemporaryFile(/tmp/multipartBody2226676857519526311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_03_07_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4301b4fe20f044054a3fc3865edf425.jpg","text":"TemporaryFile(/tmp/multipartBody2632076055323876620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_02_17_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80b44035e6f69aeace568cf1421a5757.jpg","text":"TemporaryFile(/tmp/multipartBody4914448834131830639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250503077,"filename":"image_10042025_00_02_47_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351013882","file1":"1351013880","file0":"1351013879","file4":"1351013886","file5":"1351013891","file3":"1351013884"},"map_files_photo_id_array":[{"photo_id":"1351013891","filename":"file5"},{"photo_id":"1351013882","filename":"file2"},{"photo_id":"1351013886","filename":"file4"},{"photo_id":"1351013880","filename":"file1"},{"photo_id":"1351013879","filename":"file0"},{"photo_id":"1351013884","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351013886":["hashtag1","hashtag2"]},{"1351013880":["hashtag1","hashtag2"]},{"1351013882":["hashtag1","hashtag2"]},{"1351013891":["hashtag1","hashtag2"]},{"1351013879":["hashtag1","hashtag2"]},{"1351013884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351013886, 1351013880, 1351013882, 1351013891, 1351013879, 1351013884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6798779964447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:01:32.832570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_17_10378.jpg', '/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_28_10388.jpg', '/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_37_9357.jpg', '/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_47_10414.jpg', '/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_58_10365.jpg', '/home/pi/Desktop/images/10042025/00/03/image_10042025_00_04_07_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_17_10378.jpg
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_28_10388.jpg
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_37_9357.jpg
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_47_10414.jpg
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_03_58_10365.jpg
/home/pi/Desktop/images/10042025/00/03/image_10042025_00_04_07_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351013976","1351014033","1351013999","1351014023","1351014028","1351013956"],"photo_ids_order":["1351013956","1351013976","1351013999","1351014023","1351014028","1351014033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ac6a10bdbe1323ce58defb426296c68.jpg","text":"TemporaryFile(/tmp/multipartBody5657116174987047317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_03_28_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c44799aca42aad65e1624a481c48cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody3907875567433305182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_04_07_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e9d6f0f05f6268df13ed87cc3d8c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody3551493233841169242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_03_37_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1caa92c17e0a47f80d0bf926630bf73.jpg","text":"TemporaryFile(/tmp/multipartBody5412575205472391144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_03_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b3049095fe350f35b8fc33bcd8b1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3635326726810893437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_03_58_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a62f20d7c30f1273b1eb6a5c76021fe.jpg","text":"TemporaryFile(/tmp/multipartBody3389262648303096756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250553305,"filename":"image_10042025_00_03_17_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351013999","file1":"1351013976","file0":"1351013956","file4":"1351014028","file5":"1351014033","file3":"1351014023"},"map_files_photo_id_array":[{"photo_id":"1351014033","filename":"file5"},{"photo_id":"1351013999","filename":"file2"},{"photo_id":"1351014028","filename":"file4"},{"photo_id":"1351013976","filename":"file1"},{"photo_id":"1351013956","filename":"file0"},{"photo_id":"1351014023","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351013976":["hashtag1","hashtag2"]},{"1351014033":["hashtag1","hashtag2"]},{"1351013999":["hashtag1","hashtag2"]},{"1351014023":["hashtag1","hashtag2"]},{"1351014028":["hashtag1","hashtag2"]},{"1351013956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351013976, 1351014033, 1351013999, 1351014023, 1351014028, 1351013956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13030529022217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:02:33.085830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_18_10495.jpg', '/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_27_9355.jpg', '/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_37_10442.jpg', '/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_48_10379.jpg', '/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_57_9462.jpg', '/home/pi/Desktop/images/10042025/00/04/image_10042025_00_05_08_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_18_10495.jpg
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_27_9355.jpg
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_37_10442.jpg
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_48_10379.jpg
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_04_57_9462.jpg
/home/pi/Desktop/images/10042025/00/04/image_10042025_00_05_08_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351014153","1351014176","1351014161","1351014158","1351014146","1351014121"],"photo_ids_order":["1351014121","1351014146","1351014153","1351014158","1351014161","1351014176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3de99532fee1ff36cf4bc5aaa5c78910.jpg","text":"TemporaryFile(/tmp/multipartBody3411552596933556330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_04_37_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b69ce11887ccaa5e5e32573f9b929411.jpg","text":"TemporaryFile(/tmp/multipartBody4444546757783942568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_05_08_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28bfea83cfa2563ac71171c35e5ea59a.jpg","text":"TemporaryFile(/tmp/multipartBody2194548819298189135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_04_57_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ed4f49fe26569f1101e25a992c327f9.jpg","text":"TemporaryFile(/tmp/multipartBody404493401123904430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_04_48_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59f2b62f69d6a5446e916c1f9b24d377.jpg","text":"TemporaryFile(/tmp/multipartBody7004474048797051352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_04_27_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/059f7abacf01279013f352c9489a19fc.jpg","text":"TemporaryFile(/tmp/multipartBody4128252385757710614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250613562,"filename":"image_10042025_00_04_18_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351014153","file1":"1351014146","file0":"1351014121","file4":"1351014161","file5":"1351014176","file3":"1351014158"},"map_files_photo_id_array":[{"photo_id":"1351014176","filename":"file5"},{"photo_id":"1351014153","filename":"file2"},{"photo_id":"1351014161","filename":"file4"},{"photo_id":"1351014146","filename":"file1"},{"photo_id":"1351014121","filename":"file0"},{"photo_id":"1351014158","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351014153":["hashtag1","hashtag2"]},{"1351014176":["hashtag1","hashtag2"]},{"1351014161":["hashtag1","hashtag2"]},{"1351014158":["hashtag1","hashtag2"]},{"1351014146":["hashtag1","hashtag2"]},{"1351014121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351014153, 1351014176, 1351014161, 1351014158, 1351014146, 1351014121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2764105796814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:03:32.308963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_17_9361.jpg', '/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_27_10413.jpg', '/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_38_10344.jpg', '/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_47_9384.jpg', '/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_57_10391.jpg', '/home/pi/Desktop/images/10042025/00/05/image_10042025_00_06_07_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_17_9361.jpg
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_27_10413.jpg
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_38_10344.jpg
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_47_9384.jpg
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_05_57_10391.jpg
/home/pi/Desktop/images/10042025/00/05/image_10042025_00_06_07_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351014417","1351014691","1351014623","1351014478","1351014664","1351014565"],"photo_ids_order":["1351014417","1351014478","1351014565","1351014623","1351014664","1351014691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21a8dcbf14adaec44b9eb739ed6932e5.jpg","text":"TemporaryFile(/tmp/multipartBody2208340013862757151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_05_17_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33ae8928e78cd237afe7bccf50d63b39.jpg","text":"TemporaryFile(/tmp/multipartBody6874916782495092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_06_07_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfa9adb08a5c1d9e628ceb73fd55ffba.jpg","text":"TemporaryFile(/tmp/multipartBody6235717596405805595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_05_47_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9b18a9b046e1476e20799ec9cfe29ac.jpg","text":"TemporaryFile(/tmp/multipartBody5440688590694605322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_05_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d32ee0abb68b067ba975947bbb4a60e5.jpg","text":"TemporaryFile(/tmp/multipartBody566792636608520245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_05_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ace865235e221ad484ee7a0eee03e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1771562350881112071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250672819,"filename":"image_10042025_00_05_38_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351014565","file1":"1351014478","file0":"1351014417","file4":"1351014664","file5":"1351014691","file3":"1351014623"},"map_files_photo_id_array":[{"photo_id":"1351014691","filename":"file5"},{"photo_id":"1351014565","filename":"file2"},{"photo_id":"1351014664","filename":"file4"},{"photo_id":"1351014478","filename":"file1"},{"photo_id":"1351014417","filename":"file0"},{"photo_id":"1351014623","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351014417":["hashtag1","hashtag2"]},{"1351014691":["hashtag1","hashtag2"]},{"1351014623":["hashtag1","hashtag2"]},{"1351014478":["hashtag1","hashtag2"]},{"1351014664":["hashtag1","hashtag2"]},{"1351014565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351014417, 1351014691, 1351014623, 1351014478, 1351014664, 1351014565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76668071746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:04:32.513484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_17_10398.jpg', '/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_28_10380.jpg', '/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_37_9353.jpg', '/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_47_10441.jpg', '/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_57_9373.jpg', '/home/pi/Desktop/images/10042025/00/06/image_10042025_00_07_07_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_17_10398.jpg
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_28_10380.jpg
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_37_9353.jpg
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_47_10441.jpg
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_06_57_9373.jpg
/home/pi/Desktop/images/10042025/00/06/image_10042025_00_07_07_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351014900","1351014851","1351014892","1351014886","1351014853","1351014847"],"photo_ids_order":["1351014847","1351014851","1351014853","1351014886","1351014892","1351014900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f9d4da609b2b553ae056942adb44a22.jpg","text":"TemporaryFile(/tmp/multipartBody7834968140324991561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_07_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbdc89ad7b73b5329b36ee8975e1523f.jpg","text":"TemporaryFile(/tmp/multipartBody7974789580245861621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_06_28_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a944ffd114aef1d8c73c7afda9566ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5481818536909010389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_06_57_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3c4f0965bd595cd5bec0ea95e63e3da.jpg","text":"TemporaryFile(/tmp/multipartBody1565527827762693471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_06_47_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0e17330d55689de361680db65aafa3a.jpg","text":"TemporaryFile(/tmp/multipartBody980511398722119284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_06_37_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfbbbeafb8a0c774e3159fb0b061c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody9104941432350257079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250732984,"filename":"image_10042025_00_06_17_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351014853","file1":"1351014851","file0":"1351014847","file4":"1351014892","file5":"1351014900","file3":"1351014886"},"map_files_photo_id_array":[{"photo_id":"1351014900","filename":"file5"},{"photo_id":"1351014853","filename":"file2"},{"photo_id":"1351014892","filename":"file4"},{"photo_id":"1351014851","filename":"file1"},{"photo_id":"1351014847","filename":"file0"},{"photo_id":"1351014886","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351014900":["hashtag1","hashtag2"]},{"1351014851":["hashtag1","hashtag2"]},{"1351014892":["hashtag1","hashtag2"]},{"1351014886":["hashtag1","hashtag2"]},{"1351014853":["hashtag1","hashtag2"]},{"1351014847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351014900, 1351014851, 1351014892, 1351014886, 1351014853, 1351014847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.555758237838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:05:32.727021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_18_10485.jpg', '/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_27_9373.jpg', '/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_37_10484.jpg', '/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_47_9349.jpg', '/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_57_10371.jpg', '/home/pi/Desktop/images/10042025/00/07/image_10042025_00_08_08_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_18_10485.jpg
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_27_9373.jpg
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_37_10484.jpg
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_47_9349.jpg
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_07_57_10371.jpg
/home/pi/Desktop/images/10042025/00/07/image_10042025_00_08_08_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351015370","1351015402","1351015345","1351015324","1351015299","1351015272"],"photo_ids_order":["1351015272","1351015299","1351015324","1351015345","1351015370","1351015402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eecce06de5bdb833e83da4c351d7c24f.jpg","text":"TemporaryFile(/tmp/multipartBody5470658052422705711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_07_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8aba663010f2326d09b254d0dccbb988.jpg","text":"TemporaryFile(/tmp/multipartBody1365411606216210027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_08_08_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0a8de106d261324e38b2b5d0f96a8f5.jpg","text":"TemporaryFile(/tmp/multipartBody482055455035282381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_07_47_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d59de41b9a75e20c74a3720b2cd133e.jpg","text":"TemporaryFile(/tmp/multipartBody2306781646829521270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_07_37_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14497aaeb75732bb44ff1e31e6abb656.jpg","text":"TemporaryFile(/tmp/multipartBody613265631229531382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_07_27_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f54fe291daeedb46706d536422bfe7c.jpg","text":"TemporaryFile(/tmp/multipartBody8714964696824411710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250793219,"filename":"image_10042025_00_07_18_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351015324","file1":"1351015299","file0":"1351015272","file4":"1351015370","file5":"1351015402","file3":"1351015345"},"map_files_photo_id_array":[{"photo_id":"1351015402","filename":"file5"},{"photo_id":"1351015324","filename":"file2"},{"photo_id":"1351015370","filename":"file4"},{"photo_id":"1351015299","filename":"file1"},{"photo_id":"1351015272","filename":"file0"},{"photo_id":"1351015345","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351015370":["hashtag1","hashtag2"]},{"1351015402":["hashtag1","hashtag2"]},{"1351015345":["hashtag1","hashtag2"]},{"1351015324":["hashtag1","hashtag2"]},{"1351015299":["hashtag1","hashtag2"]},{"1351015272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351015370, 1351015402, 1351015345, 1351015324, 1351015299, 1351015272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86737418174744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:06:32.833144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_17_9368.jpg', '/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_27_10432.jpg', '/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_37_9348.jpg', '/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_47_10405.jpg', '/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_58_10455.jpg', '/home/pi/Desktop/images/10042025/00/08/image_10042025_00_09_07_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_17_9368.jpg
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_27_10432.jpg
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_37_9348.jpg
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_47_10405.jpg
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_08_58_10455.jpg
/home/pi/Desktop/images/10042025/00/08/image_10042025_00_09_07_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351015914","1351016179","1351016071","1351016151","1351016004","1351016057"],"photo_ids_order":["1351015914","1351016004","1351016057","1351016071","1351016151","1351016179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c4463e130f084b1ae11e65255723dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7245429144810873877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_08_17_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5fc2b069b0cd4b1db1cd258b28fedeb.jpg","text":"TemporaryFile(/tmp/multipartBody3755962913746158466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_09_07_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e7de6a6235ad22eb2cf929ac2a2b966.jpg","text":"TemporaryFile(/tmp/multipartBody7874466574517397149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_08_47_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b5e10fc95ef79287e11b0f142f7f450.jpg","text":"TemporaryFile(/tmp/multipartBody6228590034230922309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_08_58_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75bf9ae661e3b958b6ff3697e9a91333.jpg","text":"TemporaryFile(/tmp/multipartBody8291215007345997870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_08_27_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/249bc12aadc58e9e9c72df300e30a398.jpg","text":"TemporaryFile(/tmp/multipartBody6318003474339093273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250853324,"filename":"image_10042025_00_08_37_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351016057","file1":"1351016004","file0":"1351015914","file4":"1351016151","file5":"1351016179","file3":"1351016071"},"map_files_photo_id_array":[{"photo_id":"1351016179","filename":"file5"},{"photo_id":"1351016057","filename":"file2"},{"photo_id":"1351016151","filename":"file4"},{"photo_id":"1351016004","filename":"file1"},{"photo_id":"1351015914","filename":"file0"},{"photo_id":"1351016071","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351015914":["hashtag1","hashtag2"]},{"1351016179":["hashtag1","hashtag2"]},{"1351016071":["hashtag1","hashtag2"]},{"1351016151":["hashtag1","hashtag2"]},{"1351016004":["hashtag1","hashtag2"]},{"1351016057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351015914, 1351016179, 1351016071, 1351016151, 1351016004, 1351016057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.300962924957275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:07:33.052029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_17_10456.jpg', '/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_27_9369.jpg', '/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_37_10366.jpg', '/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_48_10481.jpg', '/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_57_9458.jpg', '/home/pi/Desktop/images/10042025/00/09/image_10042025_00_10_08_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_17_10456.jpg
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_27_9369.jpg
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_37_10366.jpg
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_48_10481.jpg
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_09_57_9458.jpg
/home/pi/Desktop/images/10042025/00/09/image_10042025_00_10_08_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351016519","1351016626","1351016580","1351016676","1351016661","1351016474"],"photo_ids_order":["1351016474","1351016519","1351016580","1351016626","1351016661","1351016676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bdb053eae7865ce26e8228f663c43ac.jpg","text":"TemporaryFile(/tmp/multipartBody6300142825039288453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_09_27_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1063338fdb9329c9f088b9a2abef7f4.jpg","text":"TemporaryFile(/tmp/multipartBody4301822233899881471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_09_48_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f758eee973a7c74f92015ffad7170899.jpg","text":"TemporaryFile(/tmp/multipartBody5944457591665844468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_09_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faa0867648bcdeef252d288c63a08fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6250518529375093617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_10_08_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25c9cecb0890de26aa5546c9ca57736e.jpg","text":"TemporaryFile(/tmp/multipartBody8793054008300155445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_09_57_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/412ab7120dfceafb1e6feac405207e02.jpg","text":"TemporaryFile(/tmp/multipartBody3841617526314054268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250913521,"filename":"image_10042025_00_09_17_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351016580","file1":"1351016519","file0":"1351016474","file4":"1351016661","file5":"1351016676","file3":"1351016626"},"map_files_photo_id_array":[{"photo_id":"1351016676","filename":"file5"},{"photo_id":"1351016580","filename":"file2"},{"photo_id":"1351016661","filename":"file4"},{"photo_id":"1351016519","filename":"file1"},{"photo_id":"1351016474","filename":"file0"},{"photo_id":"1351016626","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351016519":["hashtag1","hashtag2"]},{"1351016626":["hashtag1","hashtag2"]},{"1351016580":["hashtag1","hashtag2"]},{"1351016676":["hashtag1","hashtag2"]},{"1351016661":["hashtag1","hashtag2"]},{"1351016474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351016519, 1351016626, 1351016580, 1351016676, 1351016661, 1351016474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00698947906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:08:32.460125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_17_9349.jpg', '/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_27_10488.jpg', '/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_37_9343.jpg', '/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_47_10442.jpg', '/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_58_10413.jpg', '/home/pi/Desktop/images/10042025/00/10/image_10042025_00_11_07_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_17_9349.jpg
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_27_10488.jpg
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_37_9343.jpg
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_47_10442.jpg
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_10_58_10413.jpg
/home/pi/Desktop/images/10042025/00/10/image_10042025_00_11_07_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351016825","1351016900","1351016947","1351016851","1351016908","1351016874"],"photo_ids_order":["1351016825","1351016851","1351016874","1351016900","1351016908","1351016947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c326fe49724080f634d91b557cea004.jpg","text":"TemporaryFile(/tmp/multipartBody2595887296000351450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_10_17_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9708e64e35a6f40fed8c6241d66bd242.jpg","text":"TemporaryFile(/tmp/multipartBody5240322088499764279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_10_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6574549d24cfa9072f2d100666b873ea.jpg","text":"TemporaryFile(/tmp/multipartBody6763076102535907740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_11_07_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23dfef5d1d4d06d6e56ea4f418064596.jpg","text":"TemporaryFile(/tmp/multipartBody9026806430027610002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_10_27_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/612ff2a1b4ab0e89c83e78531daead0d.jpg","text":"TemporaryFile(/tmp/multipartBody5731253255349912989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_10_58_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db1205f7a2d879fcdd701297e1dd5165.jpg","text":"TemporaryFile(/tmp/multipartBody2409777469013467709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744250972926,"filename":"image_10042025_00_10_37_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351016874","file1":"1351016851","file0":"1351016825","file4":"1351016908","file5":"1351016947","file3":"1351016900"},"map_files_photo_id_array":[{"photo_id":"1351016947","filename":"file5"},{"photo_id":"1351016874","filename":"file2"},{"photo_id":"1351016908","filename":"file4"},{"photo_id":"1351016851","filename":"file1"},{"photo_id":"1351016825","filename":"file0"},{"photo_id":"1351016900","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351016825":["hashtag1","hashtag2"]},{"1351016900":["hashtag1","hashtag2"]},{"1351016947":["hashtag1","hashtag2"]},{"1351016851":["hashtag1","hashtag2"]},{"1351016908":["hashtag1","hashtag2"]},{"1351016874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351016825, 1351016900, 1351016947, 1351016851, 1351016908, 1351016874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76421666145325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:09:32.745178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_17_10473.jpg', '/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_27_9347.jpg', '/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_37_10383.jpg', '/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_48_10469.jpg', '/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_57_9382.jpg', '/home/pi/Desktop/images/10042025/00/11/image_10042025_00_12_07_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_17_10473.jpg
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_27_9347.jpg
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_37_10383.jpg
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_48_10469.jpg
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_11_57_9382.jpg
/home/pi/Desktop/images/10042025/00/11/image_10042025_00_12_07_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017128","1351017184","1351017100","1351017141","1351017078","1351017159"],"photo_ids_order":["1351017078","1351017100","1351017128","1351017141","1351017159","1351017184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40510119c1cf7360049edb4c861fa5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5525165793457035516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_11_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4111fb51d9657f4bc5d99ebc184919a4.jpg","text":"TemporaryFile(/tmp/multipartBody4319115749400634541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_12_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c530a33edd49635edf74e10c9ab2c25e.jpg","text":"TemporaryFile(/tmp/multipartBody2200602845579982693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_11_27_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb0393012fb9c0b91c04b6ccf7747966.jpg","text":"TemporaryFile(/tmp/multipartBody2433256231833531535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_11_48_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa4344413280824b8dcfd69f91c08423.jpg","text":"TemporaryFile(/tmp/multipartBody3900324834909195200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_11_17_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/590fee71bad97038da82ddf586698ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5781737948183717963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251033217,"filename":"image_10042025_00_11_57_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017128","file1":"1351017100","file0":"1351017078","file4":"1351017159","file5":"1351017184","file3":"1351017141"},"map_files_photo_id_array":[{"photo_id":"1351017184","filename":"file5"},{"photo_id":"1351017128","filename":"file2"},{"photo_id":"1351017159","filename":"file4"},{"photo_id":"1351017100","filename":"file1"},{"photo_id":"1351017078","filename":"file0"},{"photo_id":"1351017141","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017128":["hashtag1","hashtag2"]},{"1351017184":["hashtag1","hashtag2"]},{"1351017100":["hashtag1","hashtag2"]},{"1351017141":["hashtag1","hashtag2"]},{"1351017078":["hashtag1","hashtag2"]},{"1351017159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017128, 1351017184, 1351017100, 1351017141, 1351017078, 1351017159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.139399766922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:10:32.979235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_17_9366.jpg', '/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_27_10370.jpg', '/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_38_10375.jpg', '/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_47_9357.jpg', '/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_57_10444.jpg', '/home/pi/Desktop/images/10042025/00/12/image_10042025_00_13_07_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_17_9366.jpg
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_27_10370.jpg
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_38_10375.jpg
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_47_9357.jpg
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_12_57_10444.jpg
/home/pi/Desktop/images/10042025/00/12/image_10042025_00_13_07_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017271","1351017211","1351017261","1351017231","1351017216","1351017221"],"photo_ids_order":["1351017211","1351017216","1351017221","1351017231","1351017261","1351017271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa8d85414731c6caf676b600bcda9012.jpg","text":"TemporaryFile(/tmp/multipartBody6062993626740791260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_13_07_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba813b2343d32bae910c66705c0f4194.jpg","text":"TemporaryFile(/tmp/multipartBody6502538349383706973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_12_17_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8699947487af607321d4a7d39455041.jpg","text":"TemporaryFile(/tmp/multipartBody5429332742283228441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_12_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c4fde05cf70f449dad77437549b8701.jpg","text":"TemporaryFile(/tmp/multipartBody5945176806995127463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_12_47_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd2a7bcc2becde03fe8919086aa39392.jpg","text":"TemporaryFile(/tmp/multipartBody4868275737351376320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_12_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a09e7b6570c2f5ec96fbd42f75855df.jpg","text":"TemporaryFile(/tmp/multipartBody7045319913375419148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251093449,"filename":"image_10042025_00_12_38_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017221","file1":"1351017216","file0":"1351017211","file4":"1351017261","file5":"1351017271","file3":"1351017231"},"map_files_photo_id_array":[{"photo_id":"1351017271","filename":"file5"},{"photo_id":"1351017221","filename":"file2"},{"photo_id":"1351017261","filename":"file4"},{"photo_id":"1351017216","filename":"file1"},{"photo_id":"1351017211","filename":"file0"},{"photo_id":"1351017231","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017271":["hashtag1","hashtag2"]},{"1351017211":["hashtag1","hashtag2"]},{"1351017261":["hashtag1","hashtag2"]},{"1351017231":["hashtag1","hashtag2"]},{"1351017216":["hashtag1","hashtag2"]},{"1351017221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017271, 1351017211, 1351017261, 1351017231, 1351017216, 1351017221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.285452127456665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:11:32.210584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_17_10404.jpg', '/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_27_10360.jpg', '/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_37_9360.jpg', '/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_47_10472.jpg', '/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_58_10376.jpg', '/home/pi/Desktop/images/10042025/00/13/image_10042025_00_14_07_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_17_10404.jpg
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_27_10360.jpg
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_37_9360.jpg
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_47_10472.jpg
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_13_58_10376.jpg
/home/pi/Desktop/images/10042025/00/13/image_10042025_00_14_07_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017325","1351017334","1351017328","1351017360","1351017357","1351017330"],"photo_ids_order":["1351017325","1351017328","1351017330","1351017334","1351017357","1351017360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d67a13e4daa8063e16de61ce8d4d7c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7662844201765564578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_13_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e89af275780ab2b74beb3ba06d5ee097.jpg","text":"TemporaryFile(/tmp/multipartBody2104764222938659425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_13_47_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2ecde1b8dce5163a245c300b6b3fa37.jpg","text":"TemporaryFile(/tmp/multipartBody6517592061558446323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_13_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a7cef83d92265f93f195ae54b418173.jpg","text":"TemporaryFile(/tmp/multipartBody5818269323605736851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_14_07_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44cf5b2f40e56d93b5af4ccaa5b75e99.jpg","text":"TemporaryFile(/tmp/multipartBody2746089690482615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_13_58_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62c7cff78ca037de7dd8831ad924c86c.jpg","text":"TemporaryFile(/tmp/multipartBody4449849358384861758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251152683,"filename":"image_10042025_00_13_37_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017330","file1":"1351017328","file0":"1351017325","file4":"1351017357","file5":"1351017360","file3":"1351017334"},"map_files_photo_id_array":[{"photo_id":"1351017360","filename":"file5"},{"photo_id":"1351017330","filename":"file2"},{"photo_id":"1351017357","filename":"file4"},{"photo_id":"1351017328","filename":"file1"},{"photo_id":"1351017325","filename":"file0"},{"photo_id":"1351017334","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017325":["hashtag1","hashtag2"]},{"1351017334":["hashtag1","hashtag2"]},{"1351017328":["hashtag1","hashtag2"]},{"1351017360":["hashtag1","hashtag2"]},{"1351017357":["hashtag1","hashtag2"]},{"1351017330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017325, 1351017334, 1351017328, 1351017360, 1351017357, 1351017330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90840792655945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:12:32.324306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_18_10362.jpg', '/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_27_9357.jpg', '/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_37_10367.jpg', '/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_48_10432.jpg', '/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_57_9412.jpg', '/home/pi/Desktop/images/10042025/00/14/image_10042025_00_15_07_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_18_10362.jpg
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_27_9357.jpg
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_37_10367.jpg
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_48_10432.jpg
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_14_57_9412.jpg
/home/pi/Desktop/images/10042025/00/14/image_10042025_00_15_07_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017410","1351017463","1351017448","1351017468","1351017453","1351017467"],"photo_ids_order":["1351017410","1351017448","1351017453","1351017463","1351017467","1351017468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c02808b5363cbe402e7b84c874f5f75.jpg","text":"TemporaryFile(/tmp/multipartBody3056902218359101707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_14_18_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7d3ace5e7d73872b18744e0abbd8228.jpg","text":"TemporaryFile(/tmp/multipartBody7567408346218860704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_14_48_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6987563a56a1af4dea9a55534d1b4d6b.jpg","text":"TemporaryFile(/tmp/multipartBody457927911843677491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_14_27_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e844c03bd0128f1e02c487acdbe1b31.jpg","text":"TemporaryFile(/tmp/multipartBody8537485019399473265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_15_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83945846ac72c5da37c43ac17fee5285.jpg","text":"TemporaryFile(/tmp/multipartBody2123238225587580218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_14_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f98ab0aa67ee31f6c4710370d31bf1df.jpg","text":"TemporaryFile(/tmp/multipartBody4280472064949236620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251212865,"filename":"image_10042025_00_14_57_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017453","file1":"1351017448","file0":"1351017410","file4":"1351017467","file5":"1351017468","file3":"1351017463"},"map_files_photo_id_array":[{"photo_id":"1351017468","filename":"file5"},{"photo_id":"1351017453","filename":"file2"},{"photo_id":"1351017467","filename":"file4"},{"photo_id":"1351017448","filename":"file1"},{"photo_id":"1351017410","filename":"file0"},{"photo_id":"1351017463","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017410":["hashtag1","hashtag2"]},{"1351017463":["hashtag1","hashtag2"]},{"1351017448":["hashtag1","hashtag2"]},{"1351017468":["hashtag1","hashtag2"]},{"1351017453":["hashtag1","hashtag2"]},{"1351017467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017410, 1351017463, 1351017448, 1351017468, 1351017453, 1351017467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2323842048645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:13:32.534390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_17_9358.jpg', '/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_27_10361.jpg', '/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_38_10364.jpg', '/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_47_9432.jpg', '/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_57_10522.jpg', '/home/pi/Desktop/images/10042025/00/15/image_10042025_00_16_07_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_17_9358.jpg
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_27_10361.jpg
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_38_10364.jpg
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_47_9432.jpg
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_15_57_10522.jpg
/home/pi/Desktop/images/10042025/00/15/image_10042025_00_16_07_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017511","1351017498","1351017516","1351017519","1351017504","1351017507"],"photo_ids_order":["1351017498","1351017504","1351017507","1351017511","1351017516","1351017519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5afdcadad6be5e3e31f6c2be7f89069.jpg","text":"TemporaryFile(/tmp/multipartBody356127197482279361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_15_47_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f7e4b5c5eb83dd45d5ec3cbaec2c893.jpg","text":"TemporaryFile(/tmp/multipartBody4494643972424587781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_15_17_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eaf385789090881072c3b1a462ba8251.jpg","text":"TemporaryFile(/tmp/multipartBody5608946956505709326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_15_57_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f239d420b30c5d572c42c064a4c44f46.jpg","text":"TemporaryFile(/tmp/multipartBody6352232877465608304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_16_07_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4081f56226ef6c03203fa7c9ddf30478.jpg","text":"TemporaryFile(/tmp/multipartBody6773396465141138530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_15_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6e6487407b20eb9b1f20ba7c7bf4d66.jpg","text":"TemporaryFile(/tmp/multipartBody8277577624319355880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251273006,"filename":"image_10042025_00_15_38_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017507","file1":"1351017504","file0":"1351017498","file4":"1351017516","file5":"1351017519","file3":"1351017511"},"map_files_photo_id_array":[{"photo_id":"1351017519","filename":"file5"},{"photo_id":"1351017507","filename":"file2"},{"photo_id":"1351017516","filename":"file4"},{"photo_id":"1351017504","filename":"file1"},{"photo_id":"1351017498","filename":"file0"},{"photo_id":"1351017511","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017511":["hashtag1","hashtag2"]},{"1351017498":["hashtag1","hashtag2"]},{"1351017516":["hashtag1","hashtag2"]},{"1351017519":["hashtag1","hashtag2"]},{"1351017504":["hashtag1","hashtag2"]},{"1351017507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017511, 1351017498, 1351017516, 1351017519, 1351017504, 1351017507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36265683174133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:14:32.586242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_17_10378.jpg', '/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_28_10495.jpg', '/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_37_9367.jpg', '/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_47_10440.jpg', '/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_57_9385.jpg', '/home/pi/Desktop/images/10042025/00/16/image_10042025_00_17_07_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_17_10378.jpg
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_28_10495.jpg
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_37_9367.jpg
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_47_10440.jpg
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_16_57_9385.jpg
/home/pi/Desktop/images/10042025/00/16/image_10042025_00_17_07_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017652","1351017640","1351017681","1351017657","1351017648","1351017697"],"photo_ids_order":["1351017640","1351017648","1351017652","1351017657","1351017681","1351017697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/079d769b419d2727ec0a94ea35c726e8.jpg","text":"TemporaryFile(/tmp/multipartBody8466297874538479025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_16_37_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4b25624601777d5e34ef3cfe5b47512.jpg","text":"TemporaryFile(/tmp/multipartBody6450111188588568485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_16_17_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d23f980399e71c97b67cc06b4cbf546.jpg","text":"TemporaryFile(/tmp/multipartBody359545844312691096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_16_57_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbe4c37daee02415989c78a239911f75.jpg","text":"TemporaryFile(/tmp/multipartBody3962668227369309490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_16_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43dbc07b40f5fb1532d4312e4c56e306.jpg","text":"TemporaryFile(/tmp/multipartBody3394764408688423437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_16_28_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c78d16e5e4174f94e03fce2662a98b73.jpg","text":"TemporaryFile(/tmp/multipartBody8761049416220196344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251333054,"filename":"image_10042025_00_17_07_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017652","file1":"1351017648","file0":"1351017640","file4":"1351017681","file5":"1351017697","file3":"1351017657"},"map_files_photo_id_array":[{"photo_id":"1351017697","filename":"file5"},{"photo_id":"1351017652","filename":"file2"},{"photo_id":"1351017681","filename":"file4"},{"photo_id":"1351017648","filename":"file1"},{"photo_id":"1351017640","filename":"file0"},{"photo_id":"1351017657","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017652":["hashtag1","hashtag2"]},{"1351017640":["hashtag1","hashtag2"]},{"1351017681":["hashtag1","hashtag2"]},{"1351017657":["hashtag1","hashtag2"]},{"1351017648":["hashtag1","hashtag2"]},{"1351017697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017652, 1351017640, 1351017681, 1351017657, 1351017648, 1351017697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.720850944519043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:15:32.859473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_17_9470.jpg', '/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_27_10379.jpg', '/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_38_10371.jpg', '/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_47_9347.jpg', '/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_57_10495.jpg', '/home/pi/Desktop/images/10042025/00/17/image_10042025_00_18_07_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_17_9470.jpg
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_27_10379.jpg
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_38_10371.jpg
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_47_9347.jpg
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_17_57_10495.jpg
/home/pi/Desktop/images/10042025/00/17/image_10042025_00_18_07_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351017885","1351017948","1351017896","1351017903","1351017968","1351017914"],"photo_ids_order":["1351017885","1351017896","1351017903","1351017914","1351017948","1351017968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91cf0201a9a6200ef8132cd9f9d3ce69.jpg","text":"TemporaryFile(/tmp/multipartBody4414276511266546772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_17_17_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31ecd1e10237591d15f7ecff4a289d52.jpg","text":"TemporaryFile(/tmp/multipartBody8182343342788317812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_17_57_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0525dfbf33d61d16a721bdaa9b557508.jpg","text":"TemporaryFile(/tmp/multipartBody4992588755371672222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_17_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e715b256a8104c63e574cdf87e4dc733.jpg","text":"TemporaryFile(/tmp/multipartBody9131243780351452421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_17_38_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ae7def1aee6b2ba8963fbc504dbd2a5.jpg","text":"TemporaryFile(/tmp/multipartBody6149713566506364663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_18_07_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d53237c2e91598a39c938319070dc38f.jpg","text":"TemporaryFile(/tmp/multipartBody559549580319266181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251393336,"filename":"image_10042025_00_17_47_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351017903","file1":"1351017896","file0":"1351017885","file4":"1351017948","file5":"1351017968","file3":"1351017914"},"map_files_photo_id_array":[{"photo_id":"1351017968","filename":"file5"},{"photo_id":"1351017903","filename":"file2"},{"photo_id":"1351017948","filename":"file4"},{"photo_id":"1351017896","filename":"file1"},{"photo_id":"1351017885","filename":"file0"},{"photo_id":"1351017914","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351017885":["hashtag1","hashtag2"]},{"1351017948":["hashtag1","hashtag2"]},{"1351017896":["hashtag1","hashtag2"]},{"1351017903":["hashtag1","hashtag2"]},{"1351017968":["hashtag1","hashtag2"]},{"1351017914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351017885, 1351017948, 1351017896, 1351017903, 1351017968, 1351017914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49484300613403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:16:32.195916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_17_10355.jpg', '/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_27_10377.jpg', '/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_37_9395.jpg', '/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_58_10372.jpg', '/home/pi/Desktop/images/10042025/00/18/image_10042025_00_19_07_9360.jpg', '/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_17_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_17_10355.jpg
/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_27_10377.jpg
/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_37_9395.jpg
/home/pi/Desktop/images/10042025/00/18/image_10042025_00_18_58_10372.jpg
/home/pi/Desktop/images/10042025/00/18/image_10042025_00_19_07_9360.jpg
/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_17_10508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018092","1351018083","1351018104","1351018085","1351018100","1351018106"],"photo_ids_order":["1351018083","1351018085","1351018092","1351018100","1351018104","1351018106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b4d69b9e91615e335d44875d863c7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3232789180505790327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_18_37_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f45d2f2c2c1ba32b8ff9ea4537009f40.jpg","text":"TemporaryFile(/tmp/multipartBody5809401877708751105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_18_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4b9eac29de7a9afcb40ac3a777766b2.jpg","text":"TemporaryFile(/tmp/multipartBody3934910298847580172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_19_07_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee784d5108aed9102b573305580f5161.jpg","text":"TemporaryFile(/tmp/multipartBody371652026371797246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_18_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4257e9b36626e1a5510dc3b4b7464aa.jpg","text":"TemporaryFile(/tmp/multipartBody5550623558114960643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_18_58_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9648ffe620811bf7eb382eeb73bc83b3.jpg","text":"TemporaryFile(/tmp/multipartBody341827245987555455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251452679,"filename":"image_10042025_00_19_17_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018092","file1":"1351018085","file0":"1351018083","file4":"1351018104","file5":"1351018106","file3":"1351018100"},"map_files_photo_id_array":[{"photo_id":"1351018106","filename":"file5"},{"photo_id":"1351018092","filename":"file2"},{"photo_id":"1351018104","filename":"file4"},{"photo_id":"1351018085","filename":"file1"},{"photo_id":"1351018083","filename":"file0"},{"photo_id":"1351018100","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018092":["hashtag1","hashtag2"]},{"1351018083":["hashtag1","hashtag2"]},{"1351018104":["hashtag1","hashtag2"]},{"1351018085":["hashtag1","hashtag2"]},{"1351018100":["hashtag1","hashtag2"]},{"1351018106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018092, 1351018083, 1351018104, 1351018085, 1351018100, 1351018106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14538860321045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:17:32.342925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_27_9355.jpg', '/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_37_10379.jpg', '/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_57_9369.jpg', '/home/pi/Desktop/images/10042025/00/19/image_10042025_00_20_08_10470.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_17_9366.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_27_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_27_9355.jpg
/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_37_10379.jpg
/home/pi/Desktop/images/10042025/00/19/image_10042025_00_19_57_9369.jpg
/home/pi/Desktop/images/10042025/00/19/image_10042025_00_20_08_10470.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_17_9366.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_27_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018246","1351018182","1351018185","1351018233","1351018242","1351018261"],"photo_ids_order":["1351018182","1351018185","1351018233","1351018242","1351018246","1351018261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ff2b3fd4825373ebab95043c491203d.jpg","text":"TemporaryFile(/tmp/multipartBody4271343163401412947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_20_17_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d14a67a9623c44027f0fdc0980ad98fa.jpg","text":"TemporaryFile(/tmp/multipartBody7423543677117974407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_19_27_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/497148b517eeb9433a027dc33ede0fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4353167759424318995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_19_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92909ee5511df03bce40555f8fd11e36.jpg","text":"TemporaryFile(/tmp/multipartBody5661383951274039460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_19_57_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e490ece8b751cbcc8fcf426861010b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6927838254512106535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_20_08_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02105e758e2214c757bda1c5feb18f70.jpg","text":"TemporaryFile(/tmp/multipartBody7624369251019667328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251512808,"filename":"image_10042025_00_20_27_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018233","file1":"1351018185","file0":"1351018182","file4":"1351018246","file5":"1351018261","file3":"1351018242"},"map_files_photo_id_array":[{"photo_id":"1351018261","filename":"file5"},{"photo_id":"1351018233","filename":"file2"},{"photo_id":"1351018246","filename":"file4"},{"photo_id":"1351018185","filename":"file1"},{"photo_id":"1351018182","filename":"file0"},{"photo_id":"1351018242","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018246":["hashtag1","hashtag2"]},{"1351018182":["hashtag1","hashtag2"]},{"1351018185":["hashtag1","hashtag2"]},{"1351018233":["hashtag1","hashtag2"]},{"1351018242":["hashtag1","hashtag2"]},{"1351018261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018246, 1351018182, 1351018185, 1351018233, 1351018242, 1351018261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54123902320862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:18:32.483956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_37_9440.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_47_10374.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_58_10405.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_21_07_9353.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_17_10509.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_27_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_37_9440.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_47_10374.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_58_10405.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_21_07_9353.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_17_10509.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_27_9350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40024375915527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 04:18:42.576977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_37_9440.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_47_10374.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_58_10405.jpg', '/home/pi/Desktop/images/10042025/00/20/image_10042025_00_21_07_9353.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_17_10509.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_27_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_37_9440.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_47_10374.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_20_58_10405.jpg
/home/pi/Desktop/images/10042025/00/20/image_10042025_00_21_07_9353.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_17_10509.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_27_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018615","1351018580","1351018568","1351018541","1351018622","1351018594"],"photo_ids_order":["1351018541","1351018568","1351018580","1351018594","1351018615","1351018622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3808e369db84ad796ef08fae9042efa4.jpg","text":"TemporaryFile(/tmp/multipartBody7974786965939643266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_21_17_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc8d229d11a6cea5163b9973995c8941.jpg","text":"TemporaryFile(/tmp/multipartBody6241580967680423566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_20_58_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9d9f0d12d4ca7c3a434d8286dc31e51.jpg","text":"TemporaryFile(/tmp/multipartBody3675645708577091896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_20_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52180836632b9f58411ab6cae32a95e9.jpg","text":"TemporaryFile(/tmp/multipartBody8444415644010082766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_20_37_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/246f5d4a9df58038f064679e5c2552c4.jpg","text":"TemporaryFile(/tmp/multipartBody6723020446597062684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_21_27_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e94f855becf2fcb023159d712856c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody8572836906798671648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251583049,"filename":"image_10042025_00_21_07_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018580","file1":"1351018568","file0":"1351018541","file4":"1351018615","file5":"1351018622","file3":"1351018594"},"map_files_photo_id_array":[{"photo_id":"1351018622","filename":"file5"},{"photo_id":"1351018580","filename":"file2"},{"photo_id":"1351018615","filename":"file4"},{"photo_id":"1351018568","filename":"file1"},{"photo_id":"1351018541","filename":"file0"},{"photo_id":"1351018594","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018615":["hashtag1","hashtag2"]},{"1351018580":["hashtag1","hashtag2"]},{"1351018568":["hashtag1","hashtag2"]},{"1351018541":["hashtag1","hashtag2"]},{"1351018622":["hashtag1","hashtag2"]},{"1351018594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018615, 1351018580, 1351018568, 1351018541, 1351018622, 1351018594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.19192290306091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:19:32.736498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_37_10361.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_48_10443.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_57_9361.jpg', '/home/pi/Desktop/images/10042025/00/21/image_10042025_00_22_07_10393.jpg', '/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_17_9402.jpg', '/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_27_10521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_37_10361.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_48_10443.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_21_57_9361.jpg
/home/pi/Desktop/images/10042025/00/21/image_10042025_00_22_07_10393.jpg
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_17_9402.jpg
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_27_10521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018773","1351018755","1351018815","1351018793","1351018760","1351018742"],"photo_ids_order":["1351018742","1351018755","1351018760","1351018773","1351018793","1351018815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4792cb826e33b87a69f538cb8608361.jpg","text":"TemporaryFile(/tmp/multipartBody7951720114559815359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_22_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6af0aaa0e3ec2c3d3ecae750e68f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody4390717648212861101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_21_48_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6df308a4fa1ab43ee8e56e77efbaa484.jpg","text":"TemporaryFile(/tmp/multipartBody6052882804628173103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_22_27_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/95a2bab74ae6cdaa6341b36e631a32c5.jpg","text":"TemporaryFile(/tmp/multipartBody8529555830578243774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_22_17_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/869c014ef3569476c86c8e853e80874a.jpg","text":"TemporaryFile(/tmp/multipartBody4293730668724951199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_21_57_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2b575e8bfbc0f2a416581c94db98725.jpg","text":"TemporaryFile(/tmp/multipartBody2577889424404653847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251633223,"filename":"image_10042025_00_21_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018760","file1":"1351018755","file0":"1351018742","file4":"1351018793","file5":"1351018815","file3":"1351018773"},"map_files_photo_id_array":[{"photo_id":"1351018815","filename":"file5"},{"photo_id":"1351018760","filename":"file2"},{"photo_id":"1351018793","filename":"file4"},{"photo_id":"1351018755","filename":"file1"},{"photo_id":"1351018742","filename":"file0"},{"photo_id":"1351018773","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018773":["hashtag1","hashtag2"]},{"1351018755":["hashtag1","hashtag2"]},{"1351018815":["hashtag1","hashtag2"]},{"1351018793":["hashtag1","hashtag2"]},{"1351018760":["hashtag1","hashtag2"]},{"1351018742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018773, 1351018755, 1351018815, 1351018793, 1351018760, 1351018742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32883024215698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:20:32.944975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_38_10363.jpg', '/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_47_9342.jpg', '/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_57_10462.jpg', '/home/pi/Desktop/images/10042025/00/22/image_10042025_00_23_07_9350.jpg', '/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_17_10377.jpg', '/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_28_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_38_10363.jpg
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_47_9342.jpg
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_22_57_10462.jpg
/home/pi/Desktop/images/10042025/00/22/image_10042025_00_23_07_9350.jpg
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_17_10377.jpg
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_28_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018914","1351018923","1351018911","1351018925","1351018913","1351018922"],"photo_ids_order":["1351018911","1351018913","1351018914","1351018922","1351018923","1351018925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d489f96d9273733f3315e2f69c9ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody2796822965909882305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_22_57_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48db65a6039155300d382ee268bafc6d.jpg","text":"TemporaryFile(/tmp/multipartBody212694015591941876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_23_17_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/416f7ef0c0079024bd799ca878cc3e0a.jpg","text":"TemporaryFile(/tmp/multipartBody416999165170036215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_22_38_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5cace833c080b9c8cd81695eeb460b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6119788383128289817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_23_28_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41f89efbe10c2bd3ac85f97686fe9643.jpg","text":"TemporaryFile(/tmp/multipartBody7025155346350718749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_22_47_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1d64f995709d1782472000ee34b1390.jpg","text":"TemporaryFile(/tmp/multipartBody2971687689739596066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251693414,"filename":"image_10042025_00_23_07_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018914","file1":"1351018913","file0":"1351018911","file4":"1351018923","file5":"1351018925","file3":"1351018922"},"map_files_photo_id_array":[{"photo_id":"1351018925","filename":"file5"},{"photo_id":"1351018914","filename":"file2"},{"photo_id":"1351018923","filename":"file4"},{"photo_id":"1351018913","filename":"file1"},{"photo_id":"1351018911","filename":"file0"},{"photo_id":"1351018922","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018914":["hashtag1","hashtag2"]},{"1351018923":["hashtag1","hashtag2"]},{"1351018911":["hashtag1","hashtag2"]},{"1351018925":["hashtag1","hashtag2"]},{"1351018913":["hashtag1","hashtag2"]},{"1351018922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018914, 1351018923, 1351018911, 1351018925, 1351018913, 1351018922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77421712875366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:21:32.289751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_37_9348.jpg', '/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_47_10385.jpg', '/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_57_9402.jpg', '/home/pi/Desktop/images/10042025/00/23/image_10042025_00_24_07_10345.jpg', '/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_18_10384.jpg', '/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_27_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_37_9348.jpg
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_47_10385.jpg
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_23_57_9402.jpg
/home/pi/Desktop/images/10042025/00/23/image_10042025_00_24_07_10345.jpg
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_18_10384.jpg
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_27_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351018950","1351018956","1351018944","1351018958","1351018952","1351018946"],"photo_ids_order":["1351018944","1351018946","1351018950","1351018952","1351018956","1351018958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89519e9ff500fdcf52f29c7cb0c9200e.jpg","text":"TemporaryFile(/tmp/multipartBody864091435155140898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_23_57_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a0eb7d78fa69bcbac8c5ef70387658a.jpg","text":"TemporaryFile(/tmp/multipartBody8377412784307541398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_24_18_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46fdc25749d17bbf43306fa34ce7cf55.jpg","text":"TemporaryFile(/tmp/multipartBody7709927714815403777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_23_37_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85167ba8c376d7a7530a5561a0837457.jpg","text":"TemporaryFile(/tmp/multipartBody6899127026043247247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_24_27_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f193ebc016c4182e0969af29e43b7c5.jpg","text":"TemporaryFile(/tmp/multipartBody929173082489982321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_24_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da6e5ad311a6cf36c273e651267f32ec.jpg","text":"TemporaryFile(/tmp/multipartBody8181210460823563145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251752772,"filename":"image_10042025_00_23_47_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351018950","file1":"1351018946","file0":"1351018944","file4":"1351018956","file5":"1351018958","file3":"1351018952"},"map_files_photo_id_array":[{"photo_id":"1351018958","filename":"file5"},{"photo_id":"1351018950","filename":"file2"},{"photo_id":"1351018956","filename":"file4"},{"photo_id":"1351018946","filename":"file1"},{"photo_id":"1351018944","filename":"file0"},{"photo_id":"1351018952","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351018950":["hashtag1","hashtag2"]},{"1351018956":["hashtag1","hashtag2"]},{"1351018944":["hashtag1","hashtag2"]},{"1351018958":["hashtag1","hashtag2"]},{"1351018952":["hashtag1","hashtag2"]},{"1351018946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351018950, 1351018956, 1351018944, 1351018958, 1351018952, 1351018946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63243269920349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:22:32.509361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_37_10431.jpg', '/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_48_10357.jpg', '/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_57_9470.jpg', '/home/pi/Desktop/images/10042025/00/24/image_10042025_00_25_07_10360.jpg', '/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_17_9419.jpg', '/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_27_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_37_10431.jpg
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_48_10357.jpg
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_24_57_9470.jpg
/home/pi/Desktop/images/10042025/00/24/image_10042025_00_25_07_10360.jpg
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_17_9419.jpg
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_27_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019020","1351019055","1351019040","1351019054","1351019015","1351019053"],"photo_ids_order":["1351019015","1351019020","1351019040","1351019053","1351019054","1351019055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f25a8505fd1d97385790900847a9bef.jpg","text":"TemporaryFile(/tmp/multipartBody7771631184526172280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_24_48_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f7b91ac4efd2a310ed57e40a73bc1a4.jpg","text":"TemporaryFile(/tmp/multipartBody1135622831344824632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_25_27_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd1d482753b2082a84f5d5327bdf10c6.jpg","text":"TemporaryFile(/tmp/multipartBody7923531437891385176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_24_57_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80cf81a3355392d41251c78ec720213c.jpg","text":"TemporaryFile(/tmp/multipartBody6765281054625402810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_25_17_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e49e42855040db95d48e442fe43b65c.jpg","text":"TemporaryFile(/tmp/multipartBody2247471826263332232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_24_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6716a8d20d625e14b32e4cef2f82eba.jpg","text":"TemporaryFile(/tmp/multipartBody4351798400543812640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251813045,"filename":"image_10042025_00_25_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019040","file1":"1351019020","file0":"1351019015","file4":"1351019054","file5":"1351019055","file3":"1351019053"},"map_files_photo_id_array":[{"photo_id":"1351019055","filename":"file5"},{"photo_id":"1351019040","filename":"file2"},{"photo_id":"1351019054","filename":"file4"},{"photo_id":"1351019020","filename":"file1"},{"photo_id":"1351019015","filename":"file0"},{"photo_id":"1351019053","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019020":["hashtag1","hashtag2"]},{"1351019055":["hashtag1","hashtag2"]},{"1351019040":["hashtag1","hashtag2"]},{"1351019054":["hashtag1","hashtag2"]},{"1351019015":["hashtag1","hashtag2"]},{"1351019053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019020, 1351019055, 1351019040, 1351019054, 1351019015, 1351019053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47448968887329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:23:32.808726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_37_9361.jpg', '/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_47_10383.jpg', '/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_58_10404.jpg', '/home/pi/Desktop/images/10042025/00/25/image_10042025_00_26_07_9379.jpg', '/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_17_10407.jpg', '/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_28_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_37_9361.jpg
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_47_10383.jpg
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_25_58_10404.jpg
/home/pi/Desktop/images/10042025/00/25/image_10042025_00_26_07_9379.jpg
/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_17_10407.jpg
/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_28_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019181","1351019175","1351019178","1351019172","1351019170","1351019167"],"photo_ids_order":["1351019167","1351019170","1351019172","1351019175","1351019178","1351019181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07c6a0ae18d18b87381d139b57c945e3.jpg","text":"TemporaryFile(/tmp/multipartBody2806227627809116804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_26_28_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d20da0f4171f95c735c959263ea08ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1745186360600175553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_26_07_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1390d0ca882f07f74b8143dc0e65373.jpg","text":"TemporaryFile(/tmp/multipartBody8138621585111903443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_26_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f42fef8880bf67fd7d3d9314eda44590.jpg","text":"TemporaryFile(/tmp/multipartBody1257055844983928472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_25_58_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/348567c82242dfc837fb0d8a28966893.jpg","text":"TemporaryFile(/tmp/multipartBody9027447912881032051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_25_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2c7b780a7c0ba4a12b007f3d3e1219c.jpg","text":"TemporaryFile(/tmp/multipartBody7173941352446740610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251873285,"filename":"image_10042025_00_25_37_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019172","file1":"1351019170","file0":"1351019167","file4":"1351019178","file5":"1351019181","file3":"1351019175"},"map_files_photo_id_array":[{"photo_id":"1351019181","filename":"file5"},{"photo_id":"1351019172","filename":"file2"},{"photo_id":"1351019178","filename":"file4"},{"photo_id":"1351019170","filename":"file1"},{"photo_id":"1351019167","filename":"file0"},{"photo_id":"1351019175","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019181":["hashtag1","hashtag2"]},{"1351019175":["hashtag1","hashtag2"]},{"1351019178":["hashtag1","hashtag2"]},{"1351019172":["hashtag1","hashtag2"]},{"1351019170":["hashtag1","hashtag2"]},{"1351019167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019181, 1351019175, 1351019178, 1351019172, 1351019170, 1351019167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3493537902832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:24:33.027693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_37_9342.jpg', '/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_57_9352.jpg', '/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_18_10376.jpg', '/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_27_9431.jpg', '/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_37_10441.jpg', '/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_57_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_37_9342.jpg
/home/pi/Desktop/images/10042025/00/26/image_10042025_00_26_57_9352.jpg
/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_18_10376.jpg
/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_27_9431.jpg
/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_37_10441.jpg
/home/pi/Desktop/images/10042025/00/27/image_10042025_00_27_57_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019241","1351019202","1351019205","1351019249","1351019225","1351019245"],"photo_ids_order":["1351019202","1351019205","1351019225","1351019241","1351019245","1351019249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ea936edaa2750750e00889410fa968d.jpg","text":"TemporaryFile(/tmp/multipartBody7447617686821690443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_27_27_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69dcbcbac4f2d6ee7abefd57c85060ff.jpg","text":"TemporaryFile(/tmp/multipartBody747929841693603322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_26_37_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/935d84e9feb51c72b156196ada67cedb.jpg","text":"TemporaryFile(/tmp/multipartBody3658243233340582076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_26_57_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8da4e5f4b4e2382675fcea326246bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8256825533491208403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_27_57_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1776cc6a6dd351e2ddf2ecf519a1bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody7902538148377110383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_27_18_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9214f822b935a4ec52ee72b799f786e.jpg","text":"TemporaryFile(/tmp/multipartBody6031926553861505579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251933494,"filename":"image_10042025_00_27_37_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019225","file1":"1351019205","file0":"1351019202","file4":"1351019245","file5":"1351019249","file3":"1351019241"},"map_files_photo_id_array":[{"photo_id":"1351019249","filename":"file5"},{"photo_id":"1351019225","filename":"file2"},{"photo_id":"1351019245","filename":"file4"},{"photo_id":"1351019205","filename":"file1"},{"photo_id":"1351019202","filename":"file0"},{"photo_id":"1351019241","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019241":["hashtag1","hashtag2"]},{"1351019202":["hashtag1","hashtag2"]},{"1351019205":["hashtag1","hashtag2"]},{"1351019249":["hashtag1","hashtag2"]},{"1351019225":["hashtag1","hashtag2"]},{"1351019245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019241, 1351019202, 1351019205, 1351019249, 1351019225, 1351019245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52811551094055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:25:32.329681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/27/image_10042025_00_28_08_10362.jpg', '/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_17_9405.jpg', '/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_27_10360.jpg', '/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_37_9350.jpg', '/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_47_10364.jpg', '/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_58_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/27/image_10042025_00_28_08_10362.jpg
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_17_9405.jpg
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_27_10360.jpg
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_37_9350.jpg
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_47_10364.jpg
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_28_58_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019283","1351019277","1351019265","1351019270","1351019273","1351019261"],"photo_ids_order":["1351019261","1351019265","1351019270","1351019273","1351019277","1351019283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c37efc0a65c11fde6a8ecf621837a296.jpg","text":"TemporaryFile(/tmp/multipartBody6926912311180441917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_58_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b26ddc23205360f4cecf94fb280310e.jpg","text":"TemporaryFile(/tmp/multipartBody7795490446880748845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4f8438edd783b2c46bac04344f35c46.jpg","text":"TemporaryFile(/tmp/multipartBody1791873861376750439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_17_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91d5f3a4706331a6fb9629c2a6ce7527.jpg","text":"TemporaryFile(/tmp/multipartBody5292081095928256261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71849ad5944c1d8940c519914166a47c.jpg","text":"TemporaryFile(/tmp/multipartBody3326930488550135592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_37_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2839f1c703a79c37f8b3868d303d065.jpg","text":"TemporaryFile(/tmp/multipartBody4356820134818387813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744251992799,"filename":"image_10042025_00_28_08_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019270","file1":"1351019265","file0":"1351019261","file4":"1351019277","file5":"1351019283","file3":"1351019273"},"map_files_photo_id_array":[{"photo_id":"1351019283","filename":"file5"},{"photo_id":"1351019270","filename":"file2"},{"photo_id":"1351019277","filename":"file4"},{"photo_id":"1351019265","filename":"file1"},{"photo_id":"1351019261","filename":"file0"},{"photo_id":"1351019273","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019283":["hashtag1","hashtag2"]},{"1351019277":["hashtag1","hashtag2"]},{"1351019265":["hashtag1","hashtag2"]},{"1351019270":["hashtag1","hashtag2"]},{"1351019273":["hashtag1","hashtag2"]},{"1351019261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019283, 1351019277, 1351019265, 1351019270, 1351019273, 1351019261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9464430809021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:26:32.492290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/28/image_10042025_00_29_07_9357.jpg', '/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_17_10467.jpg', '/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_27_9374.jpg', '/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_37_10368.jpg', '/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_48_10465.jpg', '/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_57_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/28/image_10042025_00_29_07_9357.jpg
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_17_10467.jpg
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_27_9374.jpg
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_37_10368.jpg
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_48_10465.jpg
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_29_57_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019493","1351019502","1351019488","1351019497","1351019500","1351019484"],"photo_ids_order":["1351019484","1351019488","1351019493","1351019497","1351019500","1351019502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4acda739a7de20cb30b394b99d5c9bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4509089101620568821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_27_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a94adacb2e87b123a3f5af7303038825.jpg","text":"TemporaryFile(/tmp/multipartBody8883062202935535292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_57_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0009f07806ceb426e46146e5efbffa99.jpg","text":"TemporaryFile(/tmp/multipartBody2470812402145509096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_17_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3bcd8963f65de3b2362f4c646ddf6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4834579087707832659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa8ee3ab72bf975f82224053159868e7.jpg","text":"TemporaryFile(/tmp/multipartBody4072951366867466024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_48_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dff2a5d74c8bc49e19579731063f7f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3265439997840267857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252052976,"filename":"image_10042025_00_29_07_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019493","file1":"1351019488","file0":"1351019484","file4":"1351019500","file5":"1351019502","file3":"1351019497"},"map_files_photo_id_array":[{"photo_id":"1351019502","filename":"file5"},{"photo_id":"1351019493","filename":"file2"},{"photo_id":"1351019500","filename":"file4"},{"photo_id":"1351019488","filename":"file1"},{"photo_id":"1351019484","filename":"file0"},{"photo_id":"1351019497","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019493":["hashtag1","hashtag2"]},{"1351019502":["hashtag1","hashtag2"]},{"1351019488":["hashtag1","hashtag2"]},{"1351019497":["hashtag1","hashtag2"]},{"1351019500":["hashtag1","hashtag2"]},{"1351019484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019493, 1351019502, 1351019488, 1351019497, 1351019500, 1351019484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.557096004486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:27:32.647280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/29/image_10042025_00_30_07_10409.jpg', '/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_17_9393.jpg', '/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_27_10414.jpg', '/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_38_10438.jpg', '/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_47_9385.jpg', '/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_57_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/29/image_10042025_00_30_07_10409.jpg
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_17_9393.jpg
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_27_10414.jpg
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_38_10438.jpg
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_47_9385.jpg
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_30_57_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019520","1351019517","1351019513","1351019525","1351019530","1351019533"],"photo_ids_order":["1351019513","1351019517","1351019520","1351019525","1351019530","1351019533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/688e2f00a7946fbca7f947f104bc4b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2200133573427439810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2361a8ccae4b4aafcb2123a5c3c725cc.jpg","text":"TemporaryFile(/tmp/multipartBody1034078225062863711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_17_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b05256dc0485d7f2f824b99abf8a2e2.jpg","text":"TemporaryFile(/tmp/multipartBody3926735309847542426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2e5f5ba291e0ff306ea04921edaf122.jpg","text":"TemporaryFile(/tmp/multipartBody341429829772758996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_38_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d02120ea1443ee289698ba6247098f4c.jpg","text":"TemporaryFile(/tmp/multipartBody5690271005891800121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_47_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdfb235ecd5fe79bffadf75ca4648e01.jpg","text":"TemporaryFile(/tmp/multipartBody3142923907436788139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252113115,"filename":"image_10042025_00_30_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019520","file1":"1351019517","file0":"1351019513","file4":"1351019530","file5":"1351019533","file3":"1351019525"},"map_files_photo_id_array":[{"photo_id":"1351019533","filename":"file5"},{"photo_id":"1351019520","filename":"file2"},{"photo_id":"1351019530","filename":"file4"},{"photo_id":"1351019517","filename":"file1"},{"photo_id":"1351019513","filename":"file0"},{"photo_id":"1351019525","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019520":["hashtag1","hashtag2"]},{"1351019517":["hashtag1","hashtag2"]},{"1351019513":["hashtag1","hashtag2"]},{"1351019525":["hashtag1","hashtag2"]},{"1351019530":["hashtag1","hashtag2"]},{"1351019533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019520, 1351019517, 1351019513, 1351019525, 1351019530, 1351019533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66102409362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:28:32.869432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/30/image_10042025_00_31_07_9350.jpg', '/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_17_10448.jpg', '/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_28_10460.jpg', '/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_37_9354.jpg', '/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_47_10432.jpg', '/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_57_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/30/image_10042025_00_31_07_9350.jpg
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_17_10448.jpg
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_28_10460.jpg
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_37_9354.jpg
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_47_10432.jpg
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_31_57_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019568","1351019570","1351019560","1351019563","1351019557","1351019566"],"photo_ids_order":["1351019557","1351019560","1351019563","1351019566","1351019568","1351019570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c96dea8190ca3915a0cd9a11b43397c.jpg","text":"TemporaryFile(/tmp/multipartBody6551614749794473063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_47_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b043de7a5fa0da2a9eeafb8121448f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5880006017155114662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_57_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a21461925720d059b8fd5029382c2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5183073371588024557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_17_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28ab5c1e2f179f408f4c1549ee04a87c.jpg","text":"TemporaryFile(/tmp/multipartBody1865158132810454062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_28_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2d4c81be4fb54c950f3ea29e9d838d7.jpg","text":"TemporaryFile(/tmp/multipartBody2834073407846990023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_07_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cfba935bb9562a4ab4714ab6ec2964c.jpg","text":"TemporaryFile(/tmp/multipartBody5000223302920806203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252173332,"filename":"image_10042025_00_31_37_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019563","file1":"1351019560","file0":"1351019557","file4":"1351019568","file5":"1351019570","file3":"1351019566"},"map_files_photo_id_array":[{"photo_id":"1351019570","filename":"file5"},{"photo_id":"1351019563","filename":"file2"},{"photo_id":"1351019568","filename":"file4"},{"photo_id":"1351019560","filename":"file1"},{"photo_id":"1351019557","filename":"file0"},{"photo_id":"1351019566","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019568":["hashtag1","hashtag2"]},{"1351019570":["hashtag1","hashtag2"]},{"1351019560":["hashtag1","hashtag2"]},{"1351019563":["hashtag1","hashtag2"]},{"1351019557":["hashtag1","hashtag2"]},{"1351019566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019568, 1351019570, 1351019560, 1351019563, 1351019557, 1351019566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35594367980957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:29:33.012300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/31/image_10042025_00_32_07_10367.jpg', '/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_18_10431.jpg', '/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_27_9357.jpg', '/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_37_10507.jpg', '/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_47_9366.jpg', '/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_57_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/31/image_10042025_00_32_07_10367.jpg
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_18_10431.jpg
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_27_9357.jpg
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_37_10507.jpg
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_47_9366.jpg
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_32_57_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019696","1351019642","1351019636","1351019702","1351019713","1351019620"],"photo_ids_order":["1351019620","1351019636","1351019642","1351019696","1351019702","1351019713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffdf5be6369e8913c463cb66ba6ac18c.jpg","text":"TemporaryFile(/tmp/multipartBody2593027799918991696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_37_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc082bc711c66813ef5728708bc845ec.jpg","text":"TemporaryFile(/tmp/multipartBody7808263096376430183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_27_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50240b64718443c924466d547c2a876e.jpg","text":"TemporaryFile(/tmp/multipartBody8738417639996377702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_18_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74579800c7e9ad4d4776c4a805d93ede.jpg","text":"TemporaryFile(/tmp/multipartBody3124258621899504611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_47_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b28ec91b15d5ebe735e8de2a9a879a0.jpg","text":"TemporaryFile(/tmp/multipartBody2411596282560530909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_57_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f3d5d9703ddfb7e2095433472db83b5.jpg","text":"TemporaryFile(/tmp/multipartBody5153436602136171565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252233476,"filename":"image_10042025_00_32_07_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019642","file1":"1351019636","file0":"1351019620","file4":"1351019702","file5":"1351019713","file3":"1351019696"},"map_files_photo_id_array":[{"photo_id":"1351019713","filename":"file5"},{"photo_id":"1351019642","filename":"file2"},{"photo_id":"1351019702","filename":"file4"},{"photo_id":"1351019636","filename":"file1"},{"photo_id":"1351019620","filename":"file0"},{"photo_id":"1351019696","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019696":["hashtag1","hashtag2"]},{"1351019642":["hashtag1","hashtag2"]},{"1351019636":["hashtag1","hashtag2"]},{"1351019702":["hashtag1","hashtag2"]},{"1351019713":["hashtag1","hashtag2"]},{"1351019620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019696, 1351019642, 1351019636, 1351019702, 1351019713, 1351019620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69526171684265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:30:32.440103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/32/image_10042025_00_33_07_9469.jpg', '/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_17_10378.jpg', '/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_27_10316.jpg', '/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_37_9347.jpg', '/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_47_10374.jpg', '/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_58_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/32/image_10042025_00_33_07_9469.jpg
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_17_10378.jpg
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_27_10316.jpg
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_37_9347.jpg
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_47_10374.jpg
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_33_58_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019814","1351019819","1351019810","1351019797","1351019801","1351019804"],"photo_ids_order":["1351019797","1351019801","1351019804","1351019810","1351019814","1351019819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ddad11b5ee6930ae0d1c42fcb9ed74c.jpg","text":"TemporaryFile(/tmp/multipartBody3113059545318899628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e468dfec165c53230296f4f787fef805.jpg","text":"TemporaryFile(/tmp/multipartBody557310490638228008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_58_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dcf504562bd82996303b66d1a5eafcd.jpg","text":"TemporaryFile(/tmp/multipartBody1330275850469060745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_37_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb09b7e204155e918a0bde5749aa4b81.jpg","text":"TemporaryFile(/tmp/multipartBody3352478196752977429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_07_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ba69b7498bbe639453d56022bc114ce.jpg","text":"TemporaryFile(/tmp/multipartBody2664134098204242096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_17_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0930ad083b7faed799171dc8cc37e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7765985215537556473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252292911,"filename":"image_10042025_00_33_27_10316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019804","file1":"1351019801","file0":"1351019797","file4":"1351019814","file5":"1351019819","file3":"1351019810"},"map_files_photo_id_array":[{"photo_id":"1351019819","filename":"file5"},{"photo_id":"1351019804","filename":"file2"},{"photo_id":"1351019814","filename":"file4"},{"photo_id":"1351019801","filename":"file1"},{"photo_id":"1351019797","filename":"file0"},{"photo_id":"1351019810","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019814":["hashtag1","hashtag2"]},{"1351019819":["hashtag1","hashtag2"]},{"1351019810":["hashtag1","hashtag2"]},{"1351019797":["hashtag1","hashtag2"]},{"1351019801":["hashtag1","hashtag2"]},{"1351019804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019814, 1351019819, 1351019810, 1351019797, 1351019801, 1351019804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5129234790802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:31:32.584984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/33/image_10042025_00_34_07_9375.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_17_10515.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_27_9373.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_37_10374.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_48_10382.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_57_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_34_07_9375.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_17_10515.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_27_9373.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_37_10374.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_48_10382.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_57_9364.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3912773132324219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 04:31:42.596659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/33/image_10042025_00_34_07_9375.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_17_10515.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_27_9373.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_37_10374.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_48_10382.jpg', '/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_57_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/33/image_10042025_00_34_07_9375.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_17_10515.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_27_9373.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_37_10374.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_48_10382.jpg
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_34_57_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351019871","1351019901","1351019951","1351019918","1351019968","1351019911"],"photo_ids_order":["1351019871","1351019901","1351019911","1351019918","1351019951","1351019968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/460f6db4b6de8328b610ce841e932bea.jpg","text":"TemporaryFile(/tmp/multipartBody7443911576666384804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_07_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e4e2b11099f9df7b2ba3af145611a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1496567145013265617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_17_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6b0083ff5b1f4e230f87220e21a8388.jpg","text":"TemporaryFile(/tmp/multipartBody326347998756939454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_48_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc8e7a623d6ec2063f2336fcd1dc0b22.jpg","text":"TemporaryFile(/tmp/multipartBody2019594283622099789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98e776ed200855e79e96fc1664baf332.jpg","text":"TemporaryFile(/tmp/multipartBody3555534946201477351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_57_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc0bbbc0bac2e9923297daca0a94debe.jpg","text":"TemporaryFile(/tmp/multipartBody2383467357953080684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252363066,"filename":"image_10042025_00_34_27_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351019911","file1":"1351019901","file0":"1351019871","file4":"1351019951","file5":"1351019968","file3":"1351019918"},"map_files_photo_id_array":[{"photo_id":"1351019968","filename":"file5"},{"photo_id":"1351019911","filename":"file2"},{"photo_id":"1351019951","filename":"file4"},{"photo_id":"1351019901","filename":"file1"},{"photo_id":"1351019871","filename":"file0"},{"photo_id":"1351019918","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351019871":["hashtag1","hashtag2"]},{"1351019901":["hashtag1","hashtag2"]},{"1351019951":["hashtag1","hashtag2"]},{"1351019918":["hashtag1","hashtag2"]},{"1351019968":["hashtag1","hashtag2"]},{"1351019911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351019871, 1351019901, 1351019951, 1351019918, 1351019968, 1351019911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17562174797058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:32:32.817319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/34/image_10042025_00_35_07_10510.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_17_9364.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_27_10400.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_38_10358.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_47_9350.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_57_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_35_07_10510.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_17_9364.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_27_10400.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_38_10358.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_47_9350.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_57_10417.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3910360336303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 04:32:42.816622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/34/image_10042025_00_35_07_10510.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_17_9364.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_27_10400.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_38_10358.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_47_9350.jpg', '/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_57_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/34/image_10042025_00_35_07_10510.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_17_9364.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_27_10400.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_38_10358.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_47_9350.jpg
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_35_57_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020040","1351020034","1351020022","1351020030","1351020048","1351020044"],"photo_ids_order":["1351020022","1351020030","1351020034","1351020040","1351020044","1351020048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe32080624d517f13422fddc9cc7503a.jpg","text":"TemporaryFile(/tmp/multipartBody7672500974068587469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_38_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c710cdf760f5d23f24094ce55f34abfe.jpg","text":"TemporaryFile(/tmp/multipartBody1330237008101968145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8056547e49ec56002341e338148c01a6.jpg","text":"TemporaryFile(/tmp/multipartBody9085495774660974121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_07_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d97a2b479a0e2d0c4b672a83dbcb579.jpg","text":"TemporaryFile(/tmp/multipartBody7953577700667712530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_17_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2982aeb3f40e55743b8013ab1b67d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody5763145430405215446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ee943b1ed84fda6365b66d17ffe5e25.jpg","text":"TemporaryFile(/tmp/multipartBody1958475450906612880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252423289,"filename":"image_10042025_00_35_47_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020034","file1":"1351020030","file0":"1351020022","file4":"1351020044","file5":"1351020048","file3":"1351020040"},"map_files_photo_id_array":[{"photo_id":"1351020048","filename":"file5"},{"photo_id":"1351020034","filename":"file2"},{"photo_id":"1351020044","filename":"file4"},{"photo_id":"1351020030","filename":"file1"},{"photo_id":"1351020022","filename":"file0"},{"photo_id":"1351020040","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020040":["hashtag1","hashtag2"]},{"1351020034":["hashtag1","hashtag2"]},{"1351020022":["hashtag1","hashtag2"]},{"1351020030":["hashtag1","hashtag2"]},{"1351020048":["hashtag1","hashtag2"]},{"1351020044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020040, 1351020034, 1351020022, 1351020030, 1351020048, 1351020044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36929726600647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:33:33.015848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/35/image_10042025_00_36_08_10361.jpg', '/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_17_9346.jpg', '/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_28_10480.jpg', '/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_37_9368.jpg', '/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_47_10437.jpg', '/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_57_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/35/image_10042025_00_36_08_10361.jpg
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_17_9346.jpg
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_28_10480.jpg
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_37_9368.jpg
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_47_10437.jpg
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_36_57_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020177","1351020191","1351020188","1351020152","1351020196","1351020199"],"photo_ids_order":["1351020152","1351020177","1351020188","1351020191","1351020196","1351020199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b51d3b4e99d27ad51d86c5c4e717eb71.jpg","text":"TemporaryFile(/tmp/multipartBody4784159702421577190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_17_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15d28fe495cb2e1658ee360ed8369b0d.jpg","text":"TemporaryFile(/tmp/multipartBody5495834057436938260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_37_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3b532eb32d95d16808e83fd9479d6ac.jpg","text":"TemporaryFile(/tmp/multipartBody7634792801232541580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_28_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fc69cad959210917c514ccdd95026cf.jpg","text":"TemporaryFile(/tmp/multipartBody4103484736085110849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_08_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/377a2d05a30495d2096a1485319e6d3f.jpg","text":"TemporaryFile(/tmp/multipartBody9219281952464884004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aed0958f402c673bc8114f412be4ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody7094764387431107071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252473483,"filename":"image_10042025_00_36_57_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020188","file1":"1351020177","file0":"1351020152","file4":"1351020196","file5":"1351020199","file3":"1351020191"},"map_files_photo_id_array":[{"photo_id":"1351020199","filename":"file5"},{"photo_id":"1351020188","filename":"file2"},{"photo_id":"1351020196","filename":"file4"},{"photo_id":"1351020177","filename":"file1"},{"photo_id":"1351020152","filename":"file0"},{"photo_id":"1351020191","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020177":["hashtag1","hashtag2"]},{"1351020191":["hashtag1","hashtag2"]},{"1351020188":["hashtag1","hashtag2"]},{"1351020152":["hashtag1","hashtag2"]},{"1351020196":["hashtag1","hashtag2"]},{"1351020199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020177, 1351020191, 1351020188, 1351020152, 1351020196, 1351020199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5721321105957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:34:32.295180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/36/image_10042025_00_37_07_10394.jpg', '/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_18_10476.jpg', '/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_27_9411.jpg', '/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_37_10378.jpg', '/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_47_9362.jpg', '/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_57_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/36/image_10042025_00_37_07_10394.jpg
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_18_10476.jpg
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_27_9411.jpg
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_37_10378.jpg
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_47_9362.jpg
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_37_57_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020316","1351020261","1351020269","1351020320","1351020277","1351020256"],"photo_ids_order":["1351020256","1351020261","1351020269","1351020277","1351020316","1351020320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a4595d809f293d223a70cb65c6ff317.jpg","text":"TemporaryFile(/tmp/multipartBody8115718585329805300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_47_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4bbcf232beb7b0db268753a9b0b1478.jpg","text":"TemporaryFile(/tmp/multipartBody4049870755387602605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_18_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d385ebebad0e1845026dbc37e6c3c54.jpg","text":"TemporaryFile(/tmp/multipartBody3765062364534785097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_27_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/062e19076ed1ac2414b3999a30b2ad49.jpg","text":"TemporaryFile(/tmp/multipartBody5234019520799136829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d4b318d1037a0230ca64b6e8c9eb202.jpg","text":"TemporaryFile(/tmp/multipartBody8983865157732653837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd5d1bb03ef63fa0170455715f9fdde6.jpg","text":"TemporaryFile(/tmp/multipartBody2900965059833625435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252532764,"filename":"image_10042025_00_37_07_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020269","file1":"1351020261","file0":"1351020256","file4":"1351020316","file5":"1351020320","file3":"1351020277"},"map_files_photo_id_array":[{"photo_id":"1351020320","filename":"file5"},{"photo_id":"1351020269","filename":"file2"},{"photo_id":"1351020316","filename":"file4"},{"photo_id":"1351020261","filename":"file1"},{"photo_id":"1351020256","filename":"file0"},{"photo_id":"1351020277","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020316":["hashtag1","hashtag2"]},{"1351020261":["hashtag1","hashtag2"]},{"1351020269":["hashtag1","hashtag2"]},{"1351020320":["hashtag1","hashtag2"]},{"1351020277":["hashtag1","hashtag2"]},{"1351020256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020316, 1351020261, 1351020269, 1351020320, 1351020277, 1351020256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.159281969070435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:35:32.534896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/37/image_10042025_00_38_08_10374.jpg', '/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_17_9367.jpg', '/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_27_10397.jpg', '/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_37_9469.jpg', '/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_47_10376.jpg', '/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_57_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/37/image_10042025_00_38_08_10374.jpg
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_17_9367.jpg
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_27_10397.jpg
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_37_9469.jpg
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_47_10376.jpg
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_38_57_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":["1351020430","1351020441","1351020438","1351020423","1351020426","1351020434"],"photo_ids_order":["1351020423","1351020426","1351020430","1351020434","1351020438","1351020441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fea3131fbbdf688b162114ce132b7bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3211851204422843394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f0621ee4817cb6b553d57e28821f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8301323899877236252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe03c59fd3490759dc50f526fb19798c.jpg","text":"TemporaryFile(/tmp/multipartBody4054422032306011261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a669e437c7414816b92264251aa01e40.jpg","text":"TemporaryFile(/tmp/multipartBody4500085086583397755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_08_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5791f03219ee0ea2ad365a38f43faef8.jpg","text":"TemporaryFile(/tmp/multipartBody5243640844043896219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_17_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ff3d6d2600929f808c4ec406978c800.jpg","text":"TemporaryFile(/tmp/multipartBody3840418120143425331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252593004,"filename":"image_10042025_00_38_37_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020430","file1":"1351020426","file0":"1351020423","file4":"1351020438","file5":"1351020441","file3":"1351020434"},"map_files_photo_id_array":[{"photo_id":"1351020441","filename":"file5"},{"photo_id":"1351020430","filename":"file2"},{"photo_id":"1351020438","filename":"file4"},{"photo_id":"1351020426","filename":"file1"},{"photo_id":"1351020423","filename":"file0"},{"photo_id":"1351020434","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020430":["hashtag1","hashtag2"]},{"1351020441":["hashtag1","hashtag2"]},{"1351020438":["hashtag1","hashtag2"]},{"1351020423":["hashtag1","hashtag2"]},{"1351020426":["hashtag1","hashtag2"]},{"1351020434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020430, 1351020441, 1351020438, 1351020423, 1351020426, 1351020434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01373291015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:36:32.826163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/38/image_10042025_00_39_07_9402.jpg', '/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_17_10431.jpg', '/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_28_10354.jpg', '/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_37_9337.jpg', '/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_47_10446.jpg', '/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_57_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/38/image_10042025_00_39_07_9402.jpg
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_17_10431.jpg
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_28_10354.jpg
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_37_9337.jpg
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_47_10446.jpg
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_39_57_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020462","1351020459","1351020461","1351020470","1351020455","1351020460"],"photo_ids_order":["1351020455","1351020459","1351020460","1351020461","1351020462","1351020470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efcf85eac57cddaa01209e2e28d143cf.jpg","text":"TemporaryFile(/tmp/multipartBody7481367114588972313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7788eb457744d42e563f54ffd48f5e43.jpg","text":"TemporaryFile(/tmp/multipartBody5877338183718173984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73bf696654e44f9bd0b821a1926fccc0.jpg","text":"TemporaryFile(/tmp/multipartBody949248241995809815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_37_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ec8e8e8cf9983b55f605732e175aafc.jpg","text":"TemporaryFile(/tmp/multipartBody4845254114691141398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_57_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bb9341cd8359487315e17b45560b1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4806131946489349257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_07_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2afa110bacdede96c5c7d6b10cc7fd28.jpg","text":"TemporaryFile(/tmp/multipartBody6406612022953806322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252653317,"filename":"image_10042025_00_39_28_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020460","file1":"1351020459","file0":"1351020455","file4":"1351020462","file5":"1351020470","file3":"1351020461"},"map_files_photo_id_array":[{"photo_id":"1351020470","filename":"file5"},{"photo_id":"1351020460","filename":"file2"},{"photo_id":"1351020462","filename":"file4"},{"photo_id":"1351020459","filename":"file1"},{"photo_id":"1351020455","filename":"file0"},{"photo_id":"1351020461","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020462":["hashtag1","hashtag2"]},{"1351020459":["hashtag1","hashtag2"]},{"1351020461":["hashtag1","hashtag2"]},{"1351020470":["hashtag1","hashtag2"]},{"1351020455":["hashtag1","hashtag2"]},{"1351020460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020462, 1351020459, 1351020461, 1351020470, 1351020455, 1351020460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18620204925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:37:32.883139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/39/image_10042025_00_40_07_10472.jpg', '/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_17_9469.jpg', '/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_27_10384.jpg', '/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_38_10419.jpg', '/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_47_9375.jpg', '/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_57_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/39/image_10042025_00_40_07_10472.jpg
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_17_9469.jpg
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_27_10384.jpg
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_38_10419.jpg
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_47_9375.jpg
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_40_57_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020591","1351020579","1351020558","1351020552","1351020600","1351020608"],"photo_ids_order":["1351020552","1351020558","1351020579","1351020591","1351020600","1351020608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e4f1ddee307c15b978a51ff11d5536e.jpg","text":"TemporaryFile(/tmp/multipartBody2598241288725148706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_38_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/433c00ce75c18f67e307148e029e4460.jpg","text":"TemporaryFile(/tmp/multipartBody1259934101419534881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_27_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c33c9544fc042601d7b543ff8530111.jpg","text":"TemporaryFile(/tmp/multipartBody5946680987436311315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_17_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/662045557e8c3035577760a5c03ca10d.jpg","text":"TemporaryFile(/tmp/multipartBody4152151019147658690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_07_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8709ada3cee9008249e865cbf2822c97.jpg","text":"TemporaryFile(/tmp/multipartBody7991864495117374655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_47_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02f4be514a46a38b2cb66358d976b326.jpg","text":"TemporaryFile(/tmp/multipartBody7308434056619474639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252713352,"filename":"image_10042025_00_40_57_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020579","file1":"1351020558","file0":"1351020552","file4":"1351020600","file5":"1351020608","file3":"1351020591"},"map_files_photo_id_array":[{"photo_id":"1351020608","filename":"file5"},{"photo_id":"1351020579","filename":"file2"},{"photo_id":"1351020600","filename":"file4"},{"photo_id":"1351020558","filename":"file1"},{"photo_id":"1351020552","filename":"file0"},{"photo_id":"1351020591","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020591":["hashtag1","hashtag2"]},{"1351020579":["hashtag1","hashtag2"]},{"1351020558":["hashtag1","hashtag2"]},{"1351020552":["hashtag1","hashtag2"]},{"1351020600":["hashtag1","hashtag2"]},{"1351020608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020591, 1351020579, 1351020558, 1351020552, 1351020600, 1351020608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95781111717224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:38:33.134892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/40/image_10042025_00_41_07_9363.jpg', '/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_17_10388.jpg', '/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_28_10431.jpg', '/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_37_9383.jpg', '/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_47_10465.jpg', '/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_57_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/40/image_10042025_00_41_07_9363.jpg
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_17_10388.jpg
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_28_10431.jpg
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_37_9383.jpg
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_47_10465.jpg
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_41_57_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351020721","1351020712","1351020705","1351020725","1351020728","1351020716"],"photo_ids_order":["1351020705","1351020712","1351020716","1351020721","1351020725","1351020728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9829981815a084d8c90efa1729706063.jpg","text":"TemporaryFile(/tmp/multipartBody8524896581809438382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_37_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af2a7b79940ad5d0a621d84c05ccd765.jpg","text":"TemporaryFile(/tmp/multipartBody1306547401208603213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_17_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db0b2d21a7ddac0c131d9bd52434eae8.jpg","text":"TemporaryFile(/tmp/multipartBody5534201317564738949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_07_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63ba5e95d29ffc16562b7dc266ee63b5.jpg","text":"TemporaryFile(/tmp/multipartBody7910128894788157963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/782ef014298b60f91df6c5d2fa71542a.jpg","text":"TemporaryFile(/tmp/multipartBody3003970930015366639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_57_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06c0f1fe0217bda2f1ced09fe760bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody6129848864563143961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252773669,"filename":"image_10042025_00_41_28_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020716","file1":"1351020712","file0":"1351020705","file4":"1351020725","file5":"1351020728","file3":"1351020721"},"map_files_photo_id_array":[{"photo_id":"1351020728","filename":"file5"},{"photo_id":"1351020716","filename":"file2"},{"photo_id":"1351020725","filename":"file4"},{"photo_id":"1351020712","filename":"file1"},{"photo_id":"1351020705","filename":"file0"},{"photo_id":"1351020721","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351020721":["hashtag1","hashtag2"]},{"1351020712":["hashtag1","hashtag2"]},{"1351020705":["hashtag1","hashtag2"]},{"1351020725":["hashtag1","hashtag2"]},{"1351020728":["hashtag1","hashtag2"]},{"1351020716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351020721, 1351020712, 1351020705, 1351020725, 1351020728, 1351020716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19009971618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:39:32.488014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/41/image_10042025_00_42_07_10409.jpg', '/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_18_10377.jpg', '/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_27_9398.jpg', '/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_37_10395.jpg', '/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_47_9382.jpg', '/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_57_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/41/image_10042025_00_42_07_10409.jpg
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_18_10377.jpg
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_27_9398.jpg
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_37_10395.jpg
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_47_9382.jpg
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_42_57_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021003","1351020736","1351020999","1351020990","1351020987","1351020824"],"photo_ids_order":["1351020736","1351020824","1351020987","1351020990","1351020999","1351021003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f31f7810adaad419caa64b22c4f1950.jpg","text":"TemporaryFile(/tmp/multipartBody6628824423537983568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73f801901191cbe43ea661ba433ef3ce.jpg","text":"TemporaryFile(/tmp/multipartBody259764242005402486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62d1d64525ab2ec5c51b0228924cd6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3803743727923107648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_47_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12e925572e8a8b694e99546acc4dff90.jpg","text":"TemporaryFile(/tmp/multipartBody2723593810113491705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/551d5d5da7c1ebc8473ddb7a9934c22d.jpg","text":"TemporaryFile(/tmp/multipartBody84042468701222914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_27_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/008e8fa72c7c56bf4da2aea070e2fe81.jpg","text":"TemporaryFile(/tmp/multipartBody6165350497092991791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252832953,"filename":"image_10042025_00_42_18_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351020987","file1":"1351020824","file0":"1351020736","file4":"1351020999","file5":"1351021003","file3":"1351020990"},"map_files_photo_id_array":[{"photo_id":"1351021003","filename":"file5"},{"photo_id":"1351020987","filename":"file2"},{"photo_id":"1351020999","filename":"file4"},{"photo_id":"1351020824","filename":"file1"},{"photo_id":"1351020736","filename":"file0"},{"photo_id":"1351020990","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021003":["hashtag1","hashtag2"]},{"1351020736":["hashtag1","hashtag2"]},{"1351020999":["hashtag1","hashtag2"]},{"1351020990":["hashtag1","hashtag2"]},{"1351020987":["hashtag1","hashtag2"]},{"1351020824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021003, 1351020736, 1351020999, 1351020990, 1351020987, 1351020824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56080985069275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:40:32.546284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/42/image_10042025_00_43_08_10432.jpg', '/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_17_9367.jpg', '/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_27_10431.jpg', '/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_38_10373.jpg', '/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_47_9351.jpg', '/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_57_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/42/image_10042025_00_43_08_10432.jpg
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_17_9367.jpg
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_27_10431.jpg
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_38_10373.jpg
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_47_9351.jpg
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_43_57_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021058","1351021061","1351021066","1351021051","1351021054","1351021048"],"photo_ids_order":["1351021048","1351021051","1351021054","1351021058","1351021061","1351021066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbc593dc21ea9bc67cbc8758ea6fbe22.jpg","text":"TemporaryFile(/tmp/multipartBody8364707008384396602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_38_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0f770d230ead069cb091df90c81ff5e.jpg","text":"TemporaryFile(/tmp/multipartBody8693270882206680622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_47_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a83b06f2daae7f6de04937e3d908275.jpg","text":"TemporaryFile(/tmp/multipartBody1165720930416293128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad0ef96c0a952ce436cf4081e83bfd86.jpg","text":"TemporaryFile(/tmp/multipartBody6489287693845558129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_17_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/271d3fb75619159d95db302c7a758690.jpg","text":"TemporaryFile(/tmp/multipartBody4529345687827989478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad6d637cbc462e0fc6e26f25f90d72e8.jpg","text":"TemporaryFile(/tmp/multipartBody9146051626722585208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252893011,"filename":"image_10042025_00_43_08_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351021054","file1":"1351021051","file0":"1351021048","file4":"1351021061","file5":"1351021066","file3":"1351021058"},"map_files_photo_id_array":[{"photo_id":"1351021066","filename":"file5"},{"photo_id":"1351021054","filename":"file2"},{"photo_id":"1351021061","filename":"file4"},{"photo_id":"1351021051","filename":"file1"},{"photo_id":"1351021048","filename":"file0"},{"photo_id":"1351021058","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021058":["hashtag1","hashtag2"]},{"1351021061":["hashtag1","hashtag2"]},{"1351021066":["hashtag1","hashtag2"]},{"1351021051":["hashtag1","hashtag2"]},{"1351021054":["hashtag1","hashtag2"]},{"1351021048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021058, 1351021061, 1351021066, 1351021051, 1351021054, 1351021048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.941954374313354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:41:32.810033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/43/image_10042025_00_44_07_9337.jpg', '/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_17_10366.jpg', '/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_28_10464.jpg', '/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_37_9368.jpg', '/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_47_10439.jpg', '/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_57_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/43/image_10042025_00_44_07_9337.jpg
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_17_10366.jpg
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_28_10464.jpg
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_37_9368.jpg
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_47_10439.jpg
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_44_57_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021086","1351021088","1351021093","1351021106","1351021096","1351021084"],"photo_ids_order":["1351021084","1351021086","1351021088","1351021093","1351021096","1351021106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52276068572162975cc25158ab5d19e2.jpg","text":"TemporaryFile(/tmp/multipartBody1614783151504383213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abc90db3fda4106355752d95813abeb2.jpg","text":"TemporaryFile(/tmp/multipartBody6649493254084222206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_28_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84752d19cba3b22ef840be4a31e55e70.jpg","text":"TemporaryFile(/tmp/multipartBody179943113057714669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_37_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c79f33543ca7fab422a83e1eaf37a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8437259277464832566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_57_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01548e459c7e0dbd07ca1b9fb95d4642.jpg","text":"TemporaryFile(/tmp/multipartBody3759753033300034605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/681c662086990ace44cf2d9d74d2b694.jpg","text":"TemporaryFile(/tmp/multipartBody7900943801970855172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744252953271,"filename":"image_10042025_00_44_07_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351021088","file1":"1351021086","file0":"1351021084","file4":"1351021096","file5":"1351021106","file3":"1351021093"},"map_files_photo_id_array":[{"photo_id":"1351021106","filename":"file5"},{"photo_id":"1351021088","filename":"file2"},{"photo_id":"1351021096","filename":"file4"},{"photo_id":"1351021086","filename":"file1"},{"photo_id":"1351021084","filename":"file0"},{"photo_id":"1351021093","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021086":["hashtag1","hashtag2"]},{"1351021088":["hashtag1","hashtag2"]},{"1351021093":["hashtag1","hashtag2"]},{"1351021106":["hashtag1","hashtag2"]},{"1351021096":["hashtag1","hashtag2"]},{"1351021084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021086, 1351021088, 1351021093, 1351021106, 1351021096, 1351021084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.142413854599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:42:32.914960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/44/image_10042025_00_45_07_10365.jpg', '/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_18_10478.jpg', '/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_27_9354.jpg', '/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_37_10395.jpg', '/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_47_9367.jpg', '/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_57_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/44/image_10042025_00_45_07_10365.jpg
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_18_10478.jpg
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_27_9354.jpg
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_37_10395.jpg
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_47_9367.jpg
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_45_57_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021358","1351021238","1351021301","1351021264","1351021225","1351021234"],"photo_ids_order":["1351021225","1351021234","1351021238","1351021264","1351021301","1351021358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a460d4614d346bb4ad869530a69cb48.jpg","text":"TemporaryFile(/tmp/multipartBody8249366881829176093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_57_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8426a2524b1615f3b5eba0247b6ba765.jpg","text":"TemporaryFile(/tmp/multipartBody5439551686647816419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_27_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/922ab4e0dd4258fd684da2877d1f77ae.jpg","text":"TemporaryFile(/tmp/multipartBody1732278352667986485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_47_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4e1b69ae0a922b33e10ce13acfb5e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2448824625974439209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/068b0af6e7dd1d91632a3504576647b5.jpg","text":"TemporaryFile(/tmp/multipartBody3084465145538804748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b8c8345d7aa4906f536a89ca3d1758a.jpg","text":"TemporaryFile(/tmp/multipartBody4384645312868756029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253013388,"filename":"image_10042025_00_45_18_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351021238","file1":"1351021234","file0":"1351021225","file4":"1351021301","file5":"1351021358","file3":"1351021264"},"map_files_photo_id_array":[{"photo_id":"1351021358","filename":"file5"},{"photo_id":"1351021238","filename":"file2"},{"photo_id":"1351021301","filename":"file4"},{"photo_id":"1351021234","filename":"file1"},{"photo_id":"1351021225","filename":"file0"},{"photo_id":"1351021264","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021358":["hashtag1","hashtag2"]},{"1351021238":["hashtag1","hashtag2"]},{"1351021301":["hashtag1","hashtag2"]},{"1351021264":["hashtag1","hashtag2"]},{"1351021225":["hashtag1","hashtag2"]},{"1351021234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021358, 1351021238, 1351021301, 1351021264, 1351021225, 1351021234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66998219490051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:43:33.139719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/45/image_10042025_00_46_08_10459.jpg', '/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_17_9355.jpg', '/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_27_10504.jpg', '/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_37_9359.jpg', '/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_47_10371.jpg', '/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_58_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/45/image_10042025_00_46_08_10459.jpg
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_17_9355.jpg
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_27_10504.jpg
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_37_9359.jpg
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_47_10371.jpg
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_46_58_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021590","1351021518","1351021666","1351021732","1351021510","1351021504"],"photo_ids_order":["1351021504","1351021510","1351021518","1351021590","1351021666","1351021732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/957355235a41af0ad7e7263dc67dbf81.jpg","text":"TemporaryFile(/tmp/multipartBody733772458250910114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_37_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17fab8124a77227e56fee9a6637ea0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6822510328293116809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_27_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa850fddf8d893400cafaa368afc7ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5946134893800858403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21dbad36a5dbe65ec865949dc49926ec.jpg","text":"TemporaryFile(/tmp/multipartBody3284893077740277760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_58_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfae9b58b0a5360db9d406b39ffa20b2.jpg","text":"TemporaryFile(/tmp/multipartBody9181057495683190608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_17_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bd3366436f97a4980bd1fbb05c53760.jpg","text":"TemporaryFile(/tmp/multipartBody3105762401166246564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253073602,"filename":"image_10042025_00_46_08_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351021518","file1":"1351021510","file0":"1351021504","file4":"1351021666","file5":"1351021732","file3":"1351021590"},"map_files_photo_id_array":[{"photo_id":"1351021732","filename":"file5"},{"photo_id":"1351021518","filename":"file2"},{"photo_id":"1351021666","filename":"file4"},{"photo_id":"1351021510","filename":"file1"},{"photo_id":"1351021504","filename":"file0"},{"photo_id":"1351021590","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021590":["hashtag1","hashtag2"]},{"1351021518":["hashtag1","hashtag2"]},{"1351021666":["hashtag1","hashtag2"]},{"1351021732":["hashtag1","hashtag2"]},{"1351021510":["hashtag1","hashtag2"]},{"1351021504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021590, 1351021518, 1351021666, 1351021732, 1351021510, 1351021504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.993900537490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:44:32.495200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/46/image_10042025_00_47_07_9329.jpg', '/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_17_10472.jpg', '/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_27_9460.jpg', '/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_37_10420.jpg', '/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_47_9384.jpg', '/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_57_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/46/image_10042025_00_47_07_9329.jpg
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_17_10472.jpg
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_27_9460.jpg
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_37_10420.jpg
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_47_9384.jpg
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_47_57_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351021959","1351021968","1351021962","1351021956","1351022006","1351021998"],"photo_ids_order":["1351021956","1351021959","1351021962","1351021968","1351021998","1351022006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86932249b6384b34270c007abfa75125.jpg","text":"TemporaryFile(/tmp/multipartBody5565953432591689180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_17_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/426803e20f58696abf0ed29ce489fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody535176811813809637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b0540f9739a2d263b68eb4f05b5e412.jpg","text":"TemporaryFile(/tmp/multipartBody1119269384956351467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_27_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a91857a38758abc44c44ee2c6586bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6042441237484202079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_07_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fa194acb4c05c1fcca2416e7445a467.jpg","text":"TemporaryFile(/tmp/multipartBody6865669419652049511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_57_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93f93c458ca06f6574d2618a3b27d35f.jpg","text":"TemporaryFile(/tmp/multipartBody2042007046406749921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253132960,"filename":"image_10042025_00_47_47_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351021962","file1":"1351021959","file0":"1351021956","file4":"1351021998","file5":"1351022006","file3":"1351021968"},"map_files_photo_id_array":[{"photo_id":"1351022006","filename":"file5"},{"photo_id":"1351021962","filename":"file2"},{"photo_id":"1351021998","filename":"file4"},{"photo_id":"1351021959","filename":"file1"},{"photo_id":"1351021956","filename":"file0"},{"photo_id":"1351021968","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351021959":["hashtag1","hashtag2"]},{"1351021968":["hashtag1","hashtag2"]},{"1351021962":["hashtag1","hashtag2"]},{"1351021956":["hashtag1","hashtag2"]},{"1351022006":["hashtag1","hashtag2"]},{"1351021998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351021959, 1351021968, 1351021962, 1351021956, 1351022006, 1351021998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.6037974357605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:45:32.703399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/47/image_10042025_00_48_08_10393.jpg', '/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_17_9449.jpg', '/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_28_10475.jpg', '/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_37_9331.jpg', '/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_47_10412.jpg', '/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_58_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/47/image_10042025_00_48_08_10393.jpg
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_17_9449.jpg
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_28_10475.jpg
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_37_9331.jpg
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_47_10412.jpg
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_48_58_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022061","1351022055","1351022049","1351022063","1351022059","1351022052"],"photo_ids_order":["1351022049","1351022052","1351022055","1351022059","1351022061","1351022063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15d8a8d50f4dcb41571c789bc1d4f10b.jpg","text":"TemporaryFile(/tmp/multipartBody4576534212703620314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_47_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5dd280f1cfe0585c5f7322458c8af5f.jpg","text":"TemporaryFile(/tmp/multipartBody8236914458056338228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_28_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70a61806e7d4f2c1dd2240352bd81596.jpg","text":"TemporaryFile(/tmp/multipartBody5604121177361907435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_08_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff8afe35b34ebdc4554bf3182ad72685.jpg","text":"TemporaryFile(/tmp/multipartBody6124672774273285857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_58_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a34f18206207fb3873cc9fa95b7e3c33.jpg","text":"TemporaryFile(/tmp/multipartBody7841541355312687555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_37_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db81aef3ece54239a8a10bae43c322bc.jpg","text":"TemporaryFile(/tmp/multipartBody990861526662119120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253193168,"filename":"image_10042025_00_48_17_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022055","file1":"1351022052","file0":"1351022049","file4":"1351022061","file5":"1351022063","file3":"1351022059"},"map_files_photo_id_array":[{"photo_id":"1351022063","filename":"file5"},{"photo_id":"1351022055","filename":"file2"},{"photo_id":"1351022061","filename":"file4"},{"photo_id":"1351022052","filename":"file1"},{"photo_id":"1351022049","filename":"file0"},{"photo_id":"1351022059","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022061":["hashtag1","hashtag2"]},{"1351022055":["hashtag1","hashtag2"]},{"1351022049":["hashtag1","hashtag2"]},{"1351022063":["hashtag1","hashtag2"]},{"1351022059":["hashtag1","hashtag2"]},{"1351022052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022061, 1351022055, 1351022049, 1351022063, 1351022059, 1351022052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96031975746155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:46:32.964925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/48/image_10042025_00_49_07_9422.jpg', '/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_18_10471.jpg', '/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_27_9352.jpg', '/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_37_10499.jpg', '/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_47_9373.jpg', '/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_57_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/48/image_10042025_00_49_07_9422.jpg
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_18_10471.jpg
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_27_9352.jpg
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_37_10499.jpg
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_47_9373.jpg
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_49_57_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022087","1351022084","1351022078","1351022082","1351022070","1351022073"],"photo_ids_order":["1351022070","1351022073","1351022078","1351022082","1351022084","1351022087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ea014e64b4f2a01200ea98f3c92428b.jpg","text":"TemporaryFile(/tmp/multipartBody2824165195688164661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a31b14cd2c962aaaaf028080501a7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8267562590645842410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_47_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b94cbad1f8f6e48508e5f2eda7fc2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6585312462397122033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_27_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2540549a28520b63e7e335811c05951e.jpg","text":"TemporaryFile(/tmp/multipartBody403334514418156809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_37_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f09e4b99fabd25fd6939ab6f356eb579.jpg","text":"TemporaryFile(/tmp/multipartBody1302451294991982191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_07_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14160f38ffec735213a817ccedfc330c.jpg","text":"TemporaryFile(/tmp/multipartBody4852780025425221434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253253432,"filename":"image_10042025_00_49_18_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022078","file1":"1351022073","file0":"1351022070","file4":"1351022084","file5":"1351022087","file3":"1351022082"},"map_files_photo_id_array":[{"photo_id":"1351022087","filename":"file5"},{"photo_id":"1351022078","filename":"file2"},{"photo_id":"1351022084","filename":"file4"},{"photo_id":"1351022073","filename":"file1"},{"photo_id":"1351022070","filename":"file0"},{"photo_id":"1351022082","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022087":["hashtag1","hashtag2"]},{"1351022084":["hashtag1","hashtag2"]},{"1351022078":["hashtag1","hashtag2"]},{"1351022082":["hashtag1","hashtag2"]},{"1351022070":["hashtag1","hashtag2"]},{"1351022073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022087, 1351022084, 1351022078, 1351022082, 1351022070, 1351022073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37668180465698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:47:32.121259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/49/image_10042025_00_50_08_10369.jpg', '/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_17_9353.jpg', '/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_27_10438.jpg', '/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_38_10372.jpg', '/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_47_9350.jpg', '/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_57_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/49/image_10042025_00_50_08_10369.jpg
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_17_9353.jpg
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_27_10438.jpg
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_38_10372.jpg
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_47_9350.jpg
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_50_57_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022174","1351022144","1351022132","1351022146","1351022176","1351022143"],"photo_ids_order":["1351022132","1351022143","1351022144","1351022146","1351022174","1351022176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9588b4dabd0bdc541b3191fdc5e57bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8054589641644917776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_47_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c198f7b86e05f9b10077d40ec701a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6042006081933864042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28c378e1196aee561fc98f0191722672.jpg","text":"TemporaryFile(/tmp/multipartBody7122227188006296642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_08_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/050e7227e4ac057ee68721a50be86513.jpg","text":"TemporaryFile(/tmp/multipartBody4589763649908734006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_38_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/470aa87f1f1efe560527d25d8bcaea36.jpg","text":"TemporaryFile(/tmp/multipartBody8218810476547801938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_57_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/237323800bd8df13ad84797b75702686.jpg","text":"TemporaryFile(/tmp/multipartBody2467530371971802970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253312584,"filename":"image_10042025_00_50_17_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022144","file1":"1351022143","file0":"1351022132","file4":"1351022174","file5":"1351022176","file3":"1351022146"},"map_files_photo_id_array":[{"photo_id":"1351022176","filename":"file5"},{"photo_id":"1351022144","filename":"file2"},{"photo_id":"1351022174","filename":"file4"},{"photo_id":"1351022143","filename":"file1"},{"photo_id":"1351022132","filename":"file0"},{"photo_id":"1351022146","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022174":["hashtag1","hashtag2"]},{"1351022144":["hashtag1","hashtag2"]},{"1351022132":["hashtag1","hashtag2"]},{"1351022146":["hashtag1","hashtag2"]},{"1351022176":["hashtag1","hashtag2"]},{"1351022143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022174, 1351022144, 1351022132, 1351022146, 1351022176, 1351022143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93783211708069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:48:32.344885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/50/image_10042025_00_51_07_9327.jpg', '/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_17_10368.jpg', '/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_28_10374.jpg', '/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_37_9338.jpg', '/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_47_10450.jpg', '/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_58_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/50/image_10042025_00_51_07_9327.jpg
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_17_10368.jpg
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_28_10374.jpg
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_37_9338.jpg
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_47_10450.jpg
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_51_58_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022328","1351022390","1351022304","1351022392","1351022365","1351022230"],"photo_ids_order":["1351022230","1351022304","1351022328","1351022365","1351022390","1351022392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6ae2c39bef110a3140bfed66513d45c.jpg","text":"TemporaryFile(/tmp/multipartBody8324484637504877091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_28_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adba7e7ce786bd90e8af4815390b35a8.jpg","text":"TemporaryFile(/tmp/multipartBody4653118751632139473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/656aad460887243558fa5c93389ff06e.jpg","text":"TemporaryFile(/tmp/multipartBody4972384396899576451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e23d334f096ee6688b08b94bf65b73e.jpg","text":"TemporaryFile(/tmp/multipartBody6829170276090056521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_58_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c93150a8e803c2776037f2b96907c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody222684423070700129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_37_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5d4c424f0789481e73f0856c37cc7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1551136321279611508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253372811,"filename":"image_10042025_00_51_07_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022328","file1":"1351022304","file0":"1351022230","file4":"1351022390","file5":"1351022392","file3":"1351022365"},"map_files_photo_id_array":[{"photo_id":"1351022392","filename":"file5"},{"photo_id":"1351022328","filename":"file2"},{"photo_id":"1351022390","filename":"file4"},{"photo_id":"1351022304","filename":"file1"},{"photo_id":"1351022230","filename":"file0"},{"photo_id":"1351022365","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022328":["hashtag1","hashtag2"]},{"1351022390":["hashtag1","hashtag2"]},{"1351022304":["hashtag1","hashtag2"]},{"1351022392":["hashtag1","hashtag2"]},{"1351022365":["hashtag1","hashtag2"]},{"1351022230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022328, 1351022390, 1351022304, 1351022392, 1351022365, 1351022230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06720757484436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:49:32.511363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/51/image_10042025_00_52_07_9346.jpg', '/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_17_10368.jpg', '/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_27_9374.jpg', '/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_37_10363.jpg', '/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_48_10432.jpg', '/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_57_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/51/image_10042025_00_52_07_9346.jpg
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_17_10368.jpg
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_27_9374.jpg
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_37_10363.jpg
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_48_10432.jpg
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_52_57_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022508","1351022512","1351022506","1351022515","1351022499","1351022518"],"photo_ids_order":["1351022499","1351022506","1351022508","1351022512","1351022515","1351022518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc40bfd4122b90739510ef06e4bc9002.jpg","text":"TemporaryFile(/tmp/multipartBody7831317015342993810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_27_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5901e4cb814edffa5dc32977e17c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody528554881232902223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df893d8dbafe15d0f3fc0ba67003d356.jpg","text":"TemporaryFile(/tmp/multipartBody7369673147570088359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29d4c3a2d4556a6ef55260ed0aab2bb1.jpg","text":"TemporaryFile(/tmp/multipartBody4732220204852336612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_48_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab7f8d168d748b7c439ad1910085b03f.jpg","text":"TemporaryFile(/tmp/multipartBody7806573300776719716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_07_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab2d8b44271389c30d2e4866b0969b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7111270390895874677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253432973,"filename":"image_10042025_00_52_57_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022508","file1":"1351022506","file0":"1351022499","file4":"1351022515","file5":"1351022518","file3":"1351022512"},"map_files_photo_id_array":[{"photo_id":"1351022518","filename":"file5"},{"photo_id":"1351022508","filename":"file2"},{"photo_id":"1351022515","filename":"file4"},{"photo_id":"1351022506","filename":"file1"},{"photo_id":"1351022499","filename":"file0"},{"photo_id":"1351022512","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022508":["hashtag1","hashtag2"]},{"1351022512":["hashtag1","hashtag2"]},{"1351022506":["hashtag1","hashtag2"]},{"1351022515":["hashtag1","hashtag2"]},{"1351022499":["hashtag1","hashtag2"]},{"1351022518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022508, 1351022512, 1351022506, 1351022515, 1351022499, 1351022518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15705609321594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:50:32.628597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/52/image_10042025_00_53_07_10349.jpg', '/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_17_9366.jpg', '/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_27_10363.jpg', '/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_37_10354.jpg', '/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_47_9384.jpg', '/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_57_10505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/52/image_10042025_00_53_07_10349.jpg
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_17_9366.jpg
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_27_10363.jpg
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_37_10354.jpg
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_47_9384.jpg
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_53_57_10505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022708","1351022636","1351022668","1351022623","1351022664","1351022661"],"photo_ids_order":["1351022623","1351022636","1351022661","1351022664","1351022668","1351022708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/641c29a2a9998b96628a03d2345ac16d.jpg","text":"TemporaryFile(/tmp/multipartBody8976279603718180418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_57_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a21d47c91158b956f0a35a8f4617b3c7.jpg","text":"TemporaryFile(/tmp/multipartBody4553828545029275397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_17_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6846363d844b3354ff970e71566e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4941933936638258985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_47_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1133ce34d173cd8e8e3a6a263ee96af6.jpg","text":"TemporaryFile(/tmp/multipartBody2513902759557353179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc97a114b4964bfa9ed951d8e4072e37.jpg","text":"TemporaryFile(/tmp/multipartBody6368574601963465247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc037776d535af70572fb548bfff541d.jpg","text":"TemporaryFile(/tmp/multipartBody4329212114083648167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253493094,"filename":"image_10042025_00_53_27_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022661","file1":"1351022636","file0":"1351022623","file4":"1351022668","file5":"1351022708","file3":"1351022664"},"map_files_photo_id_array":[{"photo_id":"1351022708","filename":"file5"},{"photo_id":"1351022661","filename":"file2"},{"photo_id":"1351022668","filename":"file4"},{"photo_id":"1351022636","filename":"file1"},{"photo_id":"1351022623","filename":"file0"},{"photo_id":"1351022664","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022708":["hashtag1","hashtag2"]},{"1351022636":["hashtag1","hashtag2"]},{"1351022668":["hashtag1","hashtag2"]},{"1351022623":["hashtag1","hashtag2"]},{"1351022664":["hashtag1","hashtag2"]},{"1351022661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022708, 1351022636, 1351022668, 1351022623, 1351022664, 1351022661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.776334047317505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:51:32.853127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/53/image_10042025_00_54_08_10342.jpg', '/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_17_9369.jpg', '/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_27_10371.jpg', '/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_37_9341.jpg', '/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_47_10361.jpg', '/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_58_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/53/image_10042025_00_54_08_10342.jpg
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_17_9369.jpg
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_27_10371.jpg
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_37_9341.jpg
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_47_10361.jpg
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_54_58_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022841","1351022817","1351022843","1351022834","1351022830","1351022832"],"photo_ids_order":["1351022817","1351022830","1351022832","1351022834","1351022841","1351022843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9050612c2213ec86e7da3dc819e7309d.jpg","text":"TemporaryFile(/tmp/multipartBody7361711262710214981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7625cf5083d06a5220cf3b427ec8b15.jpg","text":"TemporaryFile(/tmp/multipartBody2855997638339594592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_08_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b84d5f0e5677cc1c31fd03279d80fdc0.jpg","text":"TemporaryFile(/tmp/multipartBody6441750992571449784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_58_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8941c4ff81cf0b62a6794d6279fb3c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1467226503073143149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_37_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/217a64ce3c71e035e83a0c57c547e598.jpg","text":"TemporaryFile(/tmp/multipartBody6572235498375285142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_17_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebfe5b04571a316293a385d07b693f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5347632608376131422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253553320,"filename":"image_10042025_00_54_27_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022832","file1":"1351022830","file0":"1351022817","file4":"1351022841","file5":"1351022843","file3":"1351022834"},"map_files_photo_id_array":[{"photo_id":"1351022843","filename":"file5"},{"photo_id":"1351022832","filename":"file2"},{"photo_id":"1351022841","filename":"file4"},{"photo_id":"1351022830","filename":"file1"},{"photo_id":"1351022817","filename":"file0"},{"photo_id":"1351022834","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022841":["hashtag1","hashtag2"]},{"1351022817":["hashtag1","hashtag2"]},{"1351022843":["hashtag1","hashtag2"]},{"1351022834":["hashtag1","hashtag2"]},{"1351022830":["hashtag1","hashtag2"]},{"1351022832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022841, 1351022817, 1351022843, 1351022834, 1351022830, 1351022832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04945611953735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:52:33.037795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/54/image_10042025_00_55_07_9357.jpg', '/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_17_10534.jpg', '/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_27_9366.jpg', '/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_37_10375.jpg', '/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_48_10393.jpg', '/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_57_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/54/image_10042025_00_55_07_9357.jpg
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_17_10534.jpg
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_27_9366.jpg
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_37_10375.jpg
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_48_10393.jpg
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_55_57_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022981","1351022965","1351022956","1351022976","1351022970","1351022943"],"photo_ids_order":["1351022943","1351022956","1351022965","1351022970","1351022976","1351022981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cb2ad734a1da9403aa2a87b7e0c31a4.jpg","text":"TemporaryFile(/tmp/multipartBody2371196748584170983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_57_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/231fcfdd5f947bbde77694e88a6fc9db.jpg","text":"TemporaryFile(/tmp/multipartBody8994732457267044068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_27_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c3b2612329abb8d26cdac1543250d0d.jpg","text":"TemporaryFile(/tmp/multipartBody9057988106697159754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_17_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d66c4b2c0d1f8d26c567261249179a7.jpg","text":"TemporaryFile(/tmp/multipartBody5008895147482064834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_48_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d690d2bf84c133216b96b048be8fa146.jpg","text":"TemporaryFile(/tmp/multipartBody6706999645613531081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a459b6d387575757c399a4a72a1261e1.jpg","text":"TemporaryFile(/tmp/multipartBody472773134206384475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253613509,"filename":"image_10042025_00_55_07_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351022965","file1":"1351022956","file0":"1351022943","file4":"1351022976","file5":"1351022981","file3":"1351022970"},"map_files_photo_id_array":[{"photo_id":"1351022981","filename":"file5"},{"photo_id":"1351022965","filename":"file2"},{"photo_id":"1351022976","filename":"file4"},{"photo_id":"1351022956","filename":"file1"},{"photo_id":"1351022943","filename":"file0"},{"photo_id":"1351022970","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022981":["hashtag1","hashtag2"]},{"1351022965":["hashtag1","hashtag2"]},{"1351022956":["hashtag1","hashtag2"]},{"1351022976":["hashtag1","hashtag2"]},{"1351022970":["hashtag1","hashtag2"]},{"1351022943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022981, 1351022965, 1351022956, 1351022976, 1351022970, 1351022943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18481254577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:53:32.195829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/55/image_10042025_00_56_07_10381.jpg', '/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_17_9369.jpg', '/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_27_10364.jpg', '/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_37_10371.jpg', '/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_47_9354.jpg', '/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_57_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/55/image_10042025_00_56_07_10381.jpg
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_17_9369.jpg
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_27_10364.jpg
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_37_10371.jpg
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_47_9354.jpg
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_56_57_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351022999","1351022996","1351023011","1351023008","1351023002","1351023006"],"photo_ids_order":["1351022996","1351022999","1351023002","1351023006","1351023008","1351023011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f4384621948ab13db46a7a9f70fd5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7955778299660159028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_17_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d83ef77871dab93907d57f8e3b2ac848.jpg","text":"TemporaryFile(/tmp/multipartBody6205179753151816012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9c01dda9301b60d42afb2126cb32cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3540817702785996261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93f8fe5b5680b12ea54c70d78890659c.jpg","text":"TemporaryFile(/tmp/multipartBody3302235298303715003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_47_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ac450ccb327490f72bd6b8598aebfd.jpg","text":"TemporaryFile(/tmp/multipartBody4428868346337117653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0e1f15cae1b6378ccb27ec39e4afd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1079706607464391583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253672651,"filename":"image_10042025_00_56_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351023002","file1":"1351022999","file0":"1351022996","file4":"1351023008","file5":"1351023011","file3":"1351023006"},"map_files_photo_id_array":[{"photo_id":"1351023011","filename":"file5"},{"photo_id":"1351023002","filename":"file2"},{"photo_id":"1351023008","filename":"file4"},{"photo_id":"1351022999","filename":"file1"},{"photo_id":"1351022996","filename":"file0"},{"photo_id":"1351023006","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351022999":["hashtag1","hashtag2"]},{"1351022996":["hashtag1","hashtag2"]},{"1351023011":["hashtag1","hashtag2"]},{"1351023008":["hashtag1","hashtag2"]},{"1351023002":["hashtag1","hashtag2"]},{"1351023006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351022999, 1351022996, 1351023011, 1351023008, 1351023002, 1351023006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.541762351989746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:54:32.372657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/56/image_10042025_00_57_08_10402.jpg', '/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_27_10398.jpg', '/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_37_9362.jpg', '/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_47_10373.jpg', '/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_58_10442.jpg', '/home/pi/Desktop/images/10042025/00/57/image_10042025_00_58_07_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/56/image_10042025_00_57_08_10402.jpg
/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_27_10398.jpg
/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_37_9362.jpg
/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_47_10373.jpg
/home/pi/Desktop/images/10042025/00/57/image_10042025_00_57_58_10442.jpg
/home/pi/Desktop/images/10042025/00/57/image_10042025_00_58_07_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351023038","1351023034","1351023028","1351023030","1351023024","1351023036"],"photo_ids_order":["1351023024","1351023028","1351023030","1351023034","1351023036","1351023038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13e0d9780428ca93034563a58eb4a202.jpg","text":"TemporaryFile(/tmp/multipartBody1045023957773767591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_58_07_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ae51e6705c94814d1e45aadf681f6db.jpg","text":"TemporaryFile(/tmp/multipartBody4469236569295755748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_57_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e66b082dae18ebba3e80edc4b6e347b2.jpg","text":"TemporaryFile(/tmp/multipartBody4365642289893651165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_57_27_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd8a3b11d48eaa92c2ac6c7ecac87ffd.jpg","text":"TemporaryFile(/tmp/multipartBody2503249567277028915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_57_37_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f4e90bfc45c9880608eb96e5d21b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1460127058528668542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_57_08_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4e348d2788b15125a2be71e06130650.jpg","text":"TemporaryFile(/tmp/multipartBody5845903751982733148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253732869,"filename":"image_10042025_00_57_58_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351023030","file1":"1351023028","file0":"1351023024","file4":"1351023036","file5":"1351023038","file3":"1351023034"},"map_files_photo_id_array":[{"photo_id":"1351023038","filename":"file5"},{"photo_id":"1351023030","filename":"file2"},{"photo_id":"1351023036","filename":"file4"},{"photo_id":"1351023028","filename":"file1"},{"photo_id":"1351023024","filename":"file0"},{"photo_id":"1351023034","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351023038":["hashtag1","hashtag2"]},{"1351023034":["hashtag1","hashtag2"]},{"1351023028":["hashtag1","hashtag2"]},{"1351023030":["hashtag1","hashtag2"]},{"1351023024":["hashtag1","hashtag2"]},{"1351023036":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351023038, 1351023034, 1351023028, 1351023030, 1351023024, 1351023036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81856060028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:55:32.561571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_17_10438.jpg', '/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_37_9386.jpg', '/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_48_10474.jpg', '/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_57_9376.jpg', '/home/pi/Desktop/images/10042025/00/58/image_10042025_00_59_07_10394.jpg', '/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_17_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_17_10438.jpg
/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_37_9386.jpg
/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_48_10474.jpg
/home/pi/Desktop/images/10042025/00/58/image_10042025_00_58_57_9376.jpg
/home/pi/Desktop/images/10042025/00/58/image_10042025_00_59_07_10394.jpg
/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_17_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351023056","1351023059","1351023050","1351023061","1351023063","1351023054"],"photo_ids_order":["1351023050","1351023054","1351023056","1351023059","1351023061","1351023063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a90966aa980895573bfd7314896a477.jpg","text":"TemporaryFile(/tmp/multipartBody722793910824002363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_58_48_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27b52e6d6d2ae09164eef4fa21e691fa.jpg","text":"TemporaryFile(/tmp/multipartBody2969468160531070145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_58_57_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40d1008dddfcc05ff2c2ff8d7a62a04f.jpg","text":"TemporaryFile(/tmp/multipartBody4555514378603163225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_58_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ebc6cba0b070283e96841c02a3c420f.jpg","text":"TemporaryFile(/tmp/multipartBody2251078456275980651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_59_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f10758241b0dbfcf6c2c519ff811e7fa.jpg","text":"TemporaryFile(/tmp/multipartBody4451128143364060907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_59_17_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4afbbeca7567ad6b90e255e6bc17444.jpg","text":"TemporaryFile(/tmp/multipartBody2803267495148735462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253793021,"filename":"image_10042025_00_58_37_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351023056","file1":"1351023054","file0":"1351023050","file4":"1351023061","file5":"1351023063","file3":"1351023059"},"map_files_photo_id_array":[{"photo_id":"1351023063","filename":"file5"},{"photo_id":"1351023056","filename":"file2"},{"photo_id":"1351023061","filename":"file4"},{"photo_id":"1351023054","filename":"file1"},{"photo_id":"1351023050","filename":"file0"},{"photo_id":"1351023059","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351023056":["hashtag1","hashtag2"]},{"1351023059":["hashtag1","hashtag2"]},{"1351023050":["hashtag1","hashtag2"]},{"1351023061":["hashtag1","hashtag2"]},{"1351023063":["hashtag1","hashtag2"]},{"1351023054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351023056, 1351023059, 1351023050, 1351023061, 1351023063, 1351023054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17286205291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:56:32.694225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_27_10393.jpg', '/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_37_10370.jpg', '/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_47_9350.jpg', '/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_57_10383.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_15_10083.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_25_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_27_10393.jpg
/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_37_10370.jpg
/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_47_9350.jpg
/home/pi/Desktop/images/10042025/00/59/image_10042025_00_59_57_10383.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_15_10083.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_25_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351023080","1351023218","1351023079","1351023081","1351023135","1351023083"],"photo_ids_order":["1351023079","1351023080","1351023081","1351023083","1351023135","1351023218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/919745be1d714913ed5a48c74853d1e3.jpg","text":"TemporaryFile(/tmp/multipartBody9176802146863205134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_00_59_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f55ca5442ffb8f1fd779cbb4d7246d8d.jpg","text":"TemporaryFile(/tmp/multipartBody5462670769597786108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_01_01_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d6aee5336d79cea869e357f9437687b.jpg","text":"TemporaryFile(/tmp/multipartBody2086426114483344010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_00_59_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f292fcaebe212ccc91c38dc2935db493.jpg","text":"TemporaryFile(/tmp/multipartBody3874915712055880924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_00_59_47_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47bfeebb7d9bde01e7fea574386f4cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4009930153158277511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_01_01_15_10083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed79fb325823843d05532615b8f73e81.jpg","text":"TemporaryFile(/tmp/multipartBody7005032920404854723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744253853158,"filename":"image_10042025_00_59_57_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351023081","file1":"1351023080","file0":"1351023079","file4":"1351023135","file5":"1351023218","file3":"1351023083"},"map_files_photo_id_array":[{"photo_id":"1351023218","filename":"file5"},{"photo_id":"1351023081","filename":"file2"},{"photo_id":"1351023135","filename":"file4"},{"photo_id":"1351023080","filename":"file1"},{"photo_id":"1351023079","filename":"file0"},{"photo_id":"1351023083","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351023080":["hashtag1","hashtag2"]},{"1351023218":["hashtag1","hashtag2"]},{"1351023079":["hashtag1","hashtag2"]},{"1351023081":["hashtag1","hashtag2"]},{"1351023135":["hashtag1","hashtag2"]},{"1351023083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351023080, 1351023218, 1351023079, 1351023081, 1351023135, 1351023083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49783635139465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 04:57:32.859559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_35_10405.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_45_9346.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_55_10354.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_02_05_9461.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_15_10385.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_25_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_35_10405.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_45_9346.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_55_10354.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_02_05_9461.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_15_10385.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_25_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 04:59:03.651228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_35_10405.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_45_9346.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_55_10354.jpg', '/home/pi/Desktop/images/10042025/01/01/image_10042025_01_02_05_9461.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_15_10385.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_25_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_35_10405.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_45_9346.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_01_55_10354.jpg
/home/pi/Desktop/images/10042025/01/01/image_10042025_01_02_05_9461.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_15_10385.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_25_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351025179","1351025013","1351025307","1351025060","1351025276","1351025231"],"photo_ids_order":["1351025013","1351025060","1351025179","1351025231","1351025276","1351025307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4341c8f9b71d52dab45e8686fb4d775.jpg","text":"TemporaryFile(/tmp/multipartBody5600734236160147876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_01_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31e7aba0e04e635d563f8b7418c70555.jpg","text":"TemporaryFile(/tmp/multipartBody7736112857426714074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_01_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2965fb88182d5fc008567a220ed18dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7070015394992464455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_02_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7caeb351bedb9346c7238da3203430d.jpg","text":"TemporaryFile(/tmp/multipartBody4106566986721855983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_01_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecedb99f677d75a845a71c8ce69942f3.jpg","text":"TemporaryFile(/tmp/multipartBody2528234282285661388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_02_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a085af30fba447004f8e70ee2092b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody2394405905606140988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254004198,"filename":"image_10042025_01_02_05_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351025179","file1":"1351025060","file0":"1351025013","file4":"1351025276","file5":"1351025307","file3":"1351025231"},"map_files_photo_id_array":[{"photo_id":"1351025307","filename":"file5"},{"photo_id":"1351025179","filename":"file2"},{"photo_id":"1351025276","filename":"file4"},{"photo_id":"1351025060","filename":"file1"},{"photo_id":"1351025013","filename":"file0"},{"photo_id":"1351025231","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351025179":["hashtag1","hashtag2"]},{"1351025013":["hashtag1","hashtag2"]},{"1351025307":["hashtag1","hashtag2"]},{"1351025060":["hashtag1","hashtag2"]},{"1351025276":["hashtag1","hashtag2"]},{"1351025231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351025179, 1351025013, 1351025307, 1351025060, 1351025276, 1351025231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.55557322502136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:00:03.427206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_35_9337.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_45_10380.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_55_10364.jpg', '/home/pi/Desktop/images/10042025/01/02/image_10042025_01_03_05_9351.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_15_10360.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_25_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_35_9337.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_45_10380.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_02_55_10364.jpg
/home/pi/Desktop/images/10042025/01/02/image_10042025_01_03_05_9351.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_15_10360.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_25_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351025695","1351025659","1351025670","1351025616","1351025532","1351025723"],"photo_ids_order":["1351025532","1351025616","1351025659","1351025670","1351025695","1351025723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c48a454417f5331317ab122cb268624a.jpg","text":"TemporaryFile(/tmp/multipartBody2345716754802969855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_03_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddcb7789c0b5996a09a86604c365dc38.jpg","text":"TemporaryFile(/tmp/multipartBody5021324452193721646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_02_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/697c2e32d155a21b8e120dea0c94998c.jpg","text":"TemporaryFile(/tmp/multipartBody3488173025204318606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_03_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af20021b0f07b0edaa40a0ddbeefbb12.jpg","text":"TemporaryFile(/tmp/multipartBody1502936422506402492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_02_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04b5011cd165bfb4671cac80176234fd.jpg","text":"TemporaryFile(/tmp/multipartBody7594918848437783195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_02_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0082c6c1f498bd4b91dc68145908548e.jpg","text":"TemporaryFile(/tmp/multipartBody7796717439687438219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254063970,"filename":"image_10042025_01_03_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351025659","file1":"1351025616","file0":"1351025532","file4":"1351025695","file5":"1351025723","file3":"1351025670"},"map_files_photo_id_array":[{"photo_id":"1351025723","filename":"file5"},{"photo_id":"1351025659","filename":"file2"},{"photo_id":"1351025695","filename":"file4"},{"photo_id":"1351025616","filename":"file1"},{"photo_id":"1351025532","filename":"file0"},{"photo_id":"1351025670","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351025695":["hashtag1","hashtag2"]},{"1351025659":["hashtag1","hashtag2"]},{"1351025670":["hashtag1","hashtag2"]},{"1351025616":["hashtag1","hashtag2"]},{"1351025532":["hashtag1","hashtag2"]},{"1351025723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351025695, 1351025659, 1351025670, 1351025616, 1351025532, 1351025723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97595238685608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:00:52.702856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_35_10388.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_45_10414.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_55_9370.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_04_05_10499.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_15_9435.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_35_10388.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_45_10414.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_55_9370.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_04_05_10499.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_15_9435.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_25_10370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3839282989501953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:01:04.360271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_35_10388.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_45_10414.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_55_9370.jpg', '/home/pi/Desktop/images/10042025/01/03/image_10042025_01_04_05_10499.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_15_9435.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_35_10388.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_45_10414.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_03_55_9370.jpg
/home/pi/Desktop/images/10042025/01/03/image_10042025_01_04_05_10499.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_15_9435.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_25_10370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351026010","1351026018","1351026021","1351026023","1351026002","1351026014"],"photo_ids_order":["1351026002","1351026010","1351026014","1351026018","1351026021","1351026023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bc06904fabddbd37a3c0127a3e9c90f.jpg","text":"TemporaryFile(/tmp/multipartBody20818515641008973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_03_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eafe6d8b43c9828386aa8772970e9264.jpg","text":"TemporaryFile(/tmp/multipartBody5371010102923777528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_04_05_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5cb3dd66a56a3d485eefee2ad967aff.jpg","text":"TemporaryFile(/tmp/multipartBody8838035260656381570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_04_15_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/021485b9a240d07d373c38eacabe2676.jpg","text":"TemporaryFile(/tmp/multipartBody3122916042341021855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_04_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/245196cd2148991e898e4421e3e06dca.jpg","text":"TemporaryFile(/tmp/multipartBody7292601037503847822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_03_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2e6ac7b7cb3304c8009e7a32415d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody5962542159278281437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254125033,"filename":"image_10042025_01_03_55_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351026014","file1":"1351026010","file0":"1351026002","file4":"1351026021","file5":"1351026023","file3":"1351026018"},"map_files_photo_id_array":[{"photo_id":"1351026023","filename":"file5"},{"photo_id":"1351026014","filename":"file2"},{"photo_id":"1351026021","filename":"file4"},{"photo_id":"1351026010","filename":"file1"},{"photo_id":"1351026002","filename":"file0"},{"photo_id":"1351026018","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351026010":["hashtag1","hashtag2"]},{"1351026018":["hashtag1","hashtag2"]},{"1351026021":["hashtag1","hashtag2"]},{"1351026023":["hashtag1","hashtag2"]},{"1351026002":["hashtag1","hashtag2"]},{"1351026014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351026010, 1351026018, 1351026021, 1351026023, 1351026002, 1351026014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99182343482971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:01:42.974573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_35_10385.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_45_9353.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_55_10346.jpg', '/home/pi/Desktop/images/10042025/01/04/image_10042025_01_05_05_9474.jpg', '/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_15_10409.jpg', '/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_25_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_35_10385.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_45_9353.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_04_55_10346.jpg
/home/pi/Desktop/images/10042025/01/04/image_10042025_01_05_05_9474.jpg
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_15_10409.jpg
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_25_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351026040","1351026034","1351026036","1351026029","1351026032","1351026073"],"photo_ids_order":["1351026029","1351026032","1351026034","1351026036","1351026040","1351026073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4419bc09b165514c3b0d95c229156e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6416440419232645061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_05_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1376ff5384dd7b7892357ee36705e43.jpg","text":"TemporaryFile(/tmp/multipartBody3326214693924074818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_04_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24a2d870cb7ab75f1de2b3c1203cff33.jpg","text":"TemporaryFile(/tmp/multipartBody4243333368545045179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_05_05_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7206912351c9b5a18a2d7089bda1ced1.jpg","text":"TemporaryFile(/tmp/multipartBody1999007157448383763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_04_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ca7f0e0413a9d9eb88c191c2ae75a58.jpg","text":"TemporaryFile(/tmp/multipartBody1143419326606252754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_04_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7543176f28dfe312fac008aec768e7df.jpg","text":"TemporaryFile(/tmp/multipartBody4360923901182239520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254163449,"filename":"image_10042025_01_05_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351026034","file1":"1351026032","file0":"1351026029","file4":"1351026040","file5":"1351026073","file3":"1351026036"},"map_files_photo_id_array":[{"photo_id":"1351026073","filename":"file5"},{"photo_id":"1351026034","filename":"file2"},{"photo_id":"1351026040","filename":"file4"},{"photo_id":"1351026032","filename":"file1"},{"photo_id":"1351026029","filename":"file0"},{"photo_id":"1351026036","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351026040":["hashtag1","hashtag2"]},{"1351026034":["hashtag1","hashtag2"]},{"1351026036":["hashtag1","hashtag2"]},{"1351026029":["hashtag1","hashtag2"]},{"1351026032":["hashtag1","hashtag2"]},{"1351026073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351026040, 1351026034, 1351026036, 1351026029, 1351026032, 1351026073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76442265510559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:02:32.141680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_35_9354.jpg', '/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_45_10355.jpg', '/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_55_9459.jpg', '/home/pi/Desktop/images/10042025/01/05/image_10042025_01_06_05_10366.jpg', '/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_15_10427.jpg', '/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_25_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_35_9354.jpg
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_45_10355.jpg
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_05_55_9459.jpg
/home/pi/Desktop/images/10042025/01/05/image_10042025_01_06_05_10366.jpg
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_15_10427.jpg
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_25_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351026282","1351026201","1351026326","1351026242","1351026302","1351026268"],"photo_ids_order":["1351026201","1351026242","1351026268","1351026282","1351026302","1351026326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac18f78dbb671bba1365ab162a8f0e51.jpg","text":"TemporaryFile(/tmp/multipartBody7864954263030096696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_06_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0822e08888b18b238bd573abaf269fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8807029164280750879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_05_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c43bb79c39af83f71c9e4d466fad5018.jpg","text":"TemporaryFile(/tmp/multipartBody8672704288041531090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_06_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b25fdc81b7e4d2acfbb4b011824abfe.jpg","text":"TemporaryFile(/tmp/multipartBody1287020620664796390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_05_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/95d83843e37f3d95636b6d86048c8702.jpg","text":"TemporaryFile(/tmp/multipartBody4180774351669474962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_06_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6b3318591096b0be71735ea3f64a88f.jpg","text":"TemporaryFile(/tmp/multipartBody9176962547280617413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254212599,"filename":"image_10042025_01_05_55_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351026268","file1":"1351026242","file0":"1351026201","file4":"1351026302","file5":"1351026326","file3":"1351026282"},"map_files_photo_id_array":[{"photo_id":"1351026326","filename":"file5"},{"photo_id":"1351026268","filename":"file2"},{"photo_id":"1351026302","filename":"file4"},{"photo_id":"1351026242","filename":"file1"},{"photo_id":"1351026201","filename":"file0"},{"photo_id":"1351026282","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351026282":["hashtag1","hashtag2"]},{"1351026201":["hashtag1","hashtag2"]},{"1351026326":["hashtag1","hashtag2"]},{"1351026242":["hashtag1","hashtag2"]},{"1351026302":["hashtag1","hashtag2"]},{"1351026268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351026282, 1351026201, 1351026326, 1351026242, 1351026302, 1351026268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.454808712005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:03:32.412874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_35_10363.jpg', '/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_45_10355.jpg', '/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_55_9433.jpg', '/home/pi/Desktop/images/10042025/01/06/image_10042025_01_07_05_10441.jpg', '/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_15_9412.jpg', '/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_25_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_35_10363.jpg
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_45_10355.jpg
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_06_55_9433.jpg
/home/pi/Desktop/images/10042025/01/06/image_10042025_01_07_05_10441.jpg
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_15_9412.jpg
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_25_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":["1351026643","1351026618","1351026773","1351026737","1351026670","1351026556"],"photo_ids_order":["1351026556","1351026618","1351026643","1351026670","1351026737","1351026773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d068220d6e5a7b64f8fc07ba716d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1311459799354437743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_06_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8130410aa6630d759642e07edcd4b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4709102522380403966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_06_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b14659c4164be752427407fe283797a3.jpg","text":"TemporaryFile(/tmp/multipartBody7915921152754088286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_07_25_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f0857235b306356418cce9384596c19.jpg","text":"TemporaryFile(/tmp/multipartBody3663024723299898258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_07_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/634c6b8d67d73c8451009794436a9ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8921612970921341929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_07_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a6dfc9180e57d447ebcc4abd8493b33.jpg","text":"TemporaryFile(/tmp/multipartBody2642877723232909575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254272867,"filename":"image_10042025_01_06_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351026643","file1":"1351026618","file0":"1351026556","file4":"1351026737","file5":"1351026773","file3":"1351026670"},"map_files_photo_id_array":[{"photo_id":"1351026773","filename":"file5"},{"photo_id":"1351026643","filename":"file2"},{"photo_id":"1351026737","filename":"file4"},{"photo_id":"1351026618","filename":"file1"},{"photo_id":"1351026556","filename":"file0"},{"photo_id":"1351026670","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351026643":["hashtag1","hashtag2"]},{"1351026618":["hashtag1","hashtag2"]},{"1351026773":["hashtag1","hashtag2"]},{"1351026737":["hashtag1","hashtag2"]},{"1351026670":["hashtag1","hashtag2"]},{"1351026556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351026643, 1351026618, 1351026773, 1351026737, 1351026670, 1351026556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.704705476760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:04:32.489935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_35_9418.jpg', '/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_45_10366.jpg', '/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_54_9445.jpg', '/home/pi/Desktop/images/10042025/01/07/image_10042025_01_08_05_10365.jpg', '/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_15_10379.jpg', '/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_25_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_35_9418.jpg
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_45_10366.jpg
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_07_54_9445.jpg
/home/pi/Desktop/images/10042025/01/07/image_10042025_01_08_05_10365.jpg
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_15_10379.jpg
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_25_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351027737","1351027793","1351027107","1351027436","1351027052","1351027593"],"photo_ids_order":["1351027052","1351027107","1351027436","1351027593","1351027737","1351027793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40a9cbcb3c130c58d576221fda3049c4.jpg","text":"TemporaryFile(/tmp/multipartBody6051193884794260564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_08_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/918f9f48f28d2d6bb40ee50d54e6774f.jpg","text":"TemporaryFile(/tmp/multipartBody6586762225863488566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_08_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d81949a9715008aedb65ba6d97f8973.jpg","text":"TemporaryFile(/tmp/multipartBody1553028448935985797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_07_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e381bb42d54b8a1000fae0051e29b12.jpg","text":"TemporaryFile(/tmp/multipartBody3475135017284619689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_07_54_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/210246f40e7e45dddef4732cd95b62a8.jpg","text":"TemporaryFile(/tmp/multipartBody5254198353384211909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_07_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cc9d38373cba868639a3a0a0cb186c3.jpg","text":"TemporaryFile(/tmp/multipartBody7649727580347369861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254332976,"filename":"image_10042025_01_08_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351027436","file1":"1351027107","file0":"1351027052","file4":"1351027737","file5":"1351027793","file3":"1351027593"},"map_files_photo_id_array":[{"photo_id":"1351027793","filename":"file5"},{"photo_id":"1351027436","filename":"file2"},{"photo_id":"1351027737","filename":"file4"},{"photo_id":"1351027107","filename":"file1"},{"photo_id":"1351027052","filename":"file0"},{"photo_id":"1351027593","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351027737":["hashtag1","hashtag2"]},{"1351027793":["hashtag1","hashtag2"]},{"1351027107":["hashtag1","hashtag2"]},{"1351027436":["hashtag1","hashtag2"]},{"1351027052":["hashtag1","hashtag2"]},{"1351027593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351027737, 1351027793, 1351027107, 1351027436, 1351027052, 1351027593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38972878456116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:05:32.761631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_35_10367.jpg', '/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_45_10374.jpg', '/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_55_9443.jpg', '/home/pi/Desktop/images/10042025/01/08/image_10042025_01_09_05_10373.jpg', '/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_15_9348.jpg', '/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_25_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_35_10367.jpg
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_45_10374.jpg
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_08_55_9443.jpg
/home/pi/Desktop/images/10042025/01/08/image_10042025_01_09_05_10373.jpg
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_15_9348.jpg
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_25_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351028508","1351028378","1351028423","1351028548","1351028284","1351028338"],"photo_ids_order":["1351028284","1351028338","1351028378","1351028423","1351028508","1351028548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b32dfe3b0d1fe9c30697649324f2a601.jpg","text":"TemporaryFile(/tmp/multipartBody826704534740559905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_09_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1f69d1c24529842d637c36e8a5b3eb6.jpg","text":"TemporaryFile(/tmp/multipartBody223883161816030231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_08_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c806aca623f8353797a87466610b509.jpg","text":"TemporaryFile(/tmp/multipartBody6908060975053503405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_09_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17e74ecb9015b3dc50f3f69c5ce377f6.jpg","text":"TemporaryFile(/tmp/multipartBody480944129863039685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_09_25_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1543253ea18311ab5077a950466dd8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6644151218337574425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_08_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d3a6491f4f2597a6ff4e8140b60d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5552945442248893253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254393259,"filename":"image_10042025_01_08_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351028378","file1":"1351028338","file0":"1351028284","file4":"1351028508","file5":"1351028548","file3":"1351028423"},"map_files_photo_id_array":[{"photo_id":"1351028548","filename":"file5"},{"photo_id":"1351028378","filename":"file2"},{"photo_id":"1351028508","filename":"file4"},{"photo_id":"1351028338","filename":"file1"},{"photo_id":"1351028284","filename":"file0"},{"photo_id":"1351028423","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351028508":["hashtag1","hashtag2"]},{"1351028378":["hashtag1","hashtag2"]},{"1351028423":["hashtag1","hashtag2"]},{"1351028548":["hashtag1","hashtag2"]},{"1351028284":["hashtag1","hashtag2"]},{"1351028338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351028508, 1351028378, 1351028423, 1351028548, 1351028284, 1351028338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.511531591415405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:06:33.136223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_35_9472.jpg', '/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_45_10361.jpg', '/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_55_10372.jpg', '/home/pi/Desktop/images/10042025/01/09/image_10042025_01_10_05_9358.jpg', '/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_15_10471.jpg', '/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_35_9472.jpg
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_45_10361.jpg
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_09_55_10372.jpg
/home/pi/Desktop/images/10042025/01/09/image_10042025_01_10_05_9358.jpg
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_15_10471.jpg
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351028901","1351029029","1351028975","1351029005","1351029057","1351028961"],"photo_ids_order":["1351028901","1351028961","1351028975","1351029005","1351029029","1351029057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf8e3679f291cf95c3e277ad42789208.jpg","text":"TemporaryFile(/tmp/multipartBody4552668195774557998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_09_35_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d005b49a9e25425671c44a8626067e31.jpg","text":"TemporaryFile(/tmp/multipartBody2320545907147692212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_10_15_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f69e66aa2500eeabb908ecdad314ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody3819394312874975186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_09_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a138d3e16991df40a20079f78cb4e891.jpg","text":"TemporaryFile(/tmp/multipartBody2098591690898855416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_10_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5f0847abcc84730cee955530aa2d68d.jpg","text":"TemporaryFile(/tmp/multipartBody4359352357647447996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_10_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5d2fd988a1c0601d32a9bb335440d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7620731054648397242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254453642,"filename":"image_10042025_01_09_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351028975","file1":"1351028961","file0":"1351028901","file4":"1351029029","file5":"1351029057","file3":"1351029005"},"map_files_photo_id_array":[{"photo_id":"1351029057","filename":"file5"},{"photo_id":"1351028975","filename":"file2"},{"photo_id":"1351029029","filename":"file4"},{"photo_id":"1351028961","filename":"file1"},{"photo_id":"1351028901","filename":"file0"},{"photo_id":"1351029005","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351028901":["hashtag1","hashtag2"]},{"1351029029":["hashtag1","hashtag2"]},{"1351028975":["hashtag1","hashtag2"]},{"1351029005":["hashtag1","hashtag2"]},{"1351029057":["hashtag1","hashtag2"]},{"1351028961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351028901, 1351029029, 1351028975, 1351029005, 1351029057, 1351028961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14786076545715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:07:32.374495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_35_9388.jpg', '/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_45_10497.jpg', '/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_55_9412.jpg', '/home/pi/Desktop/images/10042025/01/10/image_10042025_01_11_05_10361.jpg', '/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_15_10372.jpg', '/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_35_9388.jpg
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_45_10497.jpg
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_10_55_9412.jpg
/home/pi/Desktop/images/10042025/01/10/image_10042025_01_11_05_10361.jpg
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_15_10372.jpg
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351029199","1351029193","1351029196","1351029214","1351029202","1351029204"],"photo_ids_order":["1351029193","1351029196","1351029199","1351029202","1351029204","1351029214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb89f76dd5617d1af8f8f19706ec2805.jpg","text":"TemporaryFile(/tmp/multipartBody9090739896008899968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_10_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d07443970adda951f1f5d7737862926.jpg","text":"TemporaryFile(/tmp/multipartBody9170296280685380688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_10_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c96857965db27c7faaaa7ed376d6e03a.jpg","text":"TemporaryFile(/tmp/multipartBody339594099495531680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_10_45_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f224937576f0428bc31d9a8c92d6e12.jpg","text":"TemporaryFile(/tmp/multipartBody6628601993195869544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_11_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc6e5d3931ce4ff64a97ec6593f4bf06.jpg","text":"TemporaryFile(/tmp/multipartBody3157975475807089372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_11_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e30bcc902b36c1cb4d3de497a54f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7029851306789859471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254512846,"filename":"image_10042025_01_11_15_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351029199","file1":"1351029196","file0":"1351029193","file4":"1351029204","file5":"1351029214","file3":"1351029202"},"map_files_photo_id_array":[{"photo_id":"1351029214","filename":"file5"},{"photo_id":"1351029199","filename":"file2"},{"photo_id":"1351029204","filename":"file4"},{"photo_id":"1351029196","filename":"file1"},{"photo_id":"1351029193","filename":"file0"},{"photo_id":"1351029202","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351029199":["hashtag1","hashtag2"]},{"1351029193":["hashtag1","hashtag2"]},{"1351029196":["hashtag1","hashtag2"]},{"1351029214":["hashtag1","hashtag2"]},{"1351029202":["hashtag1","hashtag2"]},{"1351029204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351029199, 1351029193, 1351029196, 1351029214, 1351029202, 1351029204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57377576828003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:08:32.507500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_35_10354.jpg', '/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_45_9363.jpg', '/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_55_10376.jpg', '/home/pi/Desktop/images/10042025/01/11/image_10042025_01_12_05_10443.jpg', '/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_15_9357.jpg', '/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_35_10354.jpg
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_45_9363.jpg
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_11_55_10376.jpg
/home/pi/Desktop/images/10042025/01/11/image_10042025_01_12_05_10443.jpg
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_15_9357.jpg
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351029280","1351029337","1351029250","1351029285","1351029255","1351029269"],"photo_ids_order":["1351029250","1351029255","1351029269","1351029280","1351029285","1351029337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cd0da547fa31f8764f78ce22cbcd08e.jpg","text":"TemporaryFile(/tmp/multipartBody1472871817603711668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_12_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73a03a07d40c7d74b6c2f73afe933c3d.jpg","text":"TemporaryFile(/tmp/multipartBody331741032898426282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_12_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a6aa7d5469b8257ca34473ccde8022c.jpg","text":"TemporaryFile(/tmp/multipartBody1354930101447899749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_11_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6730aa393c6a86a13c5a9e20bed78ff.jpg","text":"TemporaryFile(/tmp/multipartBody91059096957851969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_12_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5cbe16ccaa36706ed0c5d5817d3e6fe8.jpg","text":"TemporaryFile(/tmp/multipartBody2708810073787831807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_11_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d64c17bb2a4877ecac772607ae3e12a.jpg","text":"TemporaryFile(/tmp/multipartBody4151380965794232715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254572969,"filename":"image_10042025_01_11_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351029269","file1":"1351029255","file0":"1351029250","file4":"1351029285","file5":"1351029337","file3":"1351029280"},"map_files_photo_id_array":[{"photo_id":"1351029337","filename":"file5"},{"photo_id":"1351029269","filename":"file2"},{"photo_id":"1351029285","filename":"file4"},{"photo_id":"1351029255","filename":"file1"},{"photo_id":"1351029250","filename":"file0"},{"photo_id":"1351029280","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351029280":["hashtag1","hashtag2"]},{"1351029337":["hashtag1","hashtag2"]},{"1351029250":["hashtag1","hashtag2"]},{"1351029285":["hashtag1","hashtag2"]},{"1351029255":["hashtag1","hashtag2"]},{"1351029269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351029280, 1351029337, 1351029250, 1351029285, 1351029255, 1351029269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.388222217559814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:09:32.699789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_35_10360.jpg', '/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_45_9329.jpg', '/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_55_10375.jpg', '/home/pi/Desktop/images/10042025/01/12/image_10042025_01_13_05_9365.jpg', '/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_15_10370.jpg', '/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_25_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_35_10360.jpg
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_45_9329.jpg
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_12_55_10375.jpg
/home/pi/Desktop/images/10042025/01/12/image_10042025_01_13_05_9365.jpg
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_15_10370.jpg
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_25_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351029845","1351029710","1351029766","1351029798","1351029637","1351029669"],"photo_ids_order":["1351029637","1351029669","1351029710","1351029766","1351029798","1351029845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06357c5337543874a0c402c7a5d99770.jpg","text":"TemporaryFile(/tmp/multipartBody1974609704308740321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_13_25_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/150ab5000afc7d02d57b6a643bf3d5ff.jpg","text":"TemporaryFile(/tmp/multipartBody4196518815581330617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_12_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4391d3c6b0888b5baadb8b9a1ee925f6.jpg","text":"TemporaryFile(/tmp/multipartBody7509360457500039825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_13_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/508d90cb7647fee03c8b277630b738d5.jpg","text":"TemporaryFile(/tmp/multipartBody1276438099011015536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_13_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3d4a462b1fc1c74da9c1b1a97b3010f.jpg","text":"TemporaryFile(/tmp/multipartBody4112590927561050644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_12_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a237c212987198e3f006affbaa8d769.jpg","text":"TemporaryFile(/tmp/multipartBody2788202332701174378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254633174,"filename":"image_10042025_01_12_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351029710","file1":"1351029669","file0":"1351029637","file4":"1351029798","file5":"1351029845","file3":"1351029766"},"map_files_photo_id_array":[{"photo_id":"1351029845","filename":"file5"},{"photo_id":"1351029710","filename":"file2"},{"photo_id":"1351029798","filename":"file4"},{"photo_id":"1351029669","filename":"file1"},{"photo_id":"1351029637","filename":"file0"},{"photo_id":"1351029766","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351029845":["hashtag1","hashtag2"]},{"1351029710":["hashtag1","hashtag2"]},{"1351029766":["hashtag1","hashtag2"]},{"1351029798":["hashtag1","hashtag2"]},{"1351029637":["hashtag1","hashtag2"]},{"1351029669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351029845, 1351029710, 1351029766, 1351029798, 1351029637, 1351029669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74490022659302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:10:32.914844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_35_9345.jpg', '/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_45_10364.jpg', '/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_55_9455.jpg', '/home/pi/Desktop/images/10042025/01/13/image_10042025_01_14_05_10476.jpg', '/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_15_10366.jpg', '/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_35_9345.jpg
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_45_10364.jpg
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_13_55_9455.jpg
/home/pi/Desktop/images/10042025/01/13/image_10042025_01_14_05_10476.jpg
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_15_10366.jpg
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_25_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030002","1351030032","1351029973","1351030019","1351030035","1351029962"],"photo_ids_order":["1351029962","1351029973","1351030002","1351030019","1351030032","1351030035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0507ae7683fa7fccbe88d234fd230e12.jpg","text":"TemporaryFile(/tmp/multipartBody4046147091610561701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_13_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56a9dd25f4c6cf44631659a58fc7ee8c.jpg","text":"TemporaryFile(/tmp/multipartBody5073387612105346983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_14_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abe75bd23ab4f96375cd083cf69ed512.jpg","text":"TemporaryFile(/tmp/multipartBody7095584041400756793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_13_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e8da68d47df6619c56a9669306c41cd.jpg","text":"TemporaryFile(/tmp/multipartBody5883791778242815300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_14_05_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adfb3b28e96075b5b955a4e5d1416042.jpg","text":"TemporaryFile(/tmp/multipartBody7178726471566609111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_14_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3689b1e577c279ef832a9d247c9b8541.jpg","text":"TemporaryFile(/tmp/multipartBody6901710039052198679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254693372,"filename":"image_10042025_01_13_35_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030002","file1":"1351029973","file0":"1351029962","file4":"1351030032","file5":"1351030035","file3":"1351030019"},"map_files_photo_id_array":[{"photo_id":"1351030035","filename":"file5"},{"photo_id":"1351030002","filename":"file2"},{"photo_id":"1351030032","filename":"file4"},{"photo_id":"1351029973","filename":"file1"},{"photo_id":"1351029962","filename":"file0"},{"photo_id":"1351030019","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030002":["hashtag1","hashtag2"]},{"1351030032":["hashtag1","hashtag2"]},{"1351029973":["hashtag1","hashtag2"]},{"1351030019":["hashtag1","hashtag2"]},{"1351030035":["hashtag1","hashtag2"]},{"1351029962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030002, 1351030032, 1351029973, 1351030019, 1351030035, 1351029962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.827396869659424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:11:32.200805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_35_10354.jpg', '/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_45_9411.jpg', '/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_55_10364.jpg', '/home/pi/Desktop/images/10042025/01/14/image_10042025_01_15_05_10409.jpg', '/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_15_9384.jpg', '/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_25_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_35_10354.jpg
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_45_9411.jpg
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_14_55_10364.jpg
/home/pi/Desktop/images/10042025/01/14/image_10042025_01_15_05_10409.jpg
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_15_9384.jpg
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_25_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030119","1351030142","1351030154","1351030100","1351030102","1351030092"],"photo_ids_order":["1351030092","1351030100","1351030102","1351030119","1351030142","1351030154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bdd2faf49278c49f7da99bf50d2974f.jpg","text":"TemporaryFile(/tmp/multipartBody8496370433765883430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_15_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/279fd21e238e85947483b998af6d97cb.jpg","text":"TemporaryFile(/tmp/multipartBody7022291391280647228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_15_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65472afbaaf59860e13b2b0e5f95adab.jpg","text":"TemporaryFile(/tmp/multipartBody5018351280924954460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_15_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2da16349988974655cd643156241e06.jpg","text":"TemporaryFile(/tmp/multipartBody1039060115064094960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_14_45_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c60dee930a59e684ef0494f8fad4725a.jpg","text":"TemporaryFile(/tmp/multipartBody1343529739984495003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_14_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/808d76485e4bed97cf73df44e6848785.jpg","text":"TemporaryFile(/tmp/multipartBody3849626620409152541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254752681,"filename":"image_10042025_01_14_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030102","file1":"1351030100","file0":"1351030092","file4":"1351030142","file5":"1351030154","file3":"1351030119"},"map_files_photo_id_array":[{"photo_id":"1351030154","filename":"file5"},{"photo_id":"1351030102","filename":"file2"},{"photo_id":"1351030142","filename":"file4"},{"photo_id":"1351030100","filename":"file1"},{"photo_id":"1351030092","filename":"file0"},{"photo_id":"1351030119","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030119":["hashtag1","hashtag2"]},{"1351030142":["hashtag1","hashtag2"]},{"1351030154":["hashtag1","hashtag2"]},{"1351030100":["hashtag1","hashtag2"]},{"1351030102":["hashtag1","hashtag2"]},{"1351030092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030119, 1351030142, 1351030154, 1351030100, 1351030102, 1351030092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46534252166748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:12:32.312172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_35_10360.jpg', '/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_45_9421.jpg', '/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_55_10471.jpg', '/home/pi/Desktop/images/10042025/01/15/image_10042025_01_16_05_9340.jpg', '/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_15_10363.jpg', '/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_35_10360.jpg
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_45_9421.jpg
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_15_55_10471.jpg
/home/pi/Desktop/images/10042025/01/15/image_10042025_01_16_05_9340.jpg
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_15_10363.jpg
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030320","1351030280","1351030259","1351030249","1351030243","1351030254"],"photo_ids_order":["1351030243","1351030249","1351030254","1351030259","1351030280","1351030320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0abedc2d0f451fca9d9c57a8dea683be.jpg","text":"TemporaryFile(/tmp/multipartBody5664548200402582717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_16_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ae0fc090761c6b00a2607f16deb3d69.jpg","text":"TemporaryFile(/tmp/multipartBody4831944709678709855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_16_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1373aed11ba5604324b5b46a03a3d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4369512386409264099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_16_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e351bfe2f99c71c786baf40df6243bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8206456173865801364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_15_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f82f5e0dc2b602dc3717b3e7193a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3177603398839349797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_15_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db38c5608cd35d3b4672916587c0a02b.jpg","text":"TemporaryFile(/tmp/multipartBody200898472363847686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254812782,"filename":"image_10042025_01_15_55_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030254","file1":"1351030249","file0":"1351030243","file4":"1351030280","file5":"1351030320","file3":"1351030259"},"map_files_photo_id_array":[{"photo_id":"1351030320","filename":"file5"},{"photo_id":"1351030254","filename":"file2"},{"photo_id":"1351030280","filename":"file4"},{"photo_id":"1351030249","filename":"file1"},{"photo_id":"1351030243","filename":"file0"},{"photo_id":"1351030259","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030320":["hashtag1","hashtag2"]},{"1351030280":["hashtag1","hashtag2"]},{"1351030259":["hashtag1","hashtag2"]},{"1351030249":["hashtag1","hashtag2"]},{"1351030243":["hashtag1","hashtag2"]},{"1351030254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030320, 1351030280, 1351030259, 1351030249, 1351030243, 1351030254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93675422668457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:13:32.506928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_35_9346.jpg', '/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_45_10450.jpg', '/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_55_9424.jpg', '/home/pi/Desktop/images/10042025/01/16/image_10042025_01_17_05_10369.jpg', '/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_15_10373.jpg', '/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_25_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_35_9346.jpg
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_45_10450.jpg
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_16_55_9424.jpg
/home/pi/Desktop/images/10042025/01/16/image_10042025_01_17_05_10369.jpg
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_15_10373.jpg
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_25_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030385","1351030379","1351030388","1351030376","1351030502","1351030430"],"photo_ids_order":["1351030376","1351030379","1351030385","1351030388","1351030430","1351030502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c0e77307de81b854e9642bab71e4a82.jpg","text":"TemporaryFile(/tmp/multipartBody1965377933549242983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_16_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7ee4d82fc5ad4112017332c0eb920d5.jpg","text":"TemporaryFile(/tmp/multipartBody6743988081975310927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_16_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a405c8dd87da703e3a3ac82d48c1c93a.jpg","text":"TemporaryFile(/tmp/multipartBody3503575525740553859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_17_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f61a8feba893fd0600a5f81b20e551b6.jpg","text":"TemporaryFile(/tmp/multipartBody1266904895414023644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_16_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/482809767d3d7f30ac6e1f9dd3bb9483.jpg","text":"TemporaryFile(/tmp/multipartBody1059824514834660922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_17_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ab8c82452c3ef98a47512148ae21766.jpg","text":"TemporaryFile(/tmp/multipartBody1988102089499046352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254872958,"filename":"image_10042025_01_17_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030385","file1":"1351030379","file0":"1351030376","file4":"1351030430","file5":"1351030502","file3":"1351030388"},"map_files_photo_id_array":[{"photo_id":"1351030502","filename":"file5"},{"photo_id":"1351030385","filename":"file2"},{"photo_id":"1351030430","filename":"file4"},{"photo_id":"1351030379","filename":"file1"},{"photo_id":"1351030376","filename":"file0"},{"photo_id":"1351030388","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030385":["hashtag1","hashtag2"]},{"1351030379":["hashtag1","hashtag2"]},{"1351030388":["hashtag1","hashtag2"]},{"1351030376":["hashtag1","hashtag2"]},{"1351030502":["hashtag1","hashtag2"]},{"1351030430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030385, 1351030379, 1351030388, 1351030376, 1351030502, 1351030430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80634331703186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:14:32.721388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_35_10405.jpg', '/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_45_9336.jpg', '/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_55_10391.jpg', '/home/pi/Desktop/images/10042025/01/17/image_10042025_01_18_05_10443.jpg', '/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_15_9341.jpg', '/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_35_10405.jpg
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_45_9336.jpg
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_17_55_10391.jpg
/home/pi/Desktop/images/10042025/01/17/image_10042025_01_18_05_10443.jpg
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_15_9341.jpg
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_25_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030550","1351030556","1351030540","1351030554","1351030536","1351030530"],"photo_ids_order":["1351030530","1351030536","1351030540","1351030550","1351030554","1351030556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3116229fa2018548d95f75e20833f203.jpg","text":"TemporaryFile(/tmp/multipartBody6364220178324641288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_18_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f3651cab87329b5c86a4919c2ee3108.jpg","text":"TemporaryFile(/tmp/multipartBody4902825005219085489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_18_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0f1aa90937d8c29bed47be663d24817.jpg","text":"TemporaryFile(/tmp/multipartBody6387050778651626895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_17_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9768dff8bcf12807047ec6f531c7ea68.jpg","text":"TemporaryFile(/tmp/multipartBody8622706954939673095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_18_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5ea102a3aa1a43fc6735b09b2fb7aef.jpg","text":"TemporaryFile(/tmp/multipartBody6477499478168836020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_17_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f674a55de4f66d4ac5846d99fb334a1.jpg","text":"TemporaryFile(/tmp/multipartBody8322905123590865286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254933173,"filename":"image_10042025_01_17_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030540","file1":"1351030536","file0":"1351030530","file4":"1351030554","file5":"1351030556","file3":"1351030550"},"map_files_photo_id_array":[{"photo_id":"1351030556","filename":"file5"},{"photo_id":"1351030540","filename":"file2"},{"photo_id":"1351030554","filename":"file4"},{"photo_id":"1351030536","filename":"file1"},{"photo_id":"1351030530","filename":"file0"},{"photo_id":"1351030550","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030550":["hashtag1","hashtag2"]},{"1351030556":["hashtag1","hashtag2"]},{"1351030540":["hashtag1","hashtag2"]},{"1351030554":["hashtag1","hashtag2"]},{"1351030536":["hashtag1","hashtag2"]},{"1351030530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030550, 1351030556, 1351030540, 1351030554, 1351030536, 1351030530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.374916791915894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:15:33.022209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_35_9454.jpg', '/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_45_10433.jpg', '/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_55_10358.jpg', '/home/pi/Desktop/images/10042025/01/18/image_10042025_01_19_05_9317.jpg', '/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_15_10360.jpg', '/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_35_9454.jpg
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_45_10433.jpg
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_18_55_10358.jpg
/home/pi/Desktop/images/10042025/01/18/image_10042025_01_19_05_9317.jpg
/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_15_10360.jpg
/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030592","1351030588","1351030582","1351030585","1351030579","1351030596"],"photo_ids_order":["1351030579","1351030582","1351030585","1351030588","1351030592","1351030596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11547a092a4c59fd653ed296300c7d09.jpg","text":"TemporaryFile(/tmp/multipartBody3000886014844452085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_19_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4ce3006725db3187d94c4f73d3d3779.jpg","text":"TemporaryFile(/tmp/multipartBody5638852936110905024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_19_05_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75dd2760116904fecd74709a299cb382.jpg","text":"TemporaryFile(/tmp/multipartBody3947855173275561904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_18_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f64d6efe59a8a9dd11b17e52642d1408.jpg","text":"TemporaryFile(/tmp/multipartBody7793476236669562939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_18_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40d81ffd68750ad6f8285081860cf96c.jpg","text":"TemporaryFile(/tmp/multipartBody3015961126714005423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_18_35_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c6a8edceb80fe480be71b409fa6fe1b.jpg","text":"TemporaryFile(/tmp/multipartBody1013821663904525149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744254993470,"filename":"image_10042025_01_19_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030585","file1":"1351030582","file0":"1351030579","file4":"1351030592","file5":"1351030596","file3":"1351030588"},"map_files_photo_id_array":[{"photo_id":"1351030596","filename":"file5"},{"photo_id":"1351030585","filename":"file2"},{"photo_id":"1351030592","filename":"file4"},{"photo_id":"1351030582","filename":"file1"},{"photo_id":"1351030579","filename":"file0"},{"photo_id":"1351030588","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030592":["hashtag1","hashtag2"]},{"1351030588":["hashtag1","hashtag2"]},{"1351030582":["hashtag1","hashtag2"]},{"1351030585":["hashtag1","hashtag2"]},{"1351030579":["hashtag1","hashtag2"]},{"1351030596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030592, 1351030588, 1351030582, 1351030585, 1351030579, 1351030596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96505427360535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:16:32.251489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_35_9341.jpg', '/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_45_10439.jpg', '/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_55_9443.jpg', '/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_15_10467.jpg', '/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_25_9445.jpg', '/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_35_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_35_9341.jpg
/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_45_10439.jpg
/home/pi/Desktop/images/10042025/01/19/image_10042025_01_19_55_9443.jpg
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_15_10467.jpg
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_25_9445.jpg
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_35_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030652","1351030622","1351030651","1351030645","1351030648","1351030618"],"photo_ids_order":["1351030618","1351030622","1351030645","1351030648","1351030651","1351030652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fad62fd47c9803ba1d65c2982851bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6549996208376073154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_20_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4809e9b73277c2e4323bc4242cd79762.jpg","text":"TemporaryFile(/tmp/multipartBody6338251898003662645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_19_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce69dec2ec241420d81b518b2257bf4f.jpg","text":"TemporaryFile(/tmp/multipartBody6060413705467796226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_20_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c9ec270fb915016795b55751a4e55ba.jpg","text":"TemporaryFile(/tmp/multipartBody5315789340964852337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_19_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52f301ffbb9abcdd55b5a293677393d6.jpg","text":"TemporaryFile(/tmp/multipartBody2986164113971344691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_20_15_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7cf0a1d7cc34fad52e52071769dc49c7.jpg","text":"TemporaryFile(/tmp/multipartBody7885301247120942915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255052696,"filename":"image_10042025_01_19_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030645","file1":"1351030622","file0":"1351030618","file4":"1351030651","file5":"1351030652","file3":"1351030648"},"map_files_photo_id_array":[{"photo_id":"1351030652","filename":"file5"},{"photo_id":"1351030645","filename":"file2"},{"photo_id":"1351030651","filename":"file4"},{"photo_id":"1351030622","filename":"file1"},{"photo_id":"1351030618","filename":"file0"},{"photo_id":"1351030648","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030652":["hashtag1","hashtag2"]},{"1351030622":["hashtag1","hashtag2"]},{"1351030651":["hashtag1","hashtag2"]},{"1351030645":["hashtag1","hashtag2"]},{"1351030648":["hashtag1","hashtag2"]},{"1351030618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030652, 1351030622, 1351030651, 1351030645, 1351030648, 1351030618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.147658348083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:17:32.378228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_45_9336.jpg', '/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_55_10353.jpg', '/home/pi/Desktop/images/10042025/01/20/image_10042025_01_21_05_9449.jpg', '/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_15_10347.jpg', '/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_25_10481.jpg', '/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_45_9336.jpg
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_20_55_10353.jpg
/home/pi/Desktop/images/10042025/01/20/image_10042025_01_21_05_9449.jpg
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_15_10347.jpg
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_25_10481.jpg
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_35_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030682","1351030690","1351030684","1351030686","1351030734","1351030758"],"photo_ids_order":["1351030682","1351030684","1351030686","1351030690","1351030734","1351030758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd3a44fec0dfcae3fe601b2cd394355b.jpg","text":"TemporaryFile(/tmp/multipartBody184204100886932683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_20_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57910b825083fc195a9fbd8d9b6d4431.jpg","text":"TemporaryFile(/tmp/multipartBody2765906092031669624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_21_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f09bcdb03da636261b4094c7be571520.jpg","text":"TemporaryFile(/tmp/multipartBody4735813977976306442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_20_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/019a909529038c196cd0dcfeb1bc24c6.jpg","text":"TemporaryFile(/tmp/multipartBody3023368405457262636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_21_05_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5b1830abe1d95ae4f5aa9ae530fdbbc.jpg","text":"TemporaryFile(/tmp/multipartBody1157663041826533214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_21_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b7264637e02921628156a60f2c21939.jpg","text":"TemporaryFile(/tmp/multipartBody5674506087097267442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255112841,"filename":"image_10042025_01_21_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030686","file1":"1351030684","file0":"1351030682","file4":"1351030734","file5":"1351030758","file3":"1351030690"},"map_files_photo_id_array":[{"photo_id":"1351030758","filename":"file5"},{"photo_id":"1351030686","filename":"file2"},{"photo_id":"1351030734","filename":"file4"},{"photo_id":"1351030684","filename":"file1"},{"photo_id":"1351030682","filename":"file0"},{"photo_id":"1351030690","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030682":["hashtag1","hashtag2"]},{"1351030690":["hashtag1","hashtag2"]},{"1351030684":["hashtag1","hashtag2"]},{"1351030686":["hashtag1","hashtag2"]},{"1351030734":["hashtag1","hashtag2"]},{"1351030758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030682, 1351030690, 1351030684, 1351030686, 1351030734, 1351030758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.874664545059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:18:32.501767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_45_10366.jpg', '/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_54_9423.jpg', '/home/pi/Desktop/images/10042025/01/21/image_10042025_01_22_05_10346.jpg', '/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_15_10370.jpg', '/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_25_9348.jpg', '/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_35_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_45_10366.jpg
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_21_54_9423.jpg
/home/pi/Desktop/images/10042025/01/21/image_10042025_01_22_05_10346.jpg
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_15_10370.jpg
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_25_9348.jpg
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_35_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351030902","1351030967","1351030905","1351030907","1351030975","1351030971"],"photo_ids_order":["1351030902","1351030905","1351030907","1351030967","1351030971","1351030975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91bd1df2941ede3ad823ef8045d186b0.jpg","text":"TemporaryFile(/tmp/multipartBody4016887144616302378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_21_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70486d3bc8df7f8ff5194e777716f3bc.jpg","text":"TemporaryFile(/tmp/multipartBody8061108079838913983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_22_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1386b3c7379aae234d266e16a76ecdd3.jpg","text":"TemporaryFile(/tmp/multipartBody8985673597998568238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_21_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75415099c8c7e4394a6f11c6f0fa097b.jpg","text":"TemporaryFile(/tmp/multipartBody6225978239067134367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_22_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acd7a25b9a5475019757d8949ded85de.jpg","text":"TemporaryFile(/tmp/multipartBody5027574900644513957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_22_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9fd0481245279b0781acb9ddacf9e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6160827870719633826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255172961,"filename":"image_10042025_01_22_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351030907","file1":"1351030905","file0":"1351030902","file4":"1351030971","file5":"1351030975","file3":"1351030967"},"map_files_photo_id_array":[{"photo_id":"1351030975","filename":"file5"},{"photo_id":"1351030907","filename":"file2"},{"photo_id":"1351030971","filename":"file4"},{"photo_id":"1351030905","filename":"file1"},{"photo_id":"1351030902","filename":"file0"},{"photo_id":"1351030967","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351030902":["hashtag1","hashtag2"]},{"1351030967":["hashtag1","hashtag2"]},{"1351030905":["hashtag1","hashtag2"]},{"1351030907":["hashtag1","hashtag2"]},{"1351030975":["hashtag1","hashtag2"]},{"1351030971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351030902, 1351030967, 1351030905, 1351030907, 1351030975, 1351030971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44066762924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:19:32.666878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_45_10495.jpg', '/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_55_9356.jpg', '/home/pi/Desktop/images/10042025/01/22/image_10042025_01_23_05_10402.jpg', '/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_15_9441.jpg', '/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_25_10374.jpg', '/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_45_10495.jpg
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_22_55_9356.jpg
/home/pi/Desktop/images/10042025/01/22/image_10042025_01_23_05_10402.jpg
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_15_9441.jpg
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_25_10374.jpg
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031036","1351031029","1351031076","1351031043","1351031025","1351031040"],"photo_ids_order":["1351031025","1351031029","1351031036","1351031040","1351031043","1351031076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33fc4dc13dac4748c5f3c8a26af98101.jpg","text":"TemporaryFile(/tmp/multipartBody3162956257793275090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_23_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/500462e0d75a47cbe5fad36e870aef8a.jpg","text":"TemporaryFile(/tmp/multipartBody2760241420569952961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_22_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9969d7f16b39828b3e94c7bccd72597.jpg","text":"TemporaryFile(/tmp/multipartBody6433325769989195094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_23_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c59b6ed070b87fe93c68c08d729041c2.jpg","text":"TemporaryFile(/tmp/multipartBody3688325846222892521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_23_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fb92c0ca506a3b40f37a03f94f8e1a8.jpg","text":"TemporaryFile(/tmp/multipartBody4137889310940937586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_22_45_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deee28d66045780d6c24db047a59bbac.jpg","text":"TemporaryFile(/tmp/multipartBody4311821714125458381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255233145,"filename":"image_10042025_01_23_15_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031036","file1":"1351031029","file0":"1351031025","file4":"1351031043","file5":"1351031076","file3":"1351031040"},"map_files_photo_id_array":[{"photo_id":"1351031076","filename":"file5"},{"photo_id":"1351031036","filename":"file2"},{"photo_id":"1351031043","filename":"file4"},{"photo_id":"1351031029","filename":"file1"},{"photo_id":"1351031025","filename":"file0"},{"photo_id":"1351031040","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031036":["hashtag1","hashtag2"]},{"1351031029":["hashtag1","hashtag2"]},{"1351031076":["hashtag1","hashtag2"]},{"1351031043":["hashtag1","hashtag2"]},{"1351031025":["hashtag1","hashtag2"]},{"1351031040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031036, 1351031029, 1351031076, 1351031043, 1351031025, 1351031040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73398280143738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:20:33.070036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_45_9349.jpg', '/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_55_10376.jpg', '/home/pi/Desktop/images/10042025/01/23/image_10042025_01_24_05_10386.jpg', '/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_15_9360.jpg', '/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_25_10379.jpg', '/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_35_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_45_9349.jpg
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_23_55_10376.jpg
/home/pi/Desktop/images/10042025/01/23/image_10042025_01_24_05_10386.jpg
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_15_9360.jpg
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_25_10379.jpg
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_35_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031135","1351031146","1351031131","1351031155","1351031169","1351031097"],"photo_ids_order":["1351031097","1351031131","1351031135","1351031146","1351031155","1351031169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc78cb789037c3b68326556244274dff.jpg","text":"TemporaryFile(/tmp/multipartBody1700526052282278074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_24_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0d2f000160739e58f4d8a88a4f2d5e1.jpg","text":"TemporaryFile(/tmp/multipartBody5051208041227327298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_24_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d627d6d576689610582ef408988fb12.jpg","text":"TemporaryFile(/tmp/multipartBody4657321161342520537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_23_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6034b7661e0a12c4531e1a6fdf68d78.jpg","text":"TemporaryFile(/tmp/multipartBody2486561392827871761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_24_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ab03725677dc602824ea1e8ca771757.jpg","text":"TemporaryFile(/tmp/multipartBody1553092306289330595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_24_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ffcea4fb3b40ae5258dbf54d8dd4211.jpg","text":"TemporaryFile(/tmp/multipartBody398993698911114679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255293537,"filename":"image_10042025_01_23_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031135","file1":"1351031131","file0":"1351031097","file4":"1351031155","file5":"1351031169","file3":"1351031146"},"map_files_photo_id_array":[{"photo_id":"1351031169","filename":"file5"},{"photo_id":"1351031135","filename":"file2"},{"photo_id":"1351031155","filename":"file4"},{"photo_id":"1351031131","filename":"file1"},{"photo_id":"1351031097","filename":"file0"},{"photo_id":"1351031146","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031135":["hashtag1","hashtag2"]},{"1351031146":["hashtag1","hashtag2"]},{"1351031131":["hashtag1","hashtag2"]},{"1351031155":["hashtag1","hashtag2"]},{"1351031169":["hashtag1","hashtag2"]},{"1351031097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031135, 1351031146, 1351031131, 1351031155, 1351031169, 1351031097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.760767698287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:21:34.335556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_45_10333.jpg', '/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_54_9517.jpg', '/home/pi/Desktop/images/10042025/01/24/image_10042025_01_25_05_10388.jpg', '/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_15_10424.jpg', '/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_35_10358.jpg', '/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_55_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_45_10333.jpg
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_24_54_9517.jpg
/home/pi/Desktop/images/10042025/01/24/image_10042025_01_25_05_10388.jpg
/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_15_10424.jpg
/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_35_10358.jpg
/home/pi/Desktop/images/10042025/01/25/image_10042025_01_25_55_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031212","1351031221","1351031215","1351031218","1351031203","1351031208"],"photo_ids_order":["1351031203","1351031208","1351031212","1351031215","1351031218","1351031221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df709990c5bc21f4ccb7be2ebfa1a98f.jpg","text":"TemporaryFile(/tmp/multipartBody8097925682770087197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_25_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bda4ccf72243a88dc1df659f8706b79.jpg","text":"TemporaryFile(/tmp/multipartBody1257784919324825726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_25_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77c78c8373acc12c8e33c4d7a4f5b25e.jpg","text":"TemporaryFile(/tmp/multipartBody7059549839404318603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_25_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d65581faf4bdba1b239b6f1e9bc12709.jpg","text":"TemporaryFile(/tmp/multipartBody2500059233627739417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_25_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e683c4915711ac5700303d7cc253f29e.jpg","text":"TemporaryFile(/tmp/multipartBody8643693671053559270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_24_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fb980cf82feeaf0d56ca7e5b465c18b.jpg","text":"TemporaryFile(/tmp/multipartBody4869374211586177427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255354793,"filename":"image_10042025_01_24_54_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031212","file1":"1351031208","file0":"1351031203","file4":"1351031218","file5":"1351031221","file3":"1351031215"},"map_files_photo_id_array":[{"photo_id":"1351031221","filename":"file5"},{"photo_id":"1351031212","filename":"file2"},{"photo_id":"1351031218","filename":"file4"},{"photo_id":"1351031208","filename":"file1"},{"photo_id":"1351031203","filename":"file0"},{"photo_id":"1351031215","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031212":["hashtag1","hashtag2"]},{"1351031221":["hashtag1","hashtag2"]},{"1351031215":["hashtag1","hashtag2"]},{"1351031218":["hashtag1","hashtag2"]},{"1351031203":["hashtag1","hashtag2"]},{"1351031208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031212, 1351031221, 1351031215, 1351031218, 1351031203, 1351031208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71398425102234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:22:32.587361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/25/image_10042025_01_26_05_10423.jpg', '/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_15_9333.jpg', '/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_25_10363.jpg', '/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_35_10440.jpg', '/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_45_9364.jpg', '/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/25/image_10042025_01_26_05_10423.jpg
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_15_9333.jpg
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_25_10363.jpg
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_35_10440.jpg
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_45_9364.jpg
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_26_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031267","1351031261","1351031272","1351031248","1351031277","1351031256"],"photo_ids_order":["1351031248","1351031256","1351031261","1351031267","1351031272","1351031277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8de96d5af16ee05a9cc7462a1c8aba01.jpg","text":"TemporaryFile(/tmp/multipartBody5480250196183799064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e32ace7cda403bcf1bf7e40faedfe1e.jpg","text":"TemporaryFile(/tmp/multipartBody2025489801036879948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a71c2b8cb18c7143c3678ff8fa9d3ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7366678965985045421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f0f16ce17cc41a33152665d5c85f5bb.jpg","text":"TemporaryFile(/tmp/multipartBody312580404408919349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09ff1fb8dbebbe707baa16db4775ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody8923492723335967177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c611054ddedd80674dfec2b4500bc488.jpg","text":"TemporaryFile(/tmp/multipartBody2204350682292204621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255413051,"filename":"image_10042025_01_26_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031261","file1":"1351031256","file0":"1351031248","file4":"1351031272","file5":"1351031277","file3":"1351031267"},"map_files_photo_id_array":[{"photo_id":"1351031277","filename":"file5"},{"photo_id":"1351031261","filename":"file2"},{"photo_id":"1351031272","filename":"file4"},{"photo_id":"1351031256","filename":"file1"},{"photo_id":"1351031248","filename":"file0"},{"photo_id":"1351031267","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031267":["hashtag1","hashtag2"]},{"1351031261":["hashtag1","hashtag2"]},{"1351031272":["hashtag1","hashtag2"]},{"1351031248":["hashtag1","hashtag2"]},{"1351031277":["hashtag1","hashtag2"]},{"1351031256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031267, 1351031261, 1351031272, 1351031248, 1351031277, 1351031256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07203149795532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:23:32.833539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/26/image_10042025_01_27_05_9421.jpg', '/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_15_10368.jpg', '/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_25_10491.jpg', '/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_45_10419.jpg', '/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_55_9434.jpg', '/home/pi/Desktop/images/10042025/01/27/image_10042025_01_28_05_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/26/image_10042025_01_27_05_9421.jpg
/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_15_10368.jpg
/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_25_10491.jpg
/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_45_10419.jpg
/home/pi/Desktop/images/10042025/01/27/image_10042025_01_27_55_9434.jpg
/home/pi/Desktop/images/10042025/01/27/image_10042025_01_28_05_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031351","1351031429","1351031402","1351031380","1351031452","1351031442"],"photo_ids_order":["1351031351","1351031380","1351031402","1351031429","1351031442","1351031452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a7095b3c5e85fd64a01590a4d5db13b.jpg","text":"TemporaryFile(/tmp/multipartBody2410422596634096877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_27_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0212d122d477fc2b09193e1963b4213c.jpg","text":"TemporaryFile(/tmp/multipartBody8586773814425668371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_27_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f79450c28d80d00c9cd60e15df23de6a.jpg","text":"TemporaryFile(/tmp/multipartBody605908138732567958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_27_25_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c08e623cec275c6444cb71ca15325e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4710648832898173421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_27_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ebdcd6cbbcf254527bd7af27fc49a58.jpg","text":"TemporaryFile(/tmp/multipartBody2063303182493796569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_28_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fa769aff9313d88ace172c3ef54507d.jpg","text":"TemporaryFile(/tmp/multipartBody2271638945669262809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255473302,"filename":"image_10042025_01_27_55_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031402","file1":"1351031380","file0":"1351031351","file4":"1351031442","file5":"1351031452","file3":"1351031429"},"map_files_photo_id_array":[{"photo_id":"1351031452","filename":"file5"},{"photo_id":"1351031402","filename":"file2"},{"photo_id":"1351031442","filename":"file4"},{"photo_id":"1351031380","filename":"file1"},{"photo_id":"1351031351","filename":"file0"},{"photo_id":"1351031429","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031351":["hashtag1","hashtag2"]},{"1351031429":["hashtag1","hashtag2"]},{"1351031402":["hashtag1","hashtag2"]},{"1351031380":["hashtag1","hashtag2"]},{"1351031452":["hashtag1","hashtag2"]},{"1351031442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031351, 1351031429, 1351031402, 1351031380, 1351031452, 1351031442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40686917304993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:24:32.960605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_15_9417.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_25_10451.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_35_10463.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_45_9332.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_55_10361.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_29_05_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_15_9417.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_25_10451.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_35_10463.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_45_9332.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_55_10361.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_29_05_9340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38995814323425293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:24:43.043720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_15_9417.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_25_10451.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_35_10463.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_45_9332.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_55_10361.jpg', '/home/pi/Desktop/images/10042025/01/28/image_10042025_01_29_05_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_15_9417.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_25_10451.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_35_10463.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_45_9332.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_28_55_10361.jpg
/home/pi/Desktop/images/10042025/01/28/image_10042025_01_29_05_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031708","1351031743","1351031679","1351031760","1351031733","1351031768"],"photo_ids_order":["1351031679","1351031708","1351031733","1351031743","1351031760","1351031768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d60365c1c2fa0dc469f474c5e86d381.jpg","text":"TemporaryFile(/tmp/multipartBody4236153514252100667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_28_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20201be3897cc99ac89db1337e29f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody6174367963113544026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_28_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd6ea240f75ccbfa3ccf28c6b9edfe2f.jpg","text":"TemporaryFile(/tmp/multipartBody4818728722726273762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_28_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e65f5e0e5ab71f8900be38ee78b57755.jpg","text":"TemporaryFile(/tmp/multipartBody5525909767438973798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_28_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1cd96c8968ed10b3a227aa1c1ae409f.jpg","text":"TemporaryFile(/tmp/multipartBody4926546352907784952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_28_35_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2990d1aa5e21295e27096ca83dc46cc.jpg","text":"TemporaryFile(/tmp/multipartBody4665598175798642593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255543521,"filename":"image_10042025_01_29_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031733","file1":"1351031708","file0":"1351031679","file4":"1351031760","file5":"1351031768","file3":"1351031743"},"map_files_photo_id_array":[{"photo_id":"1351031768","filename":"file5"},{"photo_id":"1351031733","filename":"file2"},{"photo_id":"1351031760","filename":"file4"},{"photo_id":"1351031708","filename":"file1"},{"photo_id":"1351031679","filename":"file0"},{"photo_id":"1351031743","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031708":["hashtag1","hashtag2"]},{"1351031743":["hashtag1","hashtag2"]},{"1351031679":["hashtag1","hashtag2"]},{"1351031760":["hashtag1","hashtag2"]},{"1351031733":["hashtag1","hashtag2"]},{"1351031768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031708, 1351031743, 1351031679, 1351031760, 1351031733, 1351031768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.418269872665405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:25:32.307947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_15_10368.jpg', '/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_25_10484.jpg', '/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_35_9348.jpg', '/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_45_10451.jpg', '/home/pi/Desktop/images/10042025/01/29/image_10042025_01_30_05_10355.jpg', '/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_15_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_15_10368.jpg
/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_25_10484.jpg
/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_35_9348.jpg
/home/pi/Desktop/images/10042025/01/29/image_10042025_01_29_45_10451.jpg
/home/pi/Desktop/images/10042025/01/29/image_10042025_01_30_05_10355.jpg
/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_15_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351031915","1351031843","1351031909","1351031926","1351031826","1351031885"],"photo_ids_order":["1351031826","1351031843","1351031885","1351031909","1351031915","1351031926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8142b42cdc270a46ea2fea3679fd387.jpg","text":"TemporaryFile(/tmp/multipartBody6159299749582529166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_30_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7632e4ec4221649feea33b51ae1c239a.jpg","text":"TemporaryFile(/tmp/multipartBody8219541606445155281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_29_25_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a3e4320fd72949249657cbbd6667417.jpg","text":"TemporaryFile(/tmp/multipartBody6284044141255928031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_29_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67817dacaf9dcefd18b8480a936e207a.jpg","text":"TemporaryFile(/tmp/multipartBody4209520290479377117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_30_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb5a5f43c7b283d194718c8c53ffc6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1250760856423680075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_29_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3f11f58a352a5f611bb1cda0cee23ec.jpg","text":"TemporaryFile(/tmp/multipartBody8445514749859594899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255592776,"filename":"image_10042025_01_29_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031885","file1":"1351031843","file0":"1351031826","file4":"1351031915","file5":"1351031926","file3":"1351031909"},"map_files_photo_id_array":[{"photo_id":"1351031926","filename":"file5"},{"photo_id":"1351031885","filename":"file2"},{"photo_id":"1351031915","filename":"file4"},{"photo_id":"1351031843","filename":"file1"},{"photo_id":"1351031826","filename":"file0"},{"photo_id":"1351031909","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351031915":["hashtag1","hashtag2"]},{"1351031843":["hashtag1","hashtag2"]},{"1351031909":["hashtag1","hashtag2"]},{"1351031926":["hashtag1","hashtag2"]},{"1351031826":["hashtag1","hashtag2"]},{"1351031885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351031915, 1351031843, 1351031909, 1351031926, 1351031826, 1351031885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25687265396118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:26:32.473333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_35_10365.jpg', '/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_45_10386.jpg', '/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_55_9353.jpg', '/home/pi/Desktop/images/10042025/01/30/image_10042025_01_31_05_10361.jpg', '/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_15_9423.jpg', '/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_25_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_35_10365.jpg
/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_45_10386.jpg
/home/pi/Desktop/images/10042025/01/30/image_10042025_01_30_55_9353.jpg
/home/pi/Desktop/images/10042025/01/30/image_10042025_01_31_05_10361.jpg
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_15_9423.jpg
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_25_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032002","1351031975","1351031954","1351031989","1351032018","1351032015"],"photo_ids_order":["1351031954","1351031975","1351031989","1351032002","1351032015","1351032018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69c5dec5d60cd09c2542cb7f935750f9.jpg","text":"TemporaryFile(/tmp/multipartBody5220819517311936724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_31_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/891af9e4afbc5581da6ac6f58c48d694.jpg","text":"TemporaryFile(/tmp/multipartBody5592231825043199467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_30_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff6fce2cc01bcdc6f42d56cf9b5362df.jpg","text":"TemporaryFile(/tmp/multipartBody2948160710933778779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_30_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a1ad093f5bb9ccd8fc39873acb1c36b.jpg","text":"TemporaryFile(/tmp/multipartBody1800265057047664905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_30_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/896db86385905cc7b39cabc51fb85c55.jpg","text":"TemporaryFile(/tmp/multipartBody5091339923382285244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_31_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff4e6433848e877444131b1645f04f02.jpg","text":"TemporaryFile(/tmp/multipartBody7133184438439975562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255653045,"filename":"image_10042025_01_31_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351031989","file1":"1351031975","file0":"1351031954","file4":"1351032015","file5":"1351032018","file3":"1351032002"},"map_files_photo_id_array":[{"photo_id":"1351032018","filename":"file5"},{"photo_id":"1351031989","filename":"file2"},{"photo_id":"1351032015","filename":"file4"},{"photo_id":"1351031975","filename":"file1"},{"photo_id":"1351031954","filename":"file0"},{"photo_id":"1351032002","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032002":["hashtag1","hashtag2"]},{"1351031975":["hashtag1","hashtag2"]},{"1351031954":["hashtag1","hashtag2"]},{"1351031989":["hashtag1","hashtag2"]},{"1351032018":["hashtag1","hashtag2"]},{"1351032015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032002, 1351031975, 1351031954, 1351031989, 1351032018, 1351032015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.494166135787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:27:32.654368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_35_10473.jpg', '/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_45_9354.jpg', '/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_55_10376.jpg', '/home/pi/Desktop/images/10042025/01/31/image_10042025_01_32_04_9356.jpg', '/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_15_10419.jpg', '/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_25_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_35_10473.jpg
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_45_9354.jpg
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_31_55_10376.jpg
/home/pi/Desktop/images/10042025/01/31/image_10042025_01_32_04_9356.jpg
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_15_10419.jpg
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_25_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032061","1351032058","1351032052","1351032055","1351032049","1351032063"],"photo_ids_order":["1351032049","1351032052","1351032055","1351032058","1351032061","1351032063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94afff76d24ecc2d8dc33554e7391152.jpg","text":"TemporaryFile(/tmp/multipartBody1379118807826026402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_32_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfe843453e84d145474be3ed6e2c8c67.jpg","text":"TemporaryFile(/tmp/multipartBody1698724670755703212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_32_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d79fa84b97125cd7ea5ce7239645a50f.jpg","text":"TemporaryFile(/tmp/multipartBody4108842623758509982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_31_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18209c831a74f97cf15a67e6b094f261.jpg","text":"TemporaryFile(/tmp/multipartBody8263088141040275412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_31_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e0efb85b0ff37bc4176fc0677879612.jpg","text":"TemporaryFile(/tmp/multipartBody158522697434613919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_31_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6028b264c5d463d5ef31aed3ef49ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7121332467530573151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255713129,"filename":"image_10042025_01_32_25_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032055","file1":"1351032052","file0":"1351032049","file4":"1351032061","file5":"1351032063","file3":"1351032058"},"map_files_photo_id_array":[{"photo_id":"1351032063","filename":"file5"},{"photo_id":"1351032055","filename":"file2"},{"photo_id":"1351032061","filename":"file4"},{"photo_id":"1351032052","filename":"file1"},{"photo_id":"1351032049","filename":"file0"},{"photo_id":"1351032058","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032061":["hashtag1","hashtag2"]},{"1351032058":["hashtag1","hashtag2"]},{"1351032052":["hashtag1","hashtag2"]},{"1351032055":["hashtag1","hashtag2"]},{"1351032049":["hashtag1","hashtag2"]},{"1351032063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032061, 1351032058, 1351032052, 1351032055, 1351032049, 1351032063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6264386177063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:28:32.954767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_35_9352.jpg', '/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_45_10355.jpg', '/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_55_10368.jpg', '/home/pi/Desktop/images/10042025/01/32/image_10042025_01_33_05_9424.jpg', '/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_15_10502.jpg', '/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_25_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_35_9352.jpg
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_45_10355.jpg
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_32_55_10368.jpg
/home/pi/Desktop/images/10042025/01/32/image_10042025_01_33_05_9424.jpg
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_15_10502.jpg
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_25_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032110","1351032121","1351032117","1351032131","1351032134","1351032113"],"photo_ids_order":["1351032110","1351032113","1351032117","1351032121","1351032131","1351032134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76d0d3d99b5e4ea1f868c678fb53c8ea.jpg","text":"TemporaryFile(/tmp/multipartBody7698652593298043925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_32_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3462b3f40165630bb58ea6163f5125af.jpg","text":"TemporaryFile(/tmp/multipartBody4693113709968623204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_33_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/757ad5f2ace686b8f1d3995d080ab7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5614170488924085108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_32_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b279f0b89fffb251f402665bb2f0f09.jpg","text":"TemporaryFile(/tmp/multipartBody1906134885222630508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_33_15_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3f8ab12d0004cfb006db16c1fc7f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4841598262984531697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_33_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d0101fa910bccd5f0688b5085775eb7.jpg","text":"TemporaryFile(/tmp/multipartBody594619589334726543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255773424,"filename":"image_10042025_01_32_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032117","file1":"1351032113","file0":"1351032110","file4":"1351032131","file5":"1351032134","file3":"1351032121"},"map_files_photo_id_array":[{"photo_id":"1351032134","filename":"file5"},{"photo_id":"1351032117","filename":"file2"},{"photo_id":"1351032131","filename":"file4"},{"photo_id":"1351032113","filename":"file1"},{"photo_id":"1351032110","filename":"file0"},{"photo_id":"1351032121","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032110":["hashtag1","hashtag2"]},{"1351032121":["hashtag1","hashtag2"]},{"1351032117":["hashtag1","hashtag2"]},{"1351032131":["hashtag1","hashtag2"]},{"1351032134":["hashtag1","hashtag2"]},{"1351032113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032110, 1351032121, 1351032117, 1351032131, 1351032134, 1351032113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.961488485336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:29:33.110498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_35_10424.jpg', '/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_45_9438.jpg', '/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_55_10383.jpg', '/home/pi/Desktop/images/10042025/01/33/image_10042025_01_34_05_10425.jpg', '/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_15_9326.jpg', '/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_35_10424.jpg
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_45_9438.jpg
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_33_55_10383.jpg
/home/pi/Desktop/images/10042025/01/33/image_10042025_01_34_05_10425.jpg
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_15_9326.jpg
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_25_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032209","1351032190","1351032259","1351032219","1351032213","1351032248"],"photo_ids_order":["1351032190","1351032209","1351032213","1351032219","1351032248","1351032259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ac70550193b962fe50b8c2a7c2e5b58.jpg","text":"TemporaryFile(/tmp/multipartBody1683113958569407709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_33_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20cc5e84525ebc820d86c912597d0cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1496540871238243318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_33_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cfd2f4675b8fa22c76847bbd642054ee.jpg","text":"TemporaryFile(/tmp/multipartBody4033264701139505866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_34_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31d6d8f79380b005d8951402cc7e5489.jpg","text":"TemporaryFile(/tmp/multipartBody5961162108836974976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_34_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13190888507ce24e2efd4833b6112c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6338832299623885480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_33_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa17e37ad8b895224add7bd6d14265ea.jpg","text":"TemporaryFile(/tmp/multipartBody1658505802366700526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255833575,"filename":"image_10042025_01_34_15_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032213","file1":"1351032209","file0":"1351032190","file4":"1351032248","file5":"1351032259","file3":"1351032219"},"map_files_photo_id_array":[{"photo_id":"1351032259","filename":"file5"},{"photo_id":"1351032213","filename":"file2"},{"photo_id":"1351032248","filename":"file4"},{"photo_id":"1351032209","filename":"file1"},{"photo_id":"1351032190","filename":"file0"},{"photo_id":"1351032219","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032209":["hashtag1","hashtag2"]},{"1351032190":["hashtag1","hashtag2"]},{"1351032259":["hashtag1","hashtag2"]},{"1351032219":["hashtag1","hashtag2"]},{"1351032213":["hashtag1","hashtag2"]},{"1351032248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032209, 1351032190, 1351032259, 1351032219, 1351032213, 1351032248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54228210449219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:30:32.476131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_35_10361.jpg', '/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_45_9364.jpg', '/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_55_10362.jpg', '/home/pi/Desktop/images/10042025/01/34/image_10042025_01_35_05_9471.jpg', '/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_15_10445.jpg', '/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_35_10361.jpg
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_45_9364.jpg
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_34_55_10362.jpg
/home/pi/Desktop/images/10042025/01/34/image_10042025_01_35_05_9471.jpg
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_15_10445.jpg
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032323","1351032334","1351032386","1351032395","1351032296","1351032359"],"photo_ids_order":["1351032296","1351032323","1351032334","1351032359","1351032386","1351032395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a860196da8d37f372c4399aee29355bb.jpg","text":"TemporaryFile(/tmp/multipartBody6649920772232813560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_34_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9777e916e18c8b1abf44dffb12c849d8.jpg","text":"TemporaryFile(/tmp/multipartBody2631820544921683532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_34_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99849afb69142e182e2d839235ef188a.jpg","text":"TemporaryFile(/tmp/multipartBody4000628103780142036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_35_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52c393f0e3811e0fc7f8501940282b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5668419567629745802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_35_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cadce3ac13d1278e2f23593f25d14688.jpg","text":"TemporaryFile(/tmp/multipartBody1093162294334004443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_34_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d722a1c3f17cd1f9689b45fdb98ba2ed.jpg","text":"TemporaryFile(/tmp/multipartBody5011052699572682966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255892956,"filename":"image_10042025_01_35_05_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032334","file1":"1351032323","file0":"1351032296","file4":"1351032386","file5":"1351032395","file3":"1351032359"},"map_files_photo_id_array":[{"photo_id":"1351032395","filename":"file5"},{"photo_id":"1351032334","filename":"file2"},{"photo_id":"1351032386","filename":"file4"},{"photo_id":"1351032323","filename":"file1"},{"photo_id":"1351032296","filename":"file0"},{"photo_id":"1351032359","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032323":["hashtag1","hashtag2"]},{"1351032334":["hashtag1","hashtag2"]},{"1351032386":["hashtag1","hashtag2"]},{"1351032395":["hashtag1","hashtag2"]},{"1351032296":["hashtag1","hashtag2"]},{"1351032359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032323, 1351032334, 1351032386, 1351032395, 1351032296, 1351032359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0241014957428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:31:32.562366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_35_9348.jpg', '/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_45_10361.jpg', '/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_55_9431.jpg', '/home/pi/Desktop/images/10042025/01/35/image_10042025_01_36_05_10341.jpg', '/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_15_10403.jpg', '/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_25_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_35_9348.jpg
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_45_10361.jpg
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_35_55_9431.jpg
/home/pi/Desktop/images/10042025/01/35/image_10042025_01_36_05_10341.jpg
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_15_10403.jpg
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_25_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032512","1351032515","1351032509","1351032498","1351032501","1351032504"],"photo_ids_order":["1351032498","1351032501","1351032504","1351032509","1351032512","1351032515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f9cac8021e7202c600f25c43b60b910.jpg","text":"TemporaryFile(/tmp/multipartBody1650519349055537875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_36_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13f668ee7974423423cb4aca1fb4252a.jpg","text":"TemporaryFile(/tmp/multipartBody5152444594477226257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_36_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b938ebc77f457351e91d4aa68dc2260.jpg","text":"TemporaryFile(/tmp/multipartBody2235902985199679963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_36_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/987e00ede96bec280630b3a34c329783.jpg","text":"TemporaryFile(/tmp/multipartBody4866623999137877494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_35_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14b1695e178420cb4140682a77e55a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7567146506536502035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_35_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82cedab3eb150d83574d9d542d743163.jpg","text":"TemporaryFile(/tmp/multipartBody4751892552958729347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744255953037,"filename":"image_10042025_01_35_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032504","file1":"1351032501","file0":"1351032498","file4":"1351032512","file5":"1351032515","file3":"1351032509"},"map_files_photo_id_array":[{"photo_id":"1351032515","filename":"file5"},{"photo_id":"1351032504","filename":"file2"},{"photo_id":"1351032512","filename":"file4"},{"photo_id":"1351032501","filename":"file1"},{"photo_id":"1351032498","filename":"file0"},{"photo_id":"1351032509","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032512":["hashtag1","hashtag2"]},{"1351032515":["hashtag1","hashtag2"]},{"1351032509":["hashtag1","hashtag2"]},{"1351032498":["hashtag1","hashtag2"]},{"1351032501":["hashtag1","hashtag2"]},{"1351032504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032512, 1351032515, 1351032509, 1351032498, 1351032501, 1351032504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.147491216659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:32:32.745971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_35_10454.jpg', '/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_45_9366.jpg', '/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_55_10358.jpg', '/home/pi/Desktop/images/10042025/01/36/image_10042025_01_37_05_10438.jpg', '/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_15_9376.jpg', '/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_35_10454.jpg
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_45_9366.jpg
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_36_55_10358.jpg
/home/pi/Desktop/images/10042025/01/36/image_10042025_01_37_05_10438.jpg
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_15_9376.jpg
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032682","1351032691","1351032661","1351032645","1351032647","1351032677"],"photo_ids_order":["1351032645","1351032647","1351032661","1351032677","1351032682","1351032691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7fc5aa3f4c82ef54db4b705ac4d9f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3167236201650635471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_37_15_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4beab3cb6d41709189cd5399e2631a85.jpg","text":"TemporaryFile(/tmp/multipartBody6360549846629246156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_37_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a09512202cd56750995b9cadbf84111.jpg","text":"TemporaryFile(/tmp/multipartBody8189843024293181113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_36_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a2b2e905e4b5f3a9e48b1749c37dfbd.jpg","text":"TemporaryFile(/tmp/multipartBody5276419622047714608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_36_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7355e783e4510dbc59242859ad4e307.jpg","text":"TemporaryFile(/tmp/multipartBody8541099670716498996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_36_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21525a2b96f7bf104a8def24fe25ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody1232586133818048690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256013208,"filename":"image_10042025_01_37_05_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351032661","file1":"1351032647","file0":"1351032645","file4":"1351032682","file5":"1351032691","file3":"1351032677"},"map_files_photo_id_array":[{"photo_id":"1351032691","filename":"file5"},{"photo_id":"1351032661","filename":"file2"},{"photo_id":"1351032682","filename":"file4"},{"photo_id":"1351032647","filename":"file1"},{"photo_id":"1351032645","filename":"file0"},{"photo_id":"1351032677","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032682":["hashtag1","hashtag2"]},{"1351032691":["hashtag1","hashtag2"]},{"1351032661":["hashtag1","hashtag2"]},{"1351032645":["hashtag1","hashtag2"]},{"1351032647":["hashtag1","hashtag2"]},{"1351032677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032682, 1351032691, 1351032661, 1351032645, 1351032647, 1351032677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.017651319503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:33:33.176260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_35_10349.jpg', '/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_45_9344.jpg', '/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_55_10358.jpg', '/home/pi/Desktop/images/10042025/01/37/image_10042025_01_38_05_9459.jpg', '/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_15_10368.jpg', '/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_24_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_35_10349.jpg
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_45_9344.jpg
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_37_55_10358.jpg
/home/pi/Desktop/images/10042025/01/37/image_10042025_01_38_05_9459.jpg
/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_15_10368.jpg
/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_24_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351032997","1351032955","1351033086","1351033059","1351033140","1351033029"],"photo_ids_order":["1351032955","1351032997","1351033029","1351033059","1351033086","1351033140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41d773e8ffa187c9da8f310f768cb23a.jpg","text":"TemporaryFile(/tmp/multipartBody6890635153578265193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_37_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9adeed5cb82703195ce1f83739abeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8911133444810094123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_37_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20355700877c74d5b60eeb100d3e7f91.jpg","text":"TemporaryFile(/tmp/multipartBody2268589012514065101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_38_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7b570ebea3728a8041bd276336e3a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4255560575832469631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_38_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a14ead2834eafca658baf2da4a468de4.jpg","text":"TemporaryFile(/tmp/multipartBody4003396461326714254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_38_24_9547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bbcba1caecca2221e70437e9a4c952f.jpg","text":"TemporaryFile(/tmp/multipartBody5701904613863831745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256073652,"filename":"image_10042025_01_37_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351033029","file1":"1351032997","file0":"1351032955","file4":"1351033086","file5":"1351033140","file3":"1351033059"},"map_files_photo_id_array":[{"photo_id":"1351033140","filename":"file5"},{"photo_id":"1351033029","filename":"file2"},{"photo_id":"1351033086","filename":"file4"},{"photo_id":"1351032997","filename":"file1"},{"photo_id":"1351032955","filename":"file0"},{"photo_id":"1351033059","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351032997":["hashtag1","hashtag2"]},{"1351032955":["hashtag1","hashtag2"]},{"1351033086":["hashtag1","hashtag2"]},{"1351033059":["hashtag1","hashtag2"]},{"1351033140":["hashtag1","hashtag2"]},{"1351033029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351032997, 1351032955, 1351033086, 1351033059, 1351033140, 1351033029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.613465547561646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:34:32.454821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_35_10415.jpg', '/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_45_10427.jpg', '/home/pi/Desktop/images/10042025/01/38/image_10042025_01_39_05_10494.jpg', '/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_15_9346.jpg', '/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_25_10362.jpg', '/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_35_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_35_10415.jpg
/home/pi/Desktop/images/10042025/01/38/image_10042025_01_38_45_10427.jpg
/home/pi/Desktop/images/10042025/01/38/image_10042025_01_39_05_10494.jpg
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_15_9346.jpg
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_25_10362.jpg
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_35_10530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351033933","1351034110","1351033850","1351034164","1351034212","1351033888"],"photo_ids_order":["1351033850","1351033888","1351033933","1351034110","1351034164","1351034212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b02a4505509d39fc4972ff846ce69f74.jpg","text":"TemporaryFile(/tmp/multipartBody5912260712126479877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_39_05_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1788b28a57e218dcd93d5b8b9e831aa9.jpg","text":"TemporaryFile(/tmp/multipartBody4567640825060148520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_39_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a7adfd925c1a04526d72c48503c51af.jpg","text":"TemporaryFile(/tmp/multipartBody3483144710936157796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_38_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0d287c81ba8e36a93476394016792f7.jpg","text":"TemporaryFile(/tmp/multipartBody4977010277610850746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_39_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8ae371c21b8ce1e50368127f0e6b59e.jpg","text":"TemporaryFile(/tmp/multipartBody1394443773984068587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_39_35_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1dc65604ee4740a62c248e4d8cf8716.jpg","text":"TemporaryFile(/tmp/multipartBody4851767642284023586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256132920,"filename":"image_10042025_01_38_45_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351033933","file1":"1351033888","file0":"1351033850","file4":"1351034164","file5":"1351034212","file3":"1351034110"},"map_files_photo_id_array":[{"photo_id":"1351034212","filename":"file5"},{"photo_id":"1351033933","filename":"file2"},{"photo_id":"1351034164","filename":"file4"},{"photo_id":"1351033888","filename":"file1"},{"photo_id":"1351033850","filename":"file0"},{"photo_id":"1351034110","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351033933":["hashtag1","hashtag2"]},{"1351034110":["hashtag1","hashtag2"]},{"1351033850":["hashtag1","hashtag2"]},{"1351034164":["hashtag1","hashtag2"]},{"1351034212":["hashtag1","hashtag2"]},{"1351033888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351033933, 1351034110, 1351033850, 1351034164, 1351034212, 1351033888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58010172843933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:35:32.643680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_45_9346.jpg', '/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_55_10368.jpg', '/home/pi/Desktop/images/10042025/01/39/image_10042025_01_40_04_9347.jpg', '/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_15_10481.jpg', '/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_25_10419.jpg', '/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_45_9346.jpg
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_39_55_10368.jpg
/home/pi/Desktop/images/10042025/01/39/image_10042025_01_40_04_9347.jpg
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_15_10481.jpg
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_25_10419.jpg
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_35_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034418","1351034427","1351034438","1351034423","1351034398","1351034437"],"photo_ids_order":["1351034398","1351034418","1351034423","1351034427","1351034437","1351034438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31f778ec903829045d51b7843a33c8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2347439748303893890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_39_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfd283b40489659fb4b38db51a0c3afd.jpg","text":"TemporaryFile(/tmp/multipartBody326356097367158779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_40_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fa2a5a0893e3675d22d27a98e007292.jpg","text":"TemporaryFile(/tmp/multipartBody6005058598829620443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_40_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a58c194d7f73be55b2583cdf0d48083d.jpg","text":"TemporaryFile(/tmp/multipartBody2692293825776171011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_40_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33d74d1a47ace22895f46b03d0e2ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody2209854753410446997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_39_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a341e7dec77e9e7d9b1658e55e3e31ff.jpg","text":"TemporaryFile(/tmp/multipartBody662358536745129546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256193106,"filename":"image_10042025_01_40_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034423","file1":"1351034418","file0":"1351034398","file4":"1351034437","file5":"1351034438","file3":"1351034427"},"map_files_photo_id_array":[{"photo_id":"1351034438","filename":"file5"},{"photo_id":"1351034423","filename":"file2"},{"photo_id":"1351034437","filename":"file4"},{"photo_id":"1351034418","filename":"file1"},{"photo_id":"1351034398","filename":"file0"},{"photo_id":"1351034427","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034418":["hashtag1","hashtag2"]},{"1351034427":["hashtag1","hashtag2"]},{"1351034438":["hashtag1","hashtag2"]},{"1351034423":["hashtag1","hashtag2"]},{"1351034398":["hashtag1","hashtag2"]},{"1351034437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034418, 1351034427, 1351034438, 1351034423, 1351034398, 1351034437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10768151283264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:36:32.813948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_45_10386.jpg', '/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_54_9365.jpg', '/home/pi/Desktop/images/10042025/01/40/image_10042025_01_41_05_10347.jpg', '/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_15_10357.jpg', '/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_25_9358.jpg', '/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_45_10386.jpg
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_40_54_9365.jpg
/home/pi/Desktop/images/10042025/01/40/image_10042025_01_41_05_10347.jpg
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_15_10357.jpg
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_25_9358.jpg
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_35_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034533","1351034527","1351034526","1351034535","1351034529","1351034531"],"photo_ids_order":["1351034526","1351034527","1351034529","1351034531","1351034533","1351034535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e534e3f95898e7eed2c5d909bb0fa3fd.jpg","text":"TemporaryFile(/tmp/multipartBody8263542289385847631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_41_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b44dec1302ea6174656eafe949a18704.jpg","text":"TemporaryFile(/tmp/multipartBody6290345461485827347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_40_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79cc21116299399c460a5510357468f6.jpg","text":"TemporaryFile(/tmp/multipartBody3935773044165333056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_40_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/329458e80c37722a9c978284863c6685.jpg","text":"TemporaryFile(/tmp/multipartBody342728797944147859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_41_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76d4f9d4431c8b69b1f268a1aa9113e4.jpg","text":"TemporaryFile(/tmp/multipartBody4761102030832070112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_41_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c39ba7d49735ceb17274f958256be15.jpg","text":"TemporaryFile(/tmp/multipartBody4344877741911377478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256253285,"filename":"image_10042025_01_41_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034529","file1":"1351034527","file0":"1351034526","file4":"1351034533","file5":"1351034535","file3":"1351034531"},"map_files_photo_id_array":[{"photo_id":"1351034535","filename":"file5"},{"photo_id":"1351034529","filename":"file2"},{"photo_id":"1351034533","filename":"file4"},{"photo_id":"1351034527","filename":"file1"},{"photo_id":"1351034526","filename":"file0"},{"photo_id":"1351034531","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034533":["hashtag1","hashtag2"]},{"1351034527":["hashtag1","hashtag2"]},{"1351034526":["hashtag1","hashtag2"]},{"1351034535":["hashtag1","hashtag2"]},{"1351034529":["hashtag1","hashtag2"]},{"1351034531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034533, 1351034527, 1351034526, 1351034535, 1351034529, 1351034531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85740685462952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:37:33.169850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_45_10471.jpg', '/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_55_9411.jpg', '/home/pi/Desktop/images/10042025/01/41/image_10042025_01_42_05_10349.jpg', '/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_15_9447.jpg', '/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_25_10367.jpg', '/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_35_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_45_10471.jpg
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_41_55_9411.jpg
/home/pi/Desktop/images/10042025/01/41/image_10042025_01_42_05_10349.jpg
/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_15_9447.jpg
/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_25_10367.jpg
/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_35_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034589","1351034586","1351034573","1351034576","1351034579","1351034584"],"photo_ids_order":["1351034573","1351034576","1351034579","1351034584","1351034586","1351034589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c3545822388e8ea727d1ae627d247b7.jpg","text":"TemporaryFile(/tmp/multipartBody1725871697282245622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_42_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcc213f5d2a593630288ef5d7b58a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7091248608094615581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_42_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a06227aa113c288920059ce3316344b.jpg","text":"TemporaryFile(/tmp/multipartBody5715309130633632318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_41_45_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1aaa340ac9673fb6fe9f3ca952adc80.jpg","text":"TemporaryFile(/tmp/multipartBody2365904799845879877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_41_55_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06f2eb5c394a516fe74a8e67a24f0526.jpg","text":"TemporaryFile(/tmp/multipartBody9051661436435581211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_42_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7df45d5b53db4517c731069115853b85.jpg","text":"TemporaryFile(/tmp/multipartBody1211007575469637956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256313638,"filename":"image_10042025_01_42_15_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034579","file1":"1351034576","file0":"1351034573","file4":"1351034586","file5":"1351034589","file3":"1351034584"},"map_files_photo_id_array":[{"photo_id":"1351034589","filename":"file5"},{"photo_id":"1351034579","filename":"file2"},{"photo_id":"1351034586","filename":"file4"},{"photo_id":"1351034576","filename":"file1"},{"photo_id":"1351034573","filename":"file0"},{"photo_id":"1351034584","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034589":["hashtag1","hashtag2"]},{"1351034586":["hashtag1","hashtag2"]},{"1351034573":["hashtag1","hashtag2"]},{"1351034576":["hashtag1","hashtag2"]},{"1351034579":["hashtag1","hashtag2"]},{"1351034584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034589, 1351034586, 1351034573, 1351034576, 1351034579, 1351034584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.844568967819214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:38:32.207855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_55_10368.jpg', '/home/pi/Desktop/images/10042025/01/42/image_10042025_01_43_05_9417.jpg', '/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_15_10427.jpg', '/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_24_9550.jpg', '/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_35_10453.jpg', '/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_45_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/42/image_10042025_01_42_55_10368.jpg
/home/pi/Desktop/images/10042025/01/42/image_10042025_01_43_05_9417.jpg
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_15_10427.jpg
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_24_9550.jpg
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_35_10453.jpg
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_45_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034614","1351034624","1351034618","1351034627","1351034612","1351034609"],"photo_ids_order":["1351034609","1351034612","1351034614","1351034618","1351034624","1351034627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/360503778190d10aac065b8622052b36.jpg","text":"TemporaryFile(/tmp/multipartBody7127801453053723135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_43_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e772fe93c948106a2a31b2df07bb5a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8995020426354448586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_43_35_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7d24db37c19c8d3b3704ae0b4f9660d.jpg","text":"TemporaryFile(/tmp/multipartBody8749350242147552629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_43_24_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d408fd7c148688aaa4b3c5f9e37cf943.jpg","text":"TemporaryFile(/tmp/multipartBody1390420269696555466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_43_45_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75dc2b3b0fb4cf9bc44d9bb6fb698696.jpg","text":"TemporaryFile(/tmp/multipartBody5443828350303677432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_43_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7a2f85764cbc60737bc573d7b1d0ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5560160351479916599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256372684,"filename":"image_10042025_01_42_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034614","file1":"1351034612","file0":"1351034609","file4":"1351034624","file5":"1351034627","file3":"1351034618"},"map_files_photo_id_array":[{"photo_id":"1351034627","filename":"file5"},{"photo_id":"1351034614","filename":"file2"},{"photo_id":"1351034624","filename":"file4"},{"photo_id":"1351034612","filename":"file1"},{"photo_id":"1351034609","filename":"file0"},{"photo_id":"1351034618","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034614":["hashtag1","hashtag2"]},{"1351034624":["hashtag1","hashtag2"]},{"1351034618":["hashtag1","hashtag2"]},{"1351034627":["hashtag1","hashtag2"]},{"1351034612":["hashtag1","hashtag2"]},{"1351034609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034614, 1351034624, 1351034618, 1351034627, 1351034612, 1351034609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.611547231674194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:39:32.300983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_55_9446.jpg', '/home/pi/Desktop/images/10042025/01/43/image_10042025_01_44_05_10448.jpg', '/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_25_10378.jpg', '/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_45_9348.jpg', '/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_55_10404.jpg', '/home/pi/Desktop/images/10042025/01/44/image_10042025_01_45_05_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_43_55_9446.jpg
/home/pi/Desktop/images/10042025/01/43/image_10042025_01_44_05_10448.jpg
/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_25_10378.jpg
/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_45_9348.jpg
/home/pi/Desktop/images/10042025/01/44/image_10042025_01_44_55_10404.jpg
/home/pi/Desktop/images/10042025/01/44/image_10042025_01_45_05_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034694","1351034652","1351034657","1351034648","1351034720","1351034746"],"photo_ids_order":["1351034648","1351034652","1351034657","1351034694","1351034720","1351034746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/463498cd01397c0a961a6f4ea5ee8c72.jpg","text":"TemporaryFile(/tmp/multipartBody3181217246771981707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_44_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55dc08e9f071571f7de74e32b6db3a92.jpg","text":"TemporaryFile(/tmp/multipartBody4548836086432404327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_44_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1dca15003aecd2f5207405bd552ccce3.jpg","text":"TemporaryFile(/tmp/multipartBody5793703896625638761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_44_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c4d08ef9bbb52bcb142f3b780dc38df.jpg","text":"TemporaryFile(/tmp/multipartBody5091599360157233181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_43_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99ca0aa77fdd08a0b1e39907da51fdae.jpg","text":"TemporaryFile(/tmp/multipartBody7485246645539744940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_44_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68908684aaad57b7e4787b531c7d259f.jpg","text":"TemporaryFile(/tmp/multipartBody5931785564316437514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256432784,"filename":"image_10042025_01_45_05_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034657","file1":"1351034652","file0":"1351034648","file4":"1351034720","file5":"1351034746","file3":"1351034694"},"map_files_photo_id_array":[{"photo_id":"1351034746","filename":"file5"},{"photo_id":"1351034657","filename":"file2"},{"photo_id":"1351034720","filename":"file4"},{"photo_id":"1351034652","filename":"file1"},{"photo_id":"1351034648","filename":"file0"},{"photo_id":"1351034694","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034694":["hashtag1","hashtag2"]},{"1351034652":["hashtag1","hashtag2"]},{"1351034657":["hashtag1","hashtag2"]},{"1351034648":["hashtag1","hashtag2"]},{"1351034720":["hashtag1","hashtag2"]},{"1351034746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034694, 1351034652, 1351034657, 1351034648, 1351034720, 1351034746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54778480529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:40:32.520754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_15_10366.jpg', '/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_25_10453.jpg', '/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_35_9377.jpg', '/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_55_9429.jpg', '/home/pi/Desktop/images/10042025/01/45/image_10042025_01_46_05_10365.jpg', '/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_15_10366.jpg
/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_25_10453.jpg
/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_35_9377.jpg
/home/pi/Desktop/images/10042025/01/45/image_10042025_01_45_55_9429.jpg
/home/pi/Desktop/images/10042025/01/45/image_10042025_01_46_05_10365.jpg
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_15_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034826","1351034829","1351034840","1351034843","1351034837","1351034831"],"photo_ids_order":["1351034826","1351034829","1351034831","1351034837","1351034840","1351034843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f435d131bd0684a75feabc48a2e8246c.jpg","text":"TemporaryFile(/tmp/multipartBody534725667466716095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_45_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1bce53ce7e8d66e491ab9a8a1aba887.jpg","text":"TemporaryFile(/tmp/multipartBody4838912124005529698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_45_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0c9d033e21f088a64f8a685e47030e2.jpg","text":"TemporaryFile(/tmp/multipartBody4045455112049180779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_46_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54cc36ca91bfb940e2a411737b35445b.jpg","text":"TemporaryFile(/tmp/multipartBody4269174178503429100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_46_15_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8e11e2bd1ccb6f815507aeddbfef9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7201679935555285875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_45_55_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cb38de59df1f75ad69c0df63d59b215.jpg","text":"TemporaryFile(/tmp/multipartBody6792880572354968259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256493059,"filename":"image_10042025_01_45_35_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034831","file1":"1351034829","file0":"1351034826","file4":"1351034840","file5":"1351034843","file3":"1351034837"},"map_files_photo_id_array":[{"photo_id":"1351034843","filename":"file5"},{"photo_id":"1351034831","filename":"file2"},{"photo_id":"1351034840","filename":"file4"},{"photo_id":"1351034829","filename":"file1"},{"photo_id":"1351034826","filename":"file0"},{"photo_id":"1351034837","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034826":["hashtag1","hashtag2"]},{"1351034829":["hashtag1","hashtag2"]},{"1351034840":["hashtag1","hashtag2"]},{"1351034843":["hashtag1","hashtag2"]},{"1351034837":["hashtag1","hashtag2"]},{"1351034831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034826, 1351034829, 1351034840, 1351034843, 1351034837, 1351034831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.165074586868286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:41:32.727748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_25_9399.jpg', '/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_35_10364.jpg', '/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_45_9468.jpg', '/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_55_10459.jpg', '/home/pi/Desktop/images/10042025/01/46/image_10042025_01_47_05_10347.jpg', '/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_15_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_25_9399.jpg
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_35_10364.jpg
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_45_9468.jpg
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_46_55_10459.jpg
/home/pi/Desktop/images/10042025/01/46/image_10042025_01_47_05_10347.jpg
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_15_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351034991","1351035006","1351034993","1351034987","1351034989","1351034959"],"photo_ids_order":["1351034959","1351034987","1351034989","1351034991","1351034993","1351035006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2faef406a2b373eec8598a49532db101.jpg","text":"TemporaryFile(/tmp/multipartBody972361294522498955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_46_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2796fc8a40e7b133b0c45ef261b3ef70.jpg","text":"TemporaryFile(/tmp/multipartBody4069754602397071744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_47_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d2e38f57aa69809d3b4c9089b10505e.jpg","text":"TemporaryFile(/tmp/multipartBody2360181098624111800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_47_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bebeb77c76e6ff24b5a71a5561858c3.jpg","text":"TemporaryFile(/tmp/multipartBody7890558528250223836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_46_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d38f43114639a81f304deeb36a4bfe6c.jpg","text":"TemporaryFile(/tmp/multipartBody8477406865364780699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_46_45_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e525ed0220f88a6aaa78659081a0276.jpg","text":"TemporaryFile(/tmp/multipartBody9012585223705877426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256553184,"filename":"image_10042025_01_46_25_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351034989","file1":"1351034987","file0":"1351034959","file4":"1351034993","file5":"1351035006","file3":"1351034991"},"map_files_photo_id_array":[{"photo_id":"1351035006","filename":"file5"},{"photo_id":"1351034989","filename":"file2"},{"photo_id":"1351034993","filename":"file4"},{"photo_id":"1351034987","filename":"file1"},{"photo_id":"1351034959","filename":"file0"},{"photo_id":"1351034991","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351034991":["hashtag1","hashtag2"]},{"1351035006":["hashtag1","hashtag2"]},{"1351034993":["hashtag1","hashtag2"]},{"1351034987":["hashtag1","hashtag2"]},{"1351034989":["hashtag1","hashtag2"]},{"1351034959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351034991, 1351035006, 1351034993, 1351034987, 1351034989, 1351034959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36990141868591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:42:32.993780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_25_10364.jpg', '/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_35_9356.jpg', '/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_45_10453.jpg', '/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_55_9548.jpg', '/home/pi/Desktop/images/10042025/01/47/image_10042025_01_48_05_10357.jpg', '/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_15_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_25_10364.jpg
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_35_9356.jpg
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_45_10453.jpg
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_47_55_9548.jpg
/home/pi/Desktop/images/10042025/01/47/image_10042025_01_48_05_10357.jpg
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_15_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351035156","1351035088","1351035145","1351035096","1351035177","1351035171"],"photo_ids_order":["1351035088","1351035096","1351035145","1351035156","1351035171","1351035177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24a67b1f85cb088c9b37213f9cb9f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5707320709467892497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_47_55_9548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1766f7f5f01d4160aedd379a096945ac.jpg","text":"TemporaryFile(/tmp/multipartBody858931629681354481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_47_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1379380bc7f3ae63e3093248f36e6371.jpg","text":"TemporaryFile(/tmp/multipartBody4224060367121603915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_47_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fef23ec5ff818cbe31812c0fbe48c9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5738966006276400606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_47_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c39c226ae47e83106029f48c1f5a139.jpg","text":"TemporaryFile(/tmp/multipartBody2858229290546167251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_48_15_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08be39a796adcde5497ee80a4aa3ca94.jpg","text":"TemporaryFile(/tmp/multipartBody9022092368547818991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256613466,"filename":"image_10042025_01_48_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351035145","file1":"1351035096","file0":"1351035088","file4":"1351035171","file5":"1351035177","file3":"1351035156"},"map_files_photo_id_array":[{"photo_id":"1351035177","filename":"file5"},{"photo_id":"1351035145","filename":"file2"},{"photo_id":"1351035171","filename":"file4"},{"photo_id":"1351035096","filename":"file1"},{"photo_id":"1351035088","filename":"file0"},{"photo_id":"1351035156","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351035156":["hashtag1","hashtag2"]},{"1351035088":["hashtag1","hashtag2"]},{"1351035145":["hashtag1","hashtag2"]},{"1351035096":["hashtag1","hashtag2"]},{"1351035177":["hashtag1","hashtag2"]},{"1351035171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351035156, 1351035088, 1351035145, 1351035096, 1351035177, 1351035171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89052963256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:43:33.543573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_25_9371.jpg', '/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_35_10351.jpg', '/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_45_9443.jpg', '/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_55_10363.jpg', '/home/pi/Desktop/images/10042025/01/48/image_10042025_01_49_05_10353.jpg', '/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_15_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_25_9371.jpg
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_35_10351.jpg
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_45_9443.jpg
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_48_55_10363.jpg
/home/pi/Desktop/images/10042025/01/48/image_10042025_01_49_05_10353.jpg
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_15_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351035354","1351035348","1351035379","1351035340","1351035331","1351035384"],"photo_ids_order":["1351035331","1351035340","1351035348","1351035354","1351035379","1351035384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ac173464463038fa138fe991f4a758a.jpg","text":"TemporaryFile(/tmp/multipartBody8217356516804487139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_48_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e369d3bea88c105ba079fd0c7ae4ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody5403215873027214784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_48_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acb3ed838cc040373cb06fb13342688e.jpg","text":"TemporaryFile(/tmp/multipartBody3685518685129205194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_49_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7bb74392bac026365e5f58e8ab68bca.jpg","text":"TemporaryFile(/tmp/multipartBody6894853217252921071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_48_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ba566844b16ec02a688094ff4acfe68.jpg","text":"TemporaryFile(/tmp/multipartBody8124051203148558863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_48_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/360a09150765c1d5b86093d18617d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody7258707590022021751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256674014,"filename":"image_10042025_01_49_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351035348","file1":"1351035340","file0":"1351035331","file4":"1351035379","file5":"1351035384","file3":"1351035354"},"map_files_photo_id_array":[{"photo_id":"1351035384","filename":"file5"},{"photo_id":"1351035348","filename":"file2"},{"photo_id":"1351035379","filename":"file4"},{"photo_id":"1351035340","filename":"file1"},{"photo_id":"1351035331","filename":"file0"},{"photo_id":"1351035354","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351035354":["hashtag1","hashtag2"]},{"1351035348":["hashtag1","hashtag2"]},{"1351035379":["hashtag1","hashtag2"]},{"1351035340":["hashtag1","hashtag2"]},{"1351035331":["hashtag1","hashtag2"]},{"1351035384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351035354, 1351035348, 1351035379, 1351035340, 1351035331, 1351035384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.300934076309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:44:32.802342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_25_10465.jpg', '/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_35_10372.jpg', '/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_45_9341.jpg', '/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_55_10379.jpg', '/home/pi/Desktop/images/10042025/01/49/image_10042025_01_50_04_9362.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_25_10465.jpg
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_35_10372.jpg
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_45_9341.jpg
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_49_55_10379.jpg
/home/pi/Desktop/images/10042025/01/49/image_10042025_01_50_04_9362.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351035624","1351035609","1351035617","1351035613","1351035607","1351035604"],"photo_ids_order":["1351035604","1351035607","1351035609","1351035613","1351035617","1351035624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa5ce2b0afa613cb8f3e8659a279742f.jpg","text":"TemporaryFile(/tmp/multipartBody6704825233100978617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_50_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39591504883333316a417126fc48d31e.jpg","text":"TemporaryFile(/tmp/multipartBody8253119974604714670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_49_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/525de939116da4348255dae47f6016de.jpg","text":"TemporaryFile(/tmp/multipartBody5716425576676306312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_50_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9946374cf44f55b3bb8d7743f5170da.jpg","text":"TemporaryFile(/tmp/multipartBody4197797362967992404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_49_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b42cc1d4d212903ac4e3ce5a41c4e75.jpg","text":"TemporaryFile(/tmp/multipartBody2084857991221593776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_49_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3025058726a71e632cac22dd4aa1f4f.jpg","text":"TemporaryFile(/tmp/multipartBody552244831385106240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256733281,"filename":"image_10042025_01_49_25_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351035609","file1":"1351035607","file0":"1351035604","file4":"1351035617","file5":"1351035624","file3":"1351035613"},"map_files_photo_id_array":[{"photo_id":"1351035624","filename":"file5"},{"photo_id":"1351035609","filename":"file2"},{"photo_id":"1351035617","filename":"file4"},{"photo_id":"1351035607","filename":"file1"},{"photo_id":"1351035604","filename":"file0"},{"photo_id":"1351035613","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351035624":["hashtag1","hashtag2"]},{"1351035609":["hashtag1","hashtag2"]},{"1351035617":["hashtag1","hashtag2"]},{"1351035613":["hashtag1","hashtag2"]},{"1351035607":["hashtag1","hashtag2"]},{"1351035604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351035624, 1351035609, 1351035617, 1351035613, 1351035607, 1351035604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.776670217514038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:45:33.102540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_25_10375.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_35_9461.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_45_10364.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_55_10417.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_51_05_9357.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_25_10375.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_35_9461.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_45_10364.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_55_10417.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_51_05_9357.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_15_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3871142864227295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:45:43.046278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_25_10375.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_35_9461.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_45_10364.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_55_10417.jpg', '/home/pi/Desktop/images/10042025/01/50/image_10042025_01_51_05_9357.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_25_10375.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_35_9461.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_45_10364.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_50_55_10417.jpg
/home/pi/Desktop/images/10042025/01/50/image_10042025_01_51_05_9357.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_15_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351035711","1351035705","1351035699","1351035690","1351035703","1351035696"],"photo_ids_order":["1351035690","1351035696","1351035699","1351035703","1351035705","1351035711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc4689baa858ea1777e4f9b406c0595a.jpg","text":"TemporaryFile(/tmp/multipartBody5096511530971714850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_51_15_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fb0527fbaaa1ebbe2f189113796e726.jpg","text":"TemporaryFile(/tmp/multipartBody4953724246488266326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_51_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3cd23a54b55a45897884135e0884abc.jpg","text":"TemporaryFile(/tmp/multipartBody6290716540594296384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_50_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c94b2ae7ebe252a4be97d2b14ecb1ff.jpg","text":"TemporaryFile(/tmp/multipartBody339563189391990247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_50_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74a6c7365d142a355497d3f385a96270.jpg","text":"TemporaryFile(/tmp/multipartBody2477668373256629371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_50_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/433f67d507cc999ea2babcfcebf94231.jpg","text":"TemporaryFile(/tmp/multipartBody6204439400341107310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256803523,"filename":"image_10042025_01_50_35_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351035699","file1":"1351035696","file0":"1351035690","file4":"1351035705","file5":"1351035711","file3":"1351035703"},"map_files_photo_id_array":[{"photo_id":"1351035711","filename":"file5"},{"photo_id":"1351035699","filename":"file2"},{"photo_id":"1351035705","filename":"file4"},{"photo_id":"1351035696","filename":"file1"},{"photo_id":"1351035690","filename":"file0"},{"photo_id":"1351035703","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351035711":["hashtag1","hashtag2"]},{"1351035705":["hashtag1","hashtag2"]},{"1351035699":["hashtag1","hashtag2"]},{"1351035690":["hashtag1","hashtag2"]},{"1351035703":["hashtag1","hashtag2"]},{"1351035696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351035711, 1351035705, 1351035699, 1351035690, 1351035703, 1351035696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.706056356430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:46:32.213716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_25_9363.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_35_10352.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_45_10450.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_55_9360.jpg', '/home/pi/Desktop/images/10042025/01/51/image_10042025_01_52_05_10370.jpg', '/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_15_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_25_9363.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_35_10352.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_45_10450.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_51_55_9360.jpg
/home/pi/Desktop/images/10042025/01/51/image_10042025_01_52_05_10370.jpg
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_15_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351035815","1351035775","1351035769","1351035763","1351035772","1351035766"],"photo_ids_order":["1351035763","1351035766","1351035769","1351035772","1351035775","1351035815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9c080ea16b7ce219af04124bbde4bda.jpg","text":"TemporaryFile(/tmp/multipartBody3005045835950813605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_52_15_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d2498c03f7bcbbee5537d8ab8ac1d16.jpg","text":"TemporaryFile(/tmp/multipartBody3927185632361764538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_52_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/273d4c464f8bc2fc55ee82c823c2815b.jpg","text":"TemporaryFile(/tmp/multipartBody3029358720866461045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_51_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36a2a61c3fc2599043c1c4d75b0185bc.jpg","text":"TemporaryFile(/tmp/multipartBody436923994762355993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_51_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fc082e7ec5a289ae32b8027408de471.jpg","text":"TemporaryFile(/tmp/multipartBody1112978049698574126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_51_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/431e7b5dda0aaac4625d19d1cffbf75b.jpg","text":"TemporaryFile(/tmp/multipartBody9021141112502038574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256852689,"filename":"image_10042025_01_51_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351035769","file1":"1351035766","file0":"1351035763","file4":"1351035775","file5":"1351035815","file3":"1351035772"},"map_files_photo_id_array":[{"photo_id":"1351035815","filename":"file5"},{"photo_id":"1351035769","filename":"file2"},{"photo_id":"1351035775","filename":"file4"},{"photo_id":"1351035766","filename":"file1"},{"photo_id":"1351035763","filename":"file0"},{"photo_id":"1351035772","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351035815":["hashtag1","hashtag2"]},{"1351035775":["hashtag1","hashtag2"]},{"1351035769":["hashtag1","hashtag2"]},{"1351035763":["hashtag1","hashtag2"]},{"1351035772":["hashtag1","hashtag2"]},{"1351035766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351035815, 1351035775, 1351035769, 1351035763, 1351035772, 1351035766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.576442003250122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:47:32.368856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_25_10368.jpg', '/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_35_10471.jpg', '/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_45_9343.jpg', '/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_55_10367.jpg', '/home/pi/Desktop/images/10042025/01/52/image_10042025_01_53_05_9459.jpg', '/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_15_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_25_10368.jpg
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_35_10471.jpg
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_45_9343.jpg
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_52_55_10367.jpg
/home/pi/Desktop/images/10042025/01/52/image_10042025_01_53_05_9459.jpg
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_15_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036094","1351036121","1351036016","1351036147","1351036143","1351035987"],"photo_ids_order":["1351035987","1351036016","1351036094","1351036121","1351036143","1351036147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0e008a2665f76f58926f9cffe15f1ee.jpg","text":"TemporaryFile(/tmp/multipartBody1517337702872094389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_52_45_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e8db5228ac80ce258017dae769e0529.jpg","text":"TemporaryFile(/tmp/multipartBody7952055287076059553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_52_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff726f7f398e72b7cf47e6e7e88e3aa9.jpg","text":"TemporaryFile(/tmp/multipartBody3399936922969974778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_52_35_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2eb82793da7be7a1d6af2d32478d19f.jpg","text":"TemporaryFile(/tmp/multipartBody6273315543344298430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_53_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf55d1b1a05ecaba979d9dbc10c2e25e.jpg","text":"TemporaryFile(/tmp/multipartBody4935858446854632537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_53_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a51467aaf27129c58848e523a092fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody6955283388532652003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256912827,"filename":"image_10042025_01_52_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036094","file1":"1351036016","file0":"1351035987","file4":"1351036143","file5":"1351036147","file3":"1351036121"},"map_files_photo_id_array":[{"photo_id":"1351036147","filename":"file5"},{"photo_id":"1351036094","filename":"file2"},{"photo_id":"1351036143","filename":"file4"},{"photo_id":"1351036016","filename":"file1"},{"photo_id":"1351035987","filename":"file0"},{"photo_id":"1351036121","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036094":["hashtag1","hashtag2"]},{"1351036121":["hashtag1","hashtag2"]},{"1351036016":["hashtag1","hashtag2"]},{"1351036147":["hashtag1","hashtag2"]},{"1351036143":["hashtag1","hashtag2"]},{"1351035987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036094, 1351036121, 1351036016, 1351036147, 1351036143, 1351035987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21001672744751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:48:32.593936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_25_9518.jpg', '/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_35_10358.jpg', '/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_45_10523.jpg', '/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_55_9393.jpg', '/home/pi/Desktop/images/10042025/01/53/image_10042025_01_54_05_10359.jpg', '/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_25_9518.jpg
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_35_10358.jpg
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_45_10523.jpg
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_53_55_9393.jpg
/home/pi/Desktop/images/10042025/01/53/image_10042025_01_54_05_10359.jpg
/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_25_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036370","1351036396","1351036390","1351036411","1351036377","1351036356"],"photo_ids_order":["1351036356","1351036370","1351036377","1351036390","1351036396","1351036411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97235b464e9a34d10fd02573bf3e0964.jpg","text":"TemporaryFile(/tmp/multipartBody8397891286175755449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_53_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a94a29943995a214522a65e6bcc40b98.jpg","text":"TemporaryFile(/tmp/multipartBody1363014653452440713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_54_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1e4db19f52f261245c9474674aef9b7.jpg","text":"TemporaryFile(/tmp/multipartBody2693737081173611554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_53_55_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e396d35211c64805bd2019e328dbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody930051703745563495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_54_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/beb7d3fc5e3e63a905a03887c02aa0eb.jpg","text":"TemporaryFile(/tmp/multipartBody5821073174594722969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_53_45_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71dc721892b70d1f66ad3a3cb91f9ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2510605629185940466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744256973056,"filename":"image_10042025_01_53_25_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036377","file1":"1351036370","file0":"1351036356","file4":"1351036396","file5":"1351036411","file3":"1351036390"},"map_files_photo_id_array":[{"photo_id":"1351036411","filename":"file5"},{"photo_id":"1351036377","filename":"file2"},{"photo_id":"1351036396","filename":"file4"},{"photo_id":"1351036370","filename":"file1"},{"photo_id":"1351036356","filename":"file0"},{"photo_id":"1351036390","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036370":["hashtag1","hashtag2"]},{"1351036396":["hashtag1","hashtag2"]},{"1351036390":["hashtag1","hashtag2"]},{"1351036411":["hashtag1","hashtag2"]},{"1351036377":["hashtag1","hashtag2"]},{"1351036356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036370, 1351036396, 1351036390, 1351036411, 1351036377, 1351036356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37277173995972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:49:32.806383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_35_10359.jpg', '/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_45_9424.jpg', '/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_55_10439.jpg', '/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_15_9429.jpg', '/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_25_10502.jpg', '/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_35_10359.jpg
/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_45_9424.jpg
/home/pi/Desktop/images/10042025/01/54/image_10042025_01_54_55_10439.jpg
/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_15_9429.jpg
/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_25_10502.jpg
/home/pi/Desktop/images/10042025/01/55/image_10042025_01_55_35_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036547","1351036532","1351036567","1351036540","1351036534","1351036521"],"photo_ids_order":["1351036521","1351036532","1351036534","1351036540","1351036547","1351036567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d2c59eae29104acea06760dfd95d008.jpg","text":"TemporaryFile(/tmp/multipartBody2178970876626722181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_55_25_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ade4851b4ca0646c4ddefbc70dbd702b.jpg","text":"TemporaryFile(/tmp/multipartBody1183325907123622725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_54_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6b895999df19a6e92da1bdc3ea8581b.jpg","text":"TemporaryFile(/tmp/multipartBody4638605561822689771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_55_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ca82aef0ac3df6d4abd6c1cf7641350.jpg","text":"TemporaryFile(/tmp/multipartBody982561084349733438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_55_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aece2f72804796f58737945bd0dcb6d6.jpg","text":"TemporaryFile(/tmp/multipartBody675823671422405937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_54_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f3d0c8b2f2db6ef0b27f24bd8c540ac.jpg","text":"TemporaryFile(/tmp/multipartBody4801489804955211466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257033278,"filename":"image_10042025_01_54_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036534","file1":"1351036532","file0":"1351036521","file4":"1351036547","file5":"1351036567","file3":"1351036540"},"map_files_photo_id_array":[{"photo_id":"1351036567","filename":"file5"},{"photo_id":"1351036534","filename":"file2"},{"photo_id":"1351036547","filename":"file4"},{"photo_id":"1351036532","filename":"file1"},{"photo_id":"1351036521","filename":"file0"},{"photo_id":"1351036540","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036547":["hashtag1","hashtag2"]},{"1351036532":["hashtag1","hashtag2"]},{"1351036567":["hashtag1","hashtag2"]},{"1351036540":["hashtag1","hashtag2"]},{"1351036534":["hashtag1","hashtag2"]},{"1351036521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036547, 1351036532, 1351036567, 1351036540, 1351036534, 1351036521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0962347984314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:50:33.185592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/55/image_10042025_01_56_05_10354.jpg', '/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_15_10367.jpg', '/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_25_9414.jpg', '/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_35_10364.jpg', '/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_44_9458.jpg', '/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_55_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/55/image_10042025_01_56_05_10354.jpg
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_15_10367.jpg
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_25_9414.jpg
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_35_10364.jpg
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_44_9458.jpg
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_56_55_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036670","1351036724","1351036673","1351036654","1351036702","1351036722"],"photo_ids_order":["1351036654","1351036670","1351036673","1351036702","1351036722","1351036724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79224e69797b1b7e435910df5ec07ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8758144137465817811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44199353ad131e1bd9e36147abe7a26f.jpg","text":"TemporaryFile(/tmp/multipartBody4275893098108071287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54ace9eefabb86bd596c2fa8353bea4a.jpg","text":"TemporaryFile(/tmp/multipartBody1964780989182903502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d238df116c48182a00a025653726a27.jpg","text":"TemporaryFile(/tmp/multipartBody7685320138798157539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4349be107fecf6625e2c8b839097374.jpg","text":"TemporaryFile(/tmp/multipartBody4132808935346788872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c574a30267ceb94b26771ae0edef4f6e.jpg","text":"TemporaryFile(/tmp/multipartBody528956063603413275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257093656,"filename":"image_10042025_01_56_44_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036673","file1":"1351036670","file0":"1351036654","file4":"1351036722","file5":"1351036724","file3":"1351036702"},"map_files_photo_id_array":[{"photo_id":"1351036724","filename":"file5"},{"photo_id":"1351036673","filename":"file2"},{"photo_id":"1351036722","filename":"file4"},{"photo_id":"1351036670","filename":"file1"},{"photo_id":"1351036654","filename":"file0"},{"photo_id":"1351036702","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036670":["hashtag1","hashtag2"]},{"1351036724":["hashtag1","hashtag2"]},{"1351036673":["hashtag1","hashtag2"]},{"1351036654":["hashtag1","hashtag2"]},{"1351036702":["hashtag1","hashtag2"]},{"1351036722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036670, 1351036724, 1351036673, 1351036654, 1351036702, 1351036722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88129734992981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:51:32.298192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/56/image_10042025_01_57_05_10475.jpg', '/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_15_9405.jpg', '/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_25_10367.jpg', '/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_45_9356.jpg', '/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_55_10376.jpg', '/home/pi/Desktop/images/10042025/01/57/image_10042025_01_58_05_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/56/image_10042025_01_57_05_10475.jpg
/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_15_9405.jpg
/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_25_10367.jpg
/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_45_9356.jpg
/home/pi/Desktop/images/10042025/01/57/image_10042025_01_57_55_10376.jpg
/home/pi/Desktop/images/10042025/01/57/image_10042025_01_58_05_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036856","1351036841","1351036852","1351036858","1351036845","1351036848"],"photo_ids_order":["1351036841","1351036845","1351036848","1351036852","1351036856","1351036858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa2d6dcdd241422d69e7ebc9eded07cf.jpg","text":"TemporaryFile(/tmp/multipartBody7644276026257479269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_57_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcd12f7e05553c0abb3d351121250848.jpg","text":"TemporaryFile(/tmp/multipartBody4750943967419252575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_57_05_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd9194d1d7d176b06a22ca2c1389e79e.jpg","text":"TemporaryFile(/tmp/multipartBody6981516360513905632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_57_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cfbaa64366ad80ae5f50b00684dcdbc.jpg","text":"TemporaryFile(/tmp/multipartBody3742426866392700091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_58_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc7cd27208e453f1b2f7db9cdd7690f7.jpg","text":"TemporaryFile(/tmp/multipartBody9002016423830257434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_57_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d811f0a3ce345d3998854c4e00f7652.jpg","text":"TemporaryFile(/tmp/multipartBody394049977453688980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257152784,"filename":"image_10042025_01_57_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036848","file1":"1351036845","file0":"1351036841","file4":"1351036856","file5":"1351036858","file3":"1351036852"},"map_files_photo_id_array":[{"photo_id":"1351036858","filename":"file5"},{"photo_id":"1351036848","filename":"file2"},{"photo_id":"1351036856","filename":"file4"},{"photo_id":"1351036845","filename":"file1"},{"photo_id":"1351036841","filename":"file0"},{"photo_id":"1351036852","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036856":["hashtag1","hashtag2"]},{"1351036841":["hashtag1","hashtag2"]},{"1351036852":["hashtag1","hashtag2"]},{"1351036858":["hashtag1","hashtag2"]},{"1351036845":["hashtag1","hashtag2"]},{"1351036848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036856, 1351036841, 1351036852, 1351036858, 1351036845, 1351036848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61614632606506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:52:32.511808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_15_10388.jpg', '/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_25_10515.jpg', '/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_35_9360.jpg', '/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_45_10376.jpg', '/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_55_9392.jpg', '/home/pi/Desktop/images/10042025/01/58/image_10042025_01_59_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_15_10388.jpg
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_25_10515.jpg
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_35_9360.jpg
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_45_10376.jpg
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_58_55_9392.jpg
/home/pi/Desktop/images/10042025/01/58/image_10042025_01_59_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351036958","1351036954","1351036956","1351036944","1351036947","1351036941"],"photo_ids_order":["1351036941","1351036944","1351036947","1351036954","1351036956","1351036958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cca301c81635dc7e0768e660cc95b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody3314253918430684251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_59_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f212810f2da31207172294e459757c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1231432324155735346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_58_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8096c8fc70ac8e999ff9b934f747b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1235371145466767112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_58_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5d13e09885953b276612b1a9275be1f.jpg","text":"TemporaryFile(/tmp/multipartBody4472945736499683365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_58_25_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9c2fcbe48d4fac5fd5170d83ade9cec.jpg","text":"TemporaryFile(/tmp/multipartBody5007086980976048193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_58_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0ffee6f0f61991024f83f007e04f46b.jpg","text":"TemporaryFile(/tmp/multipartBody8507481592163008241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257213007,"filename":"image_10042025_01_58_15_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351036947","file1":"1351036944","file0":"1351036941","file4":"1351036956","file5":"1351036958","file3":"1351036954"},"map_files_photo_id_array":[{"photo_id":"1351036958","filename":"file5"},{"photo_id":"1351036947","filename":"file2"},{"photo_id":"1351036956","filename":"file4"},{"photo_id":"1351036944","filename":"file1"},{"photo_id":"1351036941","filename":"file0"},{"photo_id":"1351036954","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351036958":["hashtag1","hashtag2"]},{"1351036954":["hashtag1","hashtag2"]},{"1351036956":["hashtag1","hashtag2"]},{"1351036944":["hashtag1","hashtag2"]},{"1351036947":["hashtag1","hashtag2"]},{"1351036941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351036958, 1351036954, 1351036956, 1351036944, 1351036947, 1351036941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.377259254455566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:53:32.669085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_25_9400.jpg', '/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_35_10376.jpg', '/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_45_9450.jpg', '/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_55_10375.jpg', '/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_15_10079.jpg', '/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_45_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_25_9400.jpg
/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_35_10376.jpg
/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_45_9450.jpg
/home/pi/Desktop/images/10042025/01/59/image_10042025_01_59_55_10375.jpg
/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_15_10079.jpg
/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_45_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351037024","1351037027","1351037029","1351037020","1351037014","1351037017"],"photo_ids_order":["1351037014","1351037017","1351037020","1351037024","1351037027","1351037029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db1e27e9d9dbfc570c55ebd15e03e077.jpg","text":"TemporaryFile(/tmp/multipartBody8158103552186217412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_01_59_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ac2825f70b918cd1258809ab17adb48.jpg","text":"TemporaryFile(/tmp/multipartBody3653220239643911229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_02_00_15_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4ba901e4cc04e28338dc831ee7ae0de.jpg","text":"TemporaryFile(/tmp/multipartBody3545000652301336437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_02_00_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31c0f5edb5ddb985df952921d1ff916a.jpg","text":"TemporaryFile(/tmp/multipartBody5691303741819519328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_01_59_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e7c5f9ed00872a7ed8f3dec0ce9165d.jpg","text":"TemporaryFile(/tmp/multipartBody2573801230170555158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_01_59_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd62bc4f005ce6d5fc65767e74d64b03.jpg","text":"TemporaryFile(/tmp/multipartBody2289231551937851879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257273131,"filename":"image_10042025_01_59_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351037020","file1":"1351037017","file0":"1351037014","file4":"1351037027","file5":"1351037029","file3":"1351037024"},"map_files_photo_id_array":[{"photo_id":"1351037029","filename":"file5"},{"photo_id":"1351037020","filename":"file2"},{"photo_id":"1351037027","filename":"file4"},{"photo_id":"1351037017","filename":"file1"},{"photo_id":"1351037014","filename":"file0"},{"photo_id":"1351037024","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351037024":["hashtag1","hashtag2"]},{"1351037027":["hashtag1","hashtag2"]},{"1351037029":["hashtag1","hashtag2"]},{"1351037020":["hashtag1","hashtag2"]},{"1351037014":["hashtag1","hashtag2"]},{"1351037017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351037024, 1351037027, 1351037029, 1351037020, 1351037014, 1351037017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.995731592178345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:54:32.658977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_56_10368.jpg', '/home/pi/Desktop/images/10042025/02/00/image_10042025_02_01_05_9368.jpg', '/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_16_10472.jpg', '/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_26_10381.jpg', '/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_35_9412.jpg', '/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_46_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/00/image_10042025_02_00_56_10368.jpg
/home/pi/Desktop/images/10042025/02/00/image_10042025_02_01_05_9368.jpg
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_16_10472.jpg
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_26_10381.jpg
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_35_9412.jpg
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_46_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351037563","1351037500","1351037586","1351037424","1351037594","1351037390"],"photo_ids_order":["1351037390","1351037424","1351037500","1351037563","1351037586","1351037594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7ceaf4276ca17cdee01119e831a85dc.jpg","text":"TemporaryFile(/tmp/multipartBody2128274429525393627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_01_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13d89042af807d0637a5ec8bbed8c632.jpg","text":"TemporaryFile(/tmp/multipartBody5350152497611013980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_01_16_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/924e2c53bee51daed8ae82875a85cc06.jpg","text":"TemporaryFile(/tmp/multipartBody8156847030397583844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_01_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88c65b2458ca4d9978dbe9ee62b6529c.jpg","text":"TemporaryFile(/tmp/multipartBody3142922790103845814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_01_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f85c9e9d057f0e41ad0751510396875.jpg","text":"TemporaryFile(/tmp/multipartBody6821956167293759592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_01_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24569223215dbaae90a3e213ddb336f2.jpg","text":"TemporaryFile(/tmp/multipartBody620656292070707513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257333138,"filename":"image_10042025_02_00_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351037500","file1":"1351037424","file0":"1351037390","file4":"1351037586","file5":"1351037594","file3":"1351037563"},"map_files_photo_id_array":[{"photo_id":"1351037594","filename":"file5"},{"photo_id":"1351037500","filename":"file2"},{"photo_id":"1351037586","filename":"file4"},{"photo_id":"1351037424","filename":"file1"},{"photo_id":"1351037390","filename":"file0"},{"photo_id":"1351037563","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351037563":["hashtag1","hashtag2"]},{"1351037500":["hashtag1","hashtag2"]},{"1351037586":["hashtag1","hashtag2"]},{"1351037424":["hashtag1","hashtag2"]},{"1351037594":["hashtag1","hashtag2"]},{"1351037390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351037563, 1351037500, 1351037586, 1351037424, 1351037594, 1351037390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.259926319122314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:55:33.075753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_55_9394.jpg', '/home/pi/Desktop/images/10042025/02/01/image_10042025_02_02_05_10366.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_16_10380.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_25_9366.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_36_10400.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_01_55_9394.jpg
/home/pi/Desktop/images/10042025/02/01/image_10042025_02_02_05_10366.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_16_10380.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_25_9366.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_36_10400.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351037702","1351037677","1351037680","1351037734","1351037704","1351037712"],"photo_ids_order":["1351037677","1351037680","1351037702","1351037704","1351037712","1351037734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/587f8d48133341daa68feac453fc781c.jpg","text":"TemporaryFile(/tmp/multipartBody7239128994892321068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_02_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a56e6d5bf6745b79194cdb4f45662a8.jpg","text":"TemporaryFile(/tmp/multipartBody1038980884664593909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_01_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b990b8f53c1014d8d5f921bdc5838f25.jpg","text":"TemporaryFile(/tmp/multipartBody3606935278898743530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_02_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff5b40b23b0249551645da9aca1fab4f.jpg","text":"TemporaryFile(/tmp/multipartBody1030867591912341902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_02_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b8cd51859d01fa434ea5c2111fcf689.jpg","text":"TemporaryFile(/tmp/multipartBody5533050204594996362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_02_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba43b2b3b850cf6cd293a33d5d0c43ec.jpg","text":"TemporaryFile(/tmp/multipartBody3846639090531924122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257393557,"filename":"image_10042025_02_02_36_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351037702","file1":"1351037680","file0":"1351037677","file4":"1351037712","file5":"1351037734","file3":"1351037704"},"map_files_photo_id_array":[{"photo_id":"1351037734","filename":"file5"},{"photo_id":"1351037702","filename":"file2"},{"photo_id":"1351037712","filename":"file4"},{"photo_id":"1351037680","filename":"file1"},{"photo_id":"1351037677","filename":"file0"},{"photo_id":"1351037704","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351037702":["hashtag1","hashtag2"]},{"1351037677":["hashtag1","hashtag2"]},{"1351037680":["hashtag1","hashtag2"]},{"1351037734":["hashtag1","hashtag2"]},{"1351037704":["hashtag1","hashtag2"]},{"1351037712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351037702, 1351037677, 1351037680, 1351037734, 1351037704, 1351037712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.304869174957275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:56:33.094752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_55_9485.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_03_06_10457.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_15_9495.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_26_10389.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_35_9361.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_55_9485.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_03_06_10457.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_15_9495.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_26_10389.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_35_9361.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_45_10364.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3920867443084717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:56:43.109635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_55_9485.jpg', '/home/pi/Desktop/images/10042025/02/02/image_10042025_02_03_06_10457.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_15_9495.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_26_10389.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_35_9361.jpg', '/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_02_55_9485.jpg
/home/pi/Desktop/images/10042025/02/02/image_10042025_02_03_06_10457.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_15_9495.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_26_10389.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_35_9361.jpg
/home/pi/Desktop/images/10042025/02/03/image_10042025_02_03_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351037801","1351037810","1351037813","1351037770","1351037787","1351037795"],"photo_ids_order":["1351037770","1351037787","1351037795","1351037801","1351037810","1351037813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee701962f2adc50acaa38c98950408f7.jpg","text":"TemporaryFile(/tmp/multipartBody7396664739855469370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_03_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a34909a4b0d439490de85dcee7461c76.jpg","text":"TemporaryFile(/tmp/multipartBody5360658120964769352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_03_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c74ea426b70e254dd85569ee1c912d1.jpg","text":"TemporaryFile(/tmp/multipartBody6057298196119553679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_03_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ead6a70f267f727dc647d97712dde44a.jpg","text":"TemporaryFile(/tmp/multipartBody6304514087959611882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_02_55_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fa052bbe390441b3531d4205e0253f6.jpg","text":"TemporaryFile(/tmp/multipartBody1988698316184879584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_03_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a75345d96adedb7427e409a57edf9423.jpg","text":"TemporaryFile(/tmp/multipartBody1758204785891796711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257463679,"filename":"image_10042025_02_03_15_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351037795","file1":"1351037787","file0":"1351037770","file4":"1351037810","file5":"1351037813","file3":"1351037801"},"map_files_photo_id_array":[{"photo_id":"1351037813","filename":"file5"},{"photo_id":"1351037795","filename":"file2"},{"photo_id":"1351037810","filename":"file4"},{"photo_id":"1351037787","filename":"file1"},{"photo_id":"1351037770","filename":"file0"},{"photo_id":"1351037801","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351037801":["hashtag1","hashtag2"]},{"1351037810":["hashtag1","hashtag2"]},{"1351037813":["hashtag1","hashtag2"]},{"1351037770":["hashtag1","hashtag2"]},{"1351037787":["hashtag1","hashtag2"]},{"1351037795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351037801, 1351037810, 1351037813, 1351037770, 1351037787, 1351037795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26419711112976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:57:32.308897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_16_10411.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_25_9371.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_36_10356.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_46_10411.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_55_9539.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_05_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_16_10411.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_25_9371.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_36_10356.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_46_10411.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_55_9539.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_05_06_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 05:59:04.852641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_16_10411.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_25_9371.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_36_10356.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_46_10411.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_55_9539.jpg', '/home/pi/Desktop/images/10042025/02/04/image_10042025_02_05_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_16_10411.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_25_9371.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_36_10356.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_46_10411.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_04_55_9539.jpg
/home/pi/Desktop/images/10042025/02/04/image_10042025_02_05_06_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351038517","1351038489","1351038390","1351038435","1351038402","1351038452"],"photo_ids_order":["1351038390","1351038402","1351038435","1351038452","1351038489","1351038517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac199a4bdc46dd635af4049a0c69bee8.jpg","text":"TemporaryFile(/tmp/multipartBody7799400024836985341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_05_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e948207eb89b0c439e049797b434c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7912412882858695639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_04_55_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee5c2176424b252e528c77c9ebb99b15.jpg","text":"TemporaryFile(/tmp/multipartBody1742463892954042130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_04_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a7a6a3d9b1397c809d9341ae20911ed.jpg","text":"TemporaryFile(/tmp/multipartBody590876864574494403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_04_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23865bd92afcb12c9ee053519581dcb5.jpg","text":"TemporaryFile(/tmp/multipartBody5994417273046116239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_04_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13a3c66956e31645af1867d5d0db9b9a.jpg","text":"TemporaryFile(/tmp/multipartBody649906637469251524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257605523,"filename":"image_10042025_02_04_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351038435","file1":"1351038402","file0":"1351038390","file4":"1351038489","file5":"1351038517","file3":"1351038452"},"map_files_photo_id_array":[{"photo_id":"1351038517","filename":"file5"},{"photo_id":"1351038435","filename":"file2"},{"photo_id":"1351038489","filename":"file4"},{"photo_id":"1351038402","filename":"file1"},{"photo_id":"1351038390","filename":"file0"},{"photo_id":"1351038452","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351038517":["hashtag1","hashtag2"]},{"1351038489":["hashtag1","hashtag2"]},{"1351038390":["hashtag1","hashtag2"]},{"1351038435":["hashtag1","hashtag2"]},{"1351038402":["hashtag1","hashtag2"]},{"1351038452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351038517, 1351038489, 1351038390, 1351038435, 1351038402, 1351038452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.958407163619995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 05:59:53.216887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_15_9361.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_26_10462.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_35_9379.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_45_10408.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_56_10368.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_06_05_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_15_9361.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_26_10462.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_35_9379.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_45_10408.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_56_10368.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_06_05_9356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3931007385253906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:00:05.290827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_15_9361.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_26_10462.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_35_9379.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_45_10408.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_56_10368.jpg', '/home/pi/Desktop/images/10042025/02/05/image_10042025_02_06_05_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_15_9361.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_26_10462.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_35_9379.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_45_10408.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_05_56_10368.jpg
/home/pi/Desktop/images/10042025/02/05/image_10042025_02_06_05_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351038712","1351038829","1351038808","1351038798","1351038855","1351038752"],"photo_ids_order":["1351038712","1351038752","1351038798","1351038808","1351038829","1351038855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43ffeec374f93e36deb2073e05131543.jpg","text":"TemporaryFile(/tmp/multipartBody7367340416842769739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_05_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f7745f249479706ff4eb181fcf61f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6539797181777989753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_05_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04deda787dbc2eb5b603869457561b46.jpg","text":"TemporaryFile(/tmp/multipartBody5593843511701632525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_05_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80e3475a38d90e3e221867d77311e359.jpg","text":"TemporaryFile(/tmp/multipartBody7149988108470866906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_05_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6232bcda7c342ae5f75ef9d5b9c175b6.jpg","text":"TemporaryFile(/tmp/multipartBody2600959930564253879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_06_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c0067d3901cf88115ae376f53525ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4557467567328830331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257667469,"filename":"image_10042025_02_05_26_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351038798","file1":"1351038752","file0":"1351038712","file4":"1351038829","file5":"1351038855","file3":"1351038808"},"map_files_photo_id_array":[{"photo_id":"1351038855","filename":"file5"},{"photo_id":"1351038798","filename":"file2"},{"photo_id":"1351038829","filename":"file4"},{"photo_id":"1351038752","filename":"file1"},{"photo_id":"1351038712","filename":"file0"},{"photo_id":"1351038808","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351038712":["hashtag1","hashtag2"]},{"1351038829":["hashtag1","hashtag2"]},{"1351038808":["hashtag1","hashtag2"]},{"1351038798":["hashtag1","hashtag2"]},{"1351038855":["hashtag1","hashtag2"]},{"1351038752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351038712, 1351038829, 1351038808, 1351038798, 1351038855, 1351038752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.515119314193726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:00:44.574244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_16_10418.jpg', '/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_25_9365.jpg', '/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_35_10444.jpg', '/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_46_10430.jpg', '/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_55_9374.jpg', '/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_25_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_16_10418.jpg
/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_25_9365.jpg
/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_35_10444.jpg
/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_46_10430.jpg
/home/pi/Desktop/images/10042025/02/06/image_10042025_02_06_55_9374.jpg
/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_25_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351038917","1351039024","1351038939","1351038974","1351038998","1351038959"],"photo_ids_order":["1351038917","1351038939","1351038959","1351038974","1351038998","1351039024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92e8de0547b5181b2be74f1f678040dd.jpg","text":"TemporaryFile(/tmp/multipartBody4161831912573342831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_06_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbe29de8d2fdf60b833e26034cb1e932.jpg","text":"TemporaryFile(/tmp/multipartBody7412795646731480624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_07_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c84368468370d465373c1b65d7c7985.jpg","text":"TemporaryFile(/tmp/multipartBody9003766694690937481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_06_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bc9917fe7130014469f34b393d4b522.jpg","text":"TemporaryFile(/tmp/multipartBody3522371236068944208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_06_46_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55b4ed2c54ec3e3ee1566a21d4330aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7357533533550914393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_06_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/001692f5ed7054abee0c5572100c58b5.jpg","text":"TemporaryFile(/tmp/multipartBody6221127523152096107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257705068,"filename":"image_10042025_02_06_35_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351038959","file1":"1351038939","file0":"1351038917","file4":"1351038998","file5":"1351039024","file3":"1351038974"},"map_files_photo_id_array":[{"photo_id":"1351039024","filename":"file5"},{"photo_id":"1351038959","filename":"file2"},{"photo_id":"1351038998","filename":"file4"},{"photo_id":"1351038939","filename":"file1"},{"photo_id":"1351038917","filename":"file0"},{"photo_id":"1351038974","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351038917":["hashtag1","hashtag2"]},{"1351039024":["hashtag1","hashtag2"]},{"1351038939":["hashtag1","hashtag2"]},{"1351038974":["hashtag1","hashtag2"]},{"1351038998":["hashtag1","hashtag2"]},{"1351038959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351038917, 1351039024, 1351038939, 1351038974, 1351038998, 1351038959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1634361743927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:01:33.065138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_36_10357.jpg', '/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_45_9352.jpg', '/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_56_10474.jpg', '/home/pi/Desktop/images/10042025/02/07/image_10042025_02_08_05_9360.jpg', '/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_15_10398.jpg', '/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_26_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_36_10357.jpg
/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_45_9352.jpg
/home/pi/Desktop/images/10042025/02/07/image_10042025_02_07_56_10474.jpg
/home/pi/Desktop/images/10042025/02/07/image_10042025_02_08_05_9360.jpg
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_15_10398.jpg
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_26_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351039345","1351039201","1351039389","1351039176","1351039440","1351039280"],"photo_ids_order":["1351039176","1351039201","1351039280","1351039345","1351039389","1351039440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6022d36856fcabbdf75c5f1cbbb3e97d.jpg","text":"TemporaryFile(/tmp/multipartBody4848869424661072896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_08_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c5b41d4c37c545351e85ecafd4980a7.jpg","text":"TemporaryFile(/tmp/multipartBody2845484292422425670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_07_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad076d56f9e7aa337be7010acddd3b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8670771671884328028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_08_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90f545726e84b51779302a7e09025226.jpg","text":"TemporaryFile(/tmp/multipartBody5543346889932153679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_07_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19ca23cb4b2a904b4b97756417a0aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody7194354429912020675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_08_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee2602b2b9e29ef63742b0e2703b0c02.jpg","text":"TemporaryFile(/tmp/multipartBody8536943508531258381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257753551,"filename":"image_10042025_02_07_56_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351039280","file1":"1351039201","file0":"1351039176","file4":"1351039389","file5":"1351039440","file3":"1351039345"},"map_files_photo_id_array":[{"photo_id":"1351039440","filename":"file5"},{"photo_id":"1351039280","filename":"file2"},{"photo_id":"1351039389","filename":"file4"},{"photo_id":"1351039201","filename":"file1"},{"photo_id":"1351039176","filename":"file0"},{"photo_id":"1351039345","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351039345":["hashtag1","hashtag2"]},{"1351039201":["hashtag1","hashtag2"]},{"1351039389":["hashtag1","hashtag2"]},{"1351039176":["hashtag1","hashtag2"]},{"1351039440":["hashtag1","hashtag2"]},{"1351039280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351039345, 1351039201, 1351039389, 1351039176, 1351039440, 1351039280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82607293128967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:02:32.377680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_35_9498.jpg', '/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_46_10460.jpg', '/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_55_9518.jpg', '/home/pi/Desktop/images/10042025/02/08/image_10042025_02_09_06_10469.jpg', '/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_15_9412.jpg', '/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_26_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_35_9498.jpg
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_46_10460.jpg
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_08_55_9518.jpg
/home/pi/Desktop/images/10042025/02/08/image_10042025_02_09_06_10469.jpg
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_15_9412.jpg
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_26_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351040002","1351039734","1351040055","1351039929","1351039778","1351039858"],"photo_ids_order":["1351039734","1351039778","1351039858","1351039929","1351040002","1351040055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71bb1a2972dbffc196e26ccbeb994626.jpg","text":"TemporaryFile(/tmp/multipartBody7811689039708439588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_09_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c1f354e3f7d9fdec32068c15f3ae044.jpg","text":"TemporaryFile(/tmp/multipartBody5261329521093605084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_08_35_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/132cbda7ebc7fb5dbb70b5db9b86d90a.jpg","text":"TemporaryFile(/tmp/multipartBody6601953031635610494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_09_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e5c2e3a8978d5e9c77bc7904aa83523.jpg","text":"TemporaryFile(/tmp/multipartBody1328245105526419365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_09_06_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b932fe5cdb076215ec233dc5cb732c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1075972796868979451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_08_46_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30a419fce3e7d5e65b1ada4b10b83ced.jpg","text":"TemporaryFile(/tmp/multipartBody6120875385799057601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257812850,"filename":"image_10042025_02_08_55_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351039858","file1":"1351039778","file0":"1351039734","file4":"1351040002","file5":"1351040055","file3":"1351039929"},"map_files_photo_id_array":[{"photo_id":"1351040055","filename":"file5"},{"photo_id":"1351039858","filename":"file2"},{"photo_id":"1351040002","filename":"file4"},{"photo_id":"1351039778","filename":"file1"},{"photo_id":"1351039734","filename":"file0"},{"photo_id":"1351039929","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351040002":["hashtag1","hashtag2"]},{"1351039734":["hashtag1","hashtag2"]},{"1351040055":["hashtag1","hashtag2"]},{"1351039929":["hashtag1","hashtag2"]},{"1351039778":["hashtag1","hashtag2"]},{"1351039858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351040002, 1351039734, 1351040055, 1351039929, 1351039778, 1351039858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95282173156738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:03:32.418289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_35_9344.jpg', '/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_45_10372.jpg', '/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_56_10373.jpg', '/home/pi/Desktop/images/10042025/02/09/image_10042025_02_10_05_9367.jpg', '/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_16_10447.jpg', '/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_35_9344.jpg
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_45_10372.jpg
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_09_56_10373.jpg
/home/pi/Desktop/images/10042025/02/09/image_10042025_02_10_05_9367.jpg
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_16_10447.jpg
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_26_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351040533","1351040461","1351040589","1351040394","1351040628","1351040564"],"photo_ids_order":["1351040394","1351040461","1351040533","1351040564","1351040589","1351040628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5564c9b97ac8e977737933648a711811.jpg","text":"TemporaryFile(/tmp/multipartBody2597709010215702133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_09_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d62d45414b651a1e318908d5f4a6798.jpg","text":"TemporaryFile(/tmp/multipartBody7297289930310860330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_09_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a20dbde23cb83dad2e329771e169e80e.jpg","text":"TemporaryFile(/tmp/multipartBody1676700045345345245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_10_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d789dd174f6cd9488d1c377412a14e4.jpg","text":"TemporaryFile(/tmp/multipartBody6683925036194255574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_09_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcd7b3b4718c60a682f12bdce290c467.jpg","text":"TemporaryFile(/tmp/multipartBody8152447532537639814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_10_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6175da71f154f309d1b0d78526bf6a60.jpg","text":"TemporaryFile(/tmp/multipartBody9181660927306720847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257872881,"filename":"image_10042025_02_10_05_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351040533","file1":"1351040461","file0":"1351040394","file4":"1351040589","file5":"1351040628","file3":"1351040564"},"map_files_photo_id_array":[{"photo_id":"1351040628","filename":"file5"},{"photo_id":"1351040533","filename":"file2"},{"photo_id":"1351040589","filename":"file4"},{"photo_id":"1351040461","filename":"file1"},{"photo_id":"1351040394","filename":"file0"},{"photo_id":"1351040564","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351040533":["hashtag1","hashtag2"]},{"1351040461":["hashtag1","hashtag2"]},{"1351040589":["hashtag1","hashtag2"]},{"1351040394":["hashtag1","hashtag2"]},{"1351040628":["hashtag1","hashtag2"]},{"1351040564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351040533, 1351040461, 1351040589, 1351040394, 1351040628, 1351040564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2300009727478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:04:32.603293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_35_9465.jpg', '/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_46_10352.jpg', '/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_55_9388.jpg', '/home/pi/Desktop/images/10042025/02/10/image_10042025_02_11_06_10464.jpg', '/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_15_9356.jpg', '/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_25_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_35_9465.jpg
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_46_10352.jpg
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_10_55_9388.jpg
/home/pi/Desktop/images/10042025/02/10/image_10042025_02_11_06_10464.jpg
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_15_9356.jpg
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_25_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351041244","1351040983","1351041290","1351041405","1351041341","1351041050"],"photo_ids_order":["1351040983","1351041050","1351041244","1351041290","1351041341","1351041405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a77829c0755be46c6355edcfe8320ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5102420748807416270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_10_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0034e08d0135951e031f65665553f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5380879275020031104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_10_35_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fac0836ae03586c4485b2ead43e70d7.jpg","text":"TemporaryFile(/tmp/multipartBody2729329023216678360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_11_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87f3a0dc69cdff0e6ecf05258f365648.jpg","text":"TemporaryFile(/tmp/multipartBody7152502830588194538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_11_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8d60714c06d2a8d5958dd2425413893.jpg","text":"TemporaryFile(/tmp/multipartBody6294561784577200610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_11_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a46cbccddd074f3fffae4fd4c59ee59b.jpg","text":"TemporaryFile(/tmp/multipartBody3839999759197012734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257933071,"filename":"image_10042025_02_10_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351041244","file1":"1351041050","file0":"1351040983","file4":"1351041341","file5":"1351041405","file3":"1351041290"},"map_files_photo_id_array":[{"photo_id":"1351041405","filename":"file5"},{"photo_id":"1351041244","filename":"file2"},{"photo_id":"1351041341","filename":"file4"},{"photo_id":"1351041050","filename":"file1"},{"photo_id":"1351040983","filename":"file0"},{"photo_id":"1351041290","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351041244":["hashtag1","hashtag2"]},{"1351040983":["hashtag1","hashtag2"]},{"1351041290":["hashtag1","hashtag2"]},{"1351041405":["hashtag1","hashtag2"]},{"1351041341":["hashtag1","hashtag2"]},{"1351041050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351041244, 1351040983, 1351041290, 1351041405, 1351041341, 1351041050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.19713830947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:05:32.852992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_36_10371.jpg', '/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_45_9506.jpg', '/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_56_10374.jpg', '/home/pi/Desktop/images/10042025/02/11/image_10042025_02_12_05_9373.jpg', '/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_16_10428.jpg', '/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_26_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_36_10371.jpg
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_45_9506.jpg
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_11_56_10374.jpg
/home/pi/Desktop/images/10042025/02/11/image_10042025_02_12_05_9373.jpg
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_16_10428.jpg
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_26_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351041724","1351041816","1351041770","1351041539","1351041679","1351041565"],"photo_ids_order":["1351041539","1351041565","1351041679","1351041724","1351041770","1351041816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78cfd9d61c60a77754ce299122b0c3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8811858485367838750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_12_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7aabf90b789b2ee3b827660f2245ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody833618048838334909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_12_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c093fc3fa6046f3474335c0e48a93339.jpg","text":"TemporaryFile(/tmp/multipartBody2047597448252135078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_12_16_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/247d4492d0a49568629febb659e10199.jpg","text":"TemporaryFile(/tmp/multipartBody3832819357808932961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_11_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bcf5752fd9ecf208e1069be72c7be89.jpg","text":"TemporaryFile(/tmp/multipartBody7000699975649257347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_11_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82ed645c2609e30351fafe27373dbdbe.jpg","text":"TemporaryFile(/tmp/multipartBody716856093925726345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744257993323,"filename":"image_10042025_02_11_45_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351041679","file1":"1351041565","file0":"1351041539","file4":"1351041770","file5":"1351041816","file3":"1351041724"},"map_files_photo_id_array":[{"photo_id":"1351041816","filename":"file5"},{"photo_id":"1351041679","filename":"file2"},{"photo_id":"1351041770","filename":"file4"},{"photo_id":"1351041565","filename":"file1"},{"photo_id":"1351041539","filename":"file0"},{"photo_id":"1351041724","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351041724":["hashtag1","hashtag2"]},{"1351041816":["hashtag1","hashtag2"]},{"1351041770":["hashtag1","hashtag2"]},{"1351041539":["hashtag1","hashtag2"]},{"1351041679":["hashtag1","hashtag2"]},{"1351041565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351041724, 1351041816, 1351041770, 1351041539, 1351041679, 1351041565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16609287261963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:06:33.072100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_35_9478.jpg', '/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_46_10355.jpg', '/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_55_9374.jpg', '/home/pi/Desktop/images/10042025/02/12/image_10042025_02_13_06_10367.jpg', '/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_16_10354.jpg', '/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_25_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_35_9478.jpg
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_46_10355.jpg
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_12_55_9374.jpg
/home/pi/Desktop/images/10042025/02/12/image_10042025_02_13_06_10367.jpg
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_16_10354.jpg
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_25_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351042095","1351042172","1351042160","1351042139","1351042112","1351042099"],"photo_ids_order":["1351042095","1351042099","1351042112","1351042139","1351042160","1351042172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dfe89b10b923e3aefd398b2a8449a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6053467854579743730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_12_35_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83a10fe7b2c67caea7453a9a8437799f.jpg","text":"TemporaryFile(/tmp/multipartBody5143821863119568367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_13_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d019c67110bcdfcddc658cc8ad996c1.jpg","text":"TemporaryFile(/tmp/multipartBody6567897891247973976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_13_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc5f9ac53e9fb09fc531259023d30fa4.jpg","text":"TemporaryFile(/tmp/multipartBody9126334138888848396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_13_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ad0cbcd4f781107cc3b1cbf3e527412.jpg","text":"TemporaryFile(/tmp/multipartBody6108817860198045808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_12_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84008f6d7ce9222f06c463de34bde7bb.jpg","text":"TemporaryFile(/tmp/multipartBody1241036489075444986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258053532,"filename":"image_10042025_02_12_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351042112","file1":"1351042099","file0":"1351042095","file4":"1351042160","file5":"1351042172","file3":"1351042139"},"map_files_photo_id_array":[{"photo_id":"1351042172","filename":"file5"},{"photo_id":"1351042112","filename":"file2"},{"photo_id":"1351042160","filename":"file4"},{"photo_id":"1351042099","filename":"file1"},{"photo_id":"1351042095","filename":"file0"},{"photo_id":"1351042139","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351042095":["hashtag1","hashtag2"]},{"1351042172":["hashtag1","hashtag2"]},{"1351042160":["hashtag1","hashtag2"]},{"1351042139":["hashtag1","hashtag2"]},{"1351042112":["hashtag1","hashtag2"]},{"1351042099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351042095, 1351042172, 1351042160, 1351042139, 1351042112, 1351042099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.180405378341675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:07:32.253608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_36_10435.jpg', '/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_45_9362.jpg', '/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_56_10486.jpg', '/home/pi/Desktop/images/10042025/02/13/image_10042025_02_14_06_10361.jpg', '/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_15_9427.jpg', '/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_36_10435.jpg
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_45_9362.jpg
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_13_56_10486.jpg
/home/pi/Desktop/images/10042025/02/13/image_10042025_02_14_06_10361.jpg
/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_15_9427.jpg
/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_26_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351042210","1351042239","1351042227","1351042235","1351042217","1351042237"],"photo_ids_order":["1351042210","1351042217","1351042227","1351042235","1351042237","1351042239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1a3245479d7f3f9fe0b132a49816ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8118240381865400352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_13_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8e8d1240e8d2be7413f8094dcf8cbc0.jpg","text":"TemporaryFile(/tmp/multipartBody9069477686538636645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_14_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25f42122a5f8f1d5b54d94c3b07c9456.jpg","text":"TemporaryFile(/tmp/multipartBody1649240854089690844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_13_56_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/680876cb77a2159717fe3ff2cd5d01eb.jpg","text":"TemporaryFile(/tmp/multipartBody3423652379997537413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_14_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a9be8ac016aedd85ef46b4b3204c943.jpg","text":"TemporaryFile(/tmp/multipartBody3543522320091923690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_13_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4dcd5c5af2341632a47f963ef64eaf9.jpg","text":"TemporaryFile(/tmp/multipartBody7019148009213368139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258112723,"filename":"image_10042025_02_14_15_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351042227","file1":"1351042217","file0":"1351042210","file4":"1351042237","file5":"1351042239","file3":"1351042235"},"map_files_photo_id_array":[{"photo_id":"1351042239","filename":"file5"},{"photo_id":"1351042227","filename":"file2"},{"photo_id":"1351042237","filename":"file4"},{"photo_id":"1351042217","filename":"file1"},{"photo_id":"1351042210","filename":"file0"},{"photo_id":"1351042235","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351042210":["hashtag1","hashtag2"]},{"1351042239":["hashtag1","hashtag2"]},{"1351042227":["hashtag1","hashtag2"]},{"1351042235":["hashtag1","hashtag2"]},{"1351042217":["hashtag1","hashtag2"]},{"1351042237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351042210, 1351042239, 1351042227, 1351042235, 1351042217, 1351042237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.561041593551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:08:32.468980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_46_10421.jpg', '/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_56_10405.jpg', '/home/pi/Desktop/images/10042025/02/14/image_10042025_02_15_05_9414.jpg', '/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_16_10415.jpg', '/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_25_9357.jpg', '/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_46_10421.jpg
/home/pi/Desktop/images/10042025/02/14/image_10042025_02_14_56_10405.jpg
/home/pi/Desktop/images/10042025/02/14/image_10042025_02_15_05_9414.jpg
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_16_10415.jpg
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_25_9357.jpg
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351042584","1351042598","1351042550","1351042466","1351042568","1351042525"],"photo_ids_order":["1351042466","1351042525","1351042550","1351042568","1351042584","1351042598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3135599e924cc33695d264231b73bc44.jpg","text":"TemporaryFile(/tmp/multipartBody2318616367105189540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_15_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/816748a59eac70f2c310de1b21c7df85.jpg","text":"TemporaryFile(/tmp/multipartBody1125493219011526942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_15_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/187614924393b9d9382d5e13ae9d3532.jpg","text":"TemporaryFile(/tmp/multipartBody6076689000522389237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_15_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0231157fbfc62de74d7fe66e8363f19a.jpg","text":"TemporaryFile(/tmp/multipartBody4413327642012837630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_14_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4ec36039aa046756023c624d0f5001b.jpg","text":"TemporaryFile(/tmp/multipartBody4058272578192679543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_15_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2fcff847222b645fb527b4463b0838c.jpg","text":"TemporaryFile(/tmp/multipartBody7844471103749309325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258172941,"filename":"image_10042025_02_14_56_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351042550","file1":"1351042525","file0":"1351042466","file4":"1351042584","file5":"1351042598","file3":"1351042568"},"map_files_photo_id_array":[{"photo_id":"1351042598","filename":"file5"},{"photo_id":"1351042550","filename":"file2"},{"photo_id":"1351042584","filename":"file4"},{"photo_id":"1351042525","filename":"file1"},{"photo_id":"1351042466","filename":"file0"},{"photo_id":"1351042568","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351042584":["hashtag1","hashtag2"]},{"1351042598":["hashtag1","hashtag2"]},{"1351042550":["hashtag1","hashtag2"]},{"1351042466":["hashtag1","hashtag2"]},{"1351042568":["hashtag1","hashtag2"]},{"1351042525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351042584, 1351042598, 1351042550, 1351042466, 1351042568, 1351042525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93940734863281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:09:32.680122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_46_10354.jpg', '/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_55_9362.jpg', '/home/pi/Desktop/images/10042025/02/15/image_10042025_02_16_06_10368.jpg', '/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_16_10363.jpg', '/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_25_9476.jpg', '/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_46_10354.jpg
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_15_55_9362.jpg
/home/pi/Desktop/images/10042025/02/15/image_10042025_02_16_06_10368.jpg
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_16_10363.jpg
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_25_9476.jpg
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351042761","1351042743","1351042790","1351042733","1351042738","1351042717"],"photo_ids_order":["1351042717","1351042733","1351042738","1351042743","1351042761","1351042790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80cd3cdfebf2f269467dea91fc9845ab.jpg","text":"TemporaryFile(/tmp/multipartBody87217476439823957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_16_25_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0446889b82ebff2b0edd08c0f40b9377.jpg","text":"TemporaryFile(/tmp/multipartBody1681484330870144867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_16_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f24e1938febcc6c288fc6906badd8766.jpg","text":"TemporaryFile(/tmp/multipartBody1493540988843747204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_16_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb177e2d67a8738607dc99974de649b4.jpg","text":"TemporaryFile(/tmp/multipartBody8246866049462707210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_15_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cae09c03949a5038722f0f9ab011e62.jpg","text":"TemporaryFile(/tmp/multipartBody8926864383237415686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_16_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85ed120c0f1a8d0e7a1ee647be8edc6e.jpg","text":"TemporaryFile(/tmp/multipartBody1315751253960526721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258233161,"filename":"image_10042025_02_15_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351042738","file1":"1351042733","file0":"1351042717","file4":"1351042761","file5":"1351042790","file3":"1351042743"},"map_files_photo_id_array":[{"photo_id":"1351042790","filename":"file5"},{"photo_id":"1351042738","filename":"file2"},{"photo_id":"1351042761","filename":"file4"},{"photo_id":"1351042733","filename":"file1"},{"photo_id":"1351042717","filename":"file0"},{"photo_id":"1351042743","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351042761":["hashtag1","hashtag2"]},{"1351042743":["hashtag1","hashtag2"]},{"1351042790":["hashtag1","hashtag2"]},{"1351042733":["hashtag1","hashtag2"]},{"1351042738":["hashtag1","hashtag2"]},{"1351042717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351042761, 1351042743, 1351042790, 1351042733, 1351042738, 1351042717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.031388998031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:10:32.898396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_45_9363.jpg', '/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_56_10476.jpg', '/home/pi/Desktop/images/10042025/02/16/image_10042025_02_17_06_10371.jpg', '/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_15_9431.jpg', '/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_26_10447.jpg', '/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_45_9363.jpg
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_16_56_10476.jpg
/home/pi/Desktop/images/10042025/02/16/image_10042025_02_17_06_10371.jpg
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_15_9431.jpg
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_26_10447.jpg
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_35_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351042898","1351042891","1351042909","1351042918","1351042903","1351042893"],"photo_ids_order":["1351042891","1351042893","1351042898","1351042903","1351042909","1351042918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b08ac103607ea9d6d8b0a1fb1e0e86b2.jpg","text":"TemporaryFile(/tmp/multipartBody72231777132964625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_17_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfbf6623067fad8a89ed6555e2fb8b49.jpg","text":"TemporaryFile(/tmp/multipartBody7547491288932290407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_16_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06dae004adcd28b813c00d65c2352f7f.jpg","text":"TemporaryFile(/tmp/multipartBody61003046747786027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_17_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52eea8fe786ccb2ba6525051cee5f0fa.jpg","text":"TemporaryFile(/tmp/multipartBody7211220939378450937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_17_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e2467ecf862528494c6f0e90714b74f.jpg","text":"TemporaryFile(/tmp/multipartBody8596841740244987436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_17_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4118a543985cc5b97ae4559d4e25b46f.jpg","text":"TemporaryFile(/tmp/multipartBody3595084118713558716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258293378,"filename":"image_10042025_02_16_56_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351042898","file1":"1351042893","file0":"1351042891","file4":"1351042909","file5":"1351042918","file3":"1351042903"},"map_files_photo_id_array":[{"photo_id":"1351042918","filename":"file5"},{"photo_id":"1351042898","filename":"file2"},{"photo_id":"1351042909","filename":"file4"},{"photo_id":"1351042893","filename":"file1"},{"photo_id":"1351042891","filename":"file0"},{"photo_id":"1351042903","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351042898":["hashtag1","hashtag2"]},{"1351042891":["hashtag1","hashtag2"]},{"1351042909":["hashtag1","hashtag2"]},{"1351042918":["hashtag1","hashtag2"]},{"1351042903":["hashtag1","hashtag2"]},{"1351042893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351042898, 1351042891, 1351042909, 1351042918, 1351042903, 1351042893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28578233718872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:11:33.089235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_46_10438.jpg', '/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_55_9385.jpg', '/home/pi/Desktop/images/10042025/02/17/image_10042025_02_18_05_10387.jpg', '/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_16_10372.jpg', '/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_25_9439.jpg', '/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_36_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_46_10438.jpg
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_17_55_9385.jpg
/home/pi/Desktop/images/10042025/02/17/image_10042025_02_18_05_10387.jpg
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_16_10372.jpg
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_25_9439.jpg
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_36_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043022","1351042968","1351043078","1351043045","1351043071","1351043002"],"photo_ids_order":["1351042968","1351043002","1351043022","1351043045","1351043071","1351043078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c865f02f385123902f384a0cc37695c.jpg","text":"TemporaryFile(/tmp/multipartBody700848134193542009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_18_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/259e6fac6ae6994008784e0a1b323960.jpg","text":"TemporaryFile(/tmp/multipartBody1085222509478104787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_17_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6703d49def3d596fe0d6cdc5ae09f084.jpg","text":"TemporaryFile(/tmp/multipartBody3737344121832307594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_18_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9aba6745c47ee8479c0b0963e9460557.jpg","text":"TemporaryFile(/tmp/multipartBody9125138871425868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_18_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3454a2f0d3176dca0a4220459dfefe2e.jpg","text":"TemporaryFile(/tmp/multipartBody2182155303253835275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_18_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ef5758ce9e9e36d7a43f4891b03e981.jpg","text":"TemporaryFile(/tmp/multipartBody1497012432760185685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258353556,"filename":"image_10042025_02_17_55_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043022","file1":"1351043002","file0":"1351042968","file4":"1351043071","file5":"1351043078","file3":"1351043045"},"map_files_photo_id_array":[{"photo_id":"1351043078","filename":"file5"},{"photo_id":"1351043022","filename":"file2"},{"photo_id":"1351043071","filename":"file4"},{"photo_id":"1351043002","filename":"file1"},{"photo_id":"1351042968","filename":"file0"},{"photo_id":"1351043045","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043022":["hashtag1","hashtag2"]},{"1351042968":["hashtag1","hashtag2"]},{"1351043078":["hashtag1","hashtag2"]},{"1351043045":["hashtag1","hashtag2"]},{"1351043071":["hashtag1","hashtag2"]},{"1351043002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043022, 1351042968, 1351043078, 1351043045, 1351043071, 1351043002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.478702783584595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:12:32.341501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_45_9383.jpg', '/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_56_10464.jpg', '/home/pi/Desktop/images/10042025/02/18/image_10042025_02_19_06_10394.jpg', '/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_15_9466.jpg', '/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_26_10458.jpg', '/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_35_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_45_9383.jpg
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_18_56_10464.jpg
/home/pi/Desktop/images/10042025/02/18/image_10042025_02_19_06_10394.jpg
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_15_9466.jpg
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_26_10458.jpg
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_35_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043163","1351043157","1351043150","1351043153","1351043146","1351043160"],"photo_ids_order":["1351043146","1351043150","1351043153","1351043157","1351043160","1351043163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e53cb377deecea2df297a55491e8b799.jpg","text":"TemporaryFile(/tmp/multipartBody3108363853339139677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_19_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9d6bf856fae7d6df9d05e4974cd65f3.jpg","text":"TemporaryFile(/tmp/multipartBody757596960285532229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_19_15_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b06701f50f28d36b350797f63eb4b091.jpg","text":"TemporaryFile(/tmp/multipartBody4697292372444882226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_18_56_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/360338ca6b034626932873e381c55a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5052078669231584148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_19_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9342e12dde28ff5f8a9317937f19a015.jpg","text":"TemporaryFile(/tmp/multipartBody6203333911829257710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_18_45_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7e3d25b58d2a5a8210dfebedbc0c712.jpg","text":"TemporaryFile(/tmp/multipartBody7517890598141684428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258412821,"filename":"image_10042025_02_19_26_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043153","file1":"1351043150","file0":"1351043146","file4":"1351043160","file5":"1351043163","file3":"1351043157"},"map_files_photo_id_array":[{"photo_id":"1351043163","filename":"file5"},{"photo_id":"1351043153","filename":"file2"},{"photo_id":"1351043160","filename":"file4"},{"photo_id":"1351043150","filename":"file1"},{"photo_id":"1351043146","filename":"file0"},{"photo_id":"1351043157","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043163":["hashtag1","hashtag2"]},{"1351043157":["hashtag1","hashtag2"]},{"1351043150":["hashtag1","hashtag2"]},{"1351043153":["hashtag1","hashtag2"]},{"1351043146":["hashtag1","hashtag2"]},{"1351043160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043163, 1351043157, 1351043150, 1351043153, 1351043146, 1351043160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.475345849990845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:13:32.427000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_46_10460.jpg', '/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_55_9446.jpg', '/home/pi/Desktop/images/10042025/02/19/image_10042025_02_20_05_10382.jpg', '/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_16_10377.jpg', '/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_25_9360.jpg', '/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_36_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_46_10460.jpg
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_19_55_9446.jpg
/home/pi/Desktop/images/10042025/02/19/image_10042025_02_20_05_10382.jpg
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_16_10377.jpg
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_25_9360.jpg
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_36_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043223","1351043226","1351043216","1351043219","1351043210","1351043196"],"photo_ids_order":["1351043196","1351043210","1351043216","1351043219","1351043223","1351043226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab0b82cda504f0b3cd99b3b05260b997.jpg","text":"TemporaryFile(/tmp/multipartBody5829772911137124226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_20_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db4c552368a60ab1f7b7ea2c45e3c2da.jpg","text":"TemporaryFile(/tmp/multipartBody6837496517014188940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_20_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ee01e9310bbc17f6f5e401dc517844a.jpg","text":"TemporaryFile(/tmp/multipartBody4262600840502496906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_20_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f2384f19b3cd75c25c3995e27832fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2954102521686060556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_20_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7fa101629b1c95827ffe7787d56f1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4790757254833501846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_19_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9a802c4f6a075e3e4a198601516d4d4.jpg","text":"TemporaryFile(/tmp/multipartBody7468087169149107675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258472898,"filename":"image_10042025_02_19_46_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043216","file1":"1351043210","file0":"1351043196","file4":"1351043223","file5":"1351043226","file3":"1351043219"},"map_files_photo_id_array":[{"photo_id":"1351043226","filename":"file5"},{"photo_id":"1351043216","filename":"file2"},{"photo_id":"1351043223","filename":"file4"},{"photo_id":"1351043210","filename":"file1"},{"photo_id":"1351043196","filename":"file0"},{"photo_id":"1351043219","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043223":["hashtag1","hashtag2"]},{"1351043226":["hashtag1","hashtag2"]},{"1351043216":["hashtag1","hashtag2"]},{"1351043219":["hashtag1","hashtag2"]},{"1351043210":["hashtag1","hashtag2"]},{"1351043196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043223, 1351043226, 1351043216, 1351043219, 1351043210, 1351043196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.43203568458557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:14:32.563198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_45_9346.jpg', '/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_55_10392.jpg', '/home/pi/Desktop/images/10042025/02/20/image_10042025_02_21_06_10361.jpg', '/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_15_9350.jpg', '/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_25_10379.jpg', '/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_45_9346.jpg
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_20_55_10392.jpg
/home/pi/Desktop/images/10042025/02/20/image_10042025_02_21_06_10361.jpg
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_15_9350.jpg
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_25_10379.jpg
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043396","1351043399","1351043402","1351043377","1351043323","1351043248"],"photo_ids_order":["1351043248","1351043323","1351043377","1351043396","1351043399","1351043402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fd7b4438f124236b9f7607d38ea178b.jpg","text":"TemporaryFile(/tmp/multipartBody1213156579873587938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_21_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05bbe2bd9e83db20aa2ef3758e7a6162.jpg","text":"TemporaryFile(/tmp/multipartBody5007158780288915958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_21_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbbd41d4e316297ce7a659151d47cb5d.jpg","text":"TemporaryFile(/tmp/multipartBody2954867565161427403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_21_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e662a06c5c9fd3298545670ae38b12ad.jpg","text":"TemporaryFile(/tmp/multipartBody4994399161568606222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_21_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e36687be10ed71a8e788e1582033b742.jpg","text":"TemporaryFile(/tmp/multipartBody7040175894698278877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_20_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3582611460f84d7dd127e301c582f642.jpg","text":"TemporaryFile(/tmp/multipartBody8271862616474803862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258533026,"filename":"image_10042025_02_20_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043377","file1":"1351043323","file0":"1351043248","file4":"1351043399","file5":"1351043402","file3":"1351043396"},"map_files_photo_id_array":[{"photo_id":"1351043402","filename":"file5"},{"photo_id":"1351043377","filename":"file2"},{"photo_id":"1351043399","filename":"file4"},{"photo_id":"1351043323","filename":"file1"},{"photo_id":"1351043248","filename":"file0"},{"photo_id":"1351043396","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043396":["hashtag1","hashtag2"]},{"1351043399":["hashtag1","hashtag2"]},{"1351043402":["hashtag1","hashtag2"]},{"1351043377":["hashtag1","hashtag2"]},{"1351043323":["hashtag1","hashtag2"]},{"1351043248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043396, 1351043399, 1351043402, 1351043377, 1351043323, 1351043248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9374680519104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:15:32.753643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_45_9361.jpg', '/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_56_10488.jpg', '/home/pi/Desktop/images/10042025/02/21/image_10042025_02_22_05_9425.jpg', '/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_16_10476.jpg', '/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_25_9392.jpg', '/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_35_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_45_9361.jpg
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_21_56_10488.jpg
/home/pi/Desktop/images/10042025/02/21/image_10042025_02_22_05_9425.jpg
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_16_10476.jpg
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_25_9392.jpg
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_35_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043441","1351043432","1351043452","1351043449","1351043425","1351043445"],"photo_ids_order":["1351043425","1351043432","1351043441","1351043445","1351043449","1351043452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4401ced82887f37227ba085ca34bbfc6.jpg","text":"TemporaryFile(/tmp/multipartBody5979914527170530921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_22_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f290b4c9c92d3649e23eb5864036796d.jpg","text":"TemporaryFile(/tmp/multipartBody3058305284496532795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_21_56_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f495a04b9ff8f1bb118b1f731d2b0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody8116895079812015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_22_35_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df8c035227acfb36d0aa234327dc87b8.jpg","text":"TemporaryFile(/tmp/multipartBody7628867925170848077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_22_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb3c53898921e6630023edd3bb1958ba.jpg","text":"TemporaryFile(/tmp/multipartBody4439242680085782326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_21_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8483d39fa7fd2b2e7bb6704ec1df4139.jpg","text":"TemporaryFile(/tmp/multipartBody7366030187435633431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258593351,"filename":"image_10042025_02_22_16_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043441","file1":"1351043432","file0":"1351043425","file4":"1351043449","file5":"1351043452","file3":"1351043445"},"map_files_photo_id_array":[{"photo_id":"1351043452","filename":"file5"},{"photo_id":"1351043441","filename":"file2"},{"photo_id":"1351043449","filename":"file4"},{"photo_id":"1351043432","filename":"file1"},{"photo_id":"1351043425","filename":"file0"},{"photo_id":"1351043445","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043441":["hashtag1","hashtag2"]},{"1351043432":["hashtag1","hashtag2"]},{"1351043452":["hashtag1","hashtag2"]},{"1351043449":["hashtag1","hashtag2"]},{"1351043425":["hashtag1","hashtag2"]},{"1351043445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043441, 1351043432, 1351043452, 1351043449, 1351043425, 1351043445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21504735946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:16:32.967958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_46_10364.jpg', '/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_55_9355.jpg', '/home/pi/Desktop/images/10042025/02/22/image_10042025_02_23_06_10487.jpg', '/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_15_9380.jpg', '/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_25_10384.jpg', '/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_36_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_46_10364.jpg
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_22_55_9355.jpg
/home/pi/Desktop/images/10042025/02/22/image_10042025_02_23_06_10487.jpg
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_15_9380.jpg
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_25_10384.jpg
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_36_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043486","1351043489","1351043491","1351043476","1351043481","1351043484"],"photo_ids_order":["1351043476","1351043481","1351043484","1351043486","1351043489","1351043491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b99c53995e5c93202a459864b25703d7.jpg","text":"TemporaryFile(/tmp/multipartBody4918992975230801127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_23_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19f17fd1d39e31c78349401349f565ae.jpg","text":"TemporaryFile(/tmp/multipartBody5790231614334185004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_23_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd58707cb0a96676de926de36a8bcea0.jpg","text":"TemporaryFile(/tmp/multipartBody7013476005569636319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_23_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1131b870a8c50fe959557d2da6ae205c.jpg","text":"TemporaryFile(/tmp/multipartBody6415851636944859095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_22_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81a362368fea20641be1a48dd973590d.jpg","text":"TemporaryFile(/tmp/multipartBody6099097904301735237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_22_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb05d3874700259fbe8d9e2eaea86c46.jpg","text":"TemporaryFile(/tmp/multipartBody6260673930038209027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258653488,"filename":"image_10042025_02_23_06_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043484","file1":"1351043481","file0":"1351043476","file4":"1351043489","file5":"1351043491","file3":"1351043486"},"map_files_photo_id_array":[{"photo_id":"1351043491","filename":"file5"},{"photo_id":"1351043484","filename":"file2"},{"photo_id":"1351043489","filename":"file4"},{"photo_id":"1351043481","filename":"file1"},{"photo_id":"1351043476","filename":"file0"},{"photo_id":"1351043486","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043486":["hashtag1","hashtag2"]},{"1351043489":["hashtag1","hashtag2"]},{"1351043491":["hashtag1","hashtag2"]},{"1351043476":["hashtag1","hashtag2"]},{"1351043481":["hashtag1","hashtag2"]},{"1351043484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043486, 1351043489, 1351043491, 1351043476, 1351043481, 1351043484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86248993873596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:17:32.301262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_45_9342.jpg', '/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_56_10481.jpg', '/home/pi/Desktop/images/10042025/02/23/image_10042025_02_24_06_10357.jpg', '/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_15_9422.jpg', '/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_26_10381.jpg', '/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_45_9342.jpg
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_23_56_10481.jpg
/home/pi/Desktop/images/10042025/02/23/image_10042025_02_24_06_10357.jpg
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_15_9422.jpg
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_26_10381.jpg
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043579","1351043629","1351043542","1351043638","1351043592","1351043595"],"photo_ids_order":["1351043542","1351043579","1351043592","1351043595","1351043629","1351043638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a890c73c6a92c3b236b0768481dc57ba.jpg","text":"TemporaryFile(/tmp/multipartBody1721631621652785936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_23_56_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfe374cc6468b8e3eb138f2392cf1991.jpg","text":"TemporaryFile(/tmp/multipartBody4603875971018226845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_24_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d010ee678deea0ad7f9afe3dd27972ad.jpg","text":"TemporaryFile(/tmp/multipartBody8030157931023000651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_23_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee035de4d8501c42d9a30856222a7bab.jpg","text":"TemporaryFile(/tmp/multipartBody1289819300032619589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_24_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/854dcab965d3e33b750c5370ad8a18a4.jpg","text":"TemporaryFile(/tmp/multipartBody2869572187048516138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_24_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41a1059e610aab0def26653893922081.jpg","text":"TemporaryFile(/tmp/multipartBody5241162639347491996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258712766,"filename":"image_10042025_02_24_15_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043592","file1":"1351043579","file0":"1351043542","file4":"1351043629","file5":"1351043638","file3":"1351043595"},"map_files_photo_id_array":[{"photo_id":"1351043638","filename":"file5"},{"photo_id":"1351043592","filename":"file2"},{"photo_id":"1351043629","filename":"file4"},{"photo_id":"1351043579","filename":"file1"},{"photo_id":"1351043542","filename":"file0"},{"photo_id":"1351043595","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043579":["hashtag1","hashtag2"]},{"1351043629":["hashtag1","hashtag2"]},{"1351043542":["hashtag1","hashtag2"]},{"1351043638":["hashtag1","hashtag2"]},{"1351043592":["hashtag1","hashtag2"]},{"1351043595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043579, 1351043629, 1351043542, 1351043638, 1351043592, 1351043595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26755475997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:18:32.454553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_46_10465.jpg', '/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_56_10380.jpg', '/home/pi/Desktop/images/10042025/02/24/image_10042025_02_25_05_9407.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_16_10364.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_25_9368.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_36_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_46_10465.jpg
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_24_56_10380.jpg
/home/pi/Desktop/images/10042025/02/24/image_10042025_02_25_05_9407.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_16_10364.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_25_9368.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_36_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043771","1351043782","1351043806","1351043755","1351043775","1351043784"],"photo_ids_order":["1351043755","1351043771","1351043775","1351043782","1351043784","1351043806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77deab8004e7e566d6065fe839697125.jpg","text":"TemporaryFile(/tmp/multipartBody2544179478050676229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_24_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a98a2d3aa4e4c046d95571d81544c80f.jpg","text":"TemporaryFile(/tmp/multipartBody7135743112282524323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_25_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdc901c35818c961fbd9ed7fa46dfa34.jpg","text":"TemporaryFile(/tmp/multipartBody5964168556865554914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_25_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4193b6e1bf3f3922c63e631ff0ebb3a2.jpg","text":"TemporaryFile(/tmp/multipartBody182540710775400445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_24_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c73986e1bc87c8a5406e062b982b7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7912108297220930151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_25_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a04f77b7295190eea832e20e11f6294d.jpg","text":"TemporaryFile(/tmp/multipartBody3987891129807018429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258772927,"filename":"image_10042025_02_25_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043775","file1":"1351043771","file0":"1351043755","file4":"1351043784","file5":"1351043806","file3":"1351043782"},"map_files_photo_id_array":[{"photo_id":"1351043806","filename":"file5"},{"photo_id":"1351043775","filename":"file2"},{"photo_id":"1351043784","filename":"file4"},{"photo_id":"1351043771","filename":"file1"},{"photo_id":"1351043755","filename":"file0"},{"photo_id":"1351043782","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043771":["hashtag1","hashtag2"]},{"1351043782":["hashtag1","hashtag2"]},{"1351043806":["hashtag1","hashtag2"]},{"1351043755":["hashtag1","hashtag2"]},{"1351043775":["hashtag1","hashtag2"]},{"1351043784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043771, 1351043782, 1351043806, 1351043755, 1351043775, 1351043784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00197958946228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:19:32.667829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_46_10374.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_55_9492.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_26_06_10389.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_15_9342.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_25_10383.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_46_10374.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_55_9492.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_26_06_10389.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_15_9342.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_25_10383.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_36_10368.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4005305767059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:19:42.762787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_46_10374.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_55_9492.jpg', '/home/pi/Desktop/images/10042025/02/25/image_10042025_02_26_06_10389.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_15_9342.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_25_10383.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_46_10374.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_25_55_9492.jpg
/home/pi/Desktop/images/10042025/02/25/image_10042025_02_26_06_10389.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_15_9342.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_25_10383.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351043937","1351043904","1351043912","1351043941","1351043944","1351043934"],"photo_ids_order":["1351043904","1351043912","1351043934","1351043937","1351043941","1351043944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39c9dc97d27352220f97971df1faac1c.jpg","text":"TemporaryFile(/tmp/multipartBody4703950783416370423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_26_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cbc44940eeb7980a2d1c12e16680ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2663053696774395007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_25_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf54bc6246d45c34fb7a1aab351fd863.jpg","text":"TemporaryFile(/tmp/multipartBody3764692886088826688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_25_55_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a18e0480d84de9c4844551077fa3abcf.jpg","text":"TemporaryFile(/tmp/multipartBody2208808217476063445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_26_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcc22452777415c9c042fcfae96be442.jpg","text":"TemporaryFile(/tmp/multipartBody3035821823939994121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_26_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23f6f51322aff629a0dd4356872d99ef.jpg","text":"TemporaryFile(/tmp/multipartBody7822398404805981149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258843257,"filename":"image_10042025_02_26_06_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351043934","file1":"1351043912","file0":"1351043904","file4":"1351043941","file5":"1351043944","file3":"1351043937"},"map_files_photo_id_array":[{"photo_id":"1351043944","filename":"file5"},{"photo_id":"1351043934","filename":"file2"},{"photo_id":"1351043941","filename":"file4"},{"photo_id":"1351043912","filename":"file1"},{"photo_id":"1351043904","filename":"file0"},{"photo_id":"1351043937","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351043937":["hashtag1","hashtag2"]},{"1351043904":["hashtag1","hashtag2"]},{"1351043912":["hashtag1","hashtag2"]},{"1351043941":["hashtag1","hashtag2"]},{"1351043944":["hashtag1","hashtag2"]},{"1351043934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351043937, 1351043904, 1351043912, 1351043941, 1351043944, 1351043934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17150545120239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:20:32.970635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_45_9364.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_56_10463.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_27_05_9364.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_15_10358.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_26_10379.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_45_9364.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_56_10463.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_27_05_9364.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_15_10358.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_26_10379.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_35_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38573789596557617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:20:42.938256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_45_9364.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_56_10463.jpg', '/home/pi/Desktop/images/10042025/02/26/image_10042025_02_27_05_9364.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_15_10358.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_26_10379.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_45_9364.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_26_56_10463.jpg
/home/pi/Desktop/images/10042025/02/26/image_10042025_02_27_05_9364.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_15_10358.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_26_10379.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_35_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044269","1351044235","1351044264","1351044258","1351044228","1351044222"],"photo_ids_order":["1351044222","1351044228","1351044235","1351044258","1351044264","1351044269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acfd657399eb0a0c4ddf5ef56a1eec07.jpg","text":"TemporaryFile(/tmp/multipartBody3464401872484916958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_27_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd08003f64fd0cc4b1cee3cf0dd2f5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8354962984278778717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_27_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aecdef0eb69e55d3736df1c375373945.jpg","text":"TemporaryFile(/tmp/multipartBody7363007692072018955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_27_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77ed016a3eeb2e86d957c81c8b4ade77.jpg","text":"TemporaryFile(/tmp/multipartBody2169524880952395773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_27_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3b13ff97a2733c7af0dde1e07078bde.jpg","text":"TemporaryFile(/tmp/multipartBody3319144623753437579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_26_56_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0639a84255740f7fd78905ba32c39e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7361774406645995556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258903454,"filename":"image_10042025_02_26_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044235","file1":"1351044228","file0":"1351044222","file4":"1351044264","file5":"1351044269","file3":"1351044258"},"map_files_photo_id_array":[{"photo_id":"1351044269","filename":"file5"},{"photo_id":"1351044235","filename":"file2"},{"photo_id":"1351044264","filename":"file4"},{"photo_id":"1351044228","filename":"file1"},{"photo_id":"1351044222","filename":"file0"},{"photo_id":"1351044258","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044269":["hashtag1","hashtag2"]},{"1351044235":["hashtag1","hashtag2"]},{"1351044264":["hashtag1","hashtag2"]},{"1351044258":["hashtag1","hashtag2"]},{"1351044228":["hashtag1","hashtag2"]},{"1351044222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044269, 1351044235, 1351044264, 1351044258, 1351044228, 1351044222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2929425239563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:21:32.300178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_46_10363.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_56_10420.jpg', '/home/pi/Desktop/images/10042025/02/27/image_10042025_02_28_05_9499.jpg', '/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_16_10362.jpg', '/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_25_9404.jpg', '/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_36_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_46_10363.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_27_56_10420.jpg
/home/pi/Desktop/images/10042025/02/27/image_10042025_02_28_05_9499.jpg
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_16_10362.jpg
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_25_9404.jpg
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_36_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044284","1351044311","1351044286","1351044280","1351044334","1351044282"],"photo_ids_order":["1351044280","1351044282","1351044284","1351044286","1351044311","1351044334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3256235c59a5644274cf6977c06bb47.jpg","text":"TemporaryFile(/tmp/multipartBody2822233990579510646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_28_05_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4ecd81c32ee31daf698087992b70519.jpg","text":"TemporaryFile(/tmp/multipartBody6205098167963733636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_28_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/816c8c0ac8ba1ad7a2cecf26a9956e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4394833001030448346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_28_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d779b9452e9134dee072c586027947e.jpg","text":"TemporaryFile(/tmp/multipartBody1596430665067902039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_27_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1eec00260a5bcd8103f8149644ddff75.jpg","text":"TemporaryFile(/tmp/multipartBody6968080497732569963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_28_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7513f1f7813136657837440026d065b8.jpg","text":"TemporaryFile(/tmp/multipartBody6722766071706953644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744258952761,"filename":"image_10042025_02_27_56_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044284","file1":"1351044282","file0":"1351044280","file4":"1351044311","file5":"1351044334","file3":"1351044286"},"map_files_photo_id_array":[{"photo_id":"1351044334","filename":"file5"},{"photo_id":"1351044284","filename":"file2"},{"photo_id":"1351044311","filename":"file4"},{"photo_id":"1351044282","filename":"file1"},{"photo_id":"1351044280","filename":"file0"},{"photo_id":"1351044286","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044284":["hashtag1","hashtag2"]},{"1351044311":["hashtag1","hashtag2"]},{"1351044286":["hashtag1","hashtag2"]},{"1351044280":["hashtag1","hashtag2"]},{"1351044334":["hashtag1","hashtag2"]},{"1351044282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044284, 1351044311, 1351044286, 1351044280, 1351044334, 1351044282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45487093925476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:22:32.336233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_46_10358.jpg', '/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_55_9484.jpg', '/home/pi/Desktop/images/10042025/02/28/image_10042025_02_29_06_10363.jpg', '/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_15_9397.jpg', '/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_26_10367.jpg', '/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_46_10358.jpg
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_28_55_9484.jpg
/home/pi/Desktop/images/10042025/02/28/image_10042025_02_29_06_10363.jpg
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_15_9397.jpg
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_26_10367.jpg
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_36_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044422","1351044503","1351044419","1351044424","1351044477","1351044444"],"photo_ids_order":["1351044419","1351044422","1351044424","1351044444","1351044477","1351044503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a35e2bf5006719998b4235fe8beb9d76.jpg","text":"TemporaryFile(/tmp/multipartBody7496017637983728661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_28_55_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77884346dff438d59e675d7fa3ec7633.jpg","text":"TemporaryFile(/tmp/multipartBody1875893644117743965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_29_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/318b37b06105ab5ef0a1e2f1e3b3d3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5523743034343586517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_28_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c93e7f1ad82a532ccae424f0cad270d8.jpg","text":"TemporaryFile(/tmp/multipartBody8703532885765069547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_29_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b049ab67045d28f83cdbbd82e5ae250.jpg","text":"TemporaryFile(/tmp/multipartBody3231916542859361165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_29_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fbe0fdd64777f5cbd671d038a29b3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3110719494550591681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259012798,"filename":"image_10042025_02_29_15_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044424","file1":"1351044422","file0":"1351044419","file4":"1351044477","file5":"1351044503","file3":"1351044444"},"map_files_photo_id_array":[{"photo_id":"1351044503","filename":"file5"},{"photo_id":"1351044424","filename":"file2"},{"photo_id":"1351044477","filename":"file4"},{"photo_id":"1351044422","filename":"file1"},{"photo_id":"1351044419","filename":"file0"},{"photo_id":"1351044444","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044422":["hashtag1","hashtag2"]},{"1351044503":["hashtag1","hashtag2"]},{"1351044419":["hashtag1","hashtag2"]},{"1351044424":["hashtag1","hashtag2"]},{"1351044477":["hashtag1","hashtag2"]},{"1351044444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044422, 1351044503, 1351044419, 1351044424, 1351044477, 1351044444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.842698097229004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:23:32.666901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_45_9503.jpg', '/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_56_10389.jpg', '/home/pi/Desktop/images/10042025/02/29/image_10042025_02_30_05_9420.jpg', '/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_16_10433.jpg', '/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_25_9364.jpg', '/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_35_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_45_9503.jpg
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_29_56_10389.jpg
/home/pi/Desktop/images/10042025/02/29/image_10042025_02_30_05_9420.jpg
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_16_10433.jpg
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_25_9364.jpg
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_35_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044692","1351044674","1351044704","1351044601","1351044654","1351044627"],"photo_ids_order":["1351044601","1351044627","1351044654","1351044674","1351044692","1351044704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ead2cff6305d2de0646ef2e580e22ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1094523224509063112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_30_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/178d97bfd1ec74b62ccd45c73ec6aa93.jpg","text":"TemporaryFile(/tmp/multipartBody7546790662898768505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_30_16_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/123c5143d89479d0493366d1c0262a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3445895563482968835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_30_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f9f514700c71e0bc3ecfe7568af0626.jpg","text":"TemporaryFile(/tmp/multipartBody2877628990101503205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_29_45_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a54f21807243cb40da1210046361fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6619251976025849481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_30_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/629e1f0e62c0b1d2970a5cabf0466b51.jpg","text":"TemporaryFile(/tmp/multipartBody5183156320835137366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259073141,"filename":"image_10042025_02_29_56_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044654","file1":"1351044627","file0":"1351044601","file4":"1351044692","file5":"1351044704","file3":"1351044674"},"map_files_photo_id_array":[{"photo_id":"1351044704","filename":"file5"},{"photo_id":"1351044654","filename":"file2"},{"photo_id":"1351044692","filename":"file4"},{"photo_id":"1351044627","filename":"file1"},{"photo_id":"1351044601","filename":"file0"},{"photo_id":"1351044674","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044692":["hashtag1","hashtag2"]},{"1351044674":["hashtag1","hashtag2"]},{"1351044704":["hashtag1","hashtag2"]},{"1351044601":["hashtag1","hashtag2"]},{"1351044654":["hashtag1","hashtag2"]},{"1351044627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044692, 1351044674, 1351044704, 1351044601, 1351044654, 1351044627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4113187789917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:24:32.748872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_46_10360.jpg', '/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_55_9359.jpg', '/home/pi/Desktop/images/10042025/02/30/image_10042025_02_31_05_10358.jpg', '/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_16_10357.jpg', '/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_25_9361.jpg', '/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_36_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_46_10360.jpg
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_30_55_9359.jpg
/home/pi/Desktop/images/10042025/02/30/image_10042025_02_31_05_10358.jpg
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_16_10357.jpg
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_25_9361.jpg
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_36_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044824","1351044818","1351044826","1351044814","1351044808","1351044822"],"photo_ids_order":["1351044808","1351044814","1351044818","1351044822","1351044824","1351044826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c818f89bf12df07eda2aa59b4982d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6112569370393773045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_31_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f317f3b93879d7a9064b166e35ecbf8.jpg","text":"TemporaryFile(/tmp/multipartBody2076816306707751362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_31_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/547264ef3cb6174ba84b44beead56953.jpg","text":"TemporaryFile(/tmp/multipartBody1308950629645499125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_31_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/925a2e467e2c44dce7d5391271cc3b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7215118034397737421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_30_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5190a4a15f1388bb49dbb073e9b1619c.jpg","text":"TemporaryFile(/tmp/multipartBody8838170053432833747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_30_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c25bde887ece1a9a39e5dc090acf93e.jpg","text":"TemporaryFile(/tmp/multipartBody8523612855986282898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259133203,"filename":"image_10042025_02_31_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044818","file1":"1351044814","file0":"1351044808","file4":"1351044824","file5":"1351044826","file3":"1351044822"},"map_files_photo_id_array":[{"photo_id":"1351044826","filename":"file5"},{"photo_id":"1351044818","filename":"file2"},{"photo_id":"1351044824","filename":"file4"},{"photo_id":"1351044814","filename":"file1"},{"photo_id":"1351044808","filename":"file0"},{"photo_id":"1351044822","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044824":["hashtag1","hashtag2"]},{"1351044818":["hashtag1","hashtag2"]},{"1351044826":["hashtag1","hashtag2"]},{"1351044814":["hashtag1","hashtag2"]},{"1351044808":["hashtag1","hashtag2"]},{"1351044822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044824, 1351044818, 1351044826, 1351044814, 1351044808, 1351044822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48766899108887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:25:33.200866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_45_9375.jpg', '/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_55_10372.jpg', '/home/pi/Desktop/images/10042025/02/31/image_10042025_02_32_06_10347.jpg', '/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_15_9426.jpg', '/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_25_10351.jpg', '/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_45_9375.jpg
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_31_55_10372.jpg
/home/pi/Desktop/images/10042025/02/31/image_10042025_02_32_06_10347.jpg
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_15_9426.jpg
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_25_10351.jpg
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_36_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044875","1351044860","1351044868","1351044864","1351044873","1351044855"],"photo_ids_order":["1351044855","1351044860","1351044864","1351044868","1351044873","1351044875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0f5a83227f1b17a18be5431d990faa6.jpg","text":"TemporaryFile(/tmp/multipartBody5662263260716364356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_32_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c68ebeee05457acc91f4d5401b72874f.jpg","text":"TemporaryFile(/tmp/multipartBody2209274601934822200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_31_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84fea5f38b1c73767d1d5193a96d36bd.jpg","text":"TemporaryFile(/tmp/multipartBody2410988145596758635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_32_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/caadb7d1ee7b11cb13efe7c2f07aca5a.jpg","text":"TemporaryFile(/tmp/multipartBody2914436910065057437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_32_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9692a6ec4ce12191a2539495fb53c292.jpg","text":"TemporaryFile(/tmp/multipartBody2492846544269326981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_32_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bf6d240c8295d7ab53b0039dd89e643.jpg","text":"TemporaryFile(/tmp/multipartBody3252004590036806155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259193672,"filename":"image_10042025_02_31_45_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044864","file1":"1351044860","file0":"1351044855","file4":"1351044873","file5":"1351044875","file3":"1351044868"},"map_files_photo_id_array":[{"photo_id":"1351044875","filename":"file5"},{"photo_id":"1351044864","filename":"file2"},{"photo_id":"1351044873","filename":"file4"},{"photo_id":"1351044860","filename":"file1"},{"photo_id":"1351044855","filename":"file0"},{"photo_id":"1351044868","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044875":["hashtag1","hashtag2"]},{"1351044860":["hashtag1","hashtag2"]},{"1351044868":["hashtag1","hashtag2"]},{"1351044864":["hashtag1","hashtag2"]},{"1351044873":["hashtag1","hashtag2"]},{"1351044855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044875, 1351044860, 1351044868, 1351044864, 1351044873, 1351044855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48743796348572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:26:32.178484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_45_9430.jpg', '/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_56_10438.jpg', '/home/pi/Desktop/images/10042025/02/32/image_10042025_02_33_05_9396.jpg', '/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_15_10359.jpg', '/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_26_10383.jpg', '/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_35_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_45_9430.jpg
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_32_56_10438.jpg
/home/pi/Desktop/images/10042025/02/32/image_10042025_02_33_05_9396.jpg
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_15_10359.jpg
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_26_10383.jpg
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_35_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351044906","1351044920","1351044940","1351044901","1351044930","1351044948"],"photo_ids_order":["1351044901","1351044906","1351044920","1351044930","1351044940","1351044948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/843506ebd087a49412017a6722d110c0.jpg","text":"TemporaryFile(/tmp/multipartBody1842283374194418005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_32_56_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96df11191f85fd4b5e84d3a42d194bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3228856879278190269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_33_05_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/193ef38f425fec26d493d7f5748eb387.jpg","text":"TemporaryFile(/tmp/multipartBody1692802502953600518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_33_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e195f4b92def78184da23d8e9cba255.jpg","text":"TemporaryFile(/tmp/multipartBody5697355800066758711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_32_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eda1d15debba448c4dde7506172aad5e.jpg","text":"TemporaryFile(/tmp/multipartBody1201584239670408448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_33_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d43d2da73e5b8e810b6184b99a0fdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3002911766226417600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259255703,"filename":"image_10042025_02_33_35_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351044920","file1":"1351044906","file0":"1351044901","file4":"1351044940","file5":"1351044948","file3":"1351044930"},"map_files_photo_id_array":[{"photo_id":"1351044948","filename":"file5"},{"photo_id":"1351044920","filename":"file2"},{"photo_id":"1351044940","filename":"file4"},{"photo_id":"1351044906","filename":"file1"},{"photo_id":"1351044901","filename":"file0"},{"photo_id":"1351044930","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351044906":["hashtag1","hashtag2"]},{"1351044920":["hashtag1","hashtag2"]},{"1351044940":["hashtag1","hashtag2"]},{"1351044901":["hashtag1","hashtag2"]},{"1351044930":["hashtag1","hashtag2"]},{"1351044948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351044906, 1351044920, 1351044940, 1351044901, 1351044930, 1351044948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3940269947052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:27:32.341196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_46_10352.jpg', '/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_55_9364.jpg', '/home/pi/Desktop/images/10042025/02/33/image_10042025_02_34_05_10368.jpg', '/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_16_10351.jpg', '/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_25_9357.jpg', '/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_36_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_46_10352.jpg
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_33_55_9364.jpg
/home/pi/Desktop/images/10042025/02/33/image_10042025_02_34_05_10368.jpg
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_16_10351.jpg
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_25_9357.jpg
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_36_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045130","1351045063","1351045056","1351045059","1351045119","1351045052"],"photo_ids_order":["1351045052","1351045056","1351045059","1351045063","1351045119","1351045130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd040ec477058cacbec0adfa1228bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody4601302351566840867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_34_36_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/791ef1915e05fcb56115a514cd884cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8205205151295731267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_34_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f8b949c174c8a6b97cbda9366710249.jpg","text":"TemporaryFile(/tmp/multipartBody4454705816782975512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_33_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/102ac6472a8dcf73016775bf31714767.jpg","text":"TemporaryFile(/tmp/multipartBody173499080830426919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_34_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4464025eb36d71b4c9f9bd0bf9df4004.jpg","text":"TemporaryFile(/tmp/multipartBody5500394275360272014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_34_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da6f2f7757c7f1f44e9461ffa4166af2.jpg","text":"TemporaryFile(/tmp/multipartBody8832112057010662466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259312817,"filename":"image_10042025_02_33_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045059","file1":"1351045056","file0":"1351045052","file4":"1351045119","file5":"1351045130","file3":"1351045063"},"map_files_photo_id_array":[{"photo_id":"1351045130","filename":"file5"},{"photo_id":"1351045059","filename":"file2"},{"photo_id":"1351045119","filename":"file4"},{"photo_id":"1351045056","filename":"file1"},{"photo_id":"1351045052","filename":"file0"},{"photo_id":"1351045063","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045130":["hashtag1","hashtag2"]},{"1351045063":["hashtag1","hashtag2"]},{"1351045056":["hashtag1","hashtag2"]},{"1351045059":["hashtag1","hashtag2"]},{"1351045119":["hashtag1","hashtag2"]},{"1351045052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045130, 1351045063, 1351045056, 1351045059, 1351045119, 1351045052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07458424568176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:28:32.481424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_45_9465.jpg', '/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_55_10370.jpg', '/home/pi/Desktop/images/10042025/02/34/image_10042025_02_35_06_10388.jpg', '/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_15_9459.jpg', '/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_26_10356.jpg', '/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_45_9465.jpg
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_34_55_10370.jpg
/home/pi/Desktop/images/10042025/02/34/image_10042025_02_35_06_10388.jpg
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_15_9459.jpg
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_26_10356.jpg
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_35_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045399","1351045444","1351045386","1351045452","1351045389","1351045434"],"photo_ids_order":["1351045386","1351045389","1351045399","1351045434","1351045444","1351045452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fd4c116e9bbfb8f610d3ea2debe9440.jpg","text":"TemporaryFile(/tmp/multipartBody6562438112812109742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_35_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15e3ff100a39d1843d982887c333fd85.jpg","text":"TemporaryFile(/tmp/multipartBody8069250327534969978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_35_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0598f73450873c89c5564a4a85138fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7875734567630425224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_34_45_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea3b03902fb5b71e5a909758142b2b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1403918358300194258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_35_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/844c840b3e5cde59cb08280012719edd.jpg","text":"TemporaryFile(/tmp/multipartBody1971393503667285780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_34_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2dfe0616093ce85b717318678b00b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2367931229591345451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259372950,"filename":"image_10042025_02_35_15_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045399","file1":"1351045389","file0":"1351045386","file4":"1351045444","file5":"1351045452","file3":"1351045434"},"map_files_photo_id_array":[{"photo_id":"1351045452","filename":"file5"},{"photo_id":"1351045399","filename":"file2"},{"photo_id":"1351045444","filename":"file4"},{"photo_id":"1351045389","filename":"file1"},{"photo_id":"1351045386","filename":"file0"},{"photo_id":"1351045434","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045399":["hashtag1","hashtag2"]},{"1351045444":["hashtag1","hashtag2"]},{"1351045386":["hashtag1","hashtag2"]},{"1351045452":["hashtag1","hashtag2"]},{"1351045389":["hashtag1","hashtag2"]},{"1351045434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045399, 1351045444, 1351045386, 1351045452, 1351045389, 1351045434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.480326890945435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:29:32.590029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_46_10467.jpg', '/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_56_10361.jpg', '/home/pi/Desktop/images/10042025/02/35/image_10042025_02_36_05_9457.jpg', '/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_16_10363.jpg', '/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_25_9360.jpg', '/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_35_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_46_10467.jpg
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_35_56_10361.jpg
/home/pi/Desktop/images/10042025/02/35/image_10042025_02_36_05_9457.jpg
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_16_10363.jpg
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_25_9360.jpg
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_35_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045591","1351045579","1351045564","1351045546","1351045533","1351045530"],"photo_ids_order":["1351045530","1351045533","1351045546","1351045564","1351045579","1351045591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1055e5659b3466cc638a3a987e98449e.jpg","text":"TemporaryFile(/tmp/multipartBody8020055145824543653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_36_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0c97f0b63fccbd8a6e9f7a379b4f05f.jpg","text":"TemporaryFile(/tmp/multipartBody2328243942574352887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_36_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52fc971138f2f8b99d54dd7a9cec3087.jpg","text":"TemporaryFile(/tmp/multipartBody3598254811162304525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_36_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a336a6aecdcdcd6fdd281b7e5df4f42.jpg","text":"TemporaryFile(/tmp/multipartBody8735141266915351383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_36_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac0701689bcddab62b5f0c84c3f44a53.jpg","text":"TemporaryFile(/tmp/multipartBody8256317528445668319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_35_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b289d311e9621417f9e2fe83f7b5671.jpg","text":"TemporaryFile(/tmp/multipartBody1742794386053059879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259433053,"filename":"image_10042025_02_35_46_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045546","file1":"1351045533","file0":"1351045530","file4":"1351045579","file5":"1351045591","file3":"1351045564"},"map_files_photo_id_array":[{"photo_id":"1351045591","filename":"file5"},{"photo_id":"1351045546","filename":"file2"},{"photo_id":"1351045579","filename":"file4"},{"photo_id":"1351045533","filename":"file1"},{"photo_id":"1351045530","filename":"file0"},{"photo_id":"1351045564","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045591":["hashtag1","hashtag2"]},{"1351045579":["hashtag1","hashtag2"]},{"1351045564":["hashtag1","hashtag2"]},{"1351045546":["hashtag1","hashtag2"]},{"1351045533":["hashtag1","hashtag2"]},{"1351045530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045591, 1351045579, 1351045564, 1351045546, 1351045533, 1351045530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44746398925781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:30:32.759167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_46_10428.jpg', '/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_55_9470.jpg', '/home/pi/Desktop/images/10042025/02/36/image_10042025_02_37_06_10347.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_15_9381.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_25_10373.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_36_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_46_10428.jpg
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_36_55_9470.jpg
/home/pi/Desktop/images/10042025/02/36/image_10042025_02_37_06_10347.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_15_9381.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_25_10373.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_36_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045718","1351045723","1351045719","1351045713","1351045716","1351045721"],"photo_ids_order":["1351045713","1351045716","1351045718","1351045719","1351045721","1351045723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43f30ea820bb1b77039789aebb2f7d98.jpg","text":"TemporaryFile(/tmp/multipartBody4363731272629759788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_37_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd957fcd1227c2a30c680a1352424662.jpg","text":"TemporaryFile(/tmp/multipartBody2258113773022379284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_37_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74b48b2bed95522ad13b4821e8f08989.jpg","text":"TemporaryFile(/tmp/multipartBody8193127016139300031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_37_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/100da24f5c5f8872a9b3c9113bdd9901.jpg","text":"TemporaryFile(/tmp/multipartBody5467117587087500155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_36_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3d579900ac33d58f8c7cdce8318bf36.jpg","text":"TemporaryFile(/tmp/multipartBody9186317420655395297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_36_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce2c543fa43529d505ff0b2324c7d406.jpg","text":"TemporaryFile(/tmp/multipartBody8251700499122105712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259493231,"filename":"image_10042025_02_37_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045718","file1":"1351045716","file0":"1351045713","file4":"1351045721","file5":"1351045723","file3":"1351045719"},"map_files_photo_id_array":[{"photo_id":"1351045723","filename":"file5"},{"photo_id":"1351045718","filename":"file2"},{"photo_id":"1351045721","filename":"file4"},{"photo_id":"1351045716","filename":"file1"},{"photo_id":"1351045713","filename":"file0"},{"photo_id":"1351045719","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045718":["hashtag1","hashtag2"]},{"1351045723":["hashtag1","hashtag2"]},{"1351045719":["hashtag1","hashtag2"]},{"1351045713":["hashtag1","hashtag2"]},{"1351045716":["hashtag1","hashtag2"]},{"1351045721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045718, 1351045723, 1351045719, 1351045713, 1351045716, 1351045721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95325589179993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:31:32.921198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_45_9505.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_56_10380.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_38_05_9412.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_16_10350.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_26_10382.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_35_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_45_9505.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_56_10380.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_38_05_9412.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_16_10350.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_26_10382.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_35_9405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39046406745910645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:31:42.926891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_45_9505.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_56_10380.jpg', '/home/pi/Desktop/images/10042025/02/37/image_10042025_02_38_05_9412.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_16_10350.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_26_10382.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_35_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_45_9505.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_37_56_10380.jpg
/home/pi/Desktop/images/10042025/02/37/image_10042025_02_38_05_9412.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_16_10350.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_26_10382.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_35_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045792","1351045788","1351045782","1351045776","1351045779","1351045787"],"photo_ids_order":["1351045776","1351045779","1351045782","1351045787","1351045788","1351045792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd0066289b48d0a808811dfaae0d5030.jpg","text":"TemporaryFile(/tmp/multipartBody2902043883945200364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_38_35_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5f5e8eb8759d276e386a947423f88dc.jpg","text":"TemporaryFile(/tmp/multipartBody2303763894924702607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_38_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/761100d239f9b338f3a66f5cc15b544e.jpg","text":"TemporaryFile(/tmp/multipartBody1677354076247112644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_38_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b91af49c1a22f0add3237dd75791d87d.jpg","text":"TemporaryFile(/tmp/multipartBody9195853884494273650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_37_45_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/267123d71b90b3e9838419b765b5ac7b.jpg","text":"TemporaryFile(/tmp/multipartBody6746300278842695955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_37_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b761bf5964a88ccced3ee6bbf3f21d8.jpg","text":"TemporaryFile(/tmp/multipartBody2206747964637262670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259563409,"filename":"image_10042025_02_38_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045782","file1":"1351045779","file0":"1351045776","file4":"1351045788","file5":"1351045792","file3":"1351045787"},"map_files_photo_id_array":[{"photo_id":"1351045792","filename":"file5"},{"photo_id":"1351045782","filename":"file2"},{"photo_id":"1351045788","filename":"file4"},{"photo_id":"1351045779","filename":"file1"},{"photo_id":"1351045776","filename":"file0"},{"photo_id":"1351045787","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045792":["hashtag1","hashtag2"]},{"1351045788":["hashtag1","hashtag2"]},{"1351045782":["hashtag1","hashtag2"]},{"1351045776":["hashtag1","hashtag2"]},{"1351045779":["hashtag1","hashtag2"]},{"1351045787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045792, 1351045788, 1351045782, 1351045776, 1351045779, 1351045787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74188280105591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:32:32.177436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_46_10452.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_55_9350.jpg', '/home/pi/Desktop/images/10042025/02/38/image_10042025_02_39_06_10471.jpg', '/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_16_10356.jpg', '/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_25_9459.jpg', '/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_36_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_46_10452.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_38_55_9350.jpg
/home/pi/Desktop/images/10042025/02/38/image_10042025_02_39_06_10471.jpg
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_16_10356.jpg
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_25_9459.jpg
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_36_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351045897","1351045849","1351045893","1351045875","1351045868","1351045829"],"photo_ids_order":["1351045829","1351045849","1351045868","1351045875","1351045893","1351045897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a6942e59aca0779e1522c40e73a2852.jpg","text":"TemporaryFile(/tmp/multipartBody5477102894767545334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_39_36_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/899a87173d1314d2d48def5a0bd8f15f.jpg","text":"TemporaryFile(/tmp/multipartBody2047750875113119788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_38_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7601d728d94ea53273686ac8b509fd8.jpg","text":"TemporaryFile(/tmp/multipartBody420162797575547774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_39_25_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c307f0e2d6c2b77e76d73a7d3a48202d.jpg","text":"TemporaryFile(/tmp/multipartBody7842418990979347972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_39_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a11e340161097680ab8e86a605221140.jpg","text":"TemporaryFile(/tmp/multipartBody4519904994781357594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_39_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82819cf09120765d81214fa4bf58dfe2.jpg","text":"TemporaryFile(/tmp/multipartBody7715733088468025335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259612646,"filename":"image_10042025_02_38_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351045868","file1":"1351045849","file0":"1351045829","file4":"1351045893","file5":"1351045897","file3":"1351045875"},"map_files_photo_id_array":[{"photo_id":"1351045897","filename":"file5"},{"photo_id":"1351045868","filename":"file2"},{"photo_id":"1351045893","filename":"file4"},{"photo_id":"1351045849","filename":"file1"},{"photo_id":"1351045829","filename":"file0"},{"photo_id":"1351045875","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351045897":["hashtag1","hashtag2"]},{"1351045849":["hashtag1","hashtag2"]},{"1351045893":["hashtag1","hashtag2"]},{"1351045875":["hashtag1","hashtag2"]},{"1351045868":["hashtag1","hashtag2"]},{"1351045829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351045897, 1351045849, 1351045893, 1351045875, 1351045868, 1351045829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12468671798706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:33:33.139410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_45_9444.jpg', '/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_56_10380.jpg', '/home/pi/Desktop/images/10042025/02/39/image_10042025_02_40_05_9460.jpg', '/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_16_10373.jpg', '/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_35_9488.jpg', '/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_45_9444.jpg
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_39_56_10380.jpg
/home/pi/Desktop/images/10042025/02/39/image_10042025_02_40_05_9460.jpg
/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_16_10373.jpg
/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_35_9488.jpg
/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351046149","1351046134","1351046113","1351046101","1351046076","1351046037"],"photo_ids_order":["1351046037","1351046076","1351046101","1351046113","1351046134","1351046149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a4d48e5398f027d59326bdf64d0439c.jpg","text":"TemporaryFile(/tmp/multipartBody8280927856532089465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_40_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce896f761f712963708f70afd5066696.jpg","text":"TemporaryFile(/tmp/multipartBody2178984370473895244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_40_35_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdd35097f5fbb7900a4bc5f61711f395.jpg","text":"TemporaryFile(/tmp/multipartBody3597471506031294994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_40_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f485ae8032b93258258c5836c8e3de9.jpg","text":"TemporaryFile(/tmp/multipartBody2790761114186899266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_40_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/256d4847f550226d2cc9b9a087507523.jpg","text":"TemporaryFile(/tmp/multipartBody2126087407470528167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_39_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a69bf8621e932c2e166c11817e4fd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2736817568372040403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259674580,"filename":"image_10042025_02_39_45_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351046101","file1":"1351046076","file0":"1351046037","file4":"1351046134","file5":"1351046149","file3":"1351046113"},"map_files_photo_id_array":[{"photo_id":"1351046149","filename":"file5"},{"photo_id":"1351046101","filename":"file2"},{"photo_id":"1351046134","filename":"file4"},{"photo_id":"1351046076","filename":"file1"},{"photo_id":"1351046037","filename":"file0"},{"photo_id":"1351046113","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351046149":["hashtag1","hashtag2"]},{"1351046134":["hashtag1","hashtag2"]},{"1351046113":["hashtag1","hashtag2"]},{"1351046101":["hashtag1","hashtag2"]},{"1351046076":["hashtag1","hashtag2"]},{"1351046037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351046149, 1351046134, 1351046113, 1351046101, 1351046076, 1351046037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87478494644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:34:32.442482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_55_9531.jpg', '/home/pi/Desktop/images/10042025/02/40/image_10042025_02_41_06_10351.jpg', '/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_15_9374.jpg', '/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_25_10442.jpg', '/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_36_10352.jpg', '/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/40/image_10042025_02_40_55_9531.jpg
/home/pi/Desktop/images/10042025/02/40/image_10042025_02_41_06_10351.jpg
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_15_9374.jpg
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_25_10442.jpg
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_36_10352.jpg
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_45_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351046572","1351046617","1351046580","1351046514","1351046601","1351046596"],"photo_ids_order":["1351046514","1351046572","1351046580","1351046596","1351046601","1351046617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd66db73f3b457fd293bc9fbdfe83f44.jpg","text":"TemporaryFile(/tmp/multipartBody78165743355861054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_41_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9118ae8ae9c1788f52201a5a872c81ea.jpg","text":"TemporaryFile(/tmp/multipartBody6840117332755998650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_41_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fd12725edc1f44c40499d411fbf3bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6893766369644951141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_41_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dcc4b55942e98839f9687e4e33961c3.jpg","text":"TemporaryFile(/tmp/multipartBody2612240875206984800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_40_55_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a45d485fb81ed506b9c8e363742a8d00.jpg","text":"TemporaryFile(/tmp/multipartBody2178605265586035499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_41_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fdcf9dfe643bdfe08a7d7ccc01baba4.jpg","text":"TemporaryFile(/tmp/multipartBody3164178186754275919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259732911,"filename":"image_10042025_02_41_25_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351046580","file1":"1351046572","file0":"1351046514","file4":"1351046601","file5":"1351046617","file3":"1351046596"},"map_files_photo_id_array":[{"photo_id":"1351046617","filename":"file5"},{"photo_id":"1351046580","filename":"file2"},{"photo_id":"1351046601","filename":"file4"},{"photo_id":"1351046572","filename":"file1"},{"photo_id":"1351046514","filename":"file0"},{"photo_id":"1351046596","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351046572":["hashtag1","hashtag2"]},{"1351046617":["hashtag1","hashtag2"]},{"1351046580":["hashtag1","hashtag2"]},{"1351046514":["hashtag1","hashtag2"]},{"1351046601":["hashtag1","hashtag2"]},{"1351046596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351046572, 1351046617, 1351046580, 1351046514, 1351046601, 1351046596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3311128616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:35:32.697742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_56_10358.jpg', '/home/pi/Desktop/images/10042025/02/41/image_10042025_02_42_06_10347.jpg', '/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_15_9454.jpg', '/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_26_10383.jpg', '/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_35_9346.jpg', '/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_41_56_10358.jpg
/home/pi/Desktop/images/10042025/02/41/image_10042025_02_42_06_10347.jpg
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_15_9454.jpg
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_26_10383.jpg
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_35_9346.jpg
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351046980","1351046920","1351046914","1351046902","1351046925","1351046975"],"photo_ids_order":["1351046902","1351046914","1351046920","1351046925","1351046975","1351046980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc298a84fe2ba75dbacd9f9cbe80e315.jpg","text":"TemporaryFile(/tmp/multipartBody8737051760225523725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_42_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c3bc80646087d43c854a26b432066d1.jpg","text":"TemporaryFile(/tmp/multipartBody8885076461295046996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_42_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3863df8c4dc74ad8a15210ff09780629.jpg","text":"TemporaryFile(/tmp/multipartBody6962128665002609763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_42_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d48a10af961d14b64ba71cb911d4a9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7862224712195245974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_41_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e07058c0952f934aa45748dbc41dc370.jpg","text":"TemporaryFile(/tmp/multipartBody4296988862060447450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_42_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3785817552419a901f1f5ae51073b356.jpg","text":"TemporaryFile(/tmp/multipartBody1341936170792532418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259793191,"filename":"image_10042025_02_42_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351046920","file1":"1351046914","file0":"1351046902","file4":"1351046975","file5":"1351046980","file3":"1351046925"},"map_files_photo_id_array":[{"photo_id":"1351046980","filename":"file5"},{"photo_id":"1351046920","filename":"file2"},{"photo_id":"1351046975","filename":"file4"},{"photo_id":"1351046914","filename":"file1"},{"photo_id":"1351046902","filename":"file0"},{"photo_id":"1351046925","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351046980":["hashtag1","hashtag2"]},{"1351046920":["hashtag1","hashtag2"]},{"1351046914":["hashtag1","hashtag2"]},{"1351046902":["hashtag1","hashtag2"]},{"1351046925":["hashtag1","hashtag2"]},{"1351046975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351046980, 1351046920, 1351046914, 1351046902, 1351046925, 1351046975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31906294822693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:36:32.913597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_56_10375.jpg', '/home/pi/Desktop/images/10042025/02/42/image_10042025_02_43_05_9356.jpg', '/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_16_10373.jpg', '/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_26_10368.jpg', '/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_35_9498.jpg', '/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_42_56_10375.jpg
/home/pi/Desktop/images/10042025/02/42/image_10042025_02_43_05_9356.jpg
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_16_10373.jpg
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_26_10368.jpg
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_35_9498.jpg
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047048","1351047039","1351047030","1351047041","1351047044","1351047052"],"photo_ids_order":["1351047030","1351047039","1351047041","1351047044","1351047048","1351047052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af3bae621e9e231a9c9bc71976607719.jpg","text":"TemporaryFile(/tmp/multipartBody2833197469734725062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_43_35_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b450673f9cf73e3378be6c19bca3611c.jpg","text":"TemporaryFile(/tmp/multipartBody3969365620411955227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_43_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc67039fa3e9034fb24311fe6e53da4c.jpg","text":"TemporaryFile(/tmp/multipartBody4555589852564519428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_42_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8d1e2cabe7a8d399b53d538d6790c98.jpg","text":"TemporaryFile(/tmp/multipartBody2243305931603816861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_43_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0b74ba895d1011cbfe19fade664e673.jpg","text":"TemporaryFile(/tmp/multipartBody6912578032835025731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_43_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d223131dfc340d34741344ca7c970cc.jpg","text":"TemporaryFile(/tmp/multipartBody3614119423200280973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259853387,"filename":"image_10042025_02_43_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047041","file1":"1351047039","file0":"1351047030","file4":"1351047048","file5":"1351047052","file3":"1351047044"},"map_files_photo_id_array":[{"photo_id":"1351047052","filename":"file5"},{"photo_id":"1351047041","filename":"file2"},{"photo_id":"1351047048","filename":"file4"},{"photo_id":"1351047039","filename":"file1"},{"photo_id":"1351047030","filename":"file0"},{"photo_id":"1351047044","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047048":["hashtag1","hashtag2"]},{"1351047039":["hashtag1","hashtag2"]},{"1351047030":["hashtag1","hashtag2"]},{"1351047041":["hashtag1","hashtag2"]},{"1351047044":["hashtag1","hashtag2"]},{"1351047052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047048, 1351047039, 1351047030, 1351047041, 1351047044, 1351047052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29796528816223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:37:33.262240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_55_9373.jpg', '/home/pi/Desktop/images/10042025/02/43/image_10042025_02_44_06_10457.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_16_10350.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_25_9473.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_36_10392.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_45_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_43_55_9373.jpg
/home/pi/Desktop/images/10042025/02/43/image_10042025_02_44_06_10457.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_16_10350.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_25_9473.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_36_10392.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_45_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047118","1351047078","1351047144","1351047074","1351047083","1351047091"],"photo_ids_order":["1351047074","1351047078","1351047083","1351047091","1351047118","1351047144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7b298b4578f58480b54d2605067aa04.jpg","text":"TemporaryFile(/tmp/multipartBody991148872050507926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_44_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66e8fd61af2c89fb12c8c35e35a7106f.jpg","text":"TemporaryFile(/tmp/multipartBody1378569893977207839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_44_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b11410865f5eca4ead2745ee8654a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3228039893690099286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_44_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/febaea1d7b95625f17214c3be2ba72be.jpg","text":"TemporaryFile(/tmp/multipartBody8390535155180531015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_43_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e664741d25dc58e16eb278ae166812ae.jpg","text":"TemporaryFile(/tmp/multipartBody7997503672672140630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_44_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce7dad708beb6a9da2990ce64fd02a76.jpg","text":"TemporaryFile(/tmp/multipartBody7630886268588886718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259913734,"filename":"image_10042025_02_44_25_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047083","file1":"1351047078","file0":"1351047074","file4":"1351047118","file5":"1351047144","file3":"1351047091"},"map_files_photo_id_array":[{"photo_id":"1351047144","filename":"file5"},{"photo_id":"1351047083","filename":"file2"},{"photo_id":"1351047118","filename":"file4"},{"photo_id":"1351047078","filename":"file1"},{"photo_id":"1351047074","filename":"file0"},{"photo_id":"1351047091","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047118":["hashtag1","hashtag2"]},{"1351047078":["hashtag1","hashtag2"]},{"1351047144":["hashtag1","hashtag2"]},{"1351047074":["hashtag1","hashtag2"]},{"1351047083":["hashtag1","hashtag2"]},{"1351047091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047118, 1351047078, 1351047144, 1351047074, 1351047083, 1351047091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38837504386902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:38:32.349266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_56_10440.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_45_05_9392.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_15_10392.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_26_10374.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_35_9353.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_56_10440.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_45_05_9392.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_15_10392.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_26_10374.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_35_9353.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_46_10368.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40136265754699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:38:42.388902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_56_10440.jpg', '/home/pi/Desktop/images/10042025/02/44/image_10042025_02_45_05_9392.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_15_10392.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_26_10374.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_35_9353.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_44_56_10440.jpg
/home/pi/Desktop/images/10042025/02/44/image_10042025_02_45_05_9392.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_15_10392.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_26_10374.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_35_9353.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_46_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047291","1351047299","1351047284","1351047287","1351047278","1351047259"],"photo_ids_order":["1351047259","1351047278","1351047284","1351047287","1351047291","1351047299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9dc1cef3e318f6155c12934e4d457e8.jpg","text":"TemporaryFile(/tmp/multipartBody2386413245369584577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_45_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f29b2be53daea6b64f61034a1fc91bf.jpg","text":"TemporaryFile(/tmp/multipartBody6049654327731800617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_45_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2988b44605c161d22d5ad5ed41194efb.jpg","text":"TemporaryFile(/tmp/multipartBody6362186232761415231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_45_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57bd95add6e7d5e82d24c033b43e6996.jpg","text":"TemporaryFile(/tmp/multipartBody8620719452304807920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_45_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c053e853867d8d940da6eea5ddae758.jpg","text":"TemporaryFile(/tmp/multipartBody4831621436943340805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_45_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/599b6f8ad7ef9b9e5ae8b4800bf6180d.jpg","text":"TemporaryFile(/tmp/multipartBody6718469848468327979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744259982864,"filename":"image_10042025_02_44_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047284","file1":"1351047278","file0":"1351047259","file4":"1351047291","file5":"1351047299","file3":"1351047287"},"map_files_photo_id_array":[{"photo_id":"1351047299","filename":"file5"},{"photo_id":"1351047284","filename":"file2"},{"photo_id":"1351047291","filename":"file4"},{"photo_id":"1351047278","filename":"file1"},{"photo_id":"1351047259","filename":"file0"},{"photo_id":"1351047287","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047291":["hashtag1","hashtag2"]},{"1351047299":["hashtag1","hashtag2"]},{"1351047284":["hashtag1","hashtag2"]},{"1351047287":["hashtag1","hashtag2"]},{"1351047278":["hashtag1","hashtag2"]},{"1351047259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047291, 1351047299, 1351047284, 1351047287, 1351047278, 1351047259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22954869270325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:39:32.636261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_56_10357.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_46_05_9374.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_16_10394.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_25_9361.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_35_10402.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_56_10357.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_46_05_9374.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_16_10394.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_25_9361.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_35_10402.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_46_10334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40060901641845703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:39:42.562180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_56_10357.jpg', '/home/pi/Desktop/images/10042025/02/45/image_10042025_02_46_05_9374.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_16_10394.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_25_9361.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_35_10402.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_45_56_10357.jpg
/home/pi/Desktop/images/10042025/02/45/image_10042025_02_46_05_9374.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_16_10394.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_25_9361.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_35_10402.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047334","1351047330","1351047327","1351047329","1351047323","1351047331"],"photo_ids_order":["1351047323","1351047327","1351047329","1351047330","1351047331","1351047334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/324c5dff441c28d086b00e824f15c72a.jpg","text":"TemporaryFile(/tmp/multipartBody2355167451602001720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_46_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e9a8ddd258e2d28da9375041f49e55.jpg","text":"TemporaryFile(/tmp/multipartBody3422737292625233229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_46_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41e5840f45a1531f94274c516491248a.jpg","text":"TemporaryFile(/tmp/multipartBody637315778872122972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_46_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a057045b6d45bae1da384944c2583ef.jpg","text":"TemporaryFile(/tmp/multipartBody3252030652776192975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_46_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c70e822c465a927c1f5c138cd355da9b.jpg","text":"TemporaryFile(/tmp/multipartBody8744418659765569097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_45_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48e7faf0c894d7616ce975f43c4c8424.jpg","text":"TemporaryFile(/tmp/multipartBody1711661838304336758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260043035,"filename":"image_10042025_02_46_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047329","file1":"1351047327","file0":"1351047323","file4":"1351047331","file5":"1351047334","file3":"1351047330"},"map_files_photo_id_array":[{"photo_id":"1351047334","filename":"file5"},{"photo_id":"1351047329","filename":"file2"},{"photo_id":"1351047331","filename":"file4"},{"photo_id":"1351047327","filename":"file1"},{"photo_id":"1351047323","filename":"file0"},{"photo_id":"1351047330","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047334":["hashtag1","hashtag2"]},{"1351047330":["hashtag1","hashtag2"]},{"1351047327":["hashtag1","hashtag2"]},{"1351047329":["hashtag1","hashtag2"]},{"1351047323":["hashtag1","hashtag2"]},{"1351047331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047334, 1351047330, 1351047327, 1351047329, 1351047323, 1351047331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44260120391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:40:32.653874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_55_9359.jpg', '/home/pi/Desktop/images/10042025/02/46/image_10042025_02_47_06_10488.jpg', '/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_16_10378.jpg', '/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_25_9530.jpg', '/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_36_10357.jpg', '/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_45_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_46_55_9359.jpg
/home/pi/Desktop/images/10042025/02/46/image_10042025_02_47_06_10488.jpg
/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_16_10378.jpg
/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_25_9530.jpg
/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_36_10357.jpg
/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_45_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047360","1351047354","1351047357","1351047368","1351047377","1351047373"],"photo_ids_order":["1351047354","1351047357","1351047360","1351047368","1351047373","1351047377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03279cf225bc9103aae19b0ebc81c72e.jpg","text":"TemporaryFile(/tmp/multipartBody5681574602573479501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_47_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/917d481ace1ed04e8d8bf1dba88e88f3.jpg","text":"TemporaryFile(/tmp/multipartBody1558902254932229347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_46_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/465479a1b46d7320f21d8bcafcabc805.jpg","text":"TemporaryFile(/tmp/multipartBody8873094073729213651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_47_06_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5cc21a82f3001a1467c3c89fd631df6.jpg","text":"TemporaryFile(/tmp/multipartBody1782048006262692715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_47_25_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01d8f1075ea469b7d8e0910603efd749.jpg","text":"TemporaryFile(/tmp/multipartBody277954505496899037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_47_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54af2d6f58c5088904a7952ac3168920.jpg","text":"TemporaryFile(/tmp/multipartBody2640992939910135360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260093144,"filename":"image_10042025_02_47_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047360","file1":"1351047357","file0":"1351047354","file4":"1351047373","file5":"1351047377","file3":"1351047368"},"map_files_photo_id_array":[{"photo_id":"1351047377","filename":"file5"},{"photo_id":"1351047360","filename":"file2"},{"photo_id":"1351047373","filename":"file4"},{"photo_id":"1351047357","filename":"file1"},{"photo_id":"1351047354","filename":"file0"},{"photo_id":"1351047368","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047360":["hashtag1","hashtag2"]},{"1351047354":["hashtag1","hashtag2"]},{"1351047357":["hashtag1","hashtag2"]},{"1351047368":["hashtag1","hashtag2"]},{"1351047377":["hashtag1","hashtag2"]},{"1351047373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047360, 1351047354, 1351047357, 1351047368, 1351047377, 1351047373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66425633430481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:41:32.805382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_56_10405.jpg', '/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_35_9407.jpg', '/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_45_9792.jpg', '/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_56_10431.jpg', '/home/pi/Desktop/images/10042025/02/48/image_10042025_02_49_06_10364.jpg', '/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_15_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/47/image_10042025_02_47_56_10405.jpg
/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_35_9407.jpg
/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_45_9792.jpg
/home/pi/Desktop/images/10042025/02/48/image_10042025_02_48_56_10431.jpg
/home/pi/Desktop/images/10042025/02/48/image_10042025_02_49_06_10364.jpg
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_15_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047421","1351047601","1351047615","1351047458","1351047587","1351047416"],"photo_ids_order":["1351047416","1351047421","1351047458","1351047587","1351047601","1351047615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/086c0611c28587bdce7c7dd96ff4f87c.jpg","text":"TemporaryFile(/tmp/multipartBody7050414009764996369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_48_35_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cba62e947e060e194cfe2fc7add796c.jpg","text":"TemporaryFile(/tmp/multipartBody5817235722809565089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_49_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae09e42e8fbb48fc5cb0854e625eff13.jpg","text":"TemporaryFile(/tmp/multipartBody1139987626971586558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_49_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/034af492d77a8fc7659df025f88ea457.jpg","text":"TemporaryFile(/tmp/multipartBody7925942905322628691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_48_45_9792.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cbd34e0dd8fc9058a75b9bc0744a99a.jpg","text":"TemporaryFile(/tmp/multipartBody7210672066354296835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_48_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1185b2fd41b3f72151cd144a1a5f2527.jpg","text":"TemporaryFile(/tmp/multipartBody5825639816598600495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260153285,"filename":"image_10042025_02_47_56_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047458","file1":"1351047421","file0":"1351047416","file4":"1351047601","file5":"1351047615","file3":"1351047587"},"map_files_photo_id_array":[{"photo_id":"1351047615","filename":"file5"},{"photo_id":"1351047458","filename":"file2"},{"photo_id":"1351047601","filename":"file4"},{"photo_id":"1351047421","filename":"file1"},{"photo_id":"1351047416","filename":"file0"},{"photo_id":"1351047587","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047421":["hashtag1","hashtag2"]},{"1351047601":["hashtag1","hashtag2"]},{"1351047615":["hashtag1","hashtag2"]},{"1351047458":["hashtag1","hashtag2"]},{"1351047587":["hashtag1","hashtag2"]},{"1351047416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047421, 1351047601, 1351047615, 1351047458, 1351047587, 1351047416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.929296016693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:42:33.028469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_26_10376.jpg', '/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_35_9435.jpg', '/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_45_10362.jpg', '/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_55_9688.jpg', '/home/pi/Desktop/images/10042025/02/49/image_10042025_02_50_06_10390.jpg', '/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_26_10376.jpg
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_35_9435.jpg
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_45_10362.jpg
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_49_55_9688.jpg
/home/pi/Desktop/images/10042025/02/49/image_10042025_02_50_06_10390.jpg
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_16_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351047723","1351047810","1351047804","1351047796","1351047641","1351047676"],"photo_ids_order":["1351047641","1351047676","1351047723","1351047796","1351047804","1351047810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fff0b7a886734f14628f131daa63ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4277539320475620347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_49_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74f05afd69e7d56b821304ea60c5d08f.jpg","text":"TemporaryFile(/tmp/multipartBody7851597118513841542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_50_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01cfbf9788c29ff5b6354e73254bb5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6276807434939976377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_50_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dc11a0f8eef1c30d524b7e826b57ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7279648872370406272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_49_55_9688.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/578e5ecb2d078e9ecbcf2703aa28e681.jpg","text":"TemporaryFile(/tmp/multipartBody3261964585670434384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_49_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1744f81d3f37abe3dfac37b322efdacc.jpg","text":"TemporaryFile(/tmp/multipartBody7429090647445593211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260213500,"filename":"image_10042025_02_49_35_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047723","file1":"1351047676","file0":"1351047641","file4":"1351047804","file5":"1351047810","file3":"1351047796"},"map_files_photo_id_array":[{"photo_id":"1351047810","filename":"file5"},{"photo_id":"1351047723","filename":"file2"},{"photo_id":"1351047804","filename":"file4"},{"photo_id":"1351047676","filename":"file1"},{"photo_id":"1351047641","filename":"file0"},{"photo_id":"1351047796","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351047723":["hashtag1","hashtag2"]},{"1351047810":["hashtag1","hashtag2"]},{"1351047804":["hashtag1","hashtag2"]},{"1351047796":["hashtag1","hashtag2"]},{"1351047641":["hashtag1","hashtag2"]},{"1351047676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351047723, 1351047810, 1351047804, 1351047796, 1351047641, 1351047676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.65476846694946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:43:32.263018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_25_9410.jpg', '/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_36_10360.jpg', '/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_45_9362.jpg', '/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_56_10469.jpg', '/home/pi/Desktop/images/10042025/02/50/image_10042025_02_51_06_10349.jpg', '/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_15_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_25_9410.jpg
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_36_10360.jpg
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_45_9362.jpg
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_50_56_10469.jpg
/home/pi/Desktop/images/10042025/02/50/image_10042025_02_51_06_10349.jpg
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_15_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048044","1351048053","1351047957","1351047923","1351047905","1351048048"],"photo_ids_order":["1351047905","1351047923","1351047957","1351048044","1351048048","1351048053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b2efb8d52b399fb4c19f142a55a0446.jpg","text":"TemporaryFile(/tmp/multipartBody1830626614901321029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_50_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df774eca9dd4a9373fe96a4b61017802.jpg","text":"TemporaryFile(/tmp/multipartBody9174220810106054382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_51_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff391fba5b25a287529770ccedceaaa8.jpg","text":"TemporaryFile(/tmp/multipartBody4751478066692942693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_50_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dce6ed4afda91a5b5c0786265478e98e.jpg","text":"TemporaryFile(/tmp/multipartBody3641032834983851951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_50_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13b09993b785ea5ccd354eb8bd8e5d46.jpg","text":"TemporaryFile(/tmp/multipartBody4714131386436195221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_50_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae7187dbeb1dc5358aaa219ac4d03677.jpg","text":"TemporaryFile(/tmp/multipartBody4674681922742336201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260272736,"filename":"image_10042025_02_51_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351047957","file1":"1351047923","file0":"1351047905","file4":"1351048048","file5":"1351048053","file3":"1351048044"},"map_files_photo_id_array":[{"photo_id":"1351048053","filename":"file5"},{"photo_id":"1351047957","filename":"file2"},{"photo_id":"1351048048","filename":"file4"},{"photo_id":"1351047923","filename":"file1"},{"photo_id":"1351047905","filename":"file0"},{"photo_id":"1351048044","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048044":["hashtag1","hashtag2"]},{"1351048053":["hashtag1","hashtag2"]},{"1351047957":["hashtag1","hashtag2"]},{"1351047923":["hashtag1","hashtag2"]},{"1351047905":["hashtag1","hashtag2"]},{"1351048048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048044, 1351048053, 1351047957, 1351047923, 1351047905, 1351048048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64273166656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:44:32.413182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_26_10363.jpg', '/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_36_10368.jpg', '/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_45_9437.jpg', '/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_56_10428.jpg', '/home/pi/Desktop/images/10042025/02/51/image_10042025_02_52_05_9364.jpg', '/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_16_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_26_10363.jpg
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_36_10368.jpg
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_45_9437.jpg
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_51_56_10428.jpg
/home/pi/Desktop/images/10042025/02/51/image_10042025_02_52_05_9364.jpg
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_16_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048089","1351048068","1351048083","1351048079","1351048075","1351048086"],"photo_ids_order":["1351048068","1351048075","1351048079","1351048083","1351048086","1351048089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44d1081ab03e116f4d328adb9d1ad873.jpg","text":"TemporaryFile(/tmp/multipartBody1442033417938305955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_52_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26af51de4daffde925f82b76e48386d2.jpg","text":"TemporaryFile(/tmp/multipartBody4396098075175857962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_51_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57dc49f58f47aae06053ba22d7df7bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6151288305920258489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_51_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28a49002a3450e62386373fc24364530.jpg","text":"TemporaryFile(/tmp/multipartBody164574650367768717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_51_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b46793432afefaa23bb8d62d6ddde079.jpg","text":"TemporaryFile(/tmp/multipartBody4679512062995743347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_51_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a62db8689f44c2ff6653ac2c029a6d99.jpg","text":"TemporaryFile(/tmp/multipartBody2624911682976871326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260332886,"filename":"image_10042025_02_52_05_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048079","file1":"1351048075","file0":"1351048068","file4":"1351048086","file5":"1351048089","file3":"1351048083"},"map_files_photo_id_array":[{"photo_id":"1351048089","filename":"file5"},{"photo_id":"1351048079","filename":"file2"},{"photo_id":"1351048086","filename":"file4"},{"photo_id":"1351048075","filename":"file1"},{"photo_id":"1351048068","filename":"file0"},{"photo_id":"1351048083","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048089":["hashtag1","hashtag2"]},{"1351048068":["hashtag1","hashtag2"]},{"1351048083":["hashtag1","hashtag2"]},{"1351048079":["hashtag1","hashtag2"]},{"1351048075":["hashtag1","hashtag2"]},{"1351048086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048089, 1351048068, 1351048083, 1351048079, 1351048075, 1351048086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72176933288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:45:32.502458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_25_9369.jpg', '/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_35_10425.jpg', '/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_46_10369.jpg', '/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_55_9360.jpg', '/home/pi/Desktop/images/10042025/02/52/image_10042025_02_53_06_10363.jpg', '/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_25_9369.jpg
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_35_10425.jpg
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_46_10369.jpg
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_52_55_9360.jpg
/home/pi/Desktop/images/10042025/02/52/image_10042025_02_53_06_10363.jpg
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_16_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048167","1351048197","1351048182","1351048142","1351048159","1351048135"],"photo_ids_order":["1351048135","1351048142","1351048159","1351048167","1351048182","1351048197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62fa169283262c7adac1b85f577d02d4.jpg","text":"TemporaryFile(/tmp/multipartBody4286387457901527511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_52_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c53b65411e124985935d0c85ab3679a3.jpg","text":"TemporaryFile(/tmp/multipartBody860923706130140420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_53_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1824e7c60f3f226b9a637d0a179a05bc.jpg","text":"TemporaryFile(/tmp/multipartBody1483149560116706720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_53_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb5941b876d200f20cde749b3ef49b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8534339322913096918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_52_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bc7a91d19fc2057b5987535d5be4647.jpg","text":"TemporaryFile(/tmp/multipartBody2637316790446886315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_52_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20103b947b801e88337fa964591677b1.jpg","text":"TemporaryFile(/tmp/multipartBody8493562983749748622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260392989,"filename":"image_10042025_02_52_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048159","file1":"1351048142","file0":"1351048135","file4":"1351048182","file5":"1351048197","file3":"1351048167"},"map_files_photo_id_array":[{"photo_id":"1351048197","filename":"file5"},{"photo_id":"1351048159","filename":"file2"},{"photo_id":"1351048182","filename":"file4"},{"photo_id":"1351048142","filename":"file1"},{"photo_id":"1351048135","filename":"file0"},{"photo_id":"1351048167","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048167":["hashtag1","hashtag2"]},{"1351048197":["hashtag1","hashtag2"]},{"1351048182":["hashtag1","hashtag2"]},{"1351048142":["hashtag1","hashtag2"]},{"1351048159":["hashtag1","hashtag2"]},{"1351048135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048167, 1351048197, 1351048182, 1351048142, 1351048159, 1351048135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96975922584534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:46:32.769049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_25_9489.jpg', '/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_36_10358.jpg', '/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_45_9382.jpg', '/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_55_10376.jpg', '/home/pi/Desktop/images/10042025/02/53/image_10042025_02_54_06_10455.jpg', '/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_15_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_25_9489.jpg
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_36_10358.jpg
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_45_9382.jpg
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_53_55_10376.jpg
/home/pi/Desktop/images/10042025/02/53/image_10042025_02_54_06_10455.jpg
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_15_9518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048260","1351048257","1351048289","1351048271","1351048301","1351048291"],"photo_ids_order":["1351048257","1351048260","1351048271","1351048289","1351048291","1351048301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b6cfc65dbb9007506dbd24575b59c26.jpg","text":"TemporaryFile(/tmp/multipartBody8475839242624896895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_53_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20566e415c6ab6d2c02174d02e8bbce1.jpg","text":"TemporaryFile(/tmp/multipartBody4354633532653937664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_53_25_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5484292eb63e15ff3e01d339ca8ef47.jpg","text":"TemporaryFile(/tmp/multipartBody6128630703450514847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_53_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8aa23667eb7da2d7602772230be7249.jpg","text":"TemporaryFile(/tmp/multipartBody3096882439527588763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_53_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0c748147c2989860a09a36220a70a65.jpg","text":"TemporaryFile(/tmp/multipartBody5722901299261318919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_54_15_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bd8509ee1ff4605ddc3b80850a82fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1604936306593178074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260453241,"filename":"image_10042025_02_54_06_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048271","file1":"1351048260","file0":"1351048257","file4":"1351048291","file5":"1351048301","file3":"1351048289"},"map_files_photo_id_array":[{"photo_id":"1351048301","filename":"file5"},{"photo_id":"1351048271","filename":"file2"},{"photo_id":"1351048291","filename":"file4"},{"photo_id":"1351048260","filename":"file1"},{"photo_id":"1351048257","filename":"file0"},{"photo_id":"1351048289","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048260":["hashtag1","hashtag2"]},{"1351048257":["hashtag1","hashtag2"]},{"1351048289":["hashtag1","hashtag2"]},{"1351048271":["hashtag1","hashtag2"]},{"1351048301":["hashtag1","hashtag2"]},{"1351048291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048260, 1351048257, 1351048289, 1351048271, 1351048301, 1351048291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.639869689941406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:47:33.006047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_26_10394.jpg', '/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_35_9347.jpg', '/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_46_10434.jpg', '/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_55_9370.jpg', '/home/pi/Desktop/images/10042025/02/54/image_10042025_02_55_05_10400.jpg', '/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_26_10394.jpg
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_35_9347.jpg
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_46_10434.jpg
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_54_55_9370.jpg
/home/pi/Desktop/images/10042025/02/54/image_10042025_02_55_05_10400.jpg
/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048371","1351048374","1351048376","1351048361","1351048367","1351048349"],"photo_ids_order":["1351048349","1351048361","1351048367","1351048371","1351048374","1351048376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/314015e3819dfd958097ad3e46ddc57d.jpg","text":"TemporaryFile(/tmp/multipartBody5987114014115015361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_54_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4596fc9765c947e700fad045911a2ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7630117737248175986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_55_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d85dd907db79fe1a6b1b95393174b954.jpg","text":"TemporaryFile(/tmp/multipartBody3588246782167029979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_55_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26c84f96311dcf20961848d738fc0ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2091141781406003871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_54_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d5b031a60e943e10f3130ad81903963.jpg","text":"TemporaryFile(/tmp/multipartBody389886942612336326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_54_46_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/505842e822cacc6bd44ac9983522000b.jpg","text":"TemporaryFile(/tmp/multipartBody8196588314640988805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260513485,"filename":"image_10042025_02_54_26_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048367","file1":"1351048361","file0":"1351048349","file4":"1351048374","file5":"1351048376","file3":"1351048371"},"map_files_photo_id_array":[{"photo_id":"1351048376","filename":"file5"},{"photo_id":"1351048367","filename":"file2"},{"photo_id":"1351048374","filename":"file4"},{"photo_id":"1351048361","filename":"file1"},{"photo_id":"1351048349","filename":"file0"},{"photo_id":"1351048371","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048371":["hashtag1","hashtag2"]},{"1351048374":["hashtag1","hashtag2"]},{"1351048376":["hashtag1","hashtag2"]},{"1351048361":["hashtag1","hashtag2"]},{"1351048367":["hashtag1","hashtag2"]},{"1351048349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048371, 1351048374, 1351048376, 1351048361, 1351048367, 1351048349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.021169662475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:48:33.152778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_25_9391.jpg', '/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_36_10434.jpg', '/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_46_10396.jpg', '/home/pi/Desktop/images/10042025/02/55/image_10042025_02_56_06_10441.jpg', '/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_15_9353.jpg', '/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_26_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_25_9391.jpg
/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_36_10434.jpg
/home/pi/Desktop/images/10042025/02/55/image_10042025_02_55_46_10396.jpg
/home/pi/Desktop/images/10042025/02/55/image_10042025_02_56_06_10441.jpg
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_15_9353.jpg
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_26_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048407","1351048406","1351048409","1351048399","1351048403","1351048411"],"photo_ids_order":["1351048399","1351048403","1351048406","1351048407","1351048409","1351048411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a3d5dff7293757d2bf0d139681bda48.jpg","text":"TemporaryFile(/tmp/multipartBody8695941758344584324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_56_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a86d2ca9189465aa921d672409e26cc.jpg","text":"TemporaryFile(/tmp/multipartBody5521756311982773412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_55_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4abc00021b40de62dda753023e2d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody600744003794826269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_56_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d403c954b29f5680f100d11cb981083a.jpg","text":"TemporaryFile(/tmp/multipartBody6711979978344440117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_55_25_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c08c4fcb6f1853056fe86aee308f45a6.jpg","text":"TemporaryFile(/tmp/multipartBody4647781062994190797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_55_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6339a66958585c4085651b886f5e9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3501028896265922473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260573627,"filename":"image_10042025_02_56_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048406","file1":"1351048403","file0":"1351048399","file4":"1351048409","file5":"1351048411","file3":"1351048407"},"map_files_photo_id_array":[{"photo_id":"1351048411","filename":"file5"},{"photo_id":"1351048406","filename":"file2"},{"photo_id":"1351048409","filename":"file4"},{"photo_id":"1351048403","filename":"file1"},{"photo_id":"1351048399","filename":"file0"},{"photo_id":"1351048407","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048407":["hashtag1","hashtag2"]},{"1351048406":["hashtag1","hashtag2"]},{"1351048409":["hashtag1","hashtag2"]},{"1351048399":["hashtag1","hashtag2"]},{"1351048403":["hashtag1","hashtag2"]},{"1351048411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048407, 1351048406, 1351048409, 1351048399, 1351048403, 1351048411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.530128717422485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:49:32.399901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_36_10365.jpg', '/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_45_9483.jpg', '/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_56_10435.jpg', '/home/pi/Desktop/images/10042025/02/56/image_10042025_02_57_05_9506.jpg', '/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_16_10352.jpg', '/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_25_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_36_10365.jpg
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_45_9483.jpg
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_56_56_10435.jpg
/home/pi/Desktop/images/10042025/02/56/image_10042025_02_57_05_9506.jpg
/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_16_10352.jpg
/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_25_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048452","1351048481","1351048460","1351048448","1351048480","1351048468"],"photo_ids_order":["1351048448","1351048452","1351048460","1351048468","1351048480","1351048481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4decb3dad2fb300baf09167589c09176.jpg","text":"TemporaryFile(/tmp/multipartBody7537904210666552611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_56_45_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b61ef9c300554909f05d9b557e0412d1.jpg","text":"TemporaryFile(/tmp/multipartBody5443604779120965520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_57_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c00d3c56e1479e5b781364ac3de25b01.jpg","text":"TemporaryFile(/tmp/multipartBody4409592613316064498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_56_56_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e61a4dc70eace6c8ac716552ce53ab59.jpg","text":"TemporaryFile(/tmp/multipartBody704901610255148083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_56_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1331ac1042fd1dbe3d84960715ef6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5069779555896634038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_57_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e540e7a8f5be79249c8a80f0ed8598d.jpg","text":"TemporaryFile(/tmp/multipartBody1714666095497188707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260632881,"filename":"image_10042025_02_57_05_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048460","file1":"1351048452","file0":"1351048448","file4":"1351048480","file5":"1351048481","file3":"1351048468"},"map_files_photo_id_array":[{"photo_id":"1351048481","filename":"file5"},{"photo_id":"1351048460","filename":"file2"},{"photo_id":"1351048480","filename":"file4"},{"photo_id":"1351048452","filename":"file1"},{"photo_id":"1351048448","filename":"file0"},{"photo_id":"1351048468","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048452":["hashtag1","hashtag2"]},{"1351048481":["hashtag1","hashtag2"]},{"1351048460":["hashtag1","hashtag2"]},{"1351048448":["hashtag1","hashtag2"]},{"1351048480":["hashtag1","hashtag2"]},{"1351048468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048452, 1351048481, 1351048460, 1351048448, 1351048480, 1351048468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.429917097091675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:50:32.639551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_46_10351.jpg', '/home/pi/Desktop/images/10042025/02/57/image_10042025_02_58_06_10432.jpg', '/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_15_9474.jpg', '/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_26_10468.jpg', '/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_35_9424.jpg', '/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/57/image_10042025_02_57_46_10351.jpg
/home/pi/Desktop/images/10042025/02/57/image_10042025_02_58_06_10432.jpg
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_15_9474.jpg
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_26_10468.jpg
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_35_9424.jpg
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_45_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048686","1351048731","1351048734","1351048625","1351048666","1351048729"],"photo_ids_order":["1351048625","1351048666","1351048686","1351048729","1351048731","1351048734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ada0ce725986b6c36830176bff43cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4441403698959727916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_58_15_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f32910e7639ae17d7eeabfff3545eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7220394032982440462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_58_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebf6935919194e67261220bc2d49674e.jpg","text":"TemporaryFile(/tmp/multipartBody3228812153589478076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_58_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e28a8482ac8ae0e399cc43b7fdbd655.jpg","text":"TemporaryFile(/tmp/multipartBody1893223268947167294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_57_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b26b410e5f22d1089d0c3bdf8e38d15.jpg","text":"TemporaryFile(/tmp/multipartBody5046279177621922764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_58_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d467c0bd7084d78d2672578b8878f68a.jpg","text":"TemporaryFile(/tmp/multipartBody7398359526552757745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260693116,"filename":"image_10042025_02_58_26_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048686","file1":"1351048666","file0":"1351048625","file4":"1351048731","file5":"1351048734","file3":"1351048729"},"map_files_photo_id_array":[{"photo_id":"1351048734","filename":"file5"},{"photo_id":"1351048686","filename":"file2"},{"photo_id":"1351048731","filename":"file4"},{"photo_id":"1351048666","filename":"file1"},{"photo_id":"1351048625","filename":"file0"},{"photo_id":"1351048729","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048686":["hashtag1","hashtag2"]},{"1351048731":["hashtag1","hashtag2"]},{"1351048734":["hashtag1","hashtag2"]},{"1351048625":["hashtag1","hashtag2"]},{"1351048666":["hashtag1","hashtag2"]},{"1351048729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048686, 1351048731, 1351048734, 1351048625, 1351048666, 1351048729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41207695007324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:51:32.913445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_56_10461.jpg', '/home/pi/Desktop/images/10042025/02/58/image_10042025_02_59_05_9521.jpg', '/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_16_10362.jpg', '/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_46_10349.jpg', '/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_55_9415.jpg', '/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_14_10086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_58_56_10461.jpg
/home/pi/Desktop/images/10042025/02/58/image_10042025_02_59_05_9521.jpg
/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_16_10362.jpg
/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_46_10349.jpg
/home/pi/Desktop/images/10042025/02/59/image_10042025_02_59_55_9415.jpg
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_14_10086.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351048845","1351048839","1351048856","1351048829","1351048872","1351048866"],"photo_ids_order":["1351048829","1351048839","1351048845","1351048856","1351048866","1351048872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0c5bb1c7d213329aa92c05bdc4c8154.jpg","text":"TemporaryFile(/tmp/multipartBody834126616866146701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_02_59_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/283b6824fca17f0c35672032766676b5.jpg","text":"TemporaryFile(/tmp/multipartBody2358814922114539630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_02_59_05_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f09f5f1a2ae1109c652183b0ffab2216.jpg","text":"TemporaryFile(/tmp/multipartBody9011996858888746497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_02_59_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f33b195a421275e539e4afdd430a1084.jpg","text":"TemporaryFile(/tmp/multipartBody234708932188864565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_02_58_56_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebb5c9642fa808433cda477fcd5862d6.jpg","text":"TemporaryFile(/tmp/multipartBody2601812977634232851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_03_01_14_10086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e660d7f58999e17ce80d74e46170abc9.jpg","text":"TemporaryFile(/tmp/multipartBody5017079904516527767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260753392,"filename":"image_10042025_02_59_55_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351048845","file1":"1351048839","file0":"1351048829","file4":"1351048866","file5":"1351048872","file3":"1351048856"},"map_files_photo_id_array":[{"photo_id":"1351048872","filename":"file5"},{"photo_id":"1351048845","filename":"file2"},{"photo_id":"1351048866","filename":"file4"},{"photo_id":"1351048839","filename":"file1"},{"photo_id":"1351048829","filename":"file0"},{"photo_id":"1351048856","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351048845":["hashtag1","hashtag2"]},{"1351048839":["hashtag1","hashtag2"]},{"1351048856":["hashtag1","hashtag2"]},{"1351048829":["hashtag1","hashtag2"]},{"1351048872":["hashtag1","hashtag2"]},{"1351048866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351048845, 1351048839, 1351048856, 1351048829, 1351048872, 1351048866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.261319637298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:52:33.077253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_25_10436.jpg', '/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_35_10356.jpg', '/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_44_9342.jpg', '/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_55_10372.jpg', '/home/pi/Desktop/images/10042025/03/01/image_10042025_03_02_05_10354.jpg', '/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_25_10436.jpg
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_35_10356.jpg
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_44_9342.jpg
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_01_55_10372.jpg
/home/pi/Desktop/images/10042025/03/01/image_10042025_03_02_05_10354.jpg
/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351049031","1351049060","1351049036","1351049021","1351049038","1351049055"],"photo_ids_order":["1351049021","1351049031","1351049036","1351049038","1351049055","1351049060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d5479b1bff9aa6b267eab3e45ba8732.jpg","text":"TemporaryFile(/tmp/multipartBody2372328045749472122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_01_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97675468c78f700783f24419fac22c06.jpg","text":"TemporaryFile(/tmp/multipartBody4705344746910951497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_02_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c7aaa31b79485a074dfae43e6c8e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1827332003700693132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_01_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29bee8dad80a758aa197edcf5d679b23.jpg","text":"TemporaryFile(/tmp/multipartBody1346417904621755383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_01_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d521fe678b3d64bcc77378f09d4d7565.jpg","text":"TemporaryFile(/tmp/multipartBody304277211071595172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_01_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18cc1e624a497e72b989359dceee3b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2617956370145209487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260813557,"filename":"image_10042025_03_02_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351049036","file1":"1351049031","file0":"1351049021","file4":"1351049055","file5":"1351049060","file3":"1351049038"},"map_files_photo_id_array":[{"photo_id":"1351049060","filename":"file5"},{"photo_id":"1351049036","filename":"file2"},{"photo_id":"1351049055","filename":"file4"},{"photo_id":"1351049031","filename":"file1"},{"photo_id":"1351049021","filename":"file0"},{"photo_id":"1351049038","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351049031":["hashtag1","hashtag2"]},{"1351049060":["hashtag1","hashtag2"]},{"1351049036":["hashtag1","hashtag2"]},{"1351049021":["hashtag1","hashtag2"]},{"1351049038":["hashtag1","hashtag2"]},{"1351049055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351049031, 1351049060, 1351049036, 1351049021, 1351049038, 1351049055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92715072631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:53:32.342269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_34_9393.jpg', '/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_45_10352.jpg', '/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_55_10418.jpg', '/home/pi/Desktop/images/10042025/03/02/image_10042025_03_03_04_9356.jpg', '/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_15_10391.jpg', '/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_24_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_34_9393.jpg
/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_45_10352.jpg
/home/pi/Desktop/images/10042025/03/02/image_10042025_03_02_55_10418.jpg
/home/pi/Desktop/images/10042025/03/02/image_10042025_03_03_04_9356.jpg
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_15_10391.jpg
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_24_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351049130","1351049118","1351049135","1351049114","1351049154","1351049148"],"photo_ids_order":["1351049114","1351049118","1351049130","1351049135","1351049148","1351049154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ea020479f12b31601e9875fc5d7c31c.jpg","text":"TemporaryFile(/tmp/multipartBody4274596285528178640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_02_55_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5fbf0623410cbc64ad676803b66c327.jpg","text":"TemporaryFile(/tmp/multipartBody1754929860822308559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_02_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbba2c62f70cd26643c18c21669ccc5c.jpg","text":"TemporaryFile(/tmp/multipartBody4890942945550207830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_03_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb84233aad7e825ff81be4a515b9ebef.jpg","text":"TemporaryFile(/tmp/multipartBody7871421985787197490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_02_34_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f00ee846284dfce68d32ca740449e0f.jpg","text":"TemporaryFile(/tmp/multipartBody742165713287338035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_03_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a004ffe60808f16e07da4e18d95c34af.jpg","text":"TemporaryFile(/tmp/multipartBody4361371162133297040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260872820,"filename":"image_10042025_03_03_15_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351049130","file1":"1351049118","file0":"1351049114","file4":"1351049148","file5":"1351049154","file3":"1351049135"},"map_files_photo_id_array":[{"photo_id":"1351049154","filename":"file5"},{"photo_id":"1351049130","filename":"file2"},{"photo_id":"1351049148","filename":"file4"},{"photo_id":"1351049118","filename":"file1"},{"photo_id":"1351049114","filename":"file0"},{"photo_id":"1351049135","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351049130":["hashtag1","hashtag2"]},{"1351049118":["hashtag1","hashtag2"]},{"1351049135":["hashtag1","hashtag2"]},{"1351049114":["hashtag1","hashtag2"]},{"1351049154":["hashtag1","hashtag2"]},{"1351049148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351049130, 1351049118, 1351049135, 1351049114, 1351049154, 1351049148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31518292427063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:54:32.426395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_35_10378.jpg', '/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_45_10381.jpg', '/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_54_9390.jpg', '/home/pi/Desktop/images/10042025/03/03/image_10042025_03_04_05_10367.jpg', '/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_15_10432.jpg', '/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_25_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_35_10378.jpg
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_45_10381.jpg
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_03_54_9390.jpg
/home/pi/Desktop/images/10042025/03/03/image_10042025_03_04_05_10367.jpg
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_15_10432.jpg
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_25_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351049319","1351049459","1351049312","1351049315","1351049467","1351049475"],"photo_ids_order":["1351049312","1351049315","1351049319","1351049459","1351049467","1351049475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8e794db8813951a72e10370e5f532fe.jpg","text":"TemporaryFile(/tmp/multipartBody1266015177963864301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_03_54_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fdcc6ac759d044d92b1d271a3ec2364.jpg","text":"TemporaryFile(/tmp/multipartBody8774236228894818845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_04_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea59191f530ce897149a759174537e10.jpg","text":"TemporaryFile(/tmp/multipartBody5622861495755677351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_03_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf8089a095748cccb5a7a6d16148f040.jpg","text":"TemporaryFile(/tmp/multipartBody7957810233239262820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_03_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9471e872f78fc08d589f697d9cc98041.jpg","text":"TemporaryFile(/tmp/multipartBody2139438317846977191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_04_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb914efea2aeb04bfe930fbca7cd3f52.jpg","text":"TemporaryFile(/tmp/multipartBody7517289774968298284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260932907,"filename":"image_10042025_03_04_25_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351049319","file1":"1351049315","file0":"1351049312","file4":"1351049467","file5":"1351049475","file3":"1351049459"},"map_files_photo_id_array":[{"photo_id":"1351049475","filename":"file5"},{"photo_id":"1351049319","filename":"file2"},{"photo_id":"1351049467","filename":"file4"},{"photo_id":"1351049315","filename":"file1"},{"photo_id":"1351049312","filename":"file0"},{"photo_id":"1351049459","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351049319":["hashtag1","hashtag2"]},{"1351049459":["hashtag1","hashtag2"]},{"1351049312":["hashtag1","hashtag2"]},{"1351049315":["hashtag1","hashtag2"]},{"1351049467":["hashtag1","hashtag2"]},{"1351049475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351049319, 1351049459, 1351049312, 1351049315, 1351049467, 1351049475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62782382965088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:55:32.576594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_35_10446.jpg', '/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_44_9361.jpg', '/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_55_10416.jpg', '/home/pi/Desktop/images/10042025/03/04/image_10042025_03_05_04_9484.jpg', '/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_15_10397.jpg', '/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_25_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_35_10446.jpg
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_44_9361.jpg
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_04_55_10416.jpg
/home/pi/Desktop/images/10042025/03/04/image_10042025_03_05_04_9484.jpg
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_15_10397.jpg
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_25_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351049520","1351049508","1351049517","1351049519","1351049512","1351049515"],"photo_ids_order":["1351049508","1351049512","1351049515","1351049517","1351049519","1351049520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57caa6f2d9975fb1c61ea4a2aa104639.jpg","text":"TemporaryFile(/tmp/multipartBody1633310048454801839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_05_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8f88cccb4a3390d904dd78bf78daefe.jpg","text":"TemporaryFile(/tmp/multipartBody5361196091287431218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_04_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8159fc76ee475ee39aa58501925ff54.jpg","text":"TemporaryFile(/tmp/multipartBody133939024395250220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_05_04_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f9bfc40f11d8cd79b4bfbc25fb464e9.jpg","text":"TemporaryFile(/tmp/multipartBody3792597612737915155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_05_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78f579beff4ed898e94734a219b6fa04.jpg","text":"TemporaryFile(/tmp/multipartBody9114589211596433004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_04_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ba2eb20a5a0b892a07ce2ca50d1adf7.jpg","text":"TemporaryFile(/tmp/multipartBody1683540087998103945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744260993056,"filename":"image_10042025_03_04_55_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351049515","file1":"1351049512","file0":"1351049508","file4":"1351049519","file5":"1351049520","file3":"1351049517"},"map_files_photo_id_array":[{"photo_id":"1351049520","filename":"file5"},{"photo_id":"1351049515","filename":"file2"},{"photo_id":"1351049519","filename":"file4"},{"photo_id":"1351049512","filename":"file1"},{"photo_id":"1351049508","filename":"file0"},{"photo_id":"1351049517","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351049520":["hashtag1","hashtag2"]},{"1351049508":["hashtag1","hashtag2"]},{"1351049517":["hashtag1","hashtag2"]},{"1351049519":["hashtag1","hashtag2"]},{"1351049512":["hashtag1","hashtag2"]},{"1351049515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351049520, 1351049508, 1351049517, 1351049519, 1351049512, 1351049515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.048678398132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:56:32.845742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_35_9347.jpg', '/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_45_10426.jpg', '/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_54_9429.jpg', '/home/pi/Desktop/images/10042025/03/05/image_10042025_03_06_05_10372.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_15_10357.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_24_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_35_9347.jpg
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_45_10426.jpg
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_05_54_9429.jpg
/home/pi/Desktop/images/10042025/03/05/image_10042025_03_06_05_10372.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_15_10357.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_24_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351049553","1351049547","1351049564","1351049543","1351049557","1351049559"],"photo_ids_order":["1351049543","1351049547","1351049553","1351049557","1351049559","1351049564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d2e724f3254412a63692e311963aeac.jpg","text":"TemporaryFile(/tmp/multipartBody7491135558704403030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_05_54_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7cf344864eb8c92b1003778a826db7e8.jpg","text":"TemporaryFile(/tmp/multipartBody3873889981569763845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_05_45_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb66bec38bc3083df6b13819f2fff52b.jpg","text":"TemporaryFile(/tmp/multipartBody4880133706567791469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_06_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ee95e5c92e965fd6ede80abc039a448.jpg","text":"TemporaryFile(/tmp/multipartBody9110595102456846678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_05_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f459f7998183eabb61dcfa3f5816d507.jpg","text":"TemporaryFile(/tmp/multipartBody6258054212039234778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_06_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fba606cf00887ef0972b99c449bc86fb.jpg","text":"TemporaryFile(/tmp/multipartBody8872096600902919765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261053312,"filename":"image_10042025_03_06_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351049553","file1":"1351049547","file0":"1351049543","file4":"1351049559","file5":"1351049564","file3":"1351049557"},"map_files_photo_id_array":[{"photo_id":"1351049564","filename":"file5"},{"photo_id":"1351049553","filename":"file2"},{"photo_id":"1351049559","filename":"file4"},{"photo_id":"1351049547","filename":"file1"},{"photo_id":"1351049543","filename":"file0"},{"photo_id":"1351049557","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351049553":["hashtag1","hashtag2"]},{"1351049547":["hashtag1","hashtag2"]},{"1351049564":["hashtag1","hashtag2"]},{"1351049543":["hashtag1","hashtag2"]},{"1351049557":["hashtag1","hashtag2"]},{"1351049559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351049553, 1351049547, 1351049564, 1351049543, 1351049557, 1351049559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30387282371521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 06:57:33.227326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_35_10402.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_44_9442.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_55_10366.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_07_05_10343.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_14_9366.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_35_10402.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_44_9442.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_55_10366.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_07_05_10343.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_14_9366.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_25_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:59:04.079507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_35_10402.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_44_9442.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_55_10366.jpg', '/home/pi/Desktop/images/10042025/03/06/image_10042025_03_07_05_10343.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_14_9366.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_35_10402.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_44_9442.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_06_55_10366.jpg
/home/pi/Desktop/images/10042025/03/06/image_10042025_03_07_05_10343.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_14_9366.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_25_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351050491","1351050617","1351050394","1351050407","1351050676","1351050390"],"photo_ids_order":["1351050390","1351050394","1351050407","1351050491","1351050617","1351050676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f78881c77d74e2864c4f55dc2e925e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6412249456896321212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_07_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f6920f5afc3c64e6881205b299e4f18.jpg","text":"TemporaryFile(/tmp/multipartBody6531433173779103205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_07_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c612dd091d4e4330e27635c74b2caf1a.jpg","text":"TemporaryFile(/tmp/multipartBody4442122414121391642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_06_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4498e27db57eb95e39e61bb33cb2e85.jpg","text":"TemporaryFile(/tmp/multipartBody2865515520583905063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_06_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cda3c79abf5e32b14eb9dc46b043954f.jpg","text":"TemporaryFile(/tmp/multipartBody73451160901812927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_07_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4eafc17c03b772db73caf1aba04347d5.jpg","text":"TemporaryFile(/tmp/multipartBody3139750732725244409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261204678,"filename":"image_10042025_03_06_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351050407","file1":"1351050394","file0":"1351050390","file4":"1351050617","file5":"1351050676","file3":"1351050491"},"map_files_photo_id_array":[{"photo_id":"1351050676","filename":"file5"},{"photo_id":"1351050407","filename":"file2"},{"photo_id":"1351050617","filename":"file4"},{"photo_id":"1351050394","filename":"file1"},{"photo_id":"1351050390","filename":"file0"},{"photo_id":"1351050491","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351050491":["hashtag1","hashtag2"]},{"1351050617":["hashtag1","hashtag2"]},{"1351050394":["hashtag1","hashtag2"]},{"1351050407":["hashtag1","hashtag2"]},{"1351050676":["hashtag1","hashtag2"]},{"1351050390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351050491, 1351050617, 1351050394, 1351050407, 1351050676, 1351050390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49664855003357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 06:59:42.747759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_35_10343.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_45_9438.jpg', '/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_55_10375.jpg', '/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_15_10402.jpg', '/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_24_9477.jpg', '/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_35_10343.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_45_9438.jpg
/home/pi/Desktop/images/10042025/03/07/image_10042025_03_07_55_10375.jpg
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_15_10402.jpg
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_24_9477.jpg
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_35_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351050867","1351050872","1351050819","1351050841","1351050861","1351050783"],"photo_ids_order":["1351050783","1351050819","1351050841","1351050861","1351050867","1351050872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b97c8b3982802fd86a8ffaaf8fb2d362.jpg","text":"TemporaryFile(/tmp/multipartBody9105125911826718643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_08_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6cc2fa168f5666e42824b8ba48e0d22.jpg","text":"TemporaryFile(/tmp/multipartBody2890311390877532773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_08_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e71e6510bd7da935050efec3180efda1.jpg","text":"TemporaryFile(/tmp/multipartBody6836809303366614785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_07_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53c40029b0210ee5b8c7bbd001901ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6082459440594187159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_07_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/376e562503b8549559dbf219eff8e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4394919825063563070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_08_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3fcd938830ef96973fc15d35c2a6815.jpg","text":"TemporaryFile(/tmp/multipartBody4299093962110767719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261243225,"filename":"image_10042025_03_07_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351050841","file1":"1351050819","file0":"1351050783","file4":"1351050867","file5":"1351050872","file3":"1351050861"},"map_files_photo_id_array":[{"photo_id":"1351050872","filename":"file5"},{"photo_id":"1351050841","filename":"file2"},{"photo_id":"1351050867","filename":"file4"},{"photo_id":"1351050819","filename":"file1"},{"photo_id":"1351050783","filename":"file0"},{"photo_id":"1351050861","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351050867":["hashtag1","hashtag2"]},{"1351050872":["hashtag1","hashtag2"]},{"1351050819":["hashtag1","hashtag2"]},{"1351050841":["hashtag1","hashtag2"]},{"1351050861":["hashtag1","hashtag2"]},{"1351050783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351050867, 1351050872, 1351050819, 1351050841, 1351050861, 1351050783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53967022895813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:00:32.969254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_45_10375.jpg', '/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_54_9418.jpg', '/home/pi/Desktop/images/10042025/03/08/image_10042025_03_09_05_10380.jpg', '/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_15_10428.jpg', '/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_25_9362.jpg', '/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_45_10375.jpg
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_08_54_9418.jpg
/home/pi/Desktop/images/10042025/03/08/image_10042025_03_09_05_10380.jpg
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_15_10428.jpg
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_25_9362.jpg
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351050948","1351050989","1351050952","1351050955","1351051012","1351051041"],"photo_ids_order":["1351050948","1351050952","1351050955","1351050989","1351051012","1351051041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2eb64f1d763405174ad0be30114fa11c.jpg","text":"TemporaryFile(/tmp/multipartBody2756327733903534359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_08_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/273d3649e376c3947d64d849d4258841.jpg","text":"TemporaryFile(/tmp/multipartBody3929952681524368488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_09_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e96767530da5fe757f88a35b27ce79e5.jpg","text":"TemporaryFile(/tmp/multipartBody4300177563146425591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_08_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c39ae4fa2cd87f18ce7485360059cc76.jpg","text":"TemporaryFile(/tmp/multipartBody8882528895603213322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_09_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/859ad899f9d2d52108ee5f9e78198b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4366795363486285741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_09_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00c9ecc1b2c77f314077b4f5be9768da.jpg","text":"TemporaryFile(/tmp/multipartBody5125727863712439350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261293453,"filename":"image_10042025_03_09_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351050955","file1":"1351050952","file0":"1351050948","file4":"1351051012","file5":"1351051041","file3":"1351050989"},"map_files_photo_id_array":[{"photo_id":"1351051041","filename":"file5"},{"photo_id":"1351050955","filename":"file2"},{"photo_id":"1351051012","filename":"file4"},{"photo_id":"1351050952","filename":"file1"},{"photo_id":"1351050948","filename":"file0"},{"photo_id":"1351050989","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351050948":["hashtag1","hashtag2"]},{"1351050989":["hashtag1","hashtag2"]},{"1351050952":["hashtag1","hashtag2"]},{"1351050955":["hashtag1","hashtag2"]},{"1351051012":["hashtag1","hashtag2"]},{"1351051041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351050948, 1351050989, 1351050952, 1351050955, 1351051012, 1351051041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67653179168701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:01:32.307087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_44_9451.jpg', '/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_55_10356.jpg', '/home/pi/Desktop/images/10042025/03/09/image_10042025_03_10_05_10385.jpg', '/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_25_10391.jpg', '/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_34_9354.jpg', '/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_44_9451.jpg
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_09_55_10356.jpg
/home/pi/Desktop/images/10042025/03/09/image_10042025_03_10_05_10385.jpg
/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_25_10391.jpg
/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_34_9354.jpg
/home/pi/Desktop/images/10042025/03/10/image_10042025_03_10_45_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351051302","1351051367","1351051268","1351051226","1351051246","1351051347"],"photo_ids_order":["1351051226","1351051246","1351051268","1351051302","1351051347","1351051367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c05c776a1b0624ad9d62a4d88a78016.jpg","text":"TemporaryFile(/tmp/multipartBody368712306482076687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_10_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddb0f49d66da7b2e2fb183e57b244aff.jpg","text":"TemporaryFile(/tmp/multipartBody5410106459140260222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_10_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6335763fd5e732a2015b51115579c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1030875602119396220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_10_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69a7c42cd533a6c470c7404f0d799c55.jpg","text":"TemporaryFile(/tmp/multipartBody4527107140241545957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_09_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48b8bb9f1bff7bbf3348ba52fc523a4c.jpg","text":"TemporaryFile(/tmp/multipartBody67831495859086208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_09_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b10379ec0c82a35083fa1b89c4139e16.jpg","text":"TemporaryFile(/tmp/multipartBody4759560828155597600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261352781,"filename":"image_10042025_03_10_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351051268","file1":"1351051246","file0":"1351051226","file4":"1351051347","file5":"1351051367","file3":"1351051302"},"map_files_photo_id_array":[{"photo_id":"1351051367","filename":"file5"},{"photo_id":"1351051268","filename":"file2"},{"photo_id":"1351051347","filename":"file4"},{"photo_id":"1351051246","filename":"file1"},{"photo_id":"1351051226","filename":"file0"},{"photo_id":"1351051302","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351051302":["hashtag1","hashtag2"]},{"1351051367":["hashtag1","hashtag2"]},{"1351051268":["hashtag1","hashtag2"]},{"1351051226":["hashtag1","hashtag2"]},{"1351051246":["hashtag1","hashtag2"]},{"1351051347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351051302, 1351051367, 1351051268, 1351051226, 1351051246, 1351051347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03422403335571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:02:32.413995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/10/image_10042025_03_11_04_9461.jpg', '/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_15_10358.jpg', '/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_25_10367.jpg', '/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_35_9468.jpg', '/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_54_9463.jpg', '/home/pi/Desktop/images/10042025/03/11/image_10042025_03_12_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/10/image_10042025_03_11_04_9461.jpg
/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_15_10358.jpg
/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_25_10367.jpg
/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_35_9468.jpg
/home/pi/Desktop/images/10042025/03/11/image_10042025_03_11_54_9463.jpg
/home/pi/Desktop/images/10042025/03/11/image_10042025_03_12_05_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351051706","1351051690","1351051601","1351051677","1351051656","1351051737"],"photo_ids_order":["1351051601","1351051656","1351051677","1351051690","1351051706","1351051737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0be1255fb97adbbcbc9b5ce59df06d41.jpg","text":"TemporaryFile(/tmp/multipartBody6622739895981527837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_11_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/108ca043894355359bf8666e32a9cda3.jpg","text":"TemporaryFile(/tmp/multipartBody9148760743740773207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_11_35_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66a8d07077a99a062d1c7668c180bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8662571412885724478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_11_04_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6291a587b0206ee3a67bb9ffa713b089.jpg","text":"TemporaryFile(/tmp/multipartBody3221057297405350180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_11_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb63821c245a655b7beed910999f7fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3327088128718053388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_11_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5c20e19bfff26b5f63127ad7d2a6b80.jpg","text":"TemporaryFile(/tmp/multipartBody9033385709784450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261412878,"filename":"image_10042025_03_12_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351051677","file1":"1351051656","file0":"1351051601","file4":"1351051706","file5":"1351051737","file3":"1351051690"},"map_files_photo_id_array":[{"photo_id":"1351051737","filename":"file5"},{"photo_id":"1351051677","filename":"file2"},{"photo_id":"1351051706","filename":"file4"},{"photo_id":"1351051656","filename":"file1"},{"photo_id":"1351051601","filename":"file0"},{"photo_id":"1351051690","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351051706":["hashtag1","hashtag2"]},{"1351051690":["hashtag1","hashtag2"]},{"1351051601":["hashtag1","hashtag2"]},{"1351051677":["hashtag1","hashtag2"]},{"1351051656":["hashtag1","hashtag2"]},{"1351051737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351051706, 1351051690, 1351051601, 1351051677, 1351051656, 1351051737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5358362197876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:03:32.598818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_15_10371.jpg', '/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_44_9387.jpg', '/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_55_10379.jpg', '/home/pi/Desktop/images/10042025/03/12/image_10042025_03_13_05_10356.jpg', '/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_15_9428.jpg', '/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_25_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_15_10371.jpg
/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_44_9387.jpg
/home/pi/Desktop/images/10042025/03/12/image_10042025_03_12_55_10379.jpg
/home/pi/Desktop/images/10042025/03/12/image_10042025_03_13_05_10356.jpg
/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_15_9428.jpg
/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_25_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351052258","1351051973","1351052123","1351052038","1351052005","1351052212"],"photo_ids_order":["1351051973","1351052005","1351052038","1351052123","1351052212","1351052258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a00e0feaabe37e6c60371c6a7669a773.jpg","text":"TemporaryFile(/tmp/multipartBody1817269251767972663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_13_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee7dffc1f9b4b278c296c03273c3426c.jpg","text":"TemporaryFile(/tmp/multipartBody3522209116816734802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_12_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce35173127fa798a0f8accb5a63cf178.jpg","text":"TemporaryFile(/tmp/multipartBody1513649046417940271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_13_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d62605f6421313cb39d98a11066f9610.jpg","text":"TemporaryFile(/tmp/multipartBody6134559216847611575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_12_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8db7f4057ee9e688de342bf8780ce66.jpg","text":"TemporaryFile(/tmp/multipartBody1778418101397959040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_12_44_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc6ef4039c2f56527f09d31ddea2c366.jpg","text":"TemporaryFile(/tmp/multipartBody8105619544726586766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261473069,"filename":"image_10042025_03_13_15_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351052038","file1":"1351052005","file0":"1351051973","file4":"1351052212","file5":"1351052258","file3":"1351052123"},"map_files_photo_id_array":[{"photo_id":"1351052258","filename":"file5"},{"photo_id":"1351052038","filename":"file2"},{"photo_id":"1351052212","filename":"file4"},{"photo_id":"1351052005","filename":"file1"},{"photo_id":"1351051973","filename":"file0"},{"photo_id":"1351052123","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351052258":["hashtag1","hashtag2"]},{"1351051973":["hashtag1","hashtag2"]},{"1351052123":["hashtag1","hashtag2"]},{"1351052038":["hashtag1","hashtag2"]},{"1351052005":["hashtag1","hashtag2"]},{"1351052212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351052258, 1351051973, 1351052123, 1351052038, 1351052005, 1351052212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6836998462677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:04:32.809103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_44_9351.jpg', '/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_55_10373.jpg', '/home/pi/Desktop/images/10042025/03/13/image_10042025_03_14_05_10358.jpg', '/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_14_9366.jpg', '/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_25_10380.jpg', '/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_44_9351.jpg
/home/pi/Desktop/images/10042025/03/13/image_10042025_03_13_55_10373.jpg
/home/pi/Desktop/images/10042025/03/13/image_10042025_03_14_05_10358.jpg
/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_14_9366.jpg
/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_25_10380.jpg
/home/pi/Desktop/images/10042025/03/14/image_10042025_03_14_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351052990","1351052756","1351052905","1351053045","1351052814","1351052709"],"photo_ids_order":["1351052709","1351052756","1351052814","1351052905","1351052990","1351053045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5be3062d3767c229bc8069a0fd26b7de.jpg","text":"TemporaryFile(/tmp/multipartBody8831547601196766747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_14_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ad1de158fe6cfc9d7f0a2a3c07c61d6.jpg","text":"TemporaryFile(/tmp/multipartBody139192714762281887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_13_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcecc1608f5bc8dba915657709e11b47.jpg","text":"TemporaryFile(/tmp/multipartBody9111802897142359732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_14_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c38e77372177713a74f0b4997e51c596.jpg","text":"TemporaryFile(/tmp/multipartBody6849067720799719033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_14_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/076cb9b3324df7569306cd15da2456d9.jpg","text":"TemporaryFile(/tmp/multipartBody6403124958365211228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_14_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fbe5124c4d52de6aedd00c2e3dccc1a.jpg","text":"TemporaryFile(/tmp/multipartBody2006537483672476621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261533281,"filename":"image_10042025_03_13_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351052814","file1":"1351052756","file0":"1351052709","file4":"1351052990","file5":"1351053045","file3":"1351052905"},"map_files_photo_id_array":[{"photo_id":"1351053045","filename":"file5"},{"photo_id":"1351052814","filename":"file2"},{"photo_id":"1351052990","filename":"file4"},{"photo_id":"1351052756","filename":"file1"},{"photo_id":"1351052709","filename":"file0"},{"photo_id":"1351052905","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351052990":["hashtag1","hashtag2"]},{"1351052756":["hashtag1","hashtag2"]},{"1351052905":["hashtag1","hashtag2"]},{"1351053045":["hashtag1","hashtag2"]},{"1351052814":["hashtag1","hashtag2"]},{"1351052709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351052990, 1351052756, 1351052905, 1351053045, 1351052814, 1351052709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37855553627014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:05:32.999689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/14/image_10042025_03_15_04_9433.jpg', '/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_15_10366.jpg', '/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_35_9356.jpg', '/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_45_10358.jpg', '/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_54_9453.jpg', '/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/14/image_10042025_03_15_04_9433.jpg
/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_15_10366.jpg
/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_35_9356.jpg
/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_45_10358.jpg
/home/pi/Desktop/images/10042025/03/15/image_10042025_03_15_54_9453.jpg
/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351053499","1351053619","1351053529","1351053415","1351053584","1351053455"],"photo_ids_order":["1351053415","1351053455","1351053499","1351053529","1351053584","1351053619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bebeed3001653b09e1acfeb8292dfaee.jpg","text":"TemporaryFile(/tmp/multipartBody6346135633561374774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_15_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/970ae9568beddc9cf1cd0a37a91804a3.jpg","text":"TemporaryFile(/tmp/multipartBody4491861202917730137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_16_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccb5b263cf30096f6005a588a10381cf.jpg","text":"TemporaryFile(/tmp/multipartBody8305122529021152419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_15_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad2e3c0b39588452198b2689f5397b81.jpg","text":"TemporaryFile(/tmp/multipartBody7980005373260433055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_15_04_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01031d6b30f458bd98d6174e9100f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5950269272503021521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_15_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e18d5a5fe1efb5247259ce271fca6f4.jpg","text":"TemporaryFile(/tmp/multipartBody3780744469639360032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261593474,"filename":"image_10042025_03_15_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351053499","file1":"1351053455","file0":"1351053415","file4":"1351053584","file5":"1351053619","file3":"1351053529"},"map_files_photo_id_array":[{"photo_id":"1351053619","filename":"file5"},{"photo_id":"1351053499","filename":"file2"},{"photo_id":"1351053584","filename":"file4"},{"photo_id":"1351053455","filename":"file1"},{"photo_id":"1351053415","filename":"file0"},{"photo_id":"1351053529","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351053499":["hashtag1","hashtag2"]},{"1351053619":["hashtag1","hashtag2"]},{"1351053529":["hashtag1","hashtag2"]},{"1351053415":["hashtag1","hashtag2"]},{"1351053584":["hashtag1","hashtag2"]},{"1351053455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351053499, 1351053619, 1351053529, 1351053415, 1351053584, 1351053455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09882402420044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:06:32.235904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_35_10444.jpg', '/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_44_9438.jpg', '/home/pi/Desktop/images/10042025/03/16/image_10042025_03_17_05_10433.jpg', '/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_14_9361.jpg', '/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_25_10351.jpg', '/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_34_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_35_10444.jpg
/home/pi/Desktop/images/10042025/03/16/image_10042025_03_16_44_9438.jpg
/home/pi/Desktop/images/10042025/03/16/image_10042025_03_17_05_10433.jpg
/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_14_9361.jpg
/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_25_10351.jpg
/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_34_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351053932","1351053997","1351053961","1351053972","1351053954","1351053984"],"photo_ids_order":["1351053932","1351053954","1351053961","1351053972","1351053984","1351053997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e93f60255b87cb4199718f8f532b702a.jpg","text":"TemporaryFile(/tmp/multipartBody2247730454245326998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_16_35_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2c6480e40d11f350ef47cf2a795bd1a.jpg","text":"TemporaryFile(/tmp/multipartBody2955915801377100171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_17_34_9571.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cfe21a7a71516d1c0bd96a0118e682f.jpg","text":"TemporaryFile(/tmp/multipartBody6742967983671271079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_17_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cce15ce88466d36c0f4e3495f7a792ff.jpg","text":"TemporaryFile(/tmp/multipartBody7349201868630053414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_17_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d92d109a62437c709ae77bcd6f771f5.jpg","text":"TemporaryFile(/tmp/multipartBody1251267649996061768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_16_44_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efe764afacaf49d22d80179f9999749f.jpg","text":"TemporaryFile(/tmp/multipartBody3216276660083687499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261652713,"filename":"image_10042025_03_17_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351053961","file1":"1351053954","file0":"1351053932","file4":"1351053984","file5":"1351053997","file3":"1351053972"},"map_files_photo_id_array":[{"photo_id":"1351053997","filename":"file5"},{"photo_id":"1351053961","filename":"file2"},{"photo_id":"1351053984","filename":"file4"},{"photo_id":"1351053954","filename":"file1"},{"photo_id":"1351053932","filename":"file0"},{"photo_id":"1351053972","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351053932":["hashtag1","hashtag2"]},{"1351053997":["hashtag1","hashtag2"]},{"1351053961":["hashtag1","hashtag2"]},{"1351053972":["hashtag1","hashtag2"]},{"1351053954":["hashtag1","hashtag2"]},{"1351053984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351053932, 1351053997, 1351053961, 1351053972, 1351053954, 1351053984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26594352722168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:07:32.394341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_45_10398.jpg', '/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_15_10353.jpg', '/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_24_9453.jpg', '/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_35_10417.jpg', '/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_45_10357.jpg', '/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_55_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/17/image_10042025_03_17_45_10398.jpg
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_15_10353.jpg
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_24_9453.jpg
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_35_10417.jpg
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_45_10357.jpg
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_18_55_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351054519","1351054365","1351054275","1351054437","1351054328","1351054415"],"photo_ids_order":["1351054275","1351054328","1351054365","1351054415","1351054437","1351054519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f8f1907e40b93a363ef2ac8081c406f.jpg","text":"TemporaryFile(/tmp/multipartBody3161736805414774421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_18_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4a7de4ea5e711a07e2ba9bf139a50b1.jpg","text":"TemporaryFile(/tmp/multipartBody6931353374993775630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_18_24_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1534dc407a1cc5b9b8c997b3821f06cf.jpg","text":"TemporaryFile(/tmp/multipartBody5352436925280442790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_17_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abf92b3675743ffcc9a1046b45f179fe.jpg","text":"TemporaryFile(/tmp/multipartBody830100746241791586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_18_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cce2fbadf2c0a18953e8b1697d0a137.jpg","text":"TemporaryFile(/tmp/multipartBody3698117574762389146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_18_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/751822523216264c40adc3a0c5ae0f34.jpg","text":"TemporaryFile(/tmp/multipartBody6634533416624562242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261712866,"filename":"image_10042025_03_18_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351054365","file1":"1351054328","file0":"1351054275","file4":"1351054437","file5":"1351054519","file3":"1351054415"},"map_files_photo_id_array":[{"photo_id":"1351054519","filename":"file5"},{"photo_id":"1351054365","filename":"file2"},{"photo_id":"1351054437","filename":"file4"},{"photo_id":"1351054328","filename":"file1"},{"photo_id":"1351054275","filename":"file0"},{"photo_id":"1351054415","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351054519":["hashtag1","hashtag2"]},{"1351054365":["hashtag1","hashtag2"]},{"1351054275":["hashtag1","hashtag2"]},{"1351054437":["hashtag1","hashtag2"]},{"1351054328":["hashtag1","hashtag2"]},{"1351054415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351054519, 1351054365, 1351054275, 1351054437, 1351054328, 1351054415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07519340515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:08:32.632405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/18/image_10042025_03_19_05_10364.jpg', '/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_14_9416.jpg', '/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_25_10367.jpg', '/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_35_10363.jpg', '/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_44_9341.jpg', '/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/18/image_10042025_03_19_05_10364.jpg
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_14_9416.jpg
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_25_10367.jpg
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_35_10363.jpg
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_44_9341.jpg
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_19_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351054753","1351054735","1351054815","1351054795","1351054780","1351054808"],"photo_ids_order":["1351054735","1351054753","1351054780","1351054795","1351054808","1351054815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b47a36c3b9e8b66ada11a1b246f14b2.jpg","text":"TemporaryFile(/tmp/multipartBody3024488364786246742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9285f1b2755d1ee591a3b6865f60551.jpg","text":"TemporaryFile(/tmp/multipartBody192627120139015767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b80ef764fd38a79bab383c6eea04c327.jpg","text":"TemporaryFile(/tmp/multipartBody8113423104582171035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de1c90bf28d0df1c048a47fa26773cc2.jpg","text":"TemporaryFile(/tmp/multipartBody9137313118907613097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6625f48de06ed62dc052f82ecef7166.jpg","text":"TemporaryFile(/tmp/multipartBody2009688815545473454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d04eca159b867ecc7ee63284fa55454.jpg","text":"TemporaryFile(/tmp/multipartBody4309196933591499996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261773099,"filename":"image_10042025_03_19_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351054780","file1":"1351054753","file0":"1351054735","file4":"1351054808","file5":"1351054815","file3":"1351054795"},"map_files_photo_id_array":[{"photo_id":"1351054815","filename":"file5"},{"photo_id":"1351054780","filename":"file2"},{"photo_id":"1351054808","filename":"file4"},{"photo_id":"1351054753","filename":"file1"},{"photo_id":"1351054735","filename":"file0"},{"photo_id":"1351054795","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351054753":["hashtag1","hashtag2"]},{"1351054735":["hashtag1","hashtag2"]},{"1351054815":["hashtag1","hashtag2"]},{"1351054795":["hashtag1","hashtag2"]},{"1351054780":["hashtag1","hashtag2"]},{"1351054808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351054753, 1351054735, 1351054815, 1351054795, 1351054780, 1351054808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.529109239578247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:09:32.818434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/19/image_10042025_03_20_05_10369.jpg', '/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_15_9344.jpg', '/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_25_10390.jpg', '/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_34_9425.jpg', '/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_45_10420.jpg', '/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_54_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/19/image_10042025_03_20_05_10369.jpg
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_15_9344.jpg
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_25_10390.jpg
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_34_9425.jpg
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_45_10420.jpg
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_20_54_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055020","1351054948","1351055004","1351054977","1351055013","1351054904"],"photo_ids_order":["1351054904","1351054948","1351054977","1351055004","1351055013","1351055020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a78a2f2b8ee40e0eaa735fccaf2c0189.jpg","text":"TemporaryFile(/tmp/multipartBody3877748998900545412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d26c9555a6f95ba7d1221c50415abcc9.jpg","text":"TemporaryFile(/tmp/multipartBody8728785958420366953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cfd406baf2ad578736f75b3d9ca8642.jpg","text":"TemporaryFile(/tmp/multipartBody2047892505340307070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_34_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75b35a7cd4bf849d4029e45e7398d273.jpg","text":"TemporaryFile(/tmp/multipartBody4873472838206448685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e99486a7b58a5c7a8a2df0662f95629.jpg","text":"TemporaryFile(/tmp/multipartBody3007825040367702516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1dbec68d5fca269448c8f3d626614d99.jpg","text":"TemporaryFile(/tmp/multipartBody1920490817670578693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261833303,"filename":"image_10042025_03_20_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351054977","file1":"1351054948","file0":"1351054904","file4":"1351055013","file5":"1351055020","file3":"1351055004"},"map_files_photo_id_array":[{"photo_id":"1351055020","filename":"file5"},{"photo_id":"1351054977","filename":"file2"},{"photo_id":"1351055013","filename":"file4"},{"photo_id":"1351054948","filename":"file1"},{"photo_id":"1351054904","filename":"file0"},{"photo_id":"1351055004","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055020":["hashtag1","hashtag2"]},{"1351054948":["hashtag1","hashtag2"]},{"1351055004":["hashtag1","hashtag2"]},{"1351054977":["hashtag1","hashtag2"]},{"1351055013":["hashtag1","hashtag2"]},{"1351054904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055020, 1351054948, 1351055004, 1351054977, 1351055013, 1351054904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03477191925049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:10:32.916517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/20/image_10042025_03_21_05_10408.jpg', '/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_15_10352.jpg', '/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_24_9450.jpg', '/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_35_10370.jpg', '/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_45_10370.jpg', '/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_14_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/20/image_10042025_03_21_05_10408.jpg
/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_15_10352.jpg
/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_24_9450.jpg
/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_35_10370.jpg
/home/pi/Desktop/images/10042025/03/21/image_10042025_03_21_45_10370.jpg
/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_14_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055323","1351055317","1351055305","1351055235","1351055294","1351055275"],"photo_ids_order":["1351055235","1351055275","1351055294","1351055305","1351055317","1351055323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/344cd2468efa33029b0a8e65f9a25f7c.jpg","text":"TemporaryFile(/tmp/multipartBody1869367494398508756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_22_14_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6efd7acca1bee37c73e5bf2bb164dbe8.jpg","text":"TemporaryFile(/tmp/multipartBody1239491428554035360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_21_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ab4da5be8b5a22909712a15342b2df3.jpg","text":"TemporaryFile(/tmp/multipartBody2670852545008425983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_21_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c990836c58195ea5402c0433005583e3.jpg","text":"TemporaryFile(/tmp/multipartBody3872462184580397984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_21_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe98d7818c13abec6632cbc7d4e98ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5544398251643806435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_21_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85a745f2ef847c1c3ea1cc20edf0669e.jpg","text":"TemporaryFile(/tmp/multipartBody8781798855244072168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261893417,"filename":"image_10042025_03_21_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351055294","file1":"1351055275","file0":"1351055235","file4":"1351055317","file5":"1351055323","file3":"1351055305"},"map_files_photo_id_array":[{"photo_id":"1351055323","filename":"file5"},{"photo_id":"1351055294","filename":"file2"},{"photo_id":"1351055317","filename":"file4"},{"photo_id":"1351055275","filename":"file1"},{"photo_id":"1351055235","filename":"file0"},{"photo_id":"1351055305","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055323":["hashtag1","hashtag2"]},{"1351055317":["hashtag1","hashtag2"]},{"1351055305":["hashtag1","hashtag2"]},{"1351055235":["hashtag1","hashtag2"]},{"1351055294":["hashtag1","hashtag2"]},{"1351055275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055323, 1351055317, 1351055305, 1351055235, 1351055294, 1351055275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99064230918884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:11:33.162711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_25_10374.jpg', '/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_35_10345.jpg', '/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_55_10485.jpg', '/home/pi/Desktop/images/10042025/03/22/image_10042025_03_23_04_9441.jpg', '/home/pi/Desktop/images/10042025/03/23/image_10042025_03_23_15_10362.jpg', '/home/pi/Desktop/images/10042025/03/23/image_10042025_03_24_05_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_25_10374.jpg
/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_35_10345.jpg
/home/pi/Desktop/images/10042025/03/22/image_10042025_03_22_55_10485.jpg
/home/pi/Desktop/images/10042025/03/22/image_10042025_03_23_04_9441.jpg
/home/pi/Desktop/images/10042025/03/23/image_10042025_03_23_15_10362.jpg
/home/pi/Desktop/images/10042025/03/23/image_10042025_03_24_05_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055394","1351055382","1351055372","1351055402","1351055440","1351055434"],"photo_ids_order":["1351055372","1351055382","1351055394","1351055402","1351055434","1351055440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb6d0c357772668d459a0270d03bfe5f.jpg","text":"TemporaryFile(/tmp/multipartBody9044338136147099481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_22_55_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47c8951ac99a8ecf4935e32892c45f25.jpg","text":"TemporaryFile(/tmp/multipartBody1571751380368456879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_22_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac492185b0af5275b8ce66472730fb53.jpg","text":"TemporaryFile(/tmp/multipartBody6377535958008167901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_22_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/522df6d045f1fc0b5758725ed19193cc.jpg","text":"TemporaryFile(/tmp/multipartBody2908333618067677889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_23_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19acd6d1de4d6a454fdf02b70d23c004.jpg","text":"TemporaryFile(/tmp/multipartBody2609203920950309651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_24_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2915e32e96095e440f85a0977a717b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3235669575500004605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744261953632,"filename":"image_10042025_03_23_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351055394","file1":"1351055382","file0":"1351055372","file4":"1351055434","file5":"1351055440","file3":"1351055402"},"map_files_photo_id_array":[{"photo_id":"1351055440","filename":"file5"},{"photo_id":"1351055394","filename":"file2"},{"photo_id":"1351055434","filename":"file4"},{"photo_id":"1351055382","filename":"file1"},{"photo_id":"1351055372","filename":"file0"},{"photo_id":"1351055402","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055394":["hashtag1","hashtag2"]},{"1351055382":["hashtag1","hashtag2"]},{"1351055372":["hashtag1","hashtag2"]},{"1351055402":["hashtag1","hashtag2"]},{"1351055440":["hashtag1","hashtag2"]},{"1351055434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055394, 1351055382, 1351055372, 1351055402, 1351055440, 1351055434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40435719490051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:12:32.322455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_15_10413.jpg', '/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_24_9428.jpg', '/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_45_10373.jpg', '/home/pi/Desktop/images/10042025/03/25/image_10042025_03_25_35_10355.jpg', '/home/pi/Desktop/images/10042025/03/25/image_10042025_03_25_45_9457.jpg', '/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_15_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_15_10413.jpg
/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_24_9428.jpg
/home/pi/Desktop/images/10042025/03/24/image_10042025_03_24_45_10373.jpg
/home/pi/Desktop/images/10042025/03/25/image_10042025_03_25_35_10355.jpg
/home/pi/Desktop/images/10042025/03/25/image_10042025_03_25_45_9457.jpg
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_15_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055582","1351055627","1351055618","1351055641","1351055554","1351055527"],"photo_ids_order":["1351055527","1351055554","1351055582","1351055618","1351055627","1351055641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e6c38c849b01156db5b2cfd6a3f84e0.jpg","text":"TemporaryFile(/tmp/multipartBody2403603889975472853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_24_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/057ed979233d02d262ab15d312d681f1.jpg","text":"TemporaryFile(/tmp/multipartBody1334562557464807937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_25_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e82376e28840a195c4b91e47af49d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2455559752626324342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_25_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10db0b2c0904d6baed638875eea1ee94.jpg","text":"TemporaryFile(/tmp/multipartBody7177124453160053823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_26_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e44cde32f037272cdee09b2f6c64836.jpg","text":"TemporaryFile(/tmp/multipartBody3566895351975931542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_24_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22b296b67f459f90bf1de01e9c235f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7634236667098071554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262012801,"filename":"image_10042025_03_24_15_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351055582","file1":"1351055554","file0":"1351055527","file4":"1351055627","file5":"1351055641","file3":"1351055618"},"map_files_photo_id_array":[{"photo_id":"1351055641","filename":"file5"},{"photo_id":"1351055582","filename":"file2"},{"photo_id":"1351055627","filename":"file4"},{"photo_id":"1351055554","filename":"file1"},{"photo_id":"1351055527","filename":"file0"},{"photo_id":"1351055618","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055582":["hashtag1","hashtag2"]},{"1351055627":["hashtag1","hashtag2"]},{"1351055618":["hashtag1","hashtag2"]},{"1351055641":["hashtag1","hashtag2"]},{"1351055554":["hashtag1","hashtag2"]},{"1351055527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055582, 1351055627, 1351055618, 1351055641, 1351055554, 1351055527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.47704577445984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:13:32.543392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_25_10369.jpg', '/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_35_9426.jpg', '/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_45_10379.jpg', '/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_54_9481.jpg', '/home/pi/Desktop/images/10042025/03/26/image_10042025_03_27_05_10364.jpg', '/home/pi/Desktop/images/10042025/03/27/image_10042025_03_27_55_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_25_10369.jpg
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_35_9426.jpg
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_45_10379.jpg
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_26_54_9481.jpg
/home/pi/Desktop/images/10042025/03/26/image_10042025_03_27_05_10364.jpg
/home/pi/Desktop/images/10042025/03/27/image_10042025_03_27_55_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055667","1351055681","1351055675","1351055687","1351055692","1351055671"],"photo_ids_order":["1351055667","1351055671","1351055675","1351055681","1351055687","1351055692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee2370a3c2241f2aa125a061d344ef7c.jpg","text":"TemporaryFile(/tmp/multipartBody883718947797670679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_26_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f435889363984f2448a2b544a17fa46.jpg","text":"TemporaryFile(/tmp/multipartBody5224193169925593620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_26_54_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/749fe074d93121c4bdb137697b97e885.jpg","text":"TemporaryFile(/tmp/multipartBody7437580951241887294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_26_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc06f69fdadd3d71690bd46b82507fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3150660929507773480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_27_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de9cd76eda7bea13b248807f47c88dd7.jpg","text":"TemporaryFile(/tmp/multipartBody3416523004646490674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_27_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7301690c034a8472a426a194b048ed8f.jpg","text":"TemporaryFile(/tmp/multipartBody1957357635559175261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262073026,"filename":"image_10042025_03_26_35_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351055675","file1":"1351055671","file0":"1351055667","file4":"1351055687","file5":"1351055692","file3":"1351055681"},"map_files_photo_id_array":[{"photo_id":"1351055692","filename":"file5"},{"photo_id":"1351055675","filename":"file2"},{"photo_id":"1351055687","filename":"file4"},{"photo_id":"1351055671","filename":"file1"},{"photo_id":"1351055667","filename":"file0"},{"photo_id":"1351055681","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055667":["hashtag1","hashtag2"]},{"1351055681":["hashtag1","hashtag2"]},{"1351055675":["hashtag1","hashtag2"]},{"1351055687":["hashtag1","hashtag2"]},{"1351055692":["hashtag1","hashtag2"]},{"1351055671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055667, 1351055681, 1351055675, 1351055687, 1351055692, 1351055671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50282025337219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:14:32.595366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_14_9442.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_25_10432.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_34_9465.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_45_10379.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_29_05_9404.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_15_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_14_9442.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_25_10432.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_34_9465.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_45_10379.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_29_05_9404.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_15_10419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38802003860473633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 07:14:42.754152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_14_9442.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_25_10432.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_34_9465.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_45_10379.jpg', '/home/pi/Desktop/images/10042025/03/28/image_10042025_03_29_05_9404.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_15_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_14_9442.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_25_10432.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_34_9465.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_28_45_10379.jpg
/home/pi/Desktop/images/10042025/03/28/image_10042025_03_29_05_9404.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_15_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351055905","1351055844","1351055867","1351055927","1351055828","1351055839"],"photo_ids_order":["1351055828","1351055839","1351055844","1351055867","1351055905","1351055927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f82fe3026ba00a9e71cf1c067b4f527b.jpg","text":"TemporaryFile(/tmp/multipartBody4197851753127442209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_29_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32022d7a38abc098c9c8e342b1c8e50a.jpg","text":"TemporaryFile(/tmp/multipartBody7758276064810831917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_28_34_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/544399c3341d125047d6f4fbc173e45d.jpg","text":"TemporaryFile(/tmp/multipartBody3584412013843956664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_28_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/554a87c152ab7695c2103d80820dbed7.jpg","text":"TemporaryFile(/tmp/multipartBody6834195537300107343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_29_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74eb7e5f002e586c254bdbab6bbe1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2976526677528059270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_28_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71d8b537aee09f1e16d64e4873a1ad28.jpg","text":"TemporaryFile(/tmp/multipartBody8888123370972977516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262143220,"filename":"image_10042025_03_28_25_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351055844","file1":"1351055839","file0":"1351055828","file4":"1351055905","file5":"1351055927","file3":"1351055867"},"map_files_photo_id_array":[{"photo_id":"1351055927","filename":"file5"},{"photo_id":"1351055844","filename":"file2"},{"photo_id":"1351055905","filename":"file4"},{"photo_id":"1351055839","filename":"file1"},{"photo_id":"1351055828","filename":"file0"},{"photo_id":"1351055867","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351055905":["hashtag1","hashtag2"]},{"1351055844":["hashtag1","hashtag2"]},{"1351055867":["hashtag1","hashtag2"]},{"1351055927":["hashtag1","hashtag2"]},{"1351055828":["hashtag1","hashtag2"]},{"1351055839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351055905, 1351055844, 1351055867, 1351055927, 1351055828, 1351055839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79912877082825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:15:32.943511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_24_9468.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_35_10394.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_45_10369.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_55_9449.jpg', '/home/pi/Desktop/images/10042025/03/29/image_10042025_03_30_05_10360.jpg', '/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_24_9468.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_35_10394.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_45_10369.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_29_55_9449.jpg
/home/pi/Desktop/images/10042025/03/29/image_10042025_03_30_05_10360.jpg
/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_25_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351056098","1351056074","1351056125","1351056107","1351056016","1351056001"],"photo_ids_order":["1351056001","1351056016","1351056074","1351056098","1351056107","1351056125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9360640960daebaa204e00561184f145.jpg","text":"TemporaryFile(/tmp/multipartBody8931483765969332303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_29_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a76f8b68e016b433809c362357bffa80.jpg","text":"TemporaryFile(/tmp/multipartBody4025513609497465911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_29_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9619f0da6471a8b9ea5bea45d15731ee.jpg","text":"TemporaryFile(/tmp/multipartBody712445152999799384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_30_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/440169b474665acacdf029a3d0f6c4ae.jpg","text":"TemporaryFile(/tmp/multipartBody6901843619690138912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_30_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/291c1e92334896a05f33adc7aa52b68e.jpg","text":"TemporaryFile(/tmp/multipartBody3422378390005152177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_29_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7cfeb801c561d5da77a31dc09931429.jpg","text":"TemporaryFile(/tmp/multipartBody1110603541834038009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262193417,"filename":"image_10042025_03_29_24_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351056074","file1":"1351056016","file0":"1351056001","file4":"1351056107","file5":"1351056125","file3":"1351056098"},"map_files_photo_id_array":[{"photo_id":"1351056125","filename":"file5"},{"photo_id":"1351056074","filename":"file2"},{"photo_id":"1351056107","filename":"file4"},{"photo_id":"1351056016","filename":"file1"},{"photo_id":"1351056001","filename":"file0"},{"photo_id":"1351056098","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351056098":["hashtag1","hashtag2"]},{"1351056074":["hashtag1","hashtag2"]},{"1351056125":["hashtag1","hashtag2"]},{"1351056107":["hashtag1","hashtag2"]},{"1351056016":["hashtag1","hashtag2"]},{"1351056001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351056098, 1351056074, 1351056125, 1351056107, 1351056016, 1351056001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23276138305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:16:32.267297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_45_9430.jpg', '/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_55_10382.jpg', '/home/pi/Desktop/images/10042025/03/30/image_10042025_03_31_04_9398.jpg', '/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_15_10418.jpg', '/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_24_9532.jpg', '/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_45_9430.jpg
/home/pi/Desktop/images/10042025/03/30/image_10042025_03_30_55_10382.jpg
/home/pi/Desktop/images/10042025/03/30/image_10042025_03_31_04_9398.jpg
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_15_10418.jpg
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_24_9532.jpg
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351056375","1351056378","1351056380","1351056392","1351056382","1351056385"],"photo_ids_order":["1351056375","1351056378","1351056380","1351056382","1351056385","1351056392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/690a396d681e56324bbf6111578d9c5b.jpg","text":"TemporaryFile(/tmp/multipartBody301990686359923188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_30_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01e74fc67d19131bed813d7cb68c5dde.jpg","text":"TemporaryFile(/tmp/multipartBody4164624556844262107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_30_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d951426a307fa164729eb97a21f8034b.jpg","text":"TemporaryFile(/tmp/multipartBody7637163356381481624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_31_04_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e12db6a0dafd419f009f2aa873592052.jpg","text":"TemporaryFile(/tmp/multipartBody4608529927690084241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_31_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8495c7b36eb545020390ee8b5a7c4036.jpg","text":"TemporaryFile(/tmp/multipartBody8983444920567476804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_31_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dffaf22d1f5e4c5a3dfd0e7fa3deffe1.jpg","text":"TemporaryFile(/tmp/multipartBody5657836114174340619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262252734,"filename":"image_10042025_03_31_24_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351056380","file1":"1351056378","file0":"1351056375","file4":"1351056385","file5":"1351056392","file3":"1351056382"},"map_files_photo_id_array":[{"photo_id":"1351056392","filename":"file5"},{"photo_id":"1351056380","filename":"file2"},{"photo_id":"1351056385","filename":"file4"},{"photo_id":"1351056378","filename":"file1"},{"photo_id":"1351056375","filename":"file0"},{"photo_id":"1351056382","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351056375":["hashtag1","hashtag2"]},{"1351056378":["hashtag1","hashtag2"]},{"1351056380":["hashtag1","hashtag2"]},{"1351056392":["hashtag1","hashtag2"]},{"1351056382":["hashtag1","hashtag2"]},{"1351056385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351056375, 1351056378, 1351056380, 1351056392, 1351056382, 1351056385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.54844832420349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:17:32.342583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_45_10386.jpg', '/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_54_9375.jpg', '/home/pi/Desktop/images/10042025/03/31/image_10042025_03_32_05_10370.jpg', '/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_14_9427.jpg', '/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_25_10361.jpg', '/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_35_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_45_10386.jpg
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_31_54_9375.jpg
/home/pi/Desktop/images/10042025/03/31/image_10042025_03_32_05_10370.jpg
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_14_9427.jpg
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_25_10361.jpg
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_35_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351056476","1351056467","1351056463","1351056457","1351056448","1351056471"],"photo_ids_order":["1351056448","1351056457","1351056463","1351056467","1351056471","1351056476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84314be505307b301b1e98e55a492941.jpg","text":"TemporaryFile(/tmp/multipartBody3366860326662198648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_32_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64b6c8b3bf90c05c76d30fd5684e93f4.jpg","text":"TemporaryFile(/tmp/multipartBody3595571573528343341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_32_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b18ba8d71e94f2572c34851f62847af9.jpg","text":"TemporaryFile(/tmp/multipartBody5438487270261535400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_32_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ec3f2bb0ff269db5b82a7aab0b729b5.jpg","text":"TemporaryFile(/tmp/multipartBody6936116779019647915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_31_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a97b3c46738b7972529e137ee24c5ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2717659930681767379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_31_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7300a395c0e673ed583887ef1e85a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2511495352980147856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262312804,"filename":"image_10042025_03_32_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351056463","file1":"1351056457","file0":"1351056448","file4":"1351056471","file5":"1351056476","file3":"1351056467"},"map_files_photo_id_array":[{"photo_id":"1351056476","filename":"file5"},{"photo_id":"1351056463","filename":"file2"},{"photo_id":"1351056471","filename":"file4"},{"photo_id":"1351056457","filename":"file1"},{"photo_id":"1351056448","filename":"file0"},{"photo_id":"1351056467","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351056476":["hashtag1","hashtag2"]},{"1351056467":["hashtag1","hashtag2"]},{"1351056463":["hashtag1","hashtag2"]},{"1351056457":["hashtag1","hashtag2"]},{"1351056448":["hashtag1","hashtag2"]},{"1351056471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351056476, 1351056467, 1351056463, 1351056457, 1351056448, 1351056471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93544888496399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:18:32.648702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_44_9366.jpg', '/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_55_10367.jpg', '/home/pi/Desktop/images/10042025/03/32/image_10042025_03_33_05_10370.jpg', '/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_15_9375.jpg', '/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_25_10404.jpg', '/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_34_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_44_9366.jpg
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_32_55_10367.jpg
/home/pi/Desktop/images/10042025/03/32/image_10042025_03_33_05_10370.jpg
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_15_9375.jpg
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_25_10404.jpg
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_34_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351056630","1351056552","1351056603","1351056617","1351056574","1351056538"],"photo_ids_order":["1351056538","1351056552","1351056574","1351056603","1351056617","1351056630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b02eea69a1914ac9a0f0e33b997e206c.jpg","text":"TemporaryFile(/tmp/multipartBody4769756506444066266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_33_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1e23744d73ff64ed4f0bc70fd0d3a0a.jpg","text":"TemporaryFile(/tmp/multipartBody8072755780147493745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_32_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c70bd7544dede1c1d3ee594669b2935d.jpg","text":"TemporaryFile(/tmp/multipartBody6245970189223545287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_33_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e816774f07c1a8a6fd27baefbf73cbb0.jpg","text":"TemporaryFile(/tmp/multipartBody2615431509426725594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_33_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e41d2bd89efa42f33f4751658af7d82.jpg","text":"TemporaryFile(/tmp/multipartBody2086121311354453505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_33_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8fe059fcd337181f2acf1b98c2093c5.jpg","text":"TemporaryFile(/tmp/multipartBody3042657018722949518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262373117,"filename":"image_10042025_03_32_44_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351056574","file1":"1351056552","file0":"1351056538","file4":"1351056617","file5":"1351056630","file3":"1351056603"},"map_files_photo_id_array":[{"photo_id":"1351056630","filename":"file5"},{"photo_id":"1351056574","filename":"file2"},{"photo_id":"1351056617","filename":"file4"},{"photo_id":"1351056552","filename":"file1"},{"photo_id":"1351056538","filename":"file0"},{"photo_id":"1351056603","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351056630":["hashtag1","hashtag2"]},{"1351056552":["hashtag1","hashtag2"]},{"1351056603":["hashtag1","hashtag2"]},{"1351056617":["hashtag1","hashtag2"]},{"1351056574":["hashtag1","hashtag2"]},{"1351056538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351056630, 1351056552, 1351056603, 1351056617, 1351056574, 1351056538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.559895277023315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:19:32.816087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_45_10387.jpg', '/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_55_10436.jpg', '/home/pi/Desktop/images/10042025/03/33/image_10042025_03_34_05_9368.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_15_10424.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_24_9390.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_35_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_45_10387.jpg
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_33_55_10436.jpg
/home/pi/Desktop/images/10042025/03/33/image_10042025_03_34_05_9368.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_15_10424.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_24_9390.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_35_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351056945","1351056924","1351056875","1351057081","1351057033","1351057158"],"photo_ids_order":["1351056875","1351056924","1351056945","1351057033","1351057081","1351057158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc08b122e2f01db2aacbdf4273d49f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3068844366305479784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_34_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21781864eafba7178c96670e004ca22e.jpg","text":"TemporaryFile(/tmp/multipartBody6357779334878806258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_33_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9711e57232c4fa8619751ebd99f3ae27.jpg","text":"TemporaryFile(/tmp/multipartBody7980787673114756573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_33_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b688f59e738d50d62056a84941cd17c6.jpg","text":"TemporaryFile(/tmp/multipartBody2207547679531323871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_34_24_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/223ecd101fc53c9c3e7f8911c467dd1c.jpg","text":"TemporaryFile(/tmp/multipartBody3730676972838984773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_34_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5aea5c438c8995e3c9fde8a895e07b8f.jpg","text":"TemporaryFile(/tmp/multipartBody9747092453899547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262433281,"filename":"image_10042025_03_34_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351056945","file1":"1351056924","file0":"1351056875","file4":"1351057081","file5":"1351057158","file3":"1351057033"},"map_files_photo_id_array":[{"photo_id":"1351057158","filename":"file5"},{"photo_id":"1351056945","filename":"file2"},{"photo_id":"1351057081","filename":"file4"},{"photo_id":"1351056924","filename":"file1"},{"photo_id":"1351056875","filename":"file0"},{"photo_id":"1351057033","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351056945":["hashtag1","hashtag2"]},{"1351056924":["hashtag1","hashtag2"]},{"1351056875":["hashtag1","hashtag2"]},{"1351057081":["hashtag1","hashtag2"]},{"1351057033":["hashtag1","hashtag2"]},{"1351057158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351056945, 1351056924, 1351056875, 1351057081, 1351057033, 1351057158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85985612869263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:20:33.054871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_45_10360.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_54_9387.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_35_05_10368.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_14_9359.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_25_10444.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_45_10360.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_54_9387.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_35_05_10368.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_14_9359.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_25_10444.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_35_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3854351043701172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 07:20:43.052346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_45_10360.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_54_9387.jpg', '/home/pi/Desktop/images/10042025/03/34/image_10042025_03_35_05_10368.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_14_9359.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_25_10444.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_45_10360.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_34_54_9387.jpg
/home/pi/Desktop/images/10042025/03/34/image_10042025_03_35_05_10368.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_14_9359.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_25_10444.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057196","1351057277","1351057286","1351057226","1351057269","1351057248"],"photo_ids_order":["1351057196","1351057226","1351057248","1351057269","1351057277","1351057286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb0c938f2895f4fa2ea81ca8c038e170.jpg","text":"TemporaryFile(/tmp/multipartBody2407590921746378275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_34_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98736c83e691996279e719d0dff5855f.jpg","text":"TemporaryFile(/tmp/multipartBody5137523658562827264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_35_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a2e9d516fef6fa040f9c6e07305c00b.jpg","text":"TemporaryFile(/tmp/multipartBody3034663780968013093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_35_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85e3e3f7f42340f74d9f787d0276f32d.jpg","text":"TemporaryFile(/tmp/multipartBody4989197101760009768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_34_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27aa7c7a5a81e9ac4f3896075168ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody5678377749078575659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_35_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acd82c8e1389d5093c2476b0f9548181.jpg","text":"TemporaryFile(/tmp/multipartBody5150926546054229801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262503526,"filename":"image_10042025_03_35_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057248","file1":"1351057226","file0":"1351057196","file4":"1351057277","file5":"1351057286","file3":"1351057269"},"map_files_photo_id_array":[{"photo_id":"1351057286","filename":"file5"},{"photo_id":"1351057248","filename":"file2"},{"photo_id":"1351057277","filename":"file4"},{"photo_id":"1351057226","filename":"file1"},{"photo_id":"1351057196","filename":"file0"},{"photo_id":"1351057269","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057196":["hashtag1","hashtag2"]},{"1351057277":["hashtag1","hashtag2"]},{"1351057286":["hashtag1","hashtag2"]},{"1351057226":["hashtag1","hashtag2"]},{"1351057269":["hashtag1","hashtag2"]},{"1351057248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057196, 1351057277, 1351057286, 1351057226, 1351057269, 1351057248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88323950767517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:21:32.282093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_44_9428.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_55_10395.jpg', '/home/pi/Desktop/images/10042025/03/35/image_10042025_03_36_05_10361.jpg', '/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_15_9354.jpg', '/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_25_10403.jpg', '/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_44_9428.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_35_55_10395.jpg
/home/pi/Desktop/images/10042025/03/35/image_10042025_03_36_05_10361.jpg
/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_15_9354.jpg
/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_25_10403.jpg
/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057340","1351057321","1351057327","1351057350","1351057332","1351057314"],"photo_ids_order":["1351057314","1351057321","1351057327","1351057332","1351057340","1351057350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b95e2a62ead86811039eb26515c15c2.jpg","text":"TemporaryFile(/tmp/multipartBody8621251605104562758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_36_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec8f279d9e7eed648bf781c0e5aa5937.jpg","text":"TemporaryFile(/tmp/multipartBody8433891937427553778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_35_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10ece1697cddcb9425e7e947fcbaba9e.jpg","text":"TemporaryFile(/tmp/multipartBody4354113000820273043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_36_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca0e22d4170e517f17fbba25365fd9c5.jpg","text":"TemporaryFile(/tmp/multipartBody4881624730185300193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_36_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3654d820a60777cfb0b065e05b0001c.jpg","text":"TemporaryFile(/tmp/multipartBody4897837974113110075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_36_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31bc7ca611d62960202c9fe7c52dc24c.jpg","text":"TemporaryFile(/tmp/multipartBody3467642773479099833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262552749,"filename":"image_10042025_03_35_44_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057327","file1":"1351057321","file0":"1351057314","file4":"1351057340","file5":"1351057350","file3":"1351057332"},"map_files_photo_id_array":[{"photo_id":"1351057350","filename":"file5"},{"photo_id":"1351057327","filename":"file2"},{"photo_id":"1351057340","filename":"file4"},{"photo_id":"1351057321","filename":"file1"},{"photo_id":"1351057314","filename":"file0"},{"photo_id":"1351057332","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057340":["hashtag1","hashtag2"]},{"1351057321":["hashtag1","hashtag2"]},{"1351057327":["hashtag1","hashtag2"]},{"1351057350":["hashtag1","hashtag2"]},{"1351057332":["hashtag1","hashtag2"]},{"1351057314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057340, 1351057321, 1351057327, 1351057350, 1351057332, 1351057314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2258415222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:22:32.453620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_55_10367.jpg', '/home/pi/Desktop/images/10042025/03/36/image_10042025_03_37_05_9400.jpg', '/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_24_9458.jpg', '/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_35_10369.jpg', '/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_45_10406.jpg', '/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_55_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/36/image_10042025_03_36_55_10367.jpg
/home/pi/Desktop/images/10042025/03/36/image_10042025_03_37_05_9400.jpg
/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_24_9458.jpg
/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_35_10369.jpg
/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_45_10406.jpg
/home/pi/Desktop/images/10042025/03/37/image_10042025_03_37_55_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057454","1351057463","1351057415","1351057420","1351057426","1351057470"],"photo_ids_order":["1351057415","1351057420","1351057426","1351057454","1351057463","1351057470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0005a69f15b2991e8f59263362064f9.jpg","text":"TemporaryFile(/tmp/multipartBody8144139052050444902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_37_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b258d00709a87313605bdcf42a032e3.jpg","text":"TemporaryFile(/tmp/multipartBody2793688798887253010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_37_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b9e5973990683f655c6f8677b77fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody8231510779544236886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_36_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e113b166b213992570662b4464b904ef.jpg","text":"TemporaryFile(/tmp/multipartBody3695663044337864880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_37_05_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/829e005ce4c27b03ba7a740f30f3ec04.jpg","text":"TemporaryFile(/tmp/multipartBody1834236872863907066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_37_24_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2938dd6f5e97ccade75766a29a358fec.jpg","text":"TemporaryFile(/tmp/multipartBody1878554675599922517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262612916,"filename":"image_10042025_03_37_55_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057426","file1":"1351057420","file0":"1351057415","file4":"1351057463","file5":"1351057470","file3":"1351057454"},"map_files_photo_id_array":[{"photo_id":"1351057470","filename":"file5"},{"photo_id":"1351057426","filename":"file2"},{"photo_id":"1351057463","filename":"file4"},{"photo_id":"1351057420","filename":"file1"},{"photo_id":"1351057415","filename":"file0"},{"photo_id":"1351057454","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057454":["hashtag1","hashtag2"]},{"1351057463":["hashtag1","hashtag2"]},{"1351057415":["hashtag1","hashtag2"]},{"1351057420":["hashtag1","hashtag2"]},{"1351057426":["hashtag1","hashtag2"]},{"1351057470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057454, 1351057463, 1351057415, 1351057420, 1351057426, 1351057470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.315165281295776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:23:32.650628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/37/image_10042025_03_38_05_10370.jpg', '/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_25_10383.jpg', '/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_35_10350.jpg', '/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_55_10375.jpg', '/home/pi/Desktop/images/10042025/03/38/image_10042025_03_39_04_9454.jpg', '/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_15_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/37/image_10042025_03_38_05_10370.jpg
/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_25_10383.jpg
/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_35_10350.jpg
/home/pi/Desktop/images/10042025/03/38/image_10042025_03_38_55_10375.jpg
/home/pi/Desktop/images/10042025/03/38/image_10042025_03_39_04_9454.jpg
/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_15_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057538","1351057532","1351057526","1351057546","1351057543","1351057519"],"photo_ids_order":["1351057519","1351057526","1351057532","1351057538","1351057543","1351057546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1b6fc61f0169dd8bbe65901b48e791c.jpg","text":"TemporaryFile(/tmp/multipartBody4919738631480879685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_38_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63d3b88e331f53674e512c7fc7e42a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8313647900904611351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_38_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e51787889a084b953cdff58c48bfac7f.jpg","text":"TemporaryFile(/tmp/multipartBody5070236900686633515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_38_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/091d16977c63244abc1cd6d5d01a857a.jpg","text":"TemporaryFile(/tmp/multipartBody4247705835112151836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_39_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af31b920b848af0078713c28055da882.jpg","text":"TemporaryFile(/tmp/multipartBody7207122478326405752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_39_04_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e985da44d8fc0af356c59244955e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody1342835956068419294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262673108,"filename":"image_10042025_03_38_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057532","file1":"1351057526","file0":"1351057519","file4":"1351057543","file5":"1351057546","file3":"1351057538"},"map_files_photo_id_array":[{"photo_id":"1351057546","filename":"file5"},{"photo_id":"1351057532","filename":"file2"},{"photo_id":"1351057543","filename":"file4"},{"photo_id":"1351057526","filename":"file1"},{"photo_id":"1351057519","filename":"file0"},{"photo_id":"1351057538","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057538":["hashtag1","hashtag2"]},{"1351057532":["hashtag1","hashtag2"]},{"1351057526":["hashtag1","hashtag2"]},{"1351057546":["hashtag1","hashtag2"]},{"1351057543":["hashtag1","hashtag2"]},{"1351057519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057538, 1351057532, 1351057526, 1351057546, 1351057543, 1351057519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.643441915512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:24:32.941576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_25_10382.jpg', '/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_35_9434.jpg', '/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_45_10437.jpg', '/home/pi/Desktop/images/10042025/03/39/image_10042025_03_40_05_10372.jpg', '/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_15_10362.jpg', '/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_25_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_25_10382.jpg
/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_35_9434.jpg
/home/pi/Desktop/images/10042025/03/39/image_10042025_03_39_45_10437.jpg
/home/pi/Desktop/images/10042025/03/39/image_10042025_03_40_05_10372.jpg
/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_15_10362.jpg
/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_25_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057608","1351057583","1351057617","1351057588","1351057600","1351057593"],"photo_ids_order":["1351057583","1351057588","1351057593","1351057600","1351057608","1351057617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24d81983e15c28c15495050bcaed4db6.jpg","text":"TemporaryFile(/tmp/multipartBody6865773642516357081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_40_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3b0fae02d7706513083ab94e119bded.jpg","text":"TemporaryFile(/tmp/multipartBody669879973668293973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_39_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c962577fb34a17d6ecd4ba95ef04404.jpg","text":"TemporaryFile(/tmp/multipartBody6126885086746466866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_40_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6e37f0d29f20b58ceeaf14ac74e97a8.jpg","text":"TemporaryFile(/tmp/multipartBody4968409055489621768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_39_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e32dd70493c055bfd970e852450d6a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3949206586324941205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_40_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b6c9f2c5c4ed2c4dc20c1f66d744ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5918483380541041953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262733407,"filename":"image_10042025_03_39_45_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057593","file1":"1351057588","file0":"1351057583","file4":"1351057608","file5":"1351057617","file3":"1351057600"},"map_files_photo_id_array":[{"photo_id":"1351057617","filename":"file5"},{"photo_id":"1351057593","filename":"file2"},{"photo_id":"1351057608","filename":"file4"},{"photo_id":"1351057588","filename":"file1"},{"photo_id":"1351057583","filename":"file0"},{"photo_id":"1351057600","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057608":["hashtag1","hashtag2"]},{"1351057583":["hashtag1","hashtag2"]},{"1351057617":["hashtag1","hashtag2"]},{"1351057588":["hashtag1","hashtag2"]},{"1351057600":["hashtag1","hashtag2"]},{"1351057593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057608, 1351057583, 1351057617, 1351057588, 1351057600, 1351057593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39228653907776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:25:33.093574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_35_10355.jpg', '/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_44_9463.jpg', '/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_55_10369.jpg', '/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_15_9403.jpg', '/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_25_10375.jpg', '/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_35_10355.jpg
/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_44_9463.jpg
/home/pi/Desktop/images/10042025/03/40/image_10042025_03_40_55_10369.jpg
/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_15_9403.jpg
/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_25_10375.jpg
/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057679","1351057667","1351057678","1351057672","1351057660","1351057686"],"photo_ids_order":["1351057660","1351057667","1351057672","1351057678","1351057679","1351057686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/997a5f485584c841b96ee03adbfee3de.jpg","text":"TemporaryFile(/tmp/multipartBody7785723175400999424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_41_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e96d2104cd1f97619c80bb24e79d063.jpg","text":"TemporaryFile(/tmp/multipartBody1626570574501739037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_40_44_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a7a2985354d91487f027bf4bd802dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6900897447287173229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_41_15_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e472e5be11a459829fc62a5136c11c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5339591147858965711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_40_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0deee5d603702a3db1276db77b61b399.jpg","text":"TemporaryFile(/tmp/multipartBody6269525462324833532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_40_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2aa3f2a2163549576e08d19fe582c4d4.jpg","text":"TemporaryFile(/tmp/multipartBody2459987579176741198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262793562,"filename":"image_10042025_03_41_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057672","file1":"1351057667","file0":"1351057660","file4":"1351057679","file5":"1351057686","file3":"1351057678"},"map_files_photo_id_array":[{"photo_id":"1351057686","filename":"file5"},{"photo_id":"1351057672","filename":"file2"},{"photo_id":"1351057679","filename":"file4"},{"photo_id":"1351057667","filename":"file1"},{"photo_id":"1351057660","filename":"file0"},{"photo_id":"1351057678","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057679":["hashtag1","hashtag2"]},{"1351057667":["hashtag1","hashtag2"]},{"1351057678":["hashtag1","hashtag2"]},{"1351057672":["hashtag1","hashtag2"]},{"1351057660":["hashtag1","hashtag2"]},{"1351057686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057679, 1351057667, 1351057678, 1351057672, 1351057660, 1351057686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64806652069092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:26:32.342198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_55_10376.jpg', '/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_15_10375.jpg', '/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_24_9440.jpg', '/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_35_10356.jpg', '/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_45_10365.jpg', '/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_54_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/41/image_10042025_03_41_55_10376.jpg
/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_15_10375.jpg
/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_24_9440.jpg
/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_35_10356.jpg
/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_45_10365.jpg
/home/pi/Desktop/images/10042025/03/42/image_10042025_03_42_54_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057751","1351057742","1351057736","1351057744","1351057768","1351057755"],"photo_ids_order":["1351057736","1351057742","1351057744","1351057751","1351057755","1351057768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3b705ba8cd2534b96971627c74abf82.jpg","text":"TemporaryFile(/tmp/multipartBody3900878865845307321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_42_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d602afe5f23ae817c412f030d5dede1.jpg","text":"TemporaryFile(/tmp/multipartBody4215177641138598746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_42_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c4beb94b00fa24f605bb7d7475dc24a.jpg","text":"TemporaryFile(/tmp/multipartBody706517373522604860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_41_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff8bd2b21b5f2fc9a31e29b9d961fc70.jpg","text":"TemporaryFile(/tmp/multipartBody5350890999239405105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_42_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6607996e99e820913d951692624081d1.jpg","text":"TemporaryFile(/tmp/multipartBody8803349952943934106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_42_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96d622d515ac1e0816544bdb8c518ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5398085607852791341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262852799,"filename":"image_10042025_03_42_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057744","file1":"1351057742","file0":"1351057736","file4":"1351057755","file5":"1351057768","file3":"1351057751"},"map_files_photo_id_array":[{"photo_id":"1351057768","filename":"file5"},{"photo_id":"1351057744","filename":"file2"},{"photo_id":"1351057755","filename":"file4"},{"photo_id":"1351057742","filename":"file1"},{"photo_id":"1351057736","filename":"file0"},{"photo_id":"1351057751","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057751":["hashtag1","hashtag2"]},{"1351057742":["hashtag1","hashtag2"]},{"1351057736":["hashtag1","hashtag2"]},{"1351057744":["hashtag1","hashtag2"]},{"1351057768":["hashtag1","hashtag2"]},{"1351057755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057751, 1351057742, 1351057736, 1351057744, 1351057768, 1351057755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51143932342529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:27:32.486120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_25_9407.jpg', '/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_35_10365.jpg', '/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_44_9427.jpg', '/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_55_10362.jpg', '/home/pi/Desktop/images/10042025/03/43/image_10042025_03_44_05_10361.jpg', '/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_15_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_25_9407.jpg
/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_35_10365.jpg
/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_44_9427.jpg
/home/pi/Desktop/images/10042025/03/43/image_10042025_03_43_55_10362.jpg
/home/pi/Desktop/images/10042025/03/43/image_10042025_03_44_05_10361.jpg
/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_15_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351057988","1351057880","1351057958","1351057943","1351057900","1351057923"],"photo_ids_order":["1351057880","1351057900","1351057923","1351057943","1351057958","1351057988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de51842777176a1176418fd6fd9a3249.jpg","text":"TemporaryFile(/tmp/multipartBody6370913707514094677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_44_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49aacb2239a82965eb243e1f0eb34a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3634798263195698046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_43_25_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1112371ffdb7cea278526ea285db311c.jpg","text":"TemporaryFile(/tmp/multipartBody2129849531519218132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_44_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6485339c8e425bde7861363e0eb94598.jpg","text":"TemporaryFile(/tmp/multipartBody2910972412683634505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_43_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa88699ca5a5bceb7aa308c084ffb144.jpg","text":"TemporaryFile(/tmp/multipartBody1833235675019281629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_43_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7d9e27564cb303c95cd65ae55d22479.jpg","text":"TemporaryFile(/tmp/multipartBody8187239646104011321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262912953,"filename":"image_10042025_03_43_44_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351057923","file1":"1351057900","file0":"1351057880","file4":"1351057958","file5":"1351057988","file3":"1351057943"},"map_files_photo_id_array":[{"photo_id":"1351057988","filename":"file5"},{"photo_id":"1351057923","filename":"file2"},{"photo_id":"1351057958","filename":"file4"},{"photo_id":"1351057900","filename":"file1"},{"photo_id":"1351057880","filename":"file0"},{"photo_id":"1351057943","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351057988":["hashtag1","hashtag2"]},{"1351057880":["hashtag1","hashtag2"]},{"1351057958":["hashtag1","hashtag2"]},{"1351057943":["hashtag1","hashtag2"]},{"1351057900":["hashtag1","hashtag2"]},{"1351057923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351057988, 1351057880, 1351057958, 1351057943, 1351057900, 1351057923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80640959739685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:28:32.653891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_25_10386.jpg', '/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_34_9427.jpg', '/home/pi/Desktop/images/10042025/03/44/image_10042025_03_45_05_9436.jpg', '/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_15_10392.jpg', '/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_24_9414.jpg', '/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_35_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_25_10386.jpg
/home/pi/Desktop/images/10042025/03/44/image_10042025_03_44_34_9427.jpg
/home/pi/Desktop/images/10042025/03/44/image_10042025_03_45_05_9436.jpg
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_15_10392.jpg
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_24_9414.jpg
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_35_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351058141","1351058165","1351058116","1351058101","1351058130","1351058088"],"photo_ids_order":["1351058088","1351058101","1351058116","1351058130","1351058141","1351058165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38642328d2e69edb09264ae82fea1453.jpg","text":"TemporaryFile(/tmp/multipartBody4955989430979705935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_45_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16f8d7754e0bedd99802f156e4b28225.jpg","text":"TemporaryFile(/tmp/multipartBody6206191715354200765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_45_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c81a05403efa07cd1efb8e72361d33a7.jpg","text":"TemporaryFile(/tmp/multipartBody5396494850657313631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_45_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58534505e372a751e4f98b93f469d177.jpg","text":"TemporaryFile(/tmp/multipartBody4527036328396770181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_44_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/104681e42870b2fe4e2440f1595369f3.jpg","text":"TemporaryFile(/tmp/multipartBody8100993764351135351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_45_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb76a113c68a1dc89bc2a6e1e1118828.jpg","text":"TemporaryFile(/tmp/multipartBody3763654839290280727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744262973139,"filename":"image_10042025_03_44_25_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351058116","file1":"1351058101","file0":"1351058088","file4":"1351058141","file5":"1351058165","file3":"1351058130"},"map_files_photo_id_array":[{"photo_id":"1351058165","filename":"file5"},{"photo_id":"1351058116","filename":"file2"},{"photo_id":"1351058141","filename":"file4"},{"photo_id":"1351058101","filename":"file1"},{"photo_id":"1351058088","filename":"file0"},{"photo_id":"1351058130","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351058141":["hashtag1","hashtag2"]},{"1351058165":["hashtag1","hashtag2"]},{"1351058116":["hashtag1","hashtag2"]},{"1351058101":["hashtag1","hashtag2"]},{"1351058130":["hashtag1","hashtag2"]},{"1351058088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351058141, 1351058165, 1351058116, 1351058101, 1351058130, 1351058088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.968422174453735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:29:32.853490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_45_10409.jpg', '/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_55_9401.jpg', '/home/pi/Desktop/images/10042025/03/45/image_10042025_03_46_05_10363.jpg', '/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_15_10354.jpg', '/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_25_9480.jpg', '/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_44_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_45_10409.jpg
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_45_55_9401.jpg
/home/pi/Desktop/images/10042025/03/45/image_10042025_03_46_05_10363.jpg
/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_15_10354.jpg
/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_25_9480.jpg
/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_44_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351058354","1351058402","1351058398","1351058374","1351058394","1351058387"],"photo_ids_order":["1351058354","1351058374","1351058387","1351058394","1351058398","1351058402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30a8a351649ca227eef54a4ad0b0caa3.jpg","text":"TemporaryFile(/tmp/multipartBody5581910951090937794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_45_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e089a6e6d3f6d84cdeb476a22f9e8c3.jpg","text":"TemporaryFile(/tmp/multipartBody9043391805748014690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_46_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86809fc66a56c7021fa5779000c92e63.jpg","text":"TemporaryFile(/tmp/multipartBody3190446461049158231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_46_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abf33f25ab87cef5e8fb563d853d8776.jpg","text":"TemporaryFile(/tmp/multipartBody713205070773738788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_45_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d45e5b77fc519cad57cd1397adcbc971.jpg","text":"TemporaryFile(/tmp/multipartBody1407268976449922671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_46_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a1921d11ea4bc94c9674b9643094659.jpg","text":"TemporaryFile(/tmp/multipartBody976287901792561557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263033320,"filename":"image_10042025_03_46_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351058387","file1":"1351058374","file0":"1351058354","file4":"1351058398","file5":"1351058402","file3":"1351058394"},"map_files_photo_id_array":[{"photo_id":"1351058402","filename":"file5"},{"photo_id":"1351058387","filename":"file2"},{"photo_id":"1351058398","filename":"file4"},{"photo_id":"1351058374","filename":"file1"},{"photo_id":"1351058354","filename":"file0"},{"photo_id":"1351058394","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351058354":["hashtag1","hashtag2"]},{"1351058402":["hashtag1","hashtag2"]},{"1351058398":["hashtag1","hashtag2"]},{"1351058374":["hashtag1","hashtag2"]},{"1351058394":["hashtag1","hashtag2"]},{"1351058387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351058354, 1351058402, 1351058398, 1351058374, 1351058394, 1351058387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.336061239242554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:30:33.160586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_55_10387.jpg', '/home/pi/Desktop/images/10042025/03/46/image_10042025_03_47_04_9521.jpg', '/home/pi/Desktop/images/10042025/03/47/image_10042025_03_47_15_10377.jpg', '/home/pi/Desktop/images/10042025/03/48/image_10042025_03_48_55_10391.jpg', '/home/pi/Desktop/images/10042025/03/48/image_10042025_03_49_05_10370.jpg', '/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_15_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/46/image_10042025_03_46_55_10387.jpg
/home/pi/Desktop/images/10042025/03/46/image_10042025_03_47_04_9521.jpg
/home/pi/Desktop/images/10042025/03/47/image_10042025_03_47_15_10377.jpg
/home/pi/Desktop/images/10042025/03/48/image_10042025_03_48_55_10391.jpg
/home/pi/Desktop/images/10042025/03/48/image_10042025_03_49_05_10370.jpg
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_15_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351058504","1351058491","1351058464","1351058446","1351058499","1351058484"],"photo_ids_order":["1351058446","1351058464","1351058484","1351058491","1351058499","1351058504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd0fc4024c0e208a27c2eb5353f25ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6648560327313314705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_49_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2becec4ca3a1da959225b2f5d1ace585.jpg","text":"TemporaryFile(/tmp/multipartBody4216050812092348321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_48_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88f11a01255218aa2ff388be9b096109.jpg","text":"TemporaryFile(/tmp/multipartBody4665483243773714920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_47_04_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d759caeb3c757d213a1978f6feb37497.jpg","text":"TemporaryFile(/tmp/multipartBody9127490968346079566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_46_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/706baefc56c20b0688700651db1a3262.jpg","text":"TemporaryFile(/tmp/multipartBody4419149176201825042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_49_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8af66b0de2c5ed6c9c3fc0cee49306c2.jpg","text":"TemporaryFile(/tmp/multipartBody5848606697836162629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263093638,"filename":"image_10042025_03_47_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351058484","file1":"1351058464","file0":"1351058446","file4":"1351058499","file5":"1351058504","file3":"1351058491"},"map_files_photo_id_array":[{"photo_id":"1351058504","filename":"file5"},{"photo_id":"1351058484","filename":"file2"},{"photo_id":"1351058499","filename":"file4"},{"photo_id":"1351058464","filename":"file1"},{"photo_id":"1351058446","filename":"file0"},{"photo_id":"1351058491","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351058504":["hashtag1","hashtag2"]},{"1351058491":["hashtag1","hashtag2"]},{"1351058464":["hashtag1","hashtag2"]},{"1351058446":["hashtag1","hashtag2"]},{"1351058499":["hashtag1","hashtag2"]},{"1351058484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351058504, 1351058491, 1351058464, 1351058446, 1351058499, 1351058484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.998621463775635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:31:32.274544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_25_10373.jpg', '/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_34_9473.jpg', '/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_45_10374.jpg', '/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_55_10374.jpg', '/home/pi/Desktop/images/10042025/03/49/image_10042025_03_50_05_9445.jpg', '/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_25_10373.jpg
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_34_9473.jpg
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_45_10374.jpg
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_49_55_10374.jpg
/home/pi/Desktop/images/10042025/03/49/image_10042025_03_50_05_9445.jpg
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351058630","1351058764","1351058685","1351058733","1351058594","1351058768"],"photo_ids_order":["1351058594","1351058630","1351058685","1351058733","1351058764","1351058768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85c0214657c5ecf023611be70b8a0431.jpg","text":"TemporaryFile(/tmp/multipartBody8828391309341933768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_49_34_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/864bd1cf78aada788f4a8abab28ae5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2238185383796220296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_50_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b3e76f97b63e54007e03e415a81f581.jpg","text":"TemporaryFile(/tmp/multipartBody6151004577241380583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_49_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12eaec76607879cba534e3328ad660bf.jpg","text":"TemporaryFile(/tmp/multipartBody1490572343927239824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_49_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75425b2b4bae8084d3a15c544c10b296.jpg","text":"TemporaryFile(/tmp/multipartBody9060402208536357592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_49_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c247800f5309ff2b363ae6f6a3008ed.jpg","text":"TemporaryFile(/tmp/multipartBody6535550801779386042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263152740,"filename":"image_10042025_03_50_15_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351058685","file1":"1351058630","file0":"1351058594","file4":"1351058764","file5":"1351058768","file3":"1351058733"},"map_files_photo_id_array":[{"photo_id":"1351058768","filename":"file5"},{"photo_id":"1351058685","filename":"file2"},{"photo_id":"1351058764","filename":"file4"},{"photo_id":"1351058630","filename":"file1"},{"photo_id":"1351058594","filename":"file0"},{"photo_id":"1351058733","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351058630":["hashtag1","hashtag2"]},{"1351058764":["hashtag1","hashtag2"]},{"1351058685":["hashtag1","hashtag2"]},{"1351058733":["hashtag1","hashtag2"]},{"1351058594":["hashtag1","hashtag2"]},{"1351058768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351058630, 1351058764, 1351058685, 1351058733, 1351058594, 1351058768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39477181434631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:32:32.478094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_25_10179.jpg', '/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_35_9441.jpg', '/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_45_10372.jpg', '/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_54_9517.jpg', '/home/pi/Desktop/images/10042025/03/50/image_10042025_03_51_05_10361.jpg', '/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_25_10179.jpg
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_35_9441.jpg
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_45_10372.jpg
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_50_54_9517.jpg
/home/pi/Desktop/images/10042025/03/50/image_10042025_03_51_05_10361.jpg
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351058879","1351058816","1351058821","1351058883","1351058885","1351058888"],"photo_ids_order":["1351058816","1351058821","1351058879","1351058883","1351058885","1351058888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bb4e5e2a2f8174221dfd74c43790e08.jpg","text":"TemporaryFile(/tmp/multipartBody4976540806103879715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_50_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa64d6c5f3ef5dfe9e0ac62be0b32263.jpg","text":"TemporaryFile(/tmp/multipartBody2617399706969324340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_50_25_10179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a6aef679ba38d23ee74466f66ef95df.jpg","text":"TemporaryFile(/tmp/multipartBody530548304478967278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_50_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89e5b88e0831f0ea698a72f50edf566d.jpg","text":"TemporaryFile(/tmp/multipartBody8216319573446587888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_50_54_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00518412e01932ec7b1d832a5491dec5.jpg","text":"TemporaryFile(/tmp/multipartBody3722494661657668720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_51_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41f4208519dc6f5fde93dbaeb216959e.jpg","text":"TemporaryFile(/tmp/multipartBody1170804076583413153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263212945,"filename":"image_10042025_03_51_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351058879","file1":"1351058821","file0":"1351058816","file4":"1351058885","file5":"1351058888","file3":"1351058883"},"map_files_photo_id_array":[{"photo_id":"1351058888","filename":"file5"},{"photo_id":"1351058879","filename":"file2"},{"photo_id":"1351058885","filename":"file4"},{"photo_id":"1351058821","filename":"file1"},{"photo_id":"1351058816","filename":"file0"},{"photo_id":"1351058883","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351058879":["hashtag1","hashtag2"]},{"1351058816":["hashtag1","hashtag2"]},{"1351058821":["hashtag1","hashtag2"]},{"1351058883":["hashtag1","hashtag2"]},{"1351058885":["hashtag1","hashtag2"]},{"1351058888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351058879, 1351058816, 1351058821, 1351058883, 1351058885, 1351058888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.50961470603943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:33:32.583422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_25_9356.jpg', '/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_35_10360.jpg', '/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_44_9408.jpg', '/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_55_10354.jpg', '/home/pi/Desktop/images/10042025/03/51/image_10042025_03_52_05_10452.jpg', '/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_14_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_25_9356.jpg
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_35_10360.jpg
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_44_9408.jpg
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_51_55_10354.jpg
/home/pi/Desktop/images/10042025/03/51/image_10042025_03_52_05_10452.jpg
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_14_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351059088","1351059133","1351059159","1351059102","1351059062","1351059020"],"photo_ids_order":["1351059020","1351059062","1351059088","1351059102","1351059133","1351059159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d3f2bd0b111261a4c7f54fb4f50cc99.jpg","text":"TemporaryFile(/tmp/multipartBody91018946802110567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_51_44_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3579a903519e8e4af174d7411998cb72.jpg","text":"TemporaryFile(/tmp/multipartBody3232805223353268958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_52_05_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/756be60c59accc8d87023a379f07b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7556274466158449279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_52_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb47f4b46e85a656b1e9200b54ad4b40.jpg","text":"TemporaryFile(/tmp/multipartBody5305846801413328367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_51_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8ce5d25d04e3439e86aa9cc5e072ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5395412856175590652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_51_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d701e09a25f13ae8ca7d7b65d57d2338.jpg","text":"TemporaryFile(/tmp/multipartBody1281416370021478381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263273121,"filename":"image_10042025_03_51_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351059088","file1":"1351059062","file0":"1351059020","file4":"1351059133","file5":"1351059159","file3":"1351059102"},"map_files_photo_id_array":[{"photo_id":"1351059159","filename":"file5"},{"photo_id":"1351059088","filename":"file2"},{"photo_id":"1351059133","filename":"file4"},{"photo_id":"1351059062","filename":"file1"},{"photo_id":"1351059020","filename":"file0"},{"photo_id":"1351059102","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351059088":["hashtag1","hashtag2"]},{"1351059133":["hashtag1","hashtag2"]},{"1351059159":["hashtag1","hashtag2"]},{"1351059102":["hashtag1","hashtag2"]},{"1351059062":["hashtag1","hashtag2"]},{"1351059020":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351059088, 1351059133, 1351059159, 1351059102, 1351059062, 1351059020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93585133552551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:34:32.842947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_25_10425.jpg', '/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_34_9474.jpg', '/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_45_10362.jpg', '/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_55_10376.jpg', '/home/pi/Desktop/images/10042025/03/52/image_10042025_03_53_05_9451.jpg', '/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_25_10425.jpg
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_34_9474.jpg
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_45_10362.jpg
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_52_55_10376.jpg
/home/pi/Desktop/images/10042025/03/52/image_10042025_03_53_05_9451.jpg
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351059404","1351059552","1351059489","1351059534","1351059440","1351059329"],"photo_ids_order":["1351059329","1351059404","1351059440","1351059489","1351059534","1351059552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25e96916c867377cbd4660fdc6d4f983.jpg","text":"TemporaryFile(/tmp/multipartBody2024044068059426530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_52_34_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb554d976a81ec7a4690f656a66a6f67.jpg","text":"TemporaryFile(/tmp/multipartBody5209646403303576783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_53_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61fe44483eb054caca1219d5b68b0e75.jpg","text":"TemporaryFile(/tmp/multipartBody7381770314201983940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_52_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2363978c974e41e9adf568f607f3725d.jpg","text":"TemporaryFile(/tmp/multipartBody6162953599713232433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_53_05_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2265aca612d51dcb1e430a060007364.jpg","text":"TemporaryFile(/tmp/multipartBody4651023725019237556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_52_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8051120b056aae9067e570818d6449a0.jpg","text":"TemporaryFile(/tmp/multipartBody1666142862584942839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263333395,"filename":"image_10042025_03_52_25_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351059440","file1":"1351059404","file0":"1351059329","file4":"1351059534","file5":"1351059552","file3":"1351059489"},"map_files_photo_id_array":[{"photo_id":"1351059552","filename":"file5"},{"photo_id":"1351059440","filename":"file2"},{"photo_id":"1351059534","filename":"file4"},{"photo_id":"1351059404","filename":"file1"},{"photo_id":"1351059329","filename":"file0"},{"photo_id":"1351059489","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351059404":["hashtag1","hashtag2"]},{"1351059552":["hashtag1","hashtag2"]},{"1351059489":["hashtag1","hashtag2"]},{"1351059534":["hashtag1","hashtag2"]},{"1351059440":["hashtag1","hashtag2"]},{"1351059329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351059404, 1351059552, 1351059489, 1351059534, 1351059440, 1351059329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.802252769470215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:35:32.994509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_24_9464.jpg', '/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_35_10364.jpg', '/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_44_9518.jpg', '/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_55_10359.jpg', '/home/pi/Desktop/images/10042025/03/53/image_10042025_03_54_05_10360.jpg', '/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_14_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_24_9464.jpg
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_35_10364.jpg
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_44_9518.jpg
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_53_55_10359.jpg
/home/pi/Desktop/images/10042025/03/53/image_10042025_03_54_05_10360.jpg
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_14_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351059693","1351059687","1351059706","1351059681","1351059674","1351059677"],"photo_ids_order":["1351059674","1351059677","1351059681","1351059687","1351059693","1351059706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aba9bd0e7cf5dee457b21d73ecc63306.jpg","text":"TemporaryFile(/tmp/multipartBody7627505053218118945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_54_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ff0f6bb210d3063f3be774e6e77a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5154224104122436183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_53_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9a7f8f976e5a11a97bc194ec9f1f8a1.jpg","text":"TemporaryFile(/tmp/multipartBody7664398146011780223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_54_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ef8dabe09f7dddb994539aa9caf1171.jpg","text":"TemporaryFile(/tmp/multipartBody6566871921271809567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_53_44_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eb7115c218b2865d5650a21999b054b.jpg","text":"TemporaryFile(/tmp/multipartBody7285921117966267004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_53_24_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cb348e693f16c15778916485f478732.jpg","text":"TemporaryFile(/tmp/multipartBody2733895796845086627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263393549,"filename":"image_10042025_03_53_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351059681","file1":"1351059677","file0":"1351059674","file4":"1351059693","file5":"1351059706","file3":"1351059687"},"map_files_photo_id_array":[{"photo_id":"1351059706","filename":"file5"},{"photo_id":"1351059681","filename":"file2"},{"photo_id":"1351059693","filename":"file4"},{"photo_id":"1351059677","filename":"file1"},{"photo_id":"1351059674","filename":"file0"},{"photo_id":"1351059687","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351059693":["hashtag1","hashtag2"]},{"1351059687":["hashtag1","hashtag2"]},{"1351059706":["hashtag1","hashtag2"]},{"1351059681":["hashtag1","hashtag2"]},{"1351059674":["hashtag1","hashtag2"]},{"1351059677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351059693, 1351059687, 1351059706, 1351059681, 1351059674, 1351059677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22789120674133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:36:32.281047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_25_10359.jpg', '/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_35_10363.jpg', '/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_45_9427.jpg', '/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_55_10367.jpg', '/home/pi/Desktop/images/10042025/03/54/image_10042025_03_55_04_9441.jpg', '/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_25_10359.jpg
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_35_10363.jpg
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_45_9427.jpg
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_54_55_10367.jpg
/home/pi/Desktop/images/10042025/03/54/image_10042025_03_55_04_9441.jpg
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_15_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351059784","1351059736","1351059759","1351059791","1351059773","1351059764"],"photo_ids_order":["1351059736","1351059759","1351059764","1351059773","1351059784","1351059791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f082095d3fb080718614c87a1e991b8.jpg","text":"TemporaryFile(/tmp/multipartBody2461673432630737371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_55_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6c4cd9b7461738c2c96969c6a942328.jpg","text":"TemporaryFile(/tmp/multipartBody5081922347199880242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_54_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f3e49b699e992f540dff0784e10e054.jpg","text":"TemporaryFile(/tmp/multipartBody3085776809583080090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_54_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1dcd3fea2a06854d31b729dfb5df8258.jpg","text":"TemporaryFile(/tmp/multipartBody6997295568020214045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_55_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d1262116f96ff032ab43ee986f9ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody3447697737812109669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_54_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/116d48337beef2cda7095f03efe688ac.jpg","text":"TemporaryFile(/tmp/multipartBody1210423130842426338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263452828,"filename":"image_10042025_03_54_45_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351059764","file1":"1351059759","file0":"1351059736","file4":"1351059784","file5":"1351059791","file3":"1351059773"},"map_files_photo_id_array":[{"photo_id":"1351059791","filename":"file5"},{"photo_id":"1351059764","filename":"file2"},{"photo_id":"1351059784","filename":"file4"},{"photo_id":"1351059759","filename":"file1"},{"photo_id":"1351059736","filename":"file0"},{"photo_id":"1351059773","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351059784":["hashtag1","hashtag2"]},{"1351059736":["hashtag1","hashtag2"]},{"1351059759":["hashtag1","hashtag2"]},{"1351059791":["hashtag1","hashtag2"]},{"1351059773":["hashtag1","hashtag2"]},{"1351059764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351059784, 1351059736, 1351059759, 1351059791, 1351059773, 1351059764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37586998939514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:37:32.371580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_25_10370.jpg', '/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_34_9399.jpg', '/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_45_10425.jpg', '/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_54_9475.jpg', '/home/pi/Desktop/images/10042025/03/55/image_10042025_03_56_05_10429.jpg', '/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_14_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_25_10370.jpg
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_34_9399.jpg
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_45_10425.jpg
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_55_54_9475.jpg
/home/pi/Desktop/images/10042025/03/55/image_10042025_03_56_05_10429.jpg
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_14_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060172","1351060115","1351060078","1351060057","1351060182","1351060140"],"photo_ids_order":["1351060057","1351060078","1351060115","1351060140","1351060172","1351060182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/777f77dfb89f44a18ca3b7a498036710.jpg","text":"TemporaryFile(/tmp/multipartBody5504095366378006064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_56_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97d0cb87d35f26ded7e88e0966991b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8249344674680496582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_55_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7adc32c8fc951fee5985df72e4cd643.jpg","text":"TemporaryFile(/tmp/multipartBody8577576185677686492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_55_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c45d431d708ce04eab1e403f9095f8f6.jpg","text":"TemporaryFile(/tmp/multipartBody834095799725279055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_55_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9be34669934d7d9f79d39c724ccd81d7.jpg","text":"TemporaryFile(/tmp/multipartBody1815688841651262339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_56_14_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fa24920f8bf5890f547d2ce7dabc63d.jpg","text":"TemporaryFile(/tmp/multipartBody2052825468695861752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263512921,"filename":"image_10042025_03_55_54_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060115","file1":"1351060078","file0":"1351060057","file4":"1351060172","file5":"1351060182","file3":"1351060140"},"map_files_photo_id_array":[{"photo_id":"1351060182","filename":"file5"},{"photo_id":"1351060115","filename":"file2"},{"photo_id":"1351060172","filename":"file4"},{"photo_id":"1351060078","filename":"file1"},{"photo_id":"1351060057","filename":"file0"},{"photo_id":"1351060140","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060172":["hashtag1","hashtag2"]},{"1351060115":["hashtag1","hashtag2"]},{"1351060078":["hashtag1","hashtag2"]},{"1351060057":["hashtag1","hashtag2"]},{"1351060182":["hashtag1","hashtag2"]},{"1351060140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060172, 1351060115, 1351060078, 1351060057, 1351060182, 1351060140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.682721853256226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:38:32.652533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_25_10417.jpg', '/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_35_10359.jpg', '/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_44_9383.jpg', '/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_55_10378.jpg', '/home/pi/Desktop/images/10042025/03/56/image_10042025_03_57_05_10369.jpg', '/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_15_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_25_10417.jpg
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_35_10359.jpg
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_44_9383.jpg
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_56_55_10378.jpg
/home/pi/Desktop/images/10042025/03/56/image_10042025_03_57_05_10369.jpg
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_15_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060337","1351060208","1351060316","1351060217","1351060270","1351060212"],"photo_ids_order":["1351060208","1351060212","1351060217","1351060270","1351060316","1351060337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c64ecc18cfb627c874fe378024dfe8c.jpg","text":"TemporaryFile(/tmp/multipartBody8210234657048917293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_57_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1b7b4684382b387c62bbedf1b582b97.jpg","text":"TemporaryFile(/tmp/multipartBody3216525757115734647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_56_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/152df3679a4dafb56de009217a889a33.jpg","text":"TemporaryFile(/tmp/multipartBody3600884737092836902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_57_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b313b5009453e12ccc483c0c0e34d253.jpg","text":"TemporaryFile(/tmp/multipartBody3541966212155649181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_56_44_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f43a0c2bac777967d808dc78d51bbf6.jpg","text":"TemporaryFile(/tmp/multipartBody5979822566839939715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_56_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39803cb9ec9d39c5a24e0bfb313bfaf3.jpg","text":"TemporaryFile(/tmp/multipartBody8015678620803187809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263573208,"filename":"image_10042025_03_56_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060217","file1":"1351060212","file0":"1351060208","file4":"1351060316","file5":"1351060337","file3":"1351060270"},"map_files_photo_id_array":[{"photo_id":"1351060337","filename":"file5"},{"photo_id":"1351060217","filename":"file2"},{"photo_id":"1351060316","filename":"file4"},{"photo_id":"1351060212","filename":"file1"},{"photo_id":"1351060208","filename":"file0"},{"photo_id":"1351060270","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060337":["hashtag1","hashtag2"]},{"1351060208":["hashtag1","hashtag2"]},{"1351060316":["hashtag1","hashtag2"]},{"1351060217":["hashtag1","hashtag2"]},{"1351060270":["hashtag1","hashtag2"]},{"1351060212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060337, 1351060208, 1351060316, 1351060217, 1351060270, 1351060212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19025683403015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:39:32.845869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_25_10374.jpg', '/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_35_9511.jpg', '/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_45_10346.jpg', '/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_55_10360.jpg', '/home/pi/Desktop/images/10042025/03/57/image_10042025_03_58_05_9408.jpg', '/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_25_10374.jpg
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_35_9511.jpg
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_45_10346.jpg
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_57_55_10360.jpg
/home/pi/Desktop/images/10042025/03/57/image_10042025_03_58_05_9408.jpg
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060367","1351060369","1351060377","1351060371","1351060365","1351060382"],"photo_ids_order":["1351060365","1351060367","1351060369","1351060371","1351060377","1351060382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32e44e3f5c07fba0d11a801b331c495f.jpg","text":"TemporaryFile(/tmp/multipartBody5888174570585706436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_57_35_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce679b42db35708d08e7804876ed1043.jpg","text":"TemporaryFile(/tmp/multipartBody5973540400845635559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_57_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8628d21775d3a1b58df37e3081ac166a.jpg","text":"TemporaryFile(/tmp/multipartBody5530388249769755858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_58_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0b4745710e5007e35572cf744432920.jpg","text":"TemporaryFile(/tmp/multipartBody586068780029190608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_57_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af3b5635ea6bcff14b1fc9dd2c6c26ef.jpg","text":"TemporaryFile(/tmp/multipartBody2079182765559328327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_57_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6100dcf3e60266258c854b9fbdee2828.jpg","text":"TemporaryFile(/tmp/multipartBody272014341068123357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263633470,"filename":"image_10042025_03_58_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060369","file1":"1351060367","file0":"1351060365","file4":"1351060377","file5":"1351060382","file3":"1351060371"},"map_files_photo_id_array":[{"photo_id":"1351060382","filename":"file5"},{"photo_id":"1351060369","filename":"file2"},{"photo_id":"1351060377","filename":"file4"},{"photo_id":"1351060367","filename":"file1"},{"photo_id":"1351060365","filename":"file0"},{"photo_id":"1351060371","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060367":["hashtag1","hashtag2"]},{"1351060369":["hashtag1","hashtag2"]},{"1351060377":["hashtag1","hashtag2"]},{"1351060371":["hashtag1","hashtag2"]},{"1351060365":["hashtag1","hashtag2"]},{"1351060382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060367, 1351060369, 1351060377, 1351060371, 1351060365, 1351060382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54248046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:40:33.055200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_24_9443.jpg', '/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_35_10385.jpg', '/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_44_9409.jpg', '/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_55_10408.jpg', '/home/pi/Desktop/images/10042025/03/58/image_10042025_03_59_05_10351.jpg', '/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_14_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_24_9443.jpg
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_35_10385.jpg
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_44_9409.jpg
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_58_55_10408.jpg
/home/pi/Desktop/images/10042025/03/58/image_10042025_03_59_05_10351.jpg
/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_14_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060430","1351060424","1351060511","1351060433","1351060427","1351060471"],"photo_ids_order":["1351060424","1351060427","1351060430","1351060433","1351060471","1351060511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f48bdd2e45ad9c6b53bab9aaa2c24799.jpg","text":"TemporaryFile(/tmp/multipartBody1500061591972129475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_58_44_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51c9bcc78a3204f1addd013a5a4196d7.jpg","text":"TemporaryFile(/tmp/multipartBody2980885221334180373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_58_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc4d53e75105a9842e0409c5717e7d78.jpg","text":"TemporaryFile(/tmp/multipartBody7423725391940259562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_59_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3981ebabcc2c3c719576b48e21f70ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6209146231212622735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_58_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12a005657109771e2e981469ae01cc85.jpg","text":"TemporaryFile(/tmp/multipartBody7817812469589630962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_58_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/766809afad10d6e928ae5eeaa457e84a.jpg","text":"TemporaryFile(/tmp/multipartBody5596296808903685001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263693611,"filename":"image_10042025_03_59_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060430","file1":"1351060427","file0":"1351060424","file4":"1351060471","file5":"1351060511","file3":"1351060433"},"map_files_photo_id_array":[{"photo_id":"1351060511","filename":"file5"},{"photo_id":"1351060430","filename":"file2"},{"photo_id":"1351060471","filename":"file4"},{"photo_id":"1351060427","filename":"file1"},{"photo_id":"1351060424","filename":"file0"},{"photo_id":"1351060433","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060430":["hashtag1","hashtag2"]},{"1351060424":["hashtag1","hashtag2"]},{"1351060511":["hashtag1","hashtag2"]},{"1351060433":["hashtag1","hashtag2"]},{"1351060427":["hashtag1","hashtag2"]},{"1351060471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060430, 1351060424, 1351060511, 1351060433, 1351060427, 1351060471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39895272254944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:41:32.333031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_25_10381.jpg', '/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_35_10367.jpg', '/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_44_9351.jpg', '/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_55_10372.jpg', '/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_14_10064.jpg', '/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_25_10381.jpg
/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_35_10367.jpg
/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_44_9351.jpg
/home/pi/Desktop/images/10042025/03/59/image_10042025_03_59_55_10372.jpg
/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_14_10064.jpg
/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_25_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060727","1351060600","1351060659","1351060710","1351060614","1351060694"],"photo_ids_order":["1351060600","1351060614","1351060659","1351060694","1351060710","1351060727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05efacce550c9071d6716e05e87c7c44.jpg","text":"TemporaryFile(/tmp/multipartBody1353056115612576571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_04_01_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c4bb80adaf7e180cdd525f7a97383a9.jpg","text":"TemporaryFile(/tmp/multipartBody4894741834617775713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_03_59_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb89b5bcd910ae3287ee371590a3592f.jpg","text":"TemporaryFile(/tmp/multipartBody3940803780385972940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_03_59_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0cd4e0128e8734c046517550feeb5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7936761459123311874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_04_01_14_10064.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9708f41d037d3a0a405c385dd5b175ac.jpg","text":"TemporaryFile(/tmp/multipartBody8802821357773084721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_03_59_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c49dbd8344a9261fdbe927d65186477a.jpg","text":"TemporaryFile(/tmp/multipartBody901234519045537790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263752886,"filename":"image_10042025_03_59_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060659","file1":"1351060614","file0":"1351060600","file4":"1351060710","file5":"1351060727","file3":"1351060694"},"map_files_photo_id_array":[{"photo_id":"1351060727","filename":"file5"},{"photo_id":"1351060659","filename":"file2"},{"photo_id":"1351060710","filename":"file4"},{"photo_id":"1351060614","filename":"file1"},{"photo_id":"1351060600","filename":"file0"},{"photo_id":"1351060694","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060727":["hashtag1","hashtag2"]},{"1351060600":["hashtag1","hashtag2"]},{"1351060659":["hashtag1","hashtag2"]},{"1351060710":["hashtag1","hashtag2"]},{"1351060614":["hashtag1","hashtag2"]},{"1351060694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060727, 1351060600, 1351060659, 1351060710, 1351060614, 1351060694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.12083435058594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:42:32.393124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_35_10355.jpg', '/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_45_9421.jpg', '/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_55_10363.jpg', '/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_15_10346.jpg', '/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_25_10371.jpg', '/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_34_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_35_10355.jpg
/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_45_9421.jpg
/home/pi/Desktop/images/10042025/04/01/image_10042025_04_01_55_10363.jpg
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_15_10346.jpg
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_25_10371.jpg
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_34_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351060855","1351060878","1351060903","1351060938","1351060926","1351060827"],"photo_ids_order":["1351060827","1351060855","1351060878","1351060903","1351060926","1351060938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65bf64f8ac4a772219eae0d1ba1a623a.jpg","text":"TemporaryFile(/tmp/multipartBody2463451239424810763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_01_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e76804c7f390d03903ce6878aeada431.jpg","text":"TemporaryFile(/tmp/multipartBody6881271050790952079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_01_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a79f00c532ebbc81df93cd0d4d3a2157.jpg","text":"TemporaryFile(/tmp/multipartBody7805137702937438085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_02_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d9b3af8c19d5773c1617861dda43497.jpg","text":"TemporaryFile(/tmp/multipartBody9156426756432867286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_02_34_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a12aa727bd5c081993b076611a32bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody504001701275512677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_02_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/176d20367f894df0a70a6212db76bca8.jpg","text":"TemporaryFile(/tmp/multipartBody4978008331971695969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263812968,"filename":"image_10042025_04_01_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351060878","file1":"1351060855","file0":"1351060827","file4":"1351060926","file5":"1351060938","file3":"1351060903"},"map_files_photo_id_array":[{"photo_id":"1351060938","filename":"file5"},{"photo_id":"1351060878","filename":"file2"},{"photo_id":"1351060926","filename":"file4"},{"photo_id":"1351060855","filename":"file1"},{"photo_id":"1351060827","filename":"file0"},{"photo_id":"1351060903","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351060855":["hashtag1","hashtag2"]},{"1351060878":["hashtag1","hashtag2"]},{"1351060903":["hashtag1","hashtag2"]},{"1351060938":["hashtag1","hashtag2"]},{"1351060926":["hashtag1","hashtag2"]},{"1351060827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351060855, 1351060878, 1351060903, 1351060938, 1351060926, 1351060827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54235792160034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:43:32.513355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_45_10366.jpg', '/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_54_9358.jpg', '/home/pi/Desktop/images/10042025/04/02/image_10042025_04_03_05_10414.jpg', '/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_15_10338.jpg', '/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_24_9485.jpg', '/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_45_10366.jpg
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_02_54_9358.jpg
/home/pi/Desktop/images/10042025/04/02/image_10042025_04_03_05_10414.jpg
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_15_10338.jpg
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_24_9485.jpg
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_35_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351061068","1351061083","1351061094","1351061130","1351061088","1351061078"],"photo_ids_order":["1351061068","1351061078","1351061083","1351061088","1351061094","1351061130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69fc5d8b2d480f59398342d80c3e8319.jpg","text":"TemporaryFile(/tmp/multipartBody3443587140583000856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_02_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4de8cd638376fa48e22486f2aacc21e.jpg","text":"TemporaryFile(/tmp/multipartBody7236418095584571442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_03_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dadbd1d28d65b84b2d9f36251f530c5.jpg","text":"TemporaryFile(/tmp/multipartBody1201632156981846683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_03_24_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/992f42b1f039f6cb719786fa0564f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody5745595714429586841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_03_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89c4e579a50d88b70a70bd36d3c30992.jpg","text":"TemporaryFile(/tmp/multipartBody765896643865329011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_03_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/310426ec6dca406d6e3b1200d1e39e35.jpg","text":"TemporaryFile(/tmp/multipartBody3100446862169668532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263873071,"filename":"image_10042025_04_02_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351061083","file1":"1351061078","file0":"1351061068","file4":"1351061094","file5":"1351061130","file3":"1351061088"},"map_files_photo_id_array":[{"photo_id":"1351061130","filename":"file5"},{"photo_id":"1351061083","filename":"file2"},{"photo_id":"1351061094","filename":"file4"},{"photo_id":"1351061078","filename":"file1"},{"photo_id":"1351061068","filename":"file0"},{"photo_id":"1351061088","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351061068":["hashtag1","hashtag2"]},{"1351061083":["hashtag1","hashtag2"]},{"1351061094":["hashtag1","hashtag2"]},{"1351061130":["hashtag1","hashtag2"]},{"1351061088":["hashtag1","hashtag2"]},{"1351061078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351061068, 1351061083, 1351061094, 1351061130, 1351061088, 1351061078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.31368160247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:44:32.728964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_45_10359.jpg', '/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_55_9433.jpg', '/home/pi/Desktop/images/10042025/04/03/image_10042025_04_04_05_10421.jpg', '/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_14_9353.jpg', '/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_25_10376.jpg', '/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_35_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_45_10359.jpg
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_03_55_9433.jpg
/home/pi/Desktop/images/10042025/04/03/image_10042025_04_04_05_10421.jpg
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_14_9353.jpg
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_25_10376.jpg
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_35_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351061191","1351061211","1351061195","1351061168","1351061183","1351061171"],"photo_ids_order":["1351061168","1351061171","1351061183","1351061191","1351061195","1351061211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1be0e0aedd927797aa225833514f60ff.jpg","text":"TemporaryFile(/tmp/multipartBody4416325487605319873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_04_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c384a4f71de90d97329aa6098b5eab89.jpg","text":"TemporaryFile(/tmp/multipartBody8282393711978023848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_04_35_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7674e25e56befe5d15757d9416634107.jpg","text":"TemporaryFile(/tmp/multipartBody629414589860518698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_04_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65cbe4e0a0274f66baad515ecf149dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2084093981449610183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_03_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/627ca14d8526d7a011ca2f861cda403a.jpg","text":"TemporaryFile(/tmp/multipartBody9485508733853856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_04_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92eba0ee5ad557339ce54efe631e32f2.jpg","text":"TemporaryFile(/tmp/multipartBody7228840613317069137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263933271,"filename":"image_10042025_04_03_55_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351061183","file1":"1351061171","file0":"1351061168","file4":"1351061195","file5":"1351061211","file3":"1351061191"},"map_files_photo_id_array":[{"photo_id":"1351061211","filename":"file5"},{"photo_id":"1351061183","filename":"file2"},{"photo_id":"1351061195","filename":"file4"},{"photo_id":"1351061171","filename":"file1"},{"photo_id":"1351061168","filename":"file0"},{"photo_id":"1351061191","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351061191":["hashtag1","hashtag2"]},{"1351061211":["hashtag1","hashtag2"]},{"1351061195":["hashtag1","hashtag2"]},{"1351061168":["hashtag1","hashtag2"]},{"1351061183":["hashtag1","hashtag2"]},{"1351061171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351061191, 1351061211, 1351061195, 1351061168, 1351061183, 1351061171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308300733566284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:45:34.854942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_45_9436.jpg', '/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_55_10384.jpg', '/home/pi/Desktop/images/10042025/04/04/image_10042025_04_05_04_9355.jpg', '/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_15_10335.jpg', '/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_25_10439.jpg', '/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_35_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_45_9436.jpg
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_04_55_10384.jpg
/home/pi/Desktop/images/10042025/04/04/image_10042025_04_05_04_9355.jpg
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_15_10335.jpg
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_25_10439.jpg
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_35_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351061284","1351061302","1351061292","1351061289","1351061298","1351061277"],"photo_ids_order":["1351061277","1351061284","1351061289","1351061292","1351061298","1351061302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88dafe1b130ca50839e313d602808d20.jpg","text":"TemporaryFile(/tmp/multipartBody7428463581747742228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_04_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09002124947c7705ce09805e708740ff.jpg","text":"TemporaryFile(/tmp/multipartBody3858922219695199353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_05_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6467a3fd89f71ae8ffee6347f2f32a5.jpg","text":"TemporaryFile(/tmp/multipartBody3492335179760967355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_05_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49d236555444c54f9cfc885c5e694aea.jpg","text":"TemporaryFile(/tmp/multipartBody2551864993331812528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_05_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5550a95d2d87758582b5cd4037f1011f.jpg","text":"TemporaryFile(/tmp/multipartBody8901778066573474834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_05_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b783eff1965afbc47ab3e38abcde76e8.jpg","text":"TemporaryFile(/tmp/multipartBody360918980799939347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744263995427,"filename":"image_10042025_04_04_45_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351061289","file1":"1351061284","file0":"1351061277","file4":"1351061298","file5":"1351061302","file3":"1351061292"},"map_files_photo_id_array":[{"photo_id":"1351061302","filename":"file5"},{"photo_id":"1351061289","filename":"file2"},{"photo_id":"1351061298","filename":"file4"},{"photo_id":"1351061284","filename":"file1"},{"photo_id":"1351061277","filename":"file0"},{"photo_id":"1351061292","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351061284":["hashtag1","hashtag2"]},{"1351061302":["hashtag1","hashtag2"]},{"1351061292":["hashtag1","hashtag2"]},{"1351061289":["hashtag1","hashtag2"]},{"1351061298":["hashtag1","hashtag2"]},{"1351061277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351061284, 1351061302, 1351061292, 1351061289, 1351061298, 1351061277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.370001554489136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:46:32.236980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_45_10365.jpg', '/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_54_9417.jpg', '/home/pi/Desktop/images/10042025/04/05/image_10042025_04_06_05_10383.jpg', '/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_15_10347.jpg', '/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_24_9363.jpg', '/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_35_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_45_10365.jpg
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_05_54_9417.jpg
/home/pi/Desktop/images/10042025/04/05/image_10042025_04_06_05_10383.jpg
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_15_10347.jpg
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_24_9363.jpg
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_35_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351061488","1351061383","1351061542","1351061533","1351061413","1351061444"],"photo_ids_order":["1351061383","1351061413","1351061444","1351061488","1351061533","1351061542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9a8239c35703d4c82a82a0482fd7e49.jpg","text":"TemporaryFile(/tmp/multipartBody4649208416498564029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_06_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64498448c2fee07c49ca5e617e6c7145.jpg","text":"TemporaryFile(/tmp/multipartBody1822185442810033036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_05_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39c2fd967c012d22954f08ff0c806b73.jpg","text":"TemporaryFile(/tmp/multipartBody713406683296613169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_06_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3a0b5795f28a5430ec39b65b42b4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2037865354665214589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_06_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ea548a5031076d5497f7efd5c238ade.jpg","text":"TemporaryFile(/tmp/multipartBody7915600570250592106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_05_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/210f8a5d2c3f9cc04fd529bd5bb938a6.jpg","text":"TemporaryFile(/tmp/multipartBody4912203179428145761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264053273,"filename":"image_10042025_04_06_05_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351061444","file1":"1351061413","file0":"1351061383","file4":"1351061533","file5":"1351061542","file3":"1351061488"},"map_files_photo_id_array":[{"photo_id":"1351061542","filename":"file5"},{"photo_id":"1351061444","filename":"file2"},{"photo_id":"1351061533","filename":"file4"},{"photo_id":"1351061413","filename":"file1"},{"photo_id":"1351061383","filename":"file0"},{"photo_id":"1351061488","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351061488":["hashtag1","hashtag2"]},{"1351061383":["hashtag1","hashtag2"]},{"1351061542":["hashtag1","hashtag2"]},{"1351061533":["hashtag1","hashtag2"]},{"1351061413":["hashtag1","hashtag2"]},{"1351061444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351061488, 1351061383, 1351061542, 1351061533, 1351061413, 1351061444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.442869663238525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:47:32.330791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_45_10370.jpg', '/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_55_9357.jpg', '/home/pi/Desktop/images/10042025/04/06/image_10042025_04_07_05_10376.jpg', '/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_14_9404.jpg', '/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_25_10369.jpg', '/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_35_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_45_10370.jpg
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_06_55_9357.jpg
/home/pi/Desktop/images/10042025/04/06/image_10042025_04_07_05_10376.jpg
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_14_9404.jpg
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_25_10369.jpg
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_35_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351061680","1351061941","1351061824","1351061844","1351061868","1351061753"],"photo_ids_order":["1351061680","1351061753","1351061824","1351061844","1351061868","1351061941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/959ae6ad756177f857b2549dcbaf91b9.jpg","text":"TemporaryFile(/tmp/multipartBody2260705787609431607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_06_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d638c9b9e5b103ba63f233feeab64be1.jpg","text":"TemporaryFile(/tmp/multipartBody6559727560408129000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_07_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6fd323f87d18449c36e0bf461212bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3441753628178569543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_07_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40e4ed872b35dd8af292b5b22c9386e6.jpg","text":"TemporaryFile(/tmp/multipartBody3609005648138439863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_07_14_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00f396a930348f5eea9544eb2a747f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1451145430225641680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_07_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06311b900fde6e2736b9c80bec786ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5898908154599364479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264112880,"filename":"image_10042025_04_06_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351061824","file1":"1351061753","file0":"1351061680","file4":"1351061868","file5":"1351061941","file3":"1351061844"},"map_files_photo_id_array":[{"photo_id":"1351061941","filename":"file5"},{"photo_id":"1351061824","filename":"file2"},{"photo_id":"1351061868","filename":"file4"},{"photo_id":"1351061753","filename":"file1"},{"photo_id":"1351061680","filename":"file0"},{"photo_id":"1351061844","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351061680":["hashtag1","hashtag2"]},{"1351061941":["hashtag1","hashtag2"]},{"1351061824":["hashtag1","hashtag2"]},{"1351061844":["hashtag1","hashtag2"]},{"1351061868":["hashtag1","hashtag2"]},{"1351061753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351061680, 1351061941, 1351061824, 1351061844, 1351061868, 1351061753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.4331214427948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:48:32.591751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_45_9424.jpg', '/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_55_10365.jpg', '/home/pi/Desktop/images/10042025/04/07/image_10042025_04_08_04_9462.jpg', '/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_15_10360.jpg', '/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_25_10444.jpg', '/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_45_9424.jpg
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_07_55_10365.jpg
/home/pi/Desktop/images/10042025/04/07/image_10042025_04_08_04_9462.jpg
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_15_10360.jpg
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_25_10444.jpg
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_35_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351062145","1351062109","1351062118","1351062093","1351062062","1351062082"],"photo_ids_order":["1351062062","1351062082","1351062093","1351062109","1351062118","1351062145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e8fc5623ad4aece79d40f0c27e9a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody9094187964111142400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_08_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b97cb5a570f67aee39a20abfb7f399f.jpg","text":"TemporaryFile(/tmp/multipartBody5080618719200469732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_08_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0117ae77fc99fd6bf33c6b2599497a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7892599196439622159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_08_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbf8710d99c79fe2ba5f2068038a6af1.jpg","text":"TemporaryFile(/tmp/multipartBody3853064655725683985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_08_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/854ed412afe8fbc8d1fc90f833bbb7f9.jpg","text":"TemporaryFile(/tmp/multipartBody6404554079642281433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_07_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a9d6e0183260a1a00f97badd119ccad.jpg","text":"TemporaryFile(/tmp/multipartBody7954934783112494214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264173143,"filename":"image_10042025_04_07_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351062093","file1":"1351062082","file0":"1351062062","file4":"1351062118","file5":"1351062145","file3":"1351062109"},"map_files_photo_id_array":[{"photo_id":"1351062145","filename":"file5"},{"photo_id":"1351062093","filename":"file2"},{"photo_id":"1351062118","filename":"file4"},{"photo_id":"1351062082","filename":"file1"},{"photo_id":"1351062062","filename":"file0"},{"photo_id":"1351062109","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351062145":["hashtag1","hashtag2"]},{"1351062109":["hashtag1","hashtag2"]},{"1351062118":["hashtag1","hashtag2"]},{"1351062093":["hashtag1","hashtag2"]},{"1351062062":["hashtag1","hashtag2"]},{"1351062082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351062145, 1351062109, 1351062118, 1351062093, 1351062062, 1351062082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.321078062057495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:49:32.750160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_45_10359.jpg', '/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_54_9427.jpg', '/home/pi/Desktop/images/10042025/04/08/image_10042025_04_09_05_10360.jpg', '/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_15_10356.jpg', '/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_24_9415.jpg', '/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_45_10359.jpg
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_08_54_9427.jpg
/home/pi/Desktop/images/10042025/04/08/image_10042025_04_09_05_10360.jpg
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_15_10356.jpg
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_24_9415.jpg
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_35_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351062538","1351062495","1351062433","1351062513","1351062389","1351062472"],"photo_ids_order":["1351062389","1351062433","1351062472","1351062495","1351062513","1351062538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/239b4d14cda886977c44e90edd89c33d.jpg","text":"TemporaryFile(/tmp/multipartBody48176950635680281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_09_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ae7f85e37299781e89fccc3ec9fc246.jpg","text":"TemporaryFile(/tmp/multipartBody3505382524921228079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_09_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94d5827d99e11a9dfdeae644bae553b2.jpg","text":"TemporaryFile(/tmp/multipartBody7839007013510726774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_08_54_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/549f773fb21b8abd4ed78be18e12be4b.jpg","text":"TemporaryFile(/tmp/multipartBody4136402657539508433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_09_24_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5eb07453c29276b9737f59e2914f00b.jpg","text":"TemporaryFile(/tmp/multipartBody4856672616303504337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_08_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/234d9697ae2b6102754c77b422e5639b.jpg","text":"TemporaryFile(/tmp/multipartBody5358895768271185442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264233302,"filename":"image_10042025_04_09_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351062472","file1":"1351062433","file0":"1351062389","file4":"1351062513","file5":"1351062538","file3":"1351062495"},"map_files_photo_id_array":[{"photo_id":"1351062538","filename":"file5"},{"photo_id":"1351062472","filename":"file2"},{"photo_id":"1351062513","filename":"file4"},{"photo_id":"1351062433","filename":"file1"},{"photo_id":"1351062389","filename":"file0"},{"photo_id":"1351062495","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351062538":["hashtag1","hashtag2"]},{"1351062495":["hashtag1","hashtag2"]},{"1351062433":["hashtag1","hashtag2"]},{"1351062513":["hashtag1","hashtag2"]},{"1351062389":["hashtag1","hashtag2"]},{"1351062472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351062538, 1351062495, 1351062433, 1351062513, 1351062389, 1351062472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.431397676467896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:50:33.026498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_45_10367.jpg', '/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_55_9421.jpg', '/home/pi/Desktop/images/10042025/04/09/image_10042025_04_10_05_10394.jpg', '/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_14_9357.jpg', '/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_25_10373.jpg', '/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_45_10367.jpg
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_09_55_9421.jpg
/home/pi/Desktop/images/10042025/04/09/image_10042025_04_10_05_10394.jpg
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_14_9357.jpg
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_25_10373.jpg
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_35_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351062706","1351062750","1351062732","1351062674","1351062749","1351062745"],"photo_ids_order":["1351062674","1351062706","1351062732","1351062745","1351062749","1351062750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0294809f9c4750f56cf0c0f02da684c3.jpg","text":"TemporaryFile(/tmp/multipartBody5336132714003154537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_09_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e98b6851a214c8ed48a997e2e479aacf.jpg","text":"TemporaryFile(/tmp/multipartBody5225410008971120774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_10_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3b6800a4479bf8cd8d99ba53141385d.jpg","text":"TemporaryFile(/tmp/multipartBody8696816187377562117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_10_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34f3b66ef5b9d863e95d41e9d68eee95.jpg","text":"TemporaryFile(/tmp/multipartBody2805651121425280194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_09_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93122077853c7ef1319d815c93a7beab.jpg","text":"TemporaryFile(/tmp/multipartBody7550737948641682071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_10_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0811db2b6051b403f8b782d6493aea52.jpg","text":"TemporaryFile(/tmp/multipartBody7169283381272768875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264293588,"filename":"image_10042025_04_10_14_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351062732","file1":"1351062706","file0":"1351062674","file4":"1351062749","file5":"1351062750","file3":"1351062745"},"map_files_photo_id_array":[{"photo_id":"1351062750","filename":"file5"},{"photo_id":"1351062732","filename":"file2"},{"photo_id":"1351062749","filename":"file4"},{"photo_id":"1351062706","filename":"file1"},{"photo_id":"1351062674","filename":"file0"},{"photo_id":"1351062745","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351062706":["hashtag1","hashtag2"]},{"1351062750":["hashtag1","hashtag2"]},{"1351062732":["hashtag1","hashtag2"]},{"1351062674":["hashtag1","hashtag2"]},{"1351062749":["hashtag1","hashtag2"]},{"1351062745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351062706, 1351062750, 1351062732, 1351062674, 1351062749, 1351062745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49512505531311 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:51:32.269749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_44_9347.jpg', '/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_55_10374.jpg', '/home/pi/Desktop/images/10042025/04/10/image_10042025_04_11_04_9508.jpg', '/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_15_10341.jpg', '/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_25_10448.jpg', '/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_34_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_44_9347.jpg
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_10_55_10374.jpg
/home/pi/Desktop/images/10042025/04/10/image_10042025_04_11_04_9508.jpg
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_15_10341.jpg
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_25_10448.jpg
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_34_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351062775","1351062808","1351062813","1351062785","1351062803","1351062799"],"photo_ids_order":["1351062775","1351062785","1351062799","1351062803","1351062808","1351062813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a65eeda0521d11e1dc9715c53f3fc1c1.jpg","text":"TemporaryFile(/tmp/multipartBody7809136764189637338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_10_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e00b267b05acbc3fb7f01428955aebf6.jpg","text":"TemporaryFile(/tmp/multipartBody950136585953648243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_11_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edeebd0ab9b593b11f7cb106acd0d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody5456743005630308744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_11_34_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a510e148d79be4c653854de3f8e7d94.jpg","text":"TemporaryFile(/tmp/multipartBody9090246536219287265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_10_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a1efa110106a944dd9357d555354c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8936595433042252873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_11_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7f16d5a5485569589f6f0893566d4db.jpg","text":"TemporaryFile(/tmp/multipartBody7052417899875102152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264352841,"filename":"image_10042025_04_11_04_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351062799","file1":"1351062785","file0":"1351062775","file4":"1351062808","file5":"1351062813","file3":"1351062803"},"map_files_photo_id_array":[{"photo_id":"1351062813","filename":"file5"},{"photo_id":"1351062799","filename":"file2"},{"photo_id":"1351062808","filename":"file4"},{"photo_id":"1351062785","filename":"file1"},{"photo_id":"1351062775","filename":"file0"},{"photo_id":"1351062803","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351062775":["hashtag1","hashtag2"]},{"1351062808":["hashtag1","hashtag2"]},{"1351062813":["hashtag1","hashtag2"]},{"1351062785":["hashtag1","hashtag2"]},{"1351062803":["hashtag1","hashtag2"]},{"1351062799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351062775, 1351062808, 1351062813, 1351062785, 1351062803, 1351062799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21180057525635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:52:32.427711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_45_10377.jpg', '/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_54_9472.jpg', '/home/pi/Desktop/images/10042025/04/11/image_10042025_04_12_05_10368.jpg', '/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_15_10357.jpg', '/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_24_9362.jpg', '/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_45_10377.jpg
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_11_54_9472.jpg
/home/pi/Desktop/images/10042025/04/11/image_10042025_04_12_05_10368.jpg
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_15_10357.jpg
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_24_9362.jpg
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351062912","1351062896","1351062915","1351062875","1351062869","1351062908"],"photo_ids_order":["1351062869","1351062875","1351062896","1351062908","1351062912","1351062915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/345426db557e3b0589670171fb1314a3.jpg","text":"TemporaryFile(/tmp/multipartBody6358967926774904461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_12_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/510b020a019450139b57fd479677fc14.jpg","text":"TemporaryFile(/tmp/multipartBody2206359931252838904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_12_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0753967fd266c9907f046872c332454f.jpg","text":"TemporaryFile(/tmp/multipartBody7098020132452305708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_12_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3033db44c50930723eaf3c72eaa42cd.jpg","text":"TemporaryFile(/tmp/multipartBody9096132425980276605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_11_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a67ac551a17e887d708b7bf6241da35.jpg","text":"TemporaryFile(/tmp/multipartBody978597225544964310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_11_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/857d54bea6778f93c4b5aba40cac1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1034010662372576219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264412993,"filename":"image_10042025_04_12_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351062896","file1":"1351062875","file0":"1351062869","file4":"1351062912","file5":"1351062915","file3":"1351062908"},"map_files_photo_id_array":[{"photo_id":"1351062915","filename":"file5"},{"photo_id":"1351062896","filename":"file2"},{"photo_id":"1351062912","filename":"file4"},{"photo_id":"1351062875","filename":"file1"},{"photo_id":"1351062869","filename":"file0"},{"photo_id":"1351062908","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351062912":["hashtag1","hashtag2"]},{"1351062896":["hashtag1","hashtag2"]},{"1351062915":["hashtag1","hashtag2"]},{"1351062875":["hashtag1","hashtag2"]},{"1351062869":["hashtag1","hashtag2"]},{"1351062908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351062912, 1351062896, 1351062915, 1351062875, 1351062869, 1351062908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7907829284668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:53:32.577812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_45_10352.jpg', '/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_55_9427.jpg', '/home/pi/Desktop/images/10042025/04/12/image_10042025_04_13_05_10348.jpg', '/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_14_9457.jpg', '/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_25_10374.jpg', '/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_45_10352.jpg
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_12_55_9427.jpg
/home/pi/Desktop/images/10042025/04/12/image_10042025_04_13_05_10348.jpg
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_14_9457.jpg
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_25_10374.jpg
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351063003","1351063032","1351063052","1351063055","1351063016","1351063042"],"photo_ids_order":["1351063003","1351063016","1351063032","1351063042","1351063052","1351063055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d8572bee66c99ced03ec6703a88fc99.jpg","text":"TemporaryFile(/tmp/multipartBody8355533534783696771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_12_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b16e1d8cac97f080385172c9ca390da4.jpg","text":"TemporaryFile(/tmp/multipartBody8451829295125352773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_13_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fe7ed006ed3cac500d930d3b599b637.jpg","text":"TemporaryFile(/tmp/multipartBody7411880195593242685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_13_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3f000607e05ef01e5b2997a7d47a2da.jpg","text":"TemporaryFile(/tmp/multipartBody2529832094656322450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_13_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fee26607262aa718f59abd901c289b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6035706874007513154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_12_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a1c0e83bbe042b1b236b8f60686cad7.jpg","text":"TemporaryFile(/tmp/multipartBody3665307987482316495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264473220,"filename":"image_10042025_04_13_14_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351063032","file1":"1351063016","file0":"1351063003","file4":"1351063052","file5":"1351063055","file3":"1351063042"},"map_files_photo_id_array":[{"photo_id":"1351063055","filename":"file5"},{"photo_id":"1351063032","filename":"file2"},{"photo_id":"1351063052","filename":"file4"},{"photo_id":"1351063016","filename":"file1"},{"photo_id":"1351063003","filename":"file0"},{"photo_id":"1351063042","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351063003":["hashtag1","hashtag2"]},{"1351063032":["hashtag1","hashtag2"]},{"1351063052":["hashtag1","hashtag2"]},{"1351063055":["hashtag1","hashtag2"]},{"1351063016":["hashtag1","hashtag2"]},{"1351063042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351063003, 1351063032, 1351063052, 1351063055, 1351063016, 1351063042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09207558631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:54:32.937904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_45_9403.jpg', '/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_55_10377.jpg', '/home/pi/Desktop/images/10042025/04/13/image_10042025_04_14_04_9403.jpg', '/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_15_10327.jpg', '/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_25_10374.jpg', '/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_34_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_45_9403.jpg
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_13_55_10377.jpg
/home/pi/Desktop/images/10042025/04/13/image_10042025_04_14_04_9403.jpg
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_15_10327.jpg
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_25_10374.jpg
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_34_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351063129","1351063140","1351063134","1351063160","1351063154","1351063148"],"photo_ids_order":["1351063129","1351063134","1351063140","1351063148","1351063154","1351063160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20020d45694b642ed9eaf782fb92412a.jpg","text":"TemporaryFile(/tmp/multipartBody1498939008197947285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_13_45_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/557155625ec4edc7fd3563631795a29c.jpg","text":"TemporaryFile(/tmp/multipartBody2936928801588453013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_14_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/640790e488cb2c3a26dfe4a69772c772.jpg","text":"TemporaryFile(/tmp/multipartBody3880226512715559474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_13_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0591474ed852256efc49ee8d5ef75cb.jpg","text":"TemporaryFile(/tmp/multipartBody1640920764774907986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_14_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b8212036b50fe6e1e5554dd88c668f7.jpg","text":"TemporaryFile(/tmp/multipartBody336559000280544647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_14_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8510efd953f14676b4e83c90d7970dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4952203245888495245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264533611,"filename":"image_10042025_04_14_15_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351063140","file1":"1351063134","file0":"1351063129","file4":"1351063154","file5":"1351063160","file3":"1351063148"},"map_files_photo_id_array":[{"photo_id":"1351063160","filename":"file5"},{"photo_id":"1351063140","filename":"file2"},{"photo_id":"1351063154","filename":"file4"},{"photo_id":"1351063134","filename":"file1"},{"photo_id":"1351063129","filename":"file0"},{"photo_id":"1351063148","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351063129":["hashtag1","hashtag2"]},{"1351063140":["hashtag1","hashtag2"]},{"1351063134":["hashtag1","hashtag2"]},{"1351063160":["hashtag1","hashtag2"]},{"1351063154":["hashtag1","hashtag2"]},{"1351063148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351063129, 1351063140, 1351063134, 1351063160, 1351063154, 1351063148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17109656333923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:55:33.125906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_45_10362.jpg', '/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_55_10452.jpg', '/home/pi/Desktop/images/10042025/04/14/image_10042025_04_15_05_9357.jpg', '/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_15_10355.jpg', '/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_24_9416.jpg', '/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_35_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_45_10362.jpg
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_14_55_10452.jpg
/home/pi/Desktop/images/10042025/04/14/image_10042025_04_15_05_9357.jpg
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_15_10355.jpg
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_24_9416.jpg
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_35_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351063266","1351063283","1351063328","1351063375","1351063363","1351063303"],"photo_ids_order":["1351063266","1351063283","1351063303","1351063328","1351063363","1351063375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/174ad0c51db2a97e977c4722b71e6eef.jpg","text":"TemporaryFile(/tmp/multipartBody1356973057129049153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_14_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eafe2a7b253ed6d108189ba3060ebc35.jpg","text":"TemporaryFile(/tmp/multipartBody1405924820228268169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_14_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f356184b604f84d9535df0e2fd151d0.jpg","text":"TemporaryFile(/tmp/multipartBody358080868719565401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_15_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/145f9183f3177c1e1d9159398a56c91c.jpg","text":"TemporaryFile(/tmp/multipartBody5363858681109130860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_15_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/472ce42b97daaf03d8daec11bba41b05.jpg","text":"TemporaryFile(/tmp/multipartBody5551124160760905079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_15_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f1af1db3bab657c41deee27cfdc03cf.jpg","text":"TemporaryFile(/tmp/multipartBody721424906349464699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264593683,"filename":"image_10042025_04_15_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351063303","file1":"1351063283","file0":"1351063266","file4":"1351063363","file5":"1351063375","file3":"1351063328"},"map_files_photo_id_array":[{"photo_id":"1351063375","filename":"file5"},{"photo_id":"1351063303","filename":"file2"},{"photo_id":"1351063363","filename":"file4"},{"photo_id":"1351063283","filename":"file1"},{"photo_id":"1351063266","filename":"file0"},{"photo_id":"1351063328","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351063266":["hashtag1","hashtag2"]},{"1351063283":["hashtag1","hashtag2"]},{"1351063328":["hashtag1","hashtag2"]},{"1351063375":["hashtag1","hashtag2"]},{"1351063363":["hashtag1","hashtag2"]},{"1351063303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351063266, 1351063283, 1351063328, 1351063375, 1351063363, 1351063303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7818169593811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:56:32.501049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_45_10384.jpg', '/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_54_9362.jpg', '/home/pi/Desktop/images/10042025/04/15/image_10042025_04_16_05_10416.jpg', '/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_14_9424.jpg', '/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_35_10368.jpg', '/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_45_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_45_10384.jpg
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_15_54_9362.jpg
/home/pi/Desktop/images/10042025/04/15/image_10042025_04_16_05_10416.jpg
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_14_9424.jpg
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_35_10368.jpg
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_45_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351063507","1351063455","1351063511","1351063492","1351063522","1351063516"],"photo_ids_order":["1351063455","1351063492","1351063507","1351063511","1351063516","1351063522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7aace14e2107c01c4da486e5261ccbca.jpg","text":"TemporaryFile(/tmp/multipartBody6822682407509156093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_16_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ff51b147dcd1d1d7ea71b1e9a2d9afb.jpg","text":"TemporaryFile(/tmp/multipartBody2070852738582446103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_15_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca36144017a8838578a5fd6e1a9042f9.jpg","text":"TemporaryFile(/tmp/multipartBody4012161061182948883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_16_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e96ce1de5097cec3fdd49255dcdb6c7.jpg","text":"TemporaryFile(/tmp/multipartBody3777521997342561259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_15_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f5fe5c7d90a84c9175cb9f5adc7120c.jpg","text":"TemporaryFile(/tmp/multipartBody6130433087772199377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_16_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed45aad48630a6c528a51df4afea54d9.jpg","text":"TemporaryFile(/tmp/multipartBody8156857922666299702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264653085,"filename":"image_10042025_04_16_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351063507","file1":"1351063492","file0":"1351063455","file4":"1351063516","file5":"1351063522","file3":"1351063511"},"map_files_photo_id_array":[{"photo_id":"1351063522","filename":"file5"},{"photo_id":"1351063507","filename":"file2"},{"photo_id":"1351063516","filename":"file4"},{"photo_id":"1351063492","filename":"file1"},{"photo_id":"1351063455","filename":"file0"},{"photo_id":"1351063511","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351063507":["hashtag1","hashtag2"]},{"1351063455":["hashtag1","hashtag2"]},{"1351063511":["hashtag1","hashtag2"]},{"1351063492":["hashtag1","hashtag2"]},{"1351063522":["hashtag1","hashtag2"]},{"1351063516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351063507, 1351063455, 1351063511, 1351063492, 1351063522, 1351063516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44049310684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 07:57:32.627064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_55_10377.jpg', '/home/pi/Desktop/images/10042025/04/16/image_10042025_04_17_04_9454.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_15_10350.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_25_10379.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_35_9432.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_55_10377.jpg
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_17_04_9454.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_15_10350.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_25_10379.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_35_9432.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_45_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 07:59:03.628547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_55_10377.jpg', '/home/pi/Desktop/images/10042025/04/16/image_10042025_04_17_04_9454.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_15_10350.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_25_10379.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_35_9432.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_16_55_10377.jpg
/home/pi/Desktop/images/10042025/04/16/image_10042025_04_17_04_9454.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_15_10350.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_25_10379.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_35_9432.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_45_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351063707","1351063799","1351063844","1351063616","1351063631","1351063621"],"photo_ids_order":["1351063616","1351063621","1351063631","1351063707","1351063799","1351063844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b0a1d6c5f0239c4b75d63c1d7bd84ca.jpg","text":"TemporaryFile(/tmp/multipartBody8719658724810336718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_17_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fecb290eb8c4031ee0e63f3cf4f19d0.jpg","text":"TemporaryFile(/tmp/multipartBody5395851074267933825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_17_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30f7315ff7d05d87851b9d1a0a697163.jpg","text":"TemporaryFile(/tmp/multipartBody7153376712128853409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_17_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2c4b6148958f2771f564b8bff8821db.jpg","text":"TemporaryFile(/tmp/multipartBody8215732696641844196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_16_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19107c1dc4c136ee970c204b187dbf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7589363081254684117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_17_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f5a750519ff5db7a789854148263a82.jpg","text":"TemporaryFile(/tmp/multipartBody4112382187298224398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264804233,"filename":"image_10042025_04_17_04_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351063631","file1":"1351063621","file0":"1351063616","file4":"1351063799","file5":"1351063844","file3":"1351063707"},"map_files_photo_id_array":[{"photo_id":"1351063844","filename":"file5"},{"photo_id":"1351063631","filename":"file2"},{"photo_id":"1351063799","filename":"file4"},{"photo_id":"1351063621","filename":"file1"},{"photo_id":"1351063616","filename":"file0"},{"photo_id":"1351063707","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351063707":["hashtag1","hashtag2"]},{"1351063799":["hashtag1","hashtag2"]},{"1351063844":["hashtag1","hashtag2"]},{"1351063616":["hashtag1","hashtag2"]},{"1351063631":["hashtag1","hashtag2"]},{"1351063621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351063707, 1351063799, 1351063844, 1351063616, 1351063631, 1351063621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67229390144348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 07:59:42.511298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_54_9469.jpg', '/home/pi/Desktop/images/10042025/04/17/image_10042025_04_18_05_10353.jpg', '/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_15_10403.jpg', '/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_24_9361.jpg', '/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_35_10400.jpg', '/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_17_54_9469.jpg
/home/pi/Desktop/images/10042025/04/17/image_10042025_04_18_05_10353.jpg
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_15_10403.jpg
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_24_9361.jpg
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_35_10400.jpg
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351064235","1351064115","1351064202","1351064177","1351064050","1351064142"],"photo_ids_order":["1351064050","1351064115","1351064142","1351064177","1351064202","1351064235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3cf8663b294887f151596b39b3d1699.jpg","text":"TemporaryFile(/tmp/multipartBody1133399610093841807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_18_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fef32165df0b1e18bc1bd3cc9941d01.jpg","text":"TemporaryFile(/tmp/multipartBody7577438696484723671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_18_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a949753deed665e2bf5f279ddaeb0247.jpg","text":"TemporaryFile(/tmp/multipartBody8918053073700964663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_18_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/260f8737dbaf11c5267f7e125498332a.jpg","text":"TemporaryFile(/tmp/multipartBody7134218693811268627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_18_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a6d234947838c65fbaaf55a76661b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2458188669508013855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_17_54_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0be234a8a9868521ca78ceb390aa192c.jpg","text":"TemporaryFile(/tmp/multipartBody443227459482184734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264843077,"filename":"image_10042025_04_18_15_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351064142","file1":"1351064115","file0":"1351064050","file4":"1351064202","file5":"1351064235","file3":"1351064177"},"map_files_photo_id_array":[{"photo_id":"1351064235","filename":"file5"},{"photo_id":"1351064142","filename":"file2"},{"photo_id":"1351064202","filename":"file4"},{"photo_id":"1351064115","filename":"file1"},{"photo_id":"1351064050","filename":"file0"},{"photo_id":"1351064177","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351064235":["hashtag1","hashtag2"]},{"1351064115":["hashtag1","hashtag2"]},{"1351064202":["hashtag1","hashtag2"]},{"1351064177":["hashtag1","hashtag2"]},{"1351064050":["hashtag1","hashtag2"]},{"1351064142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351064235, 1351064115, 1351064202, 1351064177, 1351064050, 1351064142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00135564804077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:00:32.579111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_55_9459.jpg', '/home/pi/Desktop/images/10042025/04/18/image_10042025_04_19_05_10375.jpg', '/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_14_9380.jpg', '/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_25_10433.jpg', '/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_35_10361.jpg', '/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_45_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_18_55_9459.jpg
/home/pi/Desktop/images/10042025/04/18/image_10042025_04_19_05_10375.jpg
/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_14_9380.jpg
/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_25_10433.jpg
/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_35_10361.jpg
/home/pi/Desktop/images/10042025/04/19/image_10042025_04_19_45_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351064459","1351064473","1351064389","1351064482","1351064419","1351064440"],"photo_ids_order":["1351064389","1351064419","1351064440","1351064459","1351064473","1351064482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b114147bc75f5ba5c94d6994467e627.jpg","text":"TemporaryFile(/tmp/multipartBody5760166132286072339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_19_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bc88fc07e3419731afefe9e3a662f96.jpg","text":"TemporaryFile(/tmp/multipartBody6099417586234606624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_19_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e0740609e6371ec18898ee6d27ec41d.jpg","text":"TemporaryFile(/tmp/multipartBody3796942531958754908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_18_55_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b132700048324b9c34631fcd07ab3304.jpg","text":"TemporaryFile(/tmp/multipartBody5196419178428573702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_19_45_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/686c728ae2deeab3463d233c8a597f25.jpg","text":"TemporaryFile(/tmp/multipartBody5339278342798738232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_19_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ff33fed69bb075474b5f19b326cbbee.jpg","text":"TemporaryFile(/tmp/multipartBody4026866202802576190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264893147,"filename":"image_10042025_04_19_14_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351064440","file1":"1351064419","file0":"1351064389","file4":"1351064473","file5":"1351064482","file3":"1351064459"},"map_files_photo_id_array":[{"photo_id":"1351064482","filename":"file5"},{"photo_id":"1351064440","filename":"file2"},{"photo_id":"1351064473","filename":"file4"},{"photo_id":"1351064419","filename":"file1"},{"photo_id":"1351064389","filename":"file0"},{"photo_id":"1351064459","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351064459":["hashtag1","hashtag2"]},{"1351064473":["hashtag1","hashtag2"]},{"1351064389":["hashtag1","hashtag2"]},{"1351064482":["hashtag1","hashtag2"]},{"1351064419":["hashtag1","hashtag2"]},{"1351064440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351064459, 1351064473, 1351064389, 1351064482, 1351064419, 1351064440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73265528678894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:01:32.765857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/19/image_10042025_04_20_04_9438.jpg', '/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_15_10340.jpg', '/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_25_10364.jpg', '/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_35_9362.jpg', '/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_45_10366.jpg', '/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_54_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/19/image_10042025_04_20_04_9438.jpg
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_15_10340.jpg
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_25_10364.jpg
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_35_9362.jpg
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_45_10366.jpg
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_20_54_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351065193","1351065256","1351065241","1351065079","1351064961","1351065219"],"photo_ids_order":["1351064961","1351065079","1351065193","1351065219","1351065241","1351065256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5a6039a22582d10a9eb873e1fa7387b.jpg","text":"TemporaryFile(/tmp/multipartBody705813082453440796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f9c22d54dcf94d5b437016f419d2864.jpg","text":"TemporaryFile(/tmp/multipartBody3016107007096063847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdf0a3b8777fa1f9c53308b21c00a67f.jpg","text":"TemporaryFile(/tmp/multipartBody905168328626840591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97e5eed1323e3099a39b3ff788eff154.jpg","text":"TemporaryFile(/tmp/multipartBody7298394189137093242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/619cc8c6cbf2c39f0a27a2ec65fab18a.jpg","text":"TemporaryFile(/tmp/multipartBody858728505537115978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_04_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4451b18468cf49c529c6ca47e48acfe.jpg","text":"TemporaryFile(/tmp/multipartBody7058559562513312178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744264953331,"filename":"image_10042025_04_20_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351065193","file1":"1351065079","file0":"1351064961","file4":"1351065241","file5":"1351065256","file3":"1351065219"},"map_files_photo_id_array":[{"photo_id":"1351065256","filename":"file5"},{"photo_id":"1351065193","filename":"file2"},{"photo_id":"1351065241","filename":"file4"},{"photo_id":"1351065079","filename":"file1"},{"photo_id":"1351064961","filename":"file0"},{"photo_id":"1351065219","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351065193":["hashtag1","hashtag2"]},{"1351065256":["hashtag1","hashtag2"]},{"1351065241":["hashtag1","hashtag2"]},{"1351065079":["hashtag1","hashtag2"]},{"1351064961":["hashtag1","hashtag2"]},{"1351065219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351065193, 1351065256, 1351065241, 1351065079, 1351064961, 1351065219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67618274688721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:02:32.968160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/20/image_10042025_04_21_05_10402.jpg', '/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_15_10353.jpg', '/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_24_9450.jpg', '/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_35_10370.jpg', '/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_45_10361.jpg', '/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/20/image_10042025_04_21_05_10402.jpg
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_15_10353.jpg
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_24_9450.jpg
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_35_10370.jpg
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_45_10361.jpg
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_21_55_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351065794","1351065560","1351065740","1351065716","1351065667","1351065628"],"photo_ids_order":["1351065560","1351065628","1351065667","1351065716","1351065740","1351065794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac177a37e3c718e1d2d5ce7831bddf4d.jpg","text":"TemporaryFile(/tmp/multipartBody6321222465811775023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55e6b6f5a0a1f320f7b6b1a68390ea9f.jpg","text":"TemporaryFile(/tmp/multipartBody1313322548980907151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2efd270238fb2d609e2ce45cc37f969d.jpg","text":"TemporaryFile(/tmp/multipartBody8067518139126834431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6eb2ddb668d45062d3e1dd2ee6b038cb.jpg","text":"TemporaryFile(/tmp/multipartBody957668791298693687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fffa727bb9ccdf02f4bcd97c011b2712.jpg","text":"TemporaryFile(/tmp/multipartBody8884688043328971277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e05ef945525601532d7c8a36b054e904.jpg","text":"TemporaryFile(/tmp/multipartBody6928506555993990817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265013525,"filename":"image_10042025_04_21_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351065667","file1":"1351065628","file0":"1351065560","file4":"1351065740","file5":"1351065794","file3":"1351065716"},"map_files_photo_id_array":[{"photo_id":"1351065794","filename":"file5"},{"photo_id":"1351065667","filename":"file2"},{"photo_id":"1351065740","filename":"file4"},{"photo_id":"1351065628","filename":"file1"},{"photo_id":"1351065560","filename":"file0"},{"photo_id":"1351065716","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351065794":["hashtag1","hashtag2"]},{"1351065560":["hashtag1","hashtag2"]},{"1351065740":["hashtag1","hashtag2"]},{"1351065716":["hashtag1","hashtag2"]},{"1351065667":["hashtag1","hashtag2"]},{"1351065628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351065794, 1351065560, 1351065740, 1351065716, 1351065667, 1351065628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08250284194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:03:32.163719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/21/image_10042025_04_22_05_10426.jpg', '/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_14_9420.jpg', '/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_25_10351.jpg', '/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_35_10355.jpg', '/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_44_9351.jpg', '/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/21/image_10042025_04_22_05_10426.jpg
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_14_9420.jpg
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_25_10351.jpg
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_35_10355.jpg
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_44_9351.jpg
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_22_55_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351066538","1351066495","1351066315","1351066572","1351066451","1351066376"],"photo_ids_order":["1351066315","1351066376","1351066451","1351066495","1351066538","1351066572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f2f120b3d9618dc926c4eae7fc96b3e.jpg","text":"TemporaryFile(/tmp/multipartBody7015177712964835472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e909fd46c50cc8574523b6d4436f154.jpg","text":"TemporaryFile(/tmp/multipartBody7255961204203784781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f825a315fa56240f0717f99f365d503.jpg","text":"TemporaryFile(/tmp/multipartBody3616345877912613738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1855e833a39f0b47195d8101f5334d21.jpg","text":"TemporaryFile(/tmp/multipartBody6831743849024844581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a201ea158f0f100aea11eccb6e923f7c.jpg","text":"TemporaryFile(/tmp/multipartBody9067773763672287135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/554fd840f9bd136b0da204aa787f02fa.jpg","text":"TemporaryFile(/tmp/multipartBody8236889497151004835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265072712,"filename":"image_10042025_04_22_14_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351066451","file1":"1351066376","file0":"1351066315","file4":"1351066538","file5":"1351066572","file3":"1351066495"},"map_files_photo_id_array":[{"photo_id":"1351066572","filename":"file5"},{"photo_id":"1351066451","filename":"file2"},{"photo_id":"1351066538","filename":"file4"},{"photo_id":"1351066376","filename":"file1"},{"photo_id":"1351066315","filename":"file0"},{"photo_id":"1351066495","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351066538":["hashtag1","hashtag2"]},{"1351066495":["hashtag1","hashtag2"]},{"1351066315":["hashtag1","hashtag2"]},{"1351066572":["hashtag1","hashtag2"]},{"1351066451":["hashtag1","hashtag2"]},{"1351066376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351066538, 1351066495, 1351066315, 1351066572, 1351066451, 1351066376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62349343299866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:04:32.348393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/22/image_10042025_04_23_05_10355.jpg', '/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_15_9339.jpg', '/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_25_10384.jpg', '/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_34_9393.jpg', '/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_45_10424.jpg', '/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/22/image_10042025_04_23_05_10355.jpg
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_15_9339.jpg
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_25_10384.jpg
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_34_9393.jpg
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_45_10424.jpg
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_23_55_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351066948","1351066986","1351067066","1351067063","1351067036","1351067024"],"photo_ids_order":["1351066948","1351066986","1351067024","1351067036","1351067063","1351067066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5dcd83f3121934c04c4cba52062b26a1.jpg","text":"TemporaryFile(/tmp/multipartBody2250934538760266297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c552978ca7793ba28ce728176a0a8e7a.jpg","text":"TemporaryFile(/tmp/multipartBody411273427377913547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8414a5f12362f585617e334f7780c59.jpg","text":"TemporaryFile(/tmp/multipartBody2928500998667902844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1280495d1bcb2edec57551bbf27279b0.jpg","text":"TemporaryFile(/tmp/multipartBody7807150159417844413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c17eb8b75bb42e6578776c7ef720c630.jpg","text":"TemporaryFile(/tmp/multipartBody5832479112007967745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_34_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb9be4d7c1c76c3ea50ff548b16b1a92.jpg","text":"TemporaryFile(/tmp/multipartBody5097510754927811326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265132882,"filename":"image_10042025_04_23_25_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351067024","file1":"1351066986","file0":"1351066948","file4":"1351067063","file5":"1351067066","file3":"1351067036"},"map_files_photo_id_array":[{"photo_id":"1351067066","filename":"file5"},{"photo_id":"1351067024","filename":"file2"},{"photo_id":"1351067063","filename":"file4"},{"photo_id":"1351066986","filename":"file1"},{"photo_id":"1351066948","filename":"file0"},{"photo_id":"1351067036","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351066948":["hashtag1","hashtag2"]},{"1351066986":["hashtag1","hashtag2"]},{"1351067066":["hashtag1","hashtag2"]},{"1351067063":["hashtag1","hashtag2"]},{"1351067036":["hashtag1","hashtag2"]},{"1351067024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351066948, 1351066986, 1351067066, 1351067063, 1351067036, 1351067024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14008092880249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:05:32.545546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/23/image_10042025_04_24_04_9412.jpg', '/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_15_10403.jpg', '/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_24_9460.jpg', '/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_35_10360.jpg', '/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_45_10383.jpg', '/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/23/image_10042025_04_24_04_9412.jpg
/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_15_10403.jpg
/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_24_9460.jpg
/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_35_10360.jpg
/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_45_10383.jpg
/home/pi/Desktop/images/10042025/04/24/image_10042025_04_24_54_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351067176","1351067230","1351067214","1351067208","1351067156","1351067194"],"photo_ids_order":["1351067156","1351067176","1351067194","1351067208","1351067214","1351067230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/881f6234c07f8e91ad69b3c0e54416ee.jpg","text":"TemporaryFile(/tmp/multipartBody4373664570109792477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a8e371d0da89a0f0d8bcebdaf9b09f8.jpg","text":"TemporaryFile(/tmp/multipartBody6734291453689728656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53204c277a203559de94ca2fd16cafdf.jpg","text":"TemporaryFile(/tmp/multipartBody1060192694491951516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3bf6bbda7b0d4c76f399cf18c7d558bf.jpg","text":"TemporaryFile(/tmp/multipartBody4307785794542497686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2f1e336c2cd4935b1c6c3e188011f89.jpg","text":"TemporaryFile(/tmp/multipartBody2086144668293570615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1dd4f5e54892d69fb8da6bc974153fee.jpg","text":"TemporaryFile(/tmp/multipartBody3677475474336990101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265193100,"filename":"image_10042025_04_24_24_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351067194","file1":"1351067176","file0":"1351067156","file4":"1351067214","file5":"1351067230","file3":"1351067208"},"map_files_photo_id_array":[{"photo_id":"1351067230","filename":"file5"},{"photo_id":"1351067194","filename":"file2"},{"photo_id":"1351067214","filename":"file4"},{"photo_id":"1351067176","filename":"file1"},{"photo_id":"1351067156","filename":"file0"},{"photo_id":"1351067208","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351067176":["hashtag1","hashtag2"]},{"1351067230":["hashtag1","hashtag2"]},{"1351067214":["hashtag1","hashtag2"]},{"1351067208":["hashtag1","hashtag2"]},{"1351067156":["hashtag1","hashtag2"]},{"1351067194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351067176, 1351067230, 1351067214, 1351067208, 1351067156, 1351067194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.286495208740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:06:32.758420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_15_10346.jpg', '/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_25_9358.jpg', '/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_35_10352.jpg', '/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_44_9355.jpg', '/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_55_10424.jpg', '/home/pi/Desktop/images/10042025/04/25/image_10042025_04_26_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_15_10346.jpg
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_25_9358.jpg
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_35_10352.jpg
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_44_9355.jpg
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_25_55_10424.jpg
/home/pi/Desktop/images/10042025/04/25/image_10042025_04_26_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351067380","1351067398","1351067499","1351067385","1351067480","1351067453"],"photo_ids_order":["1351067380","1351067385","1351067398","1351067453","1351067480","1351067499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/202c78e6e676cd0d21cb423044cfd71b.jpg","text":"TemporaryFile(/tmp/multipartBody5060755669447800306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_25_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1e17b8861541f3572b73c2ebd6d1ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8419439705540679818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_25_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6b1bff9bbe6b68bb2dbb57004069ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2248133374414367907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_26_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa2a8915398059c59920536e34e9e24c.jpg","text":"TemporaryFile(/tmp/multipartBody8765371203002650189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_25_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ba236c80f596f4fb56e2c38b8a594b1.jpg","text":"TemporaryFile(/tmp/multipartBody7806799236517202335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_25_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e641a9fde307bdf1c6ba943acc603025.jpg","text":"TemporaryFile(/tmp/multipartBody7647086511247381436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265253309,"filename":"image_10042025_04_25_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351067398","file1":"1351067385","file0":"1351067380","file4":"1351067480","file5":"1351067499","file3":"1351067453"},"map_files_photo_id_array":[{"photo_id":"1351067499","filename":"file5"},{"photo_id":"1351067398","filename":"file2"},{"photo_id":"1351067480","filename":"file4"},{"photo_id":"1351067385","filename":"file1"},{"photo_id":"1351067380","filename":"file0"},{"photo_id":"1351067453","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351067380":["hashtag1","hashtag2"]},{"1351067398":["hashtag1","hashtag2"]},{"1351067499":["hashtag1","hashtag2"]},{"1351067385":["hashtag1","hashtag2"]},{"1351067480":["hashtag1","hashtag2"]},{"1351067453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351067380, 1351067398, 1351067499, 1351067385, 1351067480, 1351067453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.643861055374146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:07:33.133843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_14_9419.jpg', '/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_25_10381.jpg', '/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_34_9432.jpg', '/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_45_10389.jpg', '/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_55_10374.jpg', '/home/pi/Desktop/images/10042025/04/26/image_10042025_04_27_04_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_14_9419.jpg
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_25_10381.jpg
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_34_9432.jpg
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_45_10389.jpg
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_26_55_10374.jpg
/home/pi/Desktop/images/10042025/04/26/image_10042025_04_27_04_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351067764","1351067694","1351067843","1351067813","1351067797","1351067729"],"photo_ids_order":["1351067694","1351067729","1351067764","1351067797","1351067813","1351067843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b95552c09ec7facb3d70237e91570d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1929948128536743332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_26_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff87cd3737e1a1b2b94cb258340bd62a.jpg","text":"TemporaryFile(/tmp/multipartBody4804920619250094554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_26_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4918aace01b8531a837d1d0b96999ec.jpg","text":"TemporaryFile(/tmp/multipartBody4974125402651761512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_27_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03c63c8fbd16094b4d04476b7e097d81.jpg","text":"TemporaryFile(/tmp/multipartBody6050394380867050120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_26_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7cb998abac5dd4e48d98041ca0a4cb33.jpg","text":"TemporaryFile(/tmp/multipartBody5170103070037079921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_26_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59638f13b72ab23931f1eb72b41601bf.jpg","text":"TemporaryFile(/tmp/multipartBody4555116505058981221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265313758,"filename":"image_10042025_04_26_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351067764","file1":"1351067729","file0":"1351067694","file4":"1351067813","file5":"1351067843","file3":"1351067797"},"map_files_photo_id_array":[{"photo_id":"1351067843","filename":"file5"},{"photo_id":"1351067764","filename":"file2"},{"photo_id":"1351067813","filename":"file4"},{"photo_id":"1351067729","filename":"file1"},{"photo_id":"1351067694","filename":"file0"},{"photo_id":"1351067797","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351067764":["hashtag1","hashtag2"]},{"1351067694":["hashtag1","hashtag2"]},{"1351067843":["hashtag1","hashtag2"]},{"1351067813":["hashtag1","hashtag2"]},{"1351067797":["hashtag1","hashtag2"]},{"1351067729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351067764, 1351067694, 1351067843, 1351067813, 1351067797, 1351067729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.997658014297485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:08:32.204976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_15_10402.jpg', '/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_25_10369.jpg', '/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_35_9376.jpg', '/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_45_10662.jpg', '/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_55_9423.jpg', '/home/pi/Desktop/images/10042025/04/27/image_10042025_04_28_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_15_10402.jpg
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_25_10369.jpg
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_35_9376.jpg
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_45_10662.jpg
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_27_55_9423.jpg
/home/pi/Desktop/images/10042025/04/27/image_10042025_04_28_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351068031","1351068183","1351068132","1351068207","1351068071","1351067993"],"photo_ids_order":["1351067993","1351068031","1351068071","1351068132","1351068183","1351068207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/572bb0f0bf79d7cb478882e8797103c6.jpg","text":"TemporaryFile(/tmp/multipartBody2684134210415622630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_27_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91682827d5ca1e5897d4d021530c0083.jpg","text":"TemporaryFile(/tmp/multipartBody3072119751672658427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_27_55_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a18c321e54006330a7f476972c4c253.jpg","text":"TemporaryFile(/tmp/multipartBody6908049692877300057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_27_45_10662.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c1dbbc73415c03ed9787f5de98ce597.jpg","text":"TemporaryFile(/tmp/multipartBody5175328828033994584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_28_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25f2b1c4596c72278ff7ff94f535340e.jpg","text":"TemporaryFile(/tmp/multipartBody3259779329187207526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_27_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee04668dae3f63d38cfbb682de9cde73.jpg","text":"TemporaryFile(/tmp/multipartBody5509345667444501823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265372769,"filename":"image_10042025_04_27_15_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351068071","file1":"1351068031","file0":"1351067993","file4":"1351068183","file5":"1351068207","file3":"1351068132"},"map_files_photo_id_array":[{"photo_id":"1351068207","filename":"file5"},{"photo_id":"1351068071","filename":"file2"},{"photo_id":"1351068183","filename":"file4"},{"photo_id":"1351068031","filename":"file1"},{"photo_id":"1351067993","filename":"file0"},{"photo_id":"1351068132","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351068031":["hashtag1","hashtag2"]},{"1351068183":["hashtag1","hashtag2"]},{"1351068132":["hashtag1","hashtag2"]},{"1351068207":["hashtag1","hashtag2"]},{"1351068071":["hashtag1","hashtag2"]},{"1351067993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351068031, 1351068183, 1351068132, 1351068207, 1351068071, 1351067993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8108925819397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:09:32.311193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_14_9385.jpg', '/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_25_10364.jpg', '/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_35_10369.jpg', '/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_45_9427.jpg', '/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_55_10392.jpg', '/home/pi/Desktop/images/10042025/04/28/image_10042025_04_29_04_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_14_9385.jpg
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_25_10364.jpg
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_35_10369.jpg
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_45_9427.jpg
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_28_55_10392.jpg
/home/pi/Desktop/images/10042025/04/28/image_10042025_04_29_04_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351068403","1351068348","1351068324","1351068458","1351068428","1351068352"],"photo_ids_order":["1351068324","1351068348","1351068352","1351068403","1351068428","1351068458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/749328dd89786e2b559315ecb284d925.jpg","text":"TemporaryFile(/tmp/multipartBody9145050751973037891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_28_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaf0b949e3c4b2f206b164eeba915a05.jpg","text":"TemporaryFile(/tmp/multipartBody8192655758028587846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_28_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c39efbcd48c190b544e7da3d4a08e44.jpg","text":"TemporaryFile(/tmp/multipartBody2062629061535177452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_28_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/040a6be2892e65063893b9cc844990ba.jpg","text":"TemporaryFile(/tmp/multipartBody6760722725847440091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_29_04_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e680fa17335d823dd57cbb0c7b921823.jpg","text":"TemporaryFile(/tmp/multipartBody5193280521934869222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_28_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8ab0050ebecbfe5c44e6f8ecd9c6d73.jpg","text":"TemporaryFile(/tmp/multipartBody6888080241131417567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265433662,"filename":"image_10042025_04_28_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351068352","file1":"1351068348","file0":"1351068324","file4":"1351068428","file5":"1351068458","file3":"1351068403"},"map_files_photo_id_array":[{"photo_id":"1351068458","filename":"file5"},{"photo_id":"1351068352","filename":"file2"},{"photo_id":"1351068428","filename":"file4"},{"photo_id":"1351068348","filename":"file1"},{"photo_id":"1351068324","filename":"file0"},{"photo_id":"1351068403","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351068403":["hashtag1","hashtag2"]},{"1351068348":["hashtag1","hashtag2"]},{"1351068324":["hashtag1","hashtag2"]},{"1351068458":["hashtag1","hashtag2"]},{"1351068428":["hashtag1","hashtag2"]},{"1351068352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351068403, 1351068348, 1351068324, 1351068458, 1351068428, 1351068352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73357272148132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:10:32.545076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_15_10404.jpg', '/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_24_9487.jpg', '/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_35_10353.jpg', '/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_45_10437.jpg', '/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_54_9350.jpg', '/home/pi/Desktop/images/10042025/04/29/image_10042025_04_30_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_15_10404.jpg
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_24_9487.jpg
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_35_10353.jpg
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_45_10437.jpg
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_29_54_9350.jpg
/home/pi/Desktop/images/10042025/04/29/image_10042025_04_30_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":["1351068687","1351068735","1351068683","1351068674","1351068632","1351068679"],"photo_ids_order":["1351068632","1351068674","1351068679","1351068683","1351068687","1351068735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f5be15d35d10df36e0d2d95a6408e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3601693190982235309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_29_54_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8785fcc21060881f158f5dcbbc80a245.jpg","text":"TemporaryFile(/tmp/multipartBody7457922568640133063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_30_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c04a9f80a0dc292a59de9f9477637682.jpg","text":"TemporaryFile(/tmp/multipartBody880000747468100559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_29_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f70eeec6dd078aa02d3f39db306ecb62.jpg","text":"TemporaryFile(/tmp/multipartBody1631407826027577371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_29_24_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46ba680e34c3a9e0d1527b15e1a6c37e.jpg","text":"TemporaryFile(/tmp/multipartBody7956657080730838076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_29_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb48fff64a3326467207bbe9f3caa60b.jpg","text":"TemporaryFile(/tmp/multipartBody2062400525713319784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265493193,"filename":"image_10042025_04_29_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351068679","file1":"1351068674","file0":"1351068632","file4":"1351068687","file5":"1351068735","file3":"1351068683"},"map_files_photo_id_array":[{"photo_id":"1351068735","filename":"file5"},{"photo_id":"1351068679","filename":"file2"},{"photo_id":"1351068687","filename":"file4"},{"photo_id":"1351068674","filename":"file1"},{"photo_id":"1351068632","filename":"file0"},{"photo_id":"1351068683","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351068687":["hashtag1","hashtag2"]},{"1351068735":["hashtag1","hashtag2"]},{"1351068683":["hashtag1","hashtag2"]},{"1351068674":["hashtag1","hashtag2"]},{"1351068632":["hashtag1","hashtag2"]},{"1351068679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351068687, 1351068735, 1351068683, 1351068674, 1351068632, 1351068679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.207045793533325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:11:32.716661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_15_10368.jpg', '/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_25_9393.jpg', '/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_35_10384.jpg', '/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_44_9461.jpg', '/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_55_10355.jpg', '/home/pi/Desktop/images/10042025/04/30/image_10042025_04_31_05_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_15_10368.jpg
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_25_9393.jpg
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_35_10384.jpg
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_44_9461.jpg
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_30_55_10355.jpg
/home/pi/Desktop/images/10042025/04/30/image_10042025_04_31_05_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351068999","1351069137","1351069076","1351068912","1351068902","1351068895"],"photo_ids_order":["1351068895","1351068902","1351068912","1351068999","1351069076","1351069137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8417dd88a76fca164393bffdf3beb0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2347148492848226131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_30_44_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db0a66ad19b0e16252f19ee34cb1f5be.jpg","text":"TemporaryFile(/tmp/multipartBody2786569491515082910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_31_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c64773c30103e26fa1b3556f173d69a.jpg","text":"TemporaryFile(/tmp/multipartBody6211128691563194901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_30_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fda7856927638285da939c344f03aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3497769355386257427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_30_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6880ead7f861424cee89a48ae3df031d.jpg","text":"TemporaryFile(/tmp/multipartBody8423247544664241997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_30_25_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9502a72a14dd2d71abe7b6e9d6b3835.jpg","text":"TemporaryFile(/tmp/multipartBody7322658394880918584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265553253,"filename":"image_10042025_04_30_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351068912","file1":"1351068902","file0":"1351068895","file4":"1351069076","file5":"1351069137","file3":"1351068999"},"map_files_photo_id_array":[{"photo_id":"1351069137","filename":"file5"},{"photo_id":"1351068912","filename":"file2"},{"photo_id":"1351069076","filename":"file4"},{"photo_id":"1351068902","filename":"file1"},{"photo_id":"1351068895","filename":"file0"},{"photo_id":"1351068999","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351068999":["hashtag1","hashtag2"]},{"1351069137":["hashtag1","hashtag2"]},{"1351069076":["hashtag1","hashtag2"]},{"1351068912":["hashtag1","hashtag2"]},{"1351068902":["hashtag1","hashtag2"]},{"1351068895":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351068999, 1351069137, 1351069076, 1351068912, 1351068902, 1351068895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87888526916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:12:32.749617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_15_9328.jpg', '/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_25_10400.jpg', '/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_34_9482.jpg', '/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_45_10355.jpg', '/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_55_10427.jpg', '/home/pi/Desktop/images/10042025/04/31/image_10042025_04_32_05_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_15_9328.jpg
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_25_10400.jpg
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_34_9482.jpg
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_45_10355.jpg
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_31_55_10427.jpg
/home/pi/Desktop/images/10042025/04/31/image_10042025_04_32_05_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351069524","1351069370","1351069520","1351069582","1351069399","1351069552"],"photo_ids_order":["1351069370","1351069399","1351069520","1351069524","1351069552","1351069582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6aa071d147af45fc1e683efac10f91aa.jpg","text":"TemporaryFile(/tmp/multipartBody8420814682824878203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_31_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/333222be8d9177b463be5c1e290c7f13.jpg","text":"TemporaryFile(/tmp/multipartBody2629313065178456454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_31_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/047e03bdf6d41035c95e92a880c45a06.jpg","text":"TemporaryFile(/tmp/multipartBody1818573415161460411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_31_34_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72c11cca5e01830d8b915977afcf9a3e.jpg","text":"TemporaryFile(/tmp/multipartBody829034766664526754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_32_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d720b2bcbc7ef14256398f30ac27c751.jpg","text":"TemporaryFile(/tmp/multipartBody6170156167688394920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_31_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3a4751b2cb6c53de0f4cf254a347c21.jpg","text":"TemporaryFile(/tmp/multipartBody7377500938023726783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265613306,"filename":"image_10042025_04_31_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351069520","file1":"1351069399","file0":"1351069370","file4":"1351069552","file5":"1351069582","file3":"1351069524"},"map_files_photo_id_array":[{"photo_id":"1351069582","filename":"file5"},{"photo_id":"1351069520","filename":"file2"},{"photo_id":"1351069552","filename":"file4"},{"photo_id":"1351069399","filename":"file1"},{"photo_id":"1351069370","filename":"file0"},{"photo_id":"1351069524","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351069524":["hashtag1","hashtag2"]},{"1351069370":["hashtag1","hashtag2"]},{"1351069520":["hashtag1","hashtag2"]},{"1351069582":["hashtag1","hashtag2"]},{"1351069399":["hashtag1","hashtag2"]},{"1351069552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351069524, 1351069370, 1351069520, 1351069582, 1351069399, 1351069552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.11365747451782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:13:32.859598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_15_10367.jpg', '/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_24_9442.jpg', '/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_35_10358.jpg', '/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_45_10363.jpg', '/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_54_9358.jpg', '/home/pi/Desktop/images/10042025/04/32/image_10042025_04_33_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_15_10367.jpg
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_24_9442.jpg
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_35_10358.jpg
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_45_10363.jpg
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_32_54_9358.jpg
/home/pi/Desktop/images/10042025/04/32/image_10042025_04_33_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351069635","1351069661","1351069608","1351069612","1351069708","1351069683"],"photo_ids_order":["1351069608","1351069612","1351069635","1351069661","1351069683","1351069708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59493f259d2b02f72f2138c3cf7941c5.jpg","text":"TemporaryFile(/tmp/multipartBody5654399344653878644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_32_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/115d7d49533de51d6b7e0a6a767aa838.jpg","text":"TemporaryFile(/tmp/multipartBody1724027028879615062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_32_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d71c39648c9821fd95c81384a58b572f.jpg","text":"TemporaryFile(/tmp/multipartBody2631453619690836867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_32_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a3053d5c85a751faebd7f88e9650807.jpg","text":"TemporaryFile(/tmp/multipartBody6927447648601595566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_32_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5986d1522d784a8f0ae0763e3d590e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4541838775310509159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_33_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0eaee9cac89e4a3dfc31902c85ae27d3.jpg","text":"TemporaryFile(/tmp/multipartBody4923825027390174897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265673407,"filename":"image_10042025_04_32_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351069635","file1":"1351069612","file0":"1351069608","file4":"1351069683","file5":"1351069708","file3":"1351069661"},"map_files_photo_id_array":[{"photo_id":"1351069708","filename":"file5"},{"photo_id":"1351069635","filename":"file2"},{"photo_id":"1351069683","filename":"file4"},{"photo_id":"1351069612","filename":"file1"},{"photo_id":"1351069608","filename":"file0"},{"photo_id":"1351069661","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351069635":["hashtag1","hashtag2"]},{"1351069661":["hashtag1","hashtag2"]},{"1351069608":["hashtag1","hashtag2"]},{"1351069612":["hashtag1","hashtag2"]},{"1351069708":["hashtag1","hashtag2"]},{"1351069683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351069635, 1351069661, 1351069608, 1351069612, 1351069708, 1351069683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.051419258117676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:14:33.123789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_15_10349.jpg', '/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_25_9368.jpg', '/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_35_10371.jpg', '/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_44_9452.jpg', '/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_55_10424.jpg', '/home/pi/Desktop/images/10042025/04/33/image_10042025_04_34_04_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_15_10349.jpg
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_25_9368.jpg
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_35_10371.jpg
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_44_9452.jpg
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_33_55_10424.jpg
/home/pi/Desktop/images/10042025/04/33/image_10042025_04_34_04_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351069801","1351069815","1351069809","1351069823","1351069805","1351069819"],"photo_ids_order":["1351069801","1351069805","1351069809","1351069815","1351069819","1351069823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6413aa5b60dcd2d5af91dc0d66260af.jpg","text":"TemporaryFile(/tmp/multipartBody5119493598453754605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_33_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e19810faa4fc0d6e8df8deeb29e2f6d4.jpg","text":"TemporaryFile(/tmp/multipartBody3868059759556536105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_33_44_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b79b9bb2ec5fc88c2f763ebe937168ea.jpg","text":"TemporaryFile(/tmp/multipartBody1597344152478719655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_33_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/487fcbcd681d434f4a776e1316ff6edb.jpg","text":"TemporaryFile(/tmp/multipartBody3990447113341579977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_34_04_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c50c42f2f4d5e0d6b8ca7b5ac8eefc5f.jpg","text":"TemporaryFile(/tmp/multipartBody7205719885054998894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_33_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/340f780b6b32a77c6e8f729b3c14bd58.jpg","text":"TemporaryFile(/tmp/multipartBody2670793400785159715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265733669,"filename":"image_10042025_04_33_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351069809","file1":"1351069805","file0":"1351069801","file4":"1351069819","file5":"1351069823","file3":"1351069815"},"map_files_photo_id_array":[{"photo_id":"1351069823","filename":"file5"},{"photo_id":"1351069809","filename":"file2"},{"photo_id":"1351069819","filename":"file4"},{"photo_id":"1351069805","filename":"file1"},{"photo_id":"1351069801","filename":"file0"},{"photo_id":"1351069815","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351069801":["hashtag1","hashtag2"]},{"1351069815":["hashtag1","hashtag2"]},{"1351069809":["hashtag1","hashtag2"]},{"1351069823":["hashtag1","hashtag2"]},{"1351069805":["hashtag1","hashtag2"]},{"1351069819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351069801, 1351069815, 1351069809, 1351069823, 1351069805, 1351069819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79410910606384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:15:32.291707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_15_10360.jpg', '/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_25_10443.jpg', '/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_34_9357.jpg', '/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_45_10367.jpg', '/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_55_10372.jpg', '/home/pi/Desktop/images/10042025/04/34/image_10042025_04_35_05_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_15_10360.jpg
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_25_10443.jpg
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_34_9357.jpg
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_45_10367.jpg
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_34_55_10372.jpg
/home/pi/Desktop/images/10042025/04/34/image_10042025_04_35_05_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351069884","1351069854","1351069905","1351069859","1351069901","1351069864"],"photo_ids_order":["1351069854","1351069859","1351069864","1351069884","1351069901","1351069905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ab059735a4f4e45848192581e004384.jpg","text":"TemporaryFile(/tmp/multipartBody8725340279957042737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_34_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b21b6ff0cc192f05bafcbba8d3b76277.jpg","text":"TemporaryFile(/tmp/multipartBody2968814122466709667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_34_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/493407f0e40465929ffc8507241635f9.jpg","text":"TemporaryFile(/tmp/multipartBody8012989425973332391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_35_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b22446bc294b5f26af1c310312d5f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8887789821765080732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_34_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68c124a3eafd5026da78cdb7a556d9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8396941915567853080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_34_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecb9f4de0e3e5cef87da7d1d9f282363.jpg","text":"TemporaryFile(/tmp/multipartBody2305045897750246107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265792861,"filename":"image_10042025_04_34_34_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351069864","file1":"1351069859","file0":"1351069854","file4":"1351069901","file5":"1351069905","file3":"1351069884"},"map_files_photo_id_array":[{"photo_id":"1351069905","filename":"file5"},{"photo_id":"1351069864","filename":"file2"},{"photo_id":"1351069901","filename":"file4"},{"photo_id":"1351069859","filename":"file1"},{"photo_id":"1351069854","filename":"file0"},{"photo_id":"1351069884","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351069884":["hashtag1","hashtag2"]},{"1351069854":["hashtag1","hashtag2"]},{"1351069905":["hashtag1","hashtag2"]},{"1351069859":["hashtag1","hashtag2"]},{"1351069901":["hashtag1","hashtag2"]},{"1351069864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351069884, 1351069854, 1351069905, 1351069859, 1351069901, 1351069864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.269994020462036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:16:32.468706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_15_10376.jpg', '/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_24_9425.jpg', '/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_35_10357.jpg', '/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_45_10365.jpg', '/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_54_9354.jpg', '/home/pi/Desktop/images/10042025/04/35/image_10042025_04_36_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_15_10376.jpg
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_24_9425.jpg
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_35_10357.jpg
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_45_10365.jpg
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_35_54_9354.jpg
/home/pi/Desktop/images/10042025/04/35/image_10042025_04_36_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351069962","1351069947","1351069964","1351069951","1351069957","1351069930"],"photo_ids_order":["1351069930","1351069947","1351069951","1351069957","1351069962","1351069964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be081f4db46d54edb40bd03e1e4d4ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6862169514384470014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_35_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83178358c0c33d3d11285edbaa05e682.jpg","text":"TemporaryFile(/tmp/multipartBody8326701984957992733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_35_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf7b3ad626ae24cdad1a72ea05e4fc88.jpg","text":"TemporaryFile(/tmp/multipartBody6571919150021909629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_36_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b57ed63f8bb98ebab13b3f05dc87b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4994228227514832577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_35_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60acc30513c86d9b8f88c89650b1cd64.jpg","text":"TemporaryFile(/tmp/multipartBody4348826761841961938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_35_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cff49d77a1a3050775ba4e168d206a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4349904900081959689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265853028,"filename":"image_10042025_04_35_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351069951","file1":"1351069947","file0":"1351069930","file4":"1351069962","file5":"1351069964","file3":"1351069957"},"map_files_photo_id_array":[{"photo_id":"1351069964","filename":"file5"},{"photo_id":"1351069951","filename":"file2"},{"photo_id":"1351069962","filename":"file4"},{"photo_id":"1351069947","filename":"file1"},{"photo_id":"1351069930","filename":"file0"},{"photo_id":"1351069957","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351069962":["hashtag1","hashtag2"]},{"1351069947":["hashtag1","hashtag2"]},{"1351069964":["hashtag1","hashtag2"]},{"1351069951":["hashtag1","hashtag2"]},{"1351069957":["hashtag1","hashtag2"]},{"1351069930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351069962, 1351069947, 1351069964, 1351069951, 1351069957, 1351069930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.340903759002686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:17:32.624046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_15_10345.jpg', '/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_25_9368.jpg', '/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_35_10368.jpg', '/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_44_9413.jpg', '/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_55_10436.jpg', '/home/pi/Desktop/images/10042025/04/36/image_10042025_04_37_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_15_10345.jpg
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_25_9368.jpg
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_35_10368.jpg
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_44_9413.jpg
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_36_55_10436.jpg
/home/pi/Desktop/images/10042025/04/36/image_10042025_04_37_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351070041","1351070043","1351070037","1351070022","1351070030","1351070027"],"photo_ids_order":["1351070022","1351070027","1351070030","1351070037","1351070041","1351070043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25af2dff0cdcda7bfad21df90bc2b389.jpg","text":"TemporaryFile(/tmp/multipartBody2125543113365456825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_36_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c3857603ecb4b294901b8e30c857527.jpg","text":"TemporaryFile(/tmp/multipartBody3854976065787039233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_37_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bde6c9c12c7ca10bc2594cd6f314b267.jpg","text":"TemporaryFile(/tmp/multipartBody7070787396320365116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_36_44_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b71a77f756d19785cc3cf8a1387cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody6787550635930763629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_36_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a35d0319a6d34aecf8c31f7e55d5d48.jpg","text":"TemporaryFile(/tmp/multipartBody7405972575713849903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_36_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e196ce6d0b63f8a1d7aba044bdd6c5c1.jpg","text":"TemporaryFile(/tmp/multipartBody3593508884534170503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265913161,"filename":"image_10042025_04_36_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351070030","file1":"1351070027","file0":"1351070022","file4":"1351070041","file5":"1351070043","file3":"1351070037"},"map_files_photo_id_array":[{"photo_id":"1351070043","filename":"file5"},{"photo_id":"1351070030","filename":"file2"},{"photo_id":"1351070041","filename":"file4"},{"photo_id":"1351070027","filename":"file1"},{"photo_id":"1351070022","filename":"file0"},{"photo_id":"1351070037","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351070041":["hashtag1","hashtag2"]},{"1351070043":["hashtag1","hashtag2"]},{"1351070037":["hashtag1","hashtag2"]},{"1351070022":["hashtag1","hashtag2"]},{"1351070030":["hashtag1","hashtag2"]},{"1351070027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351070041, 1351070043, 1351070037, 1351070022, 1351070030, 1351070027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.028467655181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:18:32.784228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_15_9425.jpg', '/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_25_10373.jpg', '/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_34_9392.jpg', '/home/pi/Desktop/images/10042025/04/37/image_10042025_04_38_04_9441.jpg', '/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_15_10392.jpg', '/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_25_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_15_9425.jpg
/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_25_10373.jpg
/home/pi/Desktop/images/10042025/04/37/image_10042025_04_37_34_9392.jpg
/home/pi/Desktop/images/10042025/04/37/image_10042025_04_38_04_9441.jpg
/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_15_10392.jpg
/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_25_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351070368","1351070322","1351070285","1351070279","1351070303","1351070293"],"photo_ids_order":["1351070279","1351070285","1351070293","1351070303","1351070322","1351070368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b26186d802e73a9a0c50193226e304c5.jpg","text":"TemporaryFile(/tmp/multipartBody5609467537273542513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_38_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a82a3bdebca563e467f69038867bb24.jpg","text":"TemporaryFile(/tmp/multipartBody7553378081984554673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_38_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9a2c22e1ebab2d538c592e0e0b29190.jpg","text":"TemporaryFile(/tmp/multipartBody3165711516614837275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_37_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d99001201e6c1ca098cdeb9e671b44e.jpg","text":"TemporaryFile(/tmp/multipartBody222056328556289020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_37_15_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9345c46703b32bafd375d64a1a341ae.jpg","text":"TemporaryFile(/tmp/multipartBody5419744714131303441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_38_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0705f06a2833a4153d7e928103de265b.jpg","text":"TemporaryFile(/tmp/multipartBody427620045462898460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744265973361,"filename":"image_10042025_04_37_34_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351070293","file1":"1351070285","file0":"1351070279","file4":"1351070322","file5":"1351070368","file3":"1351070303"},"map_files_photo_id_array":[{"photo_id":"1351070368","filename":"file5"},{"photo_id":"1351070293","filename":"file2"},{"photo_id":"1351070322","filename":"file4"},{"photo_id":"1351070285","filename":"file1"},{"photo_id":"1351070279","filename":"file0"},{"photo_id":"1351070303","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351070368":["hashtag1","hashtag2"]},{"1351070322":["hashtag1","hashtag2"]},{"1351070285":["hashtag1","hashtag2"]},{"1351070279":["hashtag1","hashtag2"]},{"1351070303":["hashtag1","hashtag2"]},{"1351070293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351070368, 1351070322, 1351070285, 1351070279, 1351070303, 1351070293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9253625869751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:19:32.885978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_45_10364.jpg', '/home/pi/Desktop/images/10042025/04/38/image_10042025_04_39_05_10458.jpg', '/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_15_10335.jpg', '/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_25_9427.jpg', '/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_35_10369.jpg', '/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_44_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/38/image_10042025_04_38_45_10364.jpg
/home/pi/Desktop/images/10042025/04/38/image_10042025_04_39_05_10458.jpg
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_15_10335.jpg
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_25_9427.jpg
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_35_10369.jpg
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_44_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351070697","1351070832","1351070712","1351070861","1351070804","1351070755"],"photo_ids_order":["1351070697","1351070712","1351070755","1351070804","1351070832","1351070861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9746449eb4f5ace01a900745d4a4459a.jpg","text":"TemporaryFile(/tmp/multipartBody4310160030426248771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_38_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4fff4a625f43d7c264bb6643048a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3019892802306328647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_39_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25e890fbe8bd17b3c265bfab4df2716a.jpg","text":"TemporaryFile(/tmp/multipartBody2952914270287331507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_39_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fb7b3728652d67a4563df063bf09122.jpg","text":"TemporaryFile(/tmp/multipartBody7666054377086365528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_39_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4efb5ad885f6044d737a422b74e99e7.jpg","text":"TemporaryFile(/tmp/multipartBody3412587398142923161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_39_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d8c897a7f9149700a0e05d88aa099ac.jpg","text":"TemporaryFile(/tmp/multipartBody281340356204401637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266033439,"filename":"image_10042025_04_39_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351070755","file1":"1351070712","file0":"1351070697","file4":"1351070832","file5":"1351070861","file3":"1351070804"},"map_files_photo_id_array":[{"photo_id":"1351070861","filename":"file5"},{"photo_id":"1351070755","filename":"file2"},{"photo_id":"1351070832","filename":"file4"},{"photo_id":"1351070712","filename":"file1"},{"photo_id":"1351070697","filename":"file0"},{"photo_id":"1351070804","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351070697":["hashtag1","hashtag2"]},{"1351070832":["hashtag1","hashtag2"]},{"1351070712":["hashtag1","hashtag2"]},{"1351070861":["hashtag1","hashtag2"]},{"1351070804":["hashtag1","hashtag2"]},{"1351070755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351070697, 1351070832, 1351070712, 1351070861, 1351070804, 1351070755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.747368574142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:20:32.991746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_55_10373.jpg', '/home/pi/Desktop/images/10042025/04/39/image_10042025_04_40_05_10372.jpg', '/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_15_9391.jpg', '/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_25_10381.jpg', '/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_34_9487.jpg', '/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_45_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_39_55_10373.jpg
/home/pi/Desktop/images/10042025/04/39/image_10042025_04_40_05_10372.jpg
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_15_9391.jpg
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_25_10381.jpg
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_34_9487.jpg
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_45_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071021","1351071014","1351071017","1351071011","1351070989","1351071007"],"photo_ids_order":["1351070989","1351071007","1351071011","1351071014","1351071017","1351071021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0176a6566da22af67965bf6b9f23e713.jpg","text":"TemporaryFile(/tmp/multipartBody9134733063154164125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_40_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc2b881b648dffbb486e076ce0ba99b3.jpg","text":"TemporaryFile(/tmp/multipartBody5610787422635592689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_40_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9ce868e1946daccbbb7a629e7a577d1.jpg","text":"TemporaryFile(/tmp/multipartBody6864823026376890396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_40_34_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d14a663717678fc6738020d738d79693.jpg","text":"TemporaryFile(/tmp/multipartBody7279463666154724755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_40_15_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9ddaff9bc1335925852c7e978e63c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4214694873385063115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_39_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae9d3f4414c1f7a81f324fd7d5423ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1202520526449911528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266093551,"filename":"image_10042025_04_40_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071011","file1":"1351071007","file0":"1351070989","file4":"1351071017","file5":"1351071021","file3":"1351071014"},"map_files_photo_id_array":[{"photo_id":"1351071021","filename":"file5"},{"photo_id":"1351071011","filename":"file2"},{"photo_id":"1351071017","filename":"file4"},{"photo_id":"1351071007","filename":"file1"},{"photo_id":"1351070989","filename":"file0"},{"photo_id":"1351071014","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071021":["hashtag1","hashtag2"]},{"1351071014":["hashtag1","hashtag2"]},{"1351071017":["hashtag1","hashtag2"]},{"1351071011":["hashtag1","hashtag2"]},{"1351070989":["hashtag1","hashtag2"]},{"1351071007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071021, 1351071014, 1351071017, 1351071011, 1351070989, 1351071007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36886405944824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:21:32.311857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_55_10446.jpg', '/home/pi/Desktop/images/10042025/04/40/image_10042025_04_41_05_9420.jpg', '/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_24_9484.jpg', '/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_35_10378.jpg', '/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_44_9414.jpg', '/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_55_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_40_55_10446.jpg
/home/pi/Desktop/images/10042025/04/40/image_10042025_04_41_05_9420.jpg
/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_24_9484.jpg
/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_35_10378.jpg
/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_44_9414.jpg
/home/pi/Desktop/images/10042025/04/41/image_10042025_04_41_55_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071171","1351071222","1351071231","1351071207","1351071182","1351071175"],"photo_ids_order":["1351071171","1351071175","1351071182","1351071207","1351071222","1351071231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44c839c09a3ed14780a980b1a50623bc.jpg","text":"TemporaryFile(/tmp/multipartBody3538285677226068677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_40_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/113be8dfb929949623335470dec4fce0.jpg","text":"TemporaryFile(/tmp/multipartBody2867591763911006156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_41_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6b8a2685bdac3908c50fdda7ca13e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7150520016375367901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_41_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea0e225248123119acc4bb95b66dac99.jpg","text":"TemporaryFile(/tmp/multipartBody3056757354349339536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_41_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b01867b9583f512ce4fc044a52e89bee.jpg","text":"TemporaryFile(/tmp/multipartBody3350207525769034462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_41_24_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df71e9c1e03f0e79012c5a98a693da88.jpg","text":"TemporaryFile(/tmp/multipartBody3893428881792740333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266152860,"filename":"image_10042025_04_41_05_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071182","file1":"1351071175","file0":"1351071171","file4":"1351071222","file5":"1351071231","file3":"1351071207"},"map_files_photo_id_array":[{"photo_id":"1351071231","filename":"file5"},{"photo_id":"1351071182","filename":"file2"},{"photo_id":"1351071222","filename":"file4"},{"photo_id":"1351071175","filename":"file1"},{"photo_id":"1351071171","filename":"file0"},{"photo_id":"1351071207","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071171":["hashtag1","hashtag2"]},{"1351071222":["hashtag1","hashtag2"]},{"1351071231":["hashtag1","hashtag2"]},{"1351071207":["hashtag1","hashtag2"]},{"1351071182":["hashtag1","hashtag2"]},{"1351071175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071171, 1351071222, 1351071231, 1351071207, 1351071182, 1351071175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07067036628723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:22:32.478965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/41/image_10042025_04_42_05_10425.jpg', '/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_14_9440.jpg', '/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_25_10378.jpg', '/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_35_10348.jpg', '/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_45_9353.jpg', '/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/41/image_10042025_04_42_05_10425.jpg
/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_14_9440.jpg
/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_25_10378.jpg
/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_35_10348.jpg
/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_45_9353.jpg
/home/pi/Desktop/images/10042025/04/42/image_10042025_04_42_55_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071354","1351071293","1351071362","1351071359","1351071269","1351071328"],"photo_ids_order":["1351071269","1351071293","1351071328","1351071354","1351071359","1351071362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8daca8c9faf2dec9f02522cb26c411d.jpg","text":"TemporaryFile(/tmp/multipartBody1667978190505474589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c772afc40038182f98edd39198099d96.jpg","text":"TemporaryFile(/tmp/multipartBody8002798989981152284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f424cc581fdd8fd6c59beafcbecb9d53.jpg","text":"TemporaryFile(/tmp/multipartBody8695759982753886505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39f7b77d7ab7277067068364efd09e84.jpg","text":"TemporaryFile(/tmp/multipartBody5591070701522658600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/288fec9ea845ac3163f98b392f1b7eab.jpg","text":"TemporaryFile(/tmp/multipartBody329727974185789893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ee72f9334f6839713ca4ea7f2d047b6.jpg","text":"TemporaryFile(/tmp/multipartBody2274956651529584223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266213019,"filename":"image_10042025_04_42_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071328","file1":"1351071293","file0":"1351071269","file4":"1351071359","file5":"1351071362","file3":"1351071354"},"map_files_photo_id_array":[{"photo_id":"1351071362","filename":"file5"},{"photo_id":"1351071328","filename":"file2"},{"photo_id":"1351071359","filename":"file4"},{"photo_id":"1351071293","filename":"file1"},{"photo_id":"1351071269","filename":"file0"},{"photo_id":"1351071354","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071354":["hashtag1","hashtag2"]},{"1351071293":["hashtag1","hashtag2"]},{"1351071362":["hashtag1","hashtag2"]},{"1351071359":["hashtag1","hashtag2"]},{"1351071269":["hashtag1","hashtag2"]},{"1351071328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071354, 1351071293, 1351071362, 1351071359, 1351071269, 1351071328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8243350982666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:23:32.778914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_15_10364.jpg', '/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_25_10346.jpg', '/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_35_9419.jpg', '/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_45_10374.jpg', '/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_54_9494.jpg', '/home/pi/Desktop/images/10042025/04/43/image_10042025_04_44_05_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_15_10364.jpg
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_25_10346.jpg
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_35_9419.jpg
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_45_10374.jpg
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_43_54_9494.jpg
/home/pi/Desktop/images/10042025/04/43/image_10042025_04_44_05_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071498","1351071510","1351071479","1351071503","1351071506","1351071475"],"photo_ids_order":["1351071475","1351071479","1351071498","1351071503","1351071506","1351071510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec2942308e181089c8330d56040603de.jpg","text":"TemporaryFile(/tmp/multipartBody859314045710533334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_43_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5da06000c19b3621952f29c08c15ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8367992309679579102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_44_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cee2cdf7b1bad77214122d3f8c6ce06b.jpg","text":"TemporaryFile(/tmp/multipartBody2256538684238902788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_43_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c401351e3c31c8e20bb7918cdeb07845.jpg","text":"TemporaryFile(/tmp/multipartBody794251093403297630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_43_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03ad5c5aea52c47ddbd83d3a04507b10.jpg","text":"TemporaryFile(/tmp/multipartBody4089905152186826611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_43_54_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c8f80bda0cfc543634690d74bd392ec.jpg","text":"TemporaryFile(/tmp/multipartBody6565358716231673437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266273313,"filename":"image_10042025_04_43_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071498","file1":"1351071479","file0":"1351071475","file4":"1351071506","file5":"1351071510","file3":"1351071503"},"map_files_photo_id_array":[{"photo_id":"1351071510","filename":"file5"},{"photo_id":"1351071498","filename":"file2"},{"photo_id":"1351071506","filename":"file4"},{"photo_id":"1351071479","filename":"file1"},{"photo_id":"1351071475","filename":"file0"},{"photo_id":"1351071503","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071498":["hashtag1","hashtag2"]},{"1351071510":["hashtag1","hashtag2"]},{"1351071479":["hashtag1","hashtag2"]},{"1351071503":["hashtag1","hashtag2"]},{"1351071506":["hashtag1","hashtag2"]},{"1351071475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071498, 1351071510, 1351071479, 1351071503, 1351071506, 1351071475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21353888511658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:24:33.176153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_14_9405.jpg', '/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_25_10371.jpg', '/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_35_10361.jpg', '/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_44_9364.jpg', '/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_55_10394.jpg', '/home/pi/Desktop/images/10042025/04/44/image_10042025_04_45_05_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_14_9405.jpg
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_25_10371.jpg
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_35_10361.jpg
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_44_9364.jpg
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_44_55_10394.jpg
/home/pi/Desktop/images/10042025/04/44/image_10042025_04_45_05_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071564","1351071558","1351071600","1351071551","1351071580","1351071628"],"photo_ids_order":["1351071551","1351071558","1351071564","1351071580","1351071600","1351071628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1508c77da58518e2688203b29b60664d.jpg","text":"TemporaryFile(/tmp/multipartBody6749190749644037925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_44_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/939a9fdae5270b47826990a66e890cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1557429895941416230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_44_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/983935f807b90672bc87ac5dfa8729b7.jpg","text":"TemporaryFile(/tmp/multipartBody7880247209540284765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_44_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05cda3b3bd0f966e6c4e4f38df554173.jpg","text":"TemporaryFile(/tmp/multipartBody4423269085688884206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_44_14_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b92d2f623dcdedd3818c2b41789a958b.jpg","text":"TemporaryFile(/tmp/multipartBody7582964601713806023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_44_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30d115db63a01de8eb0140fd8ee25a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6410969550446153419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266333716,"filename":"image_10042025_04_45_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071564","file1":"1351071558","file0":"1351071551","file4":"1351071600","file5":"1351071628","file3":"1351071580"},"map_files_photo_id_array":[{"photo_id":"1351071628","filename":"file5"},{"photo_id":"1351071564","filename":"file2"},{"photo_id":"1351071600","filename":"file4"},{"photo_id":"1351071558","filename":"file1"},{"photo_id":"1351071551","filename":"file0"},{"photo_id":"1351071580","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071564":["hashtag1","hashtag2"]},{"1351071558":["hashtag1","hashtag2"]},{"1351071600":["hashtag1","hashtag2"]},{"1351071551":["hashtag1","hashtag2"]},{"1351071580":["hashtag1","hashtag2"]},{"1351071628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071564, 1351071558, 1351071600, 1351071551, 1351071580, 1351071628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67545938491821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:25:32.391655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_15_9440.jpg', '/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_25_10405.jpg', '/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_34_9424.jpg', '/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_45_10371.jpg', '/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_55_10375.jpg', '/home/pi/Desktop/images/10042025/04/45/image_10042025_04_46_05_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_15_9440.jpg
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_25_10405.jpg
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_34_9424.jpg
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_45_10371.jpg
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_45_55_10375.jpg
/home/pi/Desktop/images/10042025/04/45/image_10042025_04_46_05_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071741","1351071810","1351071729","1351071788","1351071773","1351071752"],"photo_ids_order":["1351071729","1351071741","1351071752","1351071773","1351071788","1351071810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d46eaa1e82b3aee05d973c4417bbcbbe.jpg","text":"TemporaryFile(/tmp/multipartBody5697423296781106942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_45_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb785fc4e738dc9253144c5373fc4ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7799690899876645015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_46_05_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fbd4360d1a2f3105adef8b96a4ec480.jpg","text":"TemporaryFile(/tmp/multipartBody3047560812204867690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_45_15_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03261f6e3483d18e2ec3061bcea0b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody8479037171006311568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_45_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d20fc384c92204671fb58343ad641be.jpg","text":"TemporaryFile(/tmp/multipartBody7602367364779513087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_45_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37426b37d1ee91bb5e5a2eef9cc5fe6c.jpg","text":"TemporaryFile(/tmp/multipartBody3401715739283076914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266392919,"filename":"image_10042025_04_45_34_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071752","file1":"1351071741","file0":"1351071729","file4":"1351071788","file5":"1351071810","file3":"1351071773"},"map_files_photo_id_array":[{"photo_id":"1351071810","filename":"file5"},{"photo_id":"1351071752","filename":"file2"},{"photo_id":"1351071788","filename":"file4"},{"photo_id":"1351071741","filename":"file1"},{"photo_id":"1351071729","filename":"file0"},{"photo_id":"1351071773","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071741":["hashtag1","hashtag2"]},{"1351071810":["hashtag1","hashtag2"]},{"1351071729":["hashtag1","hashtag2"]},{"1351071788":["hashtag1","hashtag2"]},{"1351071773":["hashtag1","hashtag2"]},{"1351071752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071741, 1351071810, 1351071729, 1351071788, 1351071773, 1351071752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75228929519653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:26:32.409182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_15_10337.jpg', '/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_25_9594.jpg', '/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_35_10368.jpg', '/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_44_9479.jpg', '/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_55_10375.jpg', '/home/pi/Desktop/images/10042025/04/46/image_10042025_04_47_05_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_15_10337.jpg
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_25_9594.jpg
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_35_10368.jpg
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_44_9479.jpg
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_46_55_10375.jpg
/home/pi/Desktop/images/10042025/04/46/image_10042025_04_47_05_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351071852","1351071849","1351071864","1351071869","1351071860","1351071871"],"photo_ids_order":["1351071849","1351071852","1351071860","1351071864","1351071869","1351071871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2f8059183585187a732bf42a8c5b9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5479815995560580230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_46_25_9594.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb78e7c99006b441683ff9f233b4b842.jpg","text":"TemporaryFile(/tmp/multipartBody5808606266293432248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_46_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f6cca70be22fb77d669053dbaa07dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6433873736595754887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_46_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d30d9a2747e581dea6d58c211675dde2.jpg","text":"TemporaryFile(/tmp/multipartBody4946296257666755082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_46_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7c746fddf87afb1c8b6434a45e92d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8634583817264783089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_46_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4d94373c2d1398545b066cc956fbbe2.jpg","text":"TemporaryFile(/tmp/multipartBody8429013264219584905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266452943,"filename":"image_10042025_04_47_05_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351071860","file1":"1351071852","file0":"1351071849","file4":"1351071869","file5":"1351071871","file3":"1351071864"},"map_files_photo_id_array":[{"photo_id":"1351071871","filename":"file5"},{"photo_id":"1351071860","filename":"file2"},{"photo_id":"1351071869","filename":"file4"},{"photo_id":"1351071852","filename":"file1"},{"photo_id":"1351071849","filename":"file0"},{"photo_id":"1351071864","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351071852":["hashtag1","hashtag2"]},{"1351071849":["hashtag1","hashtag2"]},{"1351071864":["hashtag1","hashtag2"]},{"1351071869":["hashtag1","hashtag2"]},{"1351071860":["hashtag1","hashtag2"]},{"1351071871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351071852, 1351071849, 1351071864, 1351071869, 1351071860, 1351071871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94717049598694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:27:33.948113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_15_9387.jpg', '/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_25_10406.jpg', '/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_45_10393.jpg', '/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_55_10365.jpg', '/home/pi/Desktop/images/10042025/04/47/image_10042025_04_48_05_9361.jpg', '/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_15_9387.jpg
/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_25_10406.jpg
/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_45_10393.jpg
/home/pi/Desktop/images/10042025/04/47/image_10042025_04_47_55_10365.jpg
/home/pi/Desktop/images/10042025/04/47/image_10042025_04_48_05_9361.jpg
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072119","1351072130","1351072147","1351072105","1351072176","1351072146"],"photo_ids_order":["1351072105","1351072119","1351072130","1351072146","1351072147","1351072176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1e3bdbed2ba61f387d45a139d2f6afb.jpg","text":"TemporaryFile(/tmp/multipartBody9110474691507655575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_47_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97976a30491a9c142beb72c67126df52.jpg","text":"TemporaryFile(/tmp/multipartBody5201279933247242952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_47_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a13a892749cbac8128b10d65eb3f105.jpg","text":"TemporaryFile(/tmp/multipartBody6662266563993465633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_48_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9e1aa4f570c3ce3f70a8ae04f7b343b.jpg","text":"TemporaryFile(/tmp/multipartBody5183607406828858877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_47_15_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26fac9d2546e4b47f786541c6512718a.jpg","text":"TemporaryFile(/tmp/multipartBody588243075973773859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_48_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/064b8367b5950b293605cad9e9d1c5a8.jpg","text":"TemporaryFile(/tmp/multipartBody4892368484612995164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266514483,"filename":"image_10042025_04_47_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072130","file1":"1351072119","file0":"1351072105","file4":"1351072147","file5":"1351072176","file3":"1351072146"},"map_files_photo_id_array":[{"photo_id":"1351072176","filename":"file5"},{"photo_id":"1351072130","filename":"file2"},{"photo_id":"1351072147","filename":"file4"},{"photo_id":"1351072119","filename":"file1"},{"photo_id":"1351072105","filename":"file0"},{"photo_id":"1351072146","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072119":["hashtag1","hashtag2"]},{"1351072130":["hashtag1","hashtag2"]},{"1351072147":["hashtag1","hashtag2"]},{"1351072105":["hashtag1","hashtag2"]},{"1351072176":["hashtag1","hashtag2"]},{"1351072146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072119, 1351072130, 1351072147, 1351072105, 1351072176, 1351072146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.759541273117065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:28:32.364585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_24_9401.jpg', '/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_35_10364.jpg', '/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_45_10473.jpg', '/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_55_9471.jpg', '/home/pi/Desktop/images/10042025/04/48/image_10042025_04_49_05_10369.jpg', '/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_14_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_24_9401.jpg
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_35_10364.jpg
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_45_10473.jpg
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_48_55_9471.jpg
/home/pi/Desktop/images/10042025/04/48/image_10042025_04_49_05_10369.jpg
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_14_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072311","1351072302","1351072289","1351072294","1351072306","1351072284"],"photo_ids_order":["1351072284","1351072289","1351072294","1351072302","1351072306","1351072311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f938d00ac12d972c13130f1724028f31.jpg","text":"TemporaryFile(/tmp/multipartBody5704571937031464582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_49_14_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6da1d6fd58470cf8965d7e6f4c61a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4672026936547205446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_48_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed506b96f47917e9dfaf68f174d8a651.jpg","text":"TemporaryFile(/tmp/multipartBody6438637829402286748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_48_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d1025a3be7169d36c925fa0a372278f.jpg","text":"TemporaryFile(/tmp/multipartBody6944593246563730689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_48_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e5326e180b187e025ca18271a287301.jpg","text":"TemporaryFile(/tmp/multipartBody229214424945242737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_49_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4aa8834b04379c8d48afc94499b0df0e.jpg","text":"TemporaryFile(/tmp/multipartBody5404722208053148799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266572900,"filename":"image_10042025_04_48_24_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072294","file1":"1351072289","file0":"1351072284","file4":"1351072306","file5":"1351072311","file3":"1351072302"},"map_files_photo_id_array":[{"photo_id":"1351072311","filename":"file5"},{"photo_id":"1351072294","filename":"file2"},{"photo_id":"1351072306","filename":"file4"},{"photo_id":"1351072289","filename":"file1"},{"photo_id":"1351072284","filename":"file0"},{"photo_id":"1351072302","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072311":["hashtag1","hashtag2"]},{"1351072302":["hashtag1","hashtag2"]},{"1351072289":["hashtag1","hashtag2"]},{"1351072294":["hashtag1","hashtag2"]},{"1351072306":["hashtag1","hashtag2"]},{"1351072284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072311, 1351072302, 1351072289, 1351072294, 1351072306, 1351072284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178584814071655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:29:32.542387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_25_10362.jpg', '/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_35_10352.jpg', '/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_44_9389.jpg', '/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_55_10381.jpg', '/home/pi/Desktop/images/10042025/04/49/image_10042025_04_50_04_9364.jpg', '/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_25_10362.jpg
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_35_10352.jpg
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_44_9389.jpg
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_49_55_10381.jpg
/home/pi/Desktop/images/10042025/04/49/image_10042025_04_50_04_9364.jpg
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072512","1351072514","1351072508","1351072485","1351072504","1351072494"],"photo_ids_order":["1351072485","1351072494","1351072504","1351072508","1351072512","1351072514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5590204879f7eeb4315d49953ca52451.jpg","text":"TemporaryFile(/tmp/multipartBody3525302864312603047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_50_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3de8af2e23ca65c877e6a74f8b1344e.jpg","text":"TemporaryFile(/tmp/multipartBody754997282822212456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_50_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30227315d6a680a41ea1601dda3e5471.jpg","text":"TemporaryFile(/tmp/multipartBody3041968794958772506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_49_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99e4dce2fdee8386e1884300d5bf035f.jpg","text":"TemporaryFile(/tmp/multipartBody2005743365718858958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_49_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b60ce9f06ca3f3d114c7acdd19fb73e.jpg","text":"TemporaryFile(/tmp/multipartBody416131582340512697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_49_44_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/332574cdf9e9fdd6d25c558de687e742.jpg","text":"TemporaryFile(/tmp/multipartBody8521968676016498343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266633076,"filename":"image_10042025_04_49_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072504","file1":"1351072494","file0":"1351072485","file4":"1351072512","file5":"1351072514","file3":"1351072508"},"map_files_photo_id_array":[{"photo_id":"1351072514","filename":"file5"},{"photo_id":"1351072504","filename":"file2"},{"photo_id":"1351072512","filename":"file4"},{"photo_id":"1351072494","filename":"file1"},{"photo_id":"1351072485","filename":"file0"},{"photo_id":"1351072508","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072512":["hashtag1","hashtag2"]},{"1351072514":["hashtag1","hashtag2"]},{"1351072508":["hashtag1","hashtag2"]},{"1351072485":["hashtag1","hashtag2"]},{"1351072504":["hashtag1","hashtag2"]},{"1351072494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072512, 1351072514, 1351072508, 1351072485, 1351072504, 1351072494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.481619119644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:30:32.850436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_25_10383.jpg', '/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_34_9463.jpg', '/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_45_10613.jpg', '/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_54_9365.jpg', '/home/pi/Desktop/images/10042025/04/50/image_10042025_04_51_05_10354.jpg', '/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_25_10383.jpg
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_34_9463.jpg
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_45_10613.jpg
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_50_54_9365.jpg
/home/pi/Desktop/images/10042025/04/50/image_10042025_04_51_05_10354.jpg
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072556","1351072570","1351072564","1351072537","1351072566","1351072560"],"photo_ids_order":["1351072537","1351072556","1351072560","1351072564","1351072566","1351072570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40f9424f591b00dcc5894345b49c9521.jpg","text":"TemporaryFile(/tmp/multipartBody3400940164110428038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_50_34_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4838eb70ab7dcbae79c8181107bb8785.jpg","text":"TemporaryFile(/tmp/multipartBody5158187831940482127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_51_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/288ea3a8f1968b6672199969bb78960a.jpg","text":"TemporaryFile(/tmp/multipartBody764512641375883971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_50_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c58f65b4123b152905e98dad4b3d3c23.jpg","text":"TemporaryFile(/tmp/multipartBody4619940361757429236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_50_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1a301194865c93523dce9335fdc8a76.jpg","text":"TemporaryFile(/tmp/multipartBody2204312107485086710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_51_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/927f4a7875e881fbb4798fc859c75780.jpg","text":"TemporaryFile(/tmp/multipartBody1260879816468689339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266693404,"filename":"image_10042025_04_50_45_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072560","file1":"1351072556","file0":"1351072537","file4":"1351072566","file5":"1351072570","file3":"1351072564"},"map_files_photo_id_array":[{"photo_id":"1351072570","filename":"file5"},{"photo_id":"1351072560","filename":"file2"},{"photo_id":"1351072566","filename":"file4"},{"photo_id":"1351072556","filename":"file1"},{"photo_id":"1351072537","filename":"file0"},{"photo_id":"1351072564","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072556":["hashtag1","hashtag2"]},{"1351072570":["hashtag1","hashtag2"]},{"1351072564":["hashtag1","hashtag2"]},{"1351072537":["hashtag1","hashtag2"]},{"1351072566":["hashtag1","hashtag2"]},{"1351072560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072556, 1351072570, 1351072564, 1351072537, 1351072566, 1351072560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.30659317970276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:31:32.977501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_25_9416.jpg', '/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_35_10360.jpg', '/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_44_9426.jpg', '/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_55_10367.jpg', '/home/pi/Desktop/images/10042025/04/51/image_10042025_04_52_05_10361.jpg', '/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_15_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_25_9416.jpg
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_35_10360.jpg
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_44_9426.jpg
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_51_55_10367.jpg
/home/pi/Desktop/images/10042025/04/51/image_10042025_04_52_05_10361.jpg
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_15_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072617","1351072632","1351072626","1351072643","1351072639","1351072635"],"photo_ids_order":["1351072617","1351072626","1351072632","1351072635","1351072639","1351072643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8106a0ecefbb3b70f0a3ad1d789f80de.jpg","text":"TemporaryFile(/tmp/multipartBody4022269509728062897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_51_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd41a14f2c478ed57b6e785ebb6aea21.jpg","text":"TemporaryFile(/tmp/multipartBody5224557237147649282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_51_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b9b7f410a15c1e72a24731f71c6fd64.jpg","text":"TemporaryFile(/tmp/multipartBody8867658765563281095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_51_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89da4bda5575154226eadda3c9004585.jpg","text":"TemporaryFile(/tmp/multipartBody6315724785653530418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_52_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f92a03cd095601f7dd64cbcdb82269f.jpg","text":"TemporaryFile(/tmp/multipartBody5382943922719429663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_52_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01276b73030f0cabcd38a7364868a359.jpg","text":"TemporaryFile(/tmp/multipartBody275674273959389290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266753534,"filename":"image_10042025_04_51_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072632","file1":"1351072626","file0":"1351072617","file4":"1351072639","file5":"1351072643","file3":"1351072635"},"map_files_photo_id_array":[{"photo_id":"1351072643","filename":"file5"},{"photo_id":"1351072632","filename":"file2"},{"photo_id":"1351072639","filename":"file4"},{"photo_id":"1351072626","filename":"file1"},{"photo_id":"1351072617","filename":"file0"},{"photo_id":"1351072635","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072617":["hashtag1","hashtag2"]},{"1351072632":["hashtag1","hashtag2"]},{"1351072626":["hashtag1","hashtag2"]},{"1351072643":["hashtag1","hashtag2"]},{"1351072639":["hashtag1","hashtag2"]},{"1351072635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072617, 1351072632, 1351072626, 1351072643, 1351072639, 1351072635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70370697975159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:32:33.174361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_25_10364.jpg', '/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_34_9430.jpg', '/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_45_10373.jpg', '/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_55_10363.jpg', '/home/pi/Desktop/images/10042025/04/52/image_10042025_04_53_04_9346.jpg', '/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_15_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_25_10364.jpg
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_34_9430.jpg
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_45_10373.jpg
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_52_55_10363.jpg
/home/pi/Desktop/images/10042025/04/52/image_10042025_04_53_04_9346.jpg
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_15_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072673","1351072709","1351072741","1351072752","1351072680","1351072734"],"photo_ids_order":["1351072673","1351072680","1351072709","1351072734","1351072741","1351072752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45b005ea70f4172c3d3ea220075fe719.jpg","text":"TemporaryFile(/tmp/multipartBody6223994073492003606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_52_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f602d6b7cfafca5850b67e5a3c283fba.jpg","text":"TemporaryFile(/tmp/multipartBody1577217195727421687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_52_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c16900ffaabe7851980d6d58da1d671d.jpg","text":"TemporaryFile(/tmp/multipartBody6260017563081175412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_53_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d76c83926c952e8aabc4e825fe04d46.jpg","text":"TemporaryFile(/tmp/multipartBody3685942917023327357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_53_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf625720867ac54053294789028d8d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1742895490567332615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_52_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0c8aa44ee27c5ac061b21f74086668f.jpg","text":"TemporaryFile(/tmp/multipartBody4387924098962010784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266813718,"filename":"image_10042025_04_52_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072709","file1":"1351072680","file0":"1351072673","file4":"1351072741","file5":"1351072752","file3":"1351072734"},"map_files_photo_id_array":[{"photo_id":"1351072752","filename":"file5"},{"photo_id":"1351072709","filename":"file2"},{"photo_id":"1351072741","filename":"file4"},{"photo_id":"1351072680","filename":"file1"},{"photo_id":"1351072673","filename":"file0"},{"photo_id":"1351072734","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072673":["hashtag1","hashtag2"]},{"1351072709":["hashtag1","hashtag2"]},{"1351072741":["hashtag1","hashtag2"]},{"1351072752":["hashtag1","hashtag2"]},{"1351072680":["hashtag1","hashtag2"]},{"1351072734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072673, 1351072709, 1351072741, 1351072752, 1351072680, 1351072734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12625503540039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:33:32.290577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_25_10371.jpg', '/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_35_9371.jpg', '/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_45_10389.jpg', '/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_54_9442.jpg', '/home/pi/Desktop/images/10042025/04/53/image_10042025_04_54_05_10388.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_25_10371.jpg
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_35_9371.jpg
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_45_10389.jpg
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_53_54_9442.jpg
/home/pi/Desktop/images/10042025/04/53/image_10042025_04_54_05_10388.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_15_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351072935","1351072964","1351072925","1351072907","1351072990","1351072978"],"photo_ids_order":["1351072907","1351072925","1351072935","1351072964","1351072978","1351072990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f1705576a9561f22847e6f99896c54a.jpg","text":"TemporaryFile(/tmp/multipartBody4673991039949242331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_53_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/831f44d02878a687e67a995b57d62d96.jpg","text":"TemporaryFile(/tmp/multipartBody90318567131622275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_53_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d28e569937219a0fefae89354a28f89b.jpg","text":"TemporaryFile(/tmp/multipartBody1889892646857281432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_53_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac179fed2e656843d50a2657f41af0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6053498978298930218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_53_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e91a4c440ec300f23cc576562783270c.jpg","text":"TemporaryFile(/tmp/multipartBody7149058427242523392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_54_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1a5bf172a97abfb2ced667c2b92bf07.jpg","text":"TemporaryFile(/tmp/multipartBody2911265914836495388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266872848,"filename":"image_10042025_04_54_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351072935","file1":"1351072925","file0":"1351072907","file4":"1351072978","file5":"1351072990","file3":"1351072964"},"map_files_photo_id_array":[{"photo_id":"1351072990","filename":"file5"},{"photo_id":"1351072935","filename":"file2"},{"photo_id":"1351072978","filename":"file4"},{"photo_id":"1351072925","filename":"file1"},{"photo_id":"1351072907","filename":"file0"},{"photo_id":"1351072964","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351072935":["hashtag1","hashtag2"]},{"1351072964":["hashtag1","hashtag2"]},{"1351072925":["hashtag1","hashtag2"]},{"1351072907":["hashtag1","hashtag2"]},{"1351072990":["hashtag1","hashtag2"]},{"1351072978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351072935, 1351072964, 1351072925, 1351072907, 1351072990, 1351072978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69641661643982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:34:32.394535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_24_9355.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_35_10382.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_45_10349.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_55_9427.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_55_05_10366.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_14_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_24_9355.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_35_10382.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_45_10349.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_55_9427.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_55_05_10366.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_14_9429.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46454858779907227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 08:34:42.615233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_24_9355.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_35_10382.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_45_10349.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_55_9427.jpg', '/home/pi/Desktop/images/10042025/04/54/image_10042025_04_55_05_10366.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_14_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_24_9355.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_35_10382.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_45_10349.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_54_55_9427.jpg
/home/pi/Desktop/images/10042025/04/54/image_10042025_04_55_05_10366.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_14_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351073126","1351073105","1351073098","1351073113","1351073119","1351073109"],"photo_ids_order":["1351073098","1351073105","1351073109","1351073113","1351073119","1351073126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a82f7db654a1a0f0e13901ae63a5d29f.jpg","text":"TemporaryFile(/tmp/multipartBody5284020449345936500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_55_14_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9d8e5a133bcc670f31283997fdbb076.jpg","text":"TemporaryFile(/tmp/multipartBody1027461385984754863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_54_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/647f69ab1efa9af71d2418c459c2fd09.jpg","text":"TemporaryFile(/tmp/multipartBody2998463908530994190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_54_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e49ab1f646268775e4f61d09f0d30780.jpg","text":"TemporaryFile(/tmp/multipartBody1509937737394958325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_54_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54177ce1ef41b5e988016c334c71f362.jpg","text":"TemporaryFile(/tmp/multipartBody562340311510180722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_55_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/786393f454408c05b30f8c884fca123f.jpg","text":"TemporaryFile(/tmp/multipartBody6923529940398172538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266943084,"filename":"image_10042025_04_54_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351073109","file1":"1351073105","file0":"1351073098","file4":"1351073119","file5":"1351073126","file3":"1351073113"},"map_files_photo_id_array":[{"photo_id":"1351073126","filename":"file5"},{"photo_id":"1351073109","filename":"file2"},{"photo_id":"1351073119","filename":"file4"},{"photo_id":"1351073105","filename":"file1"},{"photo_id":"1351073098","filename":"file0"},{"photo_id":"1351073113","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351073126":["hashtag1","hashtag2"]},{"1351073105":["hashtag1","hashtag2"]},{"1351073098":["hashtag1","hashtag2"]},{"1351073113":["hashtag1","hashtag2"]},{"1351073119":["hashtag1","hashtag2"]},{"1351073109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351073126, 1351073105, 1351073098, 1351073113, 1351073119, 1351073109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57157254219055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:35:32.627452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_25_10398.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_35_10356.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_45_9374.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_55_10355.jpg', '/home/pi/Desktop/images/10042025/04/55/image_10042025_04_56_05_10363.jpg', '/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_15_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_25_10398.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_35_10356.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_45_9374.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_55_55_10355.jpg
/home/pi/Desktop/images/10042025/04/55/image_10042025_04_56_05_10363.jpg
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_15_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351073171","1351073165","1351073195","1351073161","1351073187","1351073178"],"photo_ids_order":["1351073161","1351073165","1351073171","1351073178","1351073187","1351073195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27d4a0c671acb73a77c30299f6760cd9.jpg","text":"TemporaryFile(/tmp/multipartBody196302487715203314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_55_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/204aa3c062a466933a15c3bd20786e26.jpg","text":"TemporaryFile(/tmp/multipartBody6945540035184027803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_55_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a99b7b949f1a2305034dde892d0550d.jpg","text":"TemporaryFile(/tmp/multipartBody3046739336909908606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_56_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16d646001250d43abee47a24df5fe844.jpg","text":"TemporaryFile(/tmp/multipartBody7428825165347016143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_55_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71cc52c7138398cb1ba317ea2a7c5b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3164631903139609636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_56_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/183d37417fb05666598e710e42241df1.jpg","text":"TemporaryFile(/tmp/multipartBody2082057518669588765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744266993165,"filename":"image_10042025_04_55_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351073171","file1":"1351073165","file0":"1351073161","file4":"1351073187","file5":"1351073195","file3":"1351073178"},"map_files_photo_id_array":[{"photo_id":"1351073195","filename":"file5"},{"photo_id":"1351073171","filename":"file2"},{"photo_id":"1351073187","filename":"file4"},{"photo_id":"1351073165","filename":"file1"},{"photo_id":"1351073161","filename":"file0"},{"photo_id":"1351073178","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351073171":["hashtag1","hashtag2"]},{"1351073165":["hashtag1","hashtag2"]},{"1351073195":["hashtag1","hashtag2"]},{"1351073161":["hashtag1","hashtag2"]},{"1351073187":["hashtag1","hashtag2"]},{"1351073178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351073171, 1351073165, 1351073195, 1351073161, 1351073187, 1351073178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.240418672561646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:36:32.799626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_25_10369.jpg', '/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_34_9475.jpg', '/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_45_10365.jpg', '/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_55_10410.jpg', '/home/pi/Desktop/images/10042025/04/56/image_10042025_04_57_05_9414.jpg', '/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_25_10369.jpg
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_34_9475.jpg
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_45_10365.jpg
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_56_55_10410.jpg
/home/pi/Desktop/images/10042025/04/56/image_10042025_04_57_05_9414.jpg
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351073279","1351073273","1351073252","1351073266","1351073241","1351073259"],"photo_ids_order":["1351073241","1351073252","1351073259","1351073266","1351073273","1351073279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef3da288619a817810421a3810c316ea.jpg","text":"TemporaryFile(/tmp/multipartBody9156706990833231287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_57_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/803a75a1e5d0116c31fe5021da683149.jpg","text":"TemporaryFile(/tmp/multipartBody1180200338445032054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_57_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba1b57e0e6c04848c7b84e5a04e53dfc.jpg","text":"TemporaryFile(/tmp/multipartBody342264436762382674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_56_34_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1bbd4fcd86a4206301da4e7b8375984.jpg","text":"TemporaryFile(/tmp/multipartBody8719389368126531343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_56_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d797cd143fc8c87ccda86745af514548.jpg","text":"TemporaryFile(/tmp/multipartBody1671600884931714293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_56_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b1eb2a87ae7e8668a0d091f6e1b6881.jpg","text":"TemporaryFile(/tmp/multipartBody4233675646726969515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267053351,"filename":"image_10042025_04_56_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351073259","file1":"1351073252","file0":"1351073241","file4":"1351073273","file5":"1351073279","file3":"1351073266"},"map_files_photo_id_array":[{"photo_id":"1351073279","filename":"file5"},{"photo_id":"1351073259","filename":"file2"},{"photo_id":"1351073273","filename":"file4"},{"photo_id":"1351073252","filename":"file1"},{"photo_id":"1351073241","filename":"file0"},{"photo_id":"1351073266","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351073279":["hashtag1","hashtag2"]},{"1351073273":["hashtag1","hashtag2"]},{"1351073252":["hashtag1","hashtag2"]},{"1351073266":["hashtag1","hashtag2"]},{"1351073241":["hashtag1","hashtag2"]},{"1351073259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351073279, 1351073273, 1351073252, 1351073266, 1351073241, 1351073259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78865432739258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:37:33.077161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_24_9416.jpg', '/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_35_10372.jpg', '/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_45_10372.jpg', '/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_55_9421.jpg', '/home/pi/Desktop/images/10042025/04/57/image_10042025_04_58_05_10432.jpg', '/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_14_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_24_9416.jpg
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_35_10372.jpg
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_45_10372.jpg
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_57_55_9421.jpg
/home/pi/Desktop/images/10042025/04/57/image_10042025_04_58_05_10432.jpg
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_14_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351073477","1351073423","1351073497","1351073500","1351073394","1351073448"],"photo_ids_order":["1351073394","1351073423","1351073448","1351073477","1351073497","1351073500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5363a1342064a867fd7387b86e8c2285.jpg","text":"TemporaryFile(/tmp/multipartBody3221877068891765768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_57_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1713d085eb3a17bf9aaa8baa2dfb8fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5927642426246004070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_57_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/738edf37dc9616f3f4542c00c9f3c8df.jpg","text":"TemporaryFile(/tmp/multipartBody6169715500628447517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_58_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cac618de43072e3abbea9bb1b96c7627.jpg","text":"TemporaryFile(/tmp/multipartBody3622962050575167098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_58_14_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f403c5ad29c06f20dfbd7aefd72b640a.jpg","text":"TemporaryFile(/tmp/multipartBody8582349423923460877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_57_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/741accce9f7f4df9eb5c94cf40d4d18f.jpg","text":"TemporaryFile(/tmp/multipartBody7940893789865836439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267113614,"filename":"image_10042025_04_57_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351073448","file1":"1351073423","file0":"1351073394","file4":"1351073497","file5":"1351073500","file3":"1351073477"},"map_files_photo_id_array":[{"photo_id":"1351073500","filename":"file5"},{"photo_id":"1351073448","filename":"file2"},{"photo_id":"1351073497","filename":"file4"},{"photo_id":"1351073423","filename":"file1"},{"photo_id":"1351073394","filename":"file0"},{"photo_id":"1351073477","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351073477":["hashtag1","hashtag2"]},{"1351073423":["hashtag1","hashtag2"]},{"1351073497":["hashtag1","hashtag2"]},{"1351073500":["hashtag1","hashtag2"]},{"1351073394":["hashtag1","hashtag2"]},{"1351073448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351073477, 1351073423, 1351073497, 1351073500, 1351073394, 1351073448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36046099662781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:38:32.350719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_25_10471.jpg', '/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_34_9460.jpg', '/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_45_10771.jpg', '/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_55_9502.jpg', '/home/pi/Desktop/images/10042025/04/58/image_10042025_04_59_05_10376.jpg', '/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_14_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_25_10471.jpg
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_34_9460.jpg
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_45_10771.jpg
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_58_55_9502.jpg
/home/pi/Desktop/images/10042025/04/58/image_10042025_04_59_05_10376.jpg
/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_14_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351073636","1351073705","1351073602","1351073760","1351073614","1351073823"],"photo_ids_order":["1351073602","1351073614","1351073636","1351073705","1351073760","1351073823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e4a5b46c041fc5bafd397e24eb66426.jpg","text":"TemporaryFile(/tmp/multipartBody3979359782529784731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_58_45_10771.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4135f93fcfb6320ac670ce448b6cd29.jpg","text":"TemporaryFile(/tmp/multipartBody489321726120383333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_58_55_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0858ba9a501bde3aa1d04da2d88be97.jpg","text":"TemporaryFile(/tmp/multipartBody3643755108516066268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_58_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1321a6e9a3930565d1aa5090f57f1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6064965644926742827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_59_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7313404a2e68cb71f1ca3d6c68cf00a.jpg","text":"TemporaryFile(/tmp/multipartBody1381492191872292886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_58_34_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f740a9958bc2b9579da550dc0291c33.jpg","text":"TemporaryFile(/tmp/multipartBody4787153700448692520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267172891,"filename":"image_10042025_04_59_14_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351073636","file1":"1351073614","file0":"1351073602","file4":"1351073760","file5":"1351073823","file3":"1351073705"},"map_files_photo_id_array":[{"photo_id":"1351073823","filename":"file5"},{"photo_id":"1351073636","filename":"file2"},{"photo_id":"1351073760","filename":"file4"},{"photo_id":"1351073614","filename":"file1"},{"photo_id":"1351073602","filename":"file0"},{"photo_id":"1351073705","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351073636":["hashtag1","hashtag2"]},{"1351073705":["hashtag1","hashtag2"]},{"1351073602":["hashtag1","hashtag2"]},{"1351073760":["hashtag1","hashtag2"]},{"1351073614":["hashtag1","hashtag2"]},{"1351073823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351073636, 1351073705, 1351073602, 1351073760, 1351073614, 1351073823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.056440591812134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:39:32.446283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_25_10361.jpg', '/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_35_10371.jpg', '/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_44_9364.jpg', '/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_55_10362.jpg', '/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_15_10078.jpg', '/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_25_10361.jpg
/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_35_10371.jpg
/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_44_9364.jpg
/home/pi/Desktop/images/10042025/04/59/image_10042025_04_59_55_10362.jpg
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_15_10078.jpg
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_25_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074101","1351074133","1351074249","1351074309","1351074150","1351074108"],"photo_ids_order":["1351074101","1351074108","1351074133","1351074150","1351074249","1351074309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ed736845f2577ffdb70e7254d48aa43.jpg","text":"TemporaryFile(/tmp/multipartBody1311125092931028731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_04_59_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcb66087b27dd5f73a5570bd437bab68.jpg","text":"TemporaryFile(/tmp/multipartBody8253750249823348109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_04_59_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84a728ad7a502783e6afbe5233ca8f36.jpg","text":"TemporaryFile(/tmp/multipartBody8481576398228860413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_05_01_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8617d2217ebfa96807b41b44d97a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody392554239560145602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_05_01_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36e749121bbfde9fdaab24790e027bc8.jpg","text":"TemporaryFile(/tmp/multipartBody8479595056328571533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_04_59_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67f93c5c4dc6496bacd94c6b601f3653.jpg","text":"TemporaryFile(/tmp/multipartBody7135468543781601551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267232993,"filename":"image_10042025_04_59_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074133","file1":"1351074108","file0":"1351074101","file4":"1351074249","file5":"1351074309","file3":"1351074150"},"map_files_photo_id_array":[{"photo_id":"1351074309","filename":"file5"},{"photo_id":"1351074133","filename":"file2"},{"photo_id":"1351074249","filename":"file4"},{"photo_id":"1351074108","filename":"file1"},{"photo_id":"1351074101","filename":"file0"},{"photo_id":"1351074150","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074101":["hashtag1","hashtag2"]},{"1351074133":["hashtag1","hashtag2"]},{"1351074249":["hashtag1","hashtag2"]},{"1351074309":["hashtag1","hashtag2"]},{"1351074150":["hashtag1","hashtag2"]},{"1351074108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074101, 1351074133, 1351074249, 1351074309, 1351074150, 1351074108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40905737876892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:40:32.557417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_36_10438.jpg', '/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_45_9376.jpg', '/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_55_10493.jpg', '/home/pi/Desktop/images/10042025/05/01/image_10042025_05_02_05_9365.jpg', '/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_15_10380.jpg', '/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_36_10438.jpg
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_45_9376.jpg
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_01_55_10493.jpg
/home/pi/Desktop/images/10042025/05/01/image_10042025_05_02_05_9365.jpg
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_15_10380.jpg
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_26_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074388","1351074421","1351074406","1351074432","1351074429","1351074437"],"photo_ids_order":["1351074388","1351074406","1351074421","1351074429","1351074432","1351074437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/765e3a26e5d9cc53e016e3067e45d666.jpg","text":"TemporaryFile(/tmp/multipartBody6258564527935575120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_01_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5940304c700794c4c82be3cfceb769ab.jpg","text":"TemporaryFile(/tmp/multipartBody2715500289664032181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_01_55_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc7791809bddff3322b6897c0002ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody6332592287483818135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_01_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffecef6b2e71063c5ad7e857e0fab7e4.jpg","text":"TemporaryFile(/tmp/multipartBody3914311672837210642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_02_15_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8d2dc9f54910b31c3d5c9236244cce5.jpg","text":"TemporaryFile(/tmp/multipartBody8819871681166724252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_02_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a1f376178f7def918d4327b297c5034.jpg","text":"TemporaryFile(/tmp/multipartBody8173985466859525955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267293092,"filename":"image_10042025_05_02_26_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074421","file1":"1351074406","file0":"1351074388","file4":"1351074432","file5":"1351074437","file3":"1351074429"},"map_files_photo_id_array":[{"photo_id":"1351074437","filename":"file5"},{"photo_id":"1351074421","filename":"file2"},{"photo_id":"1351074432","filename":"file4"},{"photo_id":"1351074406","filename":"file1"},{"photo_id":"1351074388","filename":"file0"},{"photo_id":"1351074429","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074388":["hashtag1","hashtag2"]},{"1351074421":["hashtag1","hashtag2"]},{"1351074406":["hashtag1","hashtag2"]},{"1351074432":["hashtag1","hashtag2"]},{"1351074429":["hashtag1","hashtag2"]},{"1351074437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074388, 1351074421, 1351074406, 1351074432, 1351074429, 1351074437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.25293207168579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:41:32.922879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_35_9376.jpg', '/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_45_10370.jpg', '/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_55_9361.jpg', '/home/pi/Desktop/images/10042025/05/02/image_10042025_05_03_05_10350.jpg', '/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_16_10474.jpg', '/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_25_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_35_9376.jpg
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_45_10370.jpg
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_02_55_9361.jpg
/home/pi/Desktop/images/10042025/05/02/image_10042025_05_03_05_10350.jpg
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_16_10474.jpg
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_25_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074475","1351074523","1351074486","1351074479","1351074566","1351074560"],"photo_ids_order":["1351074475","1351074479","1351074486","1351074523","1351074560","1351074566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b45e3cfcd5dbd3d91ef43f6ca6c43f6.jpg","text":"TemporaryFile(/tmp/multipartBody3051970109764528575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_02_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/626dcce87032f8c0f72635fc3d51aba1.jpg","text":"TemporaryFile(/tmp/multipartBody1966307469916280924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_03_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd7f46cea8e12ea9e28e6c81a31082e6.jpg","text":"TemporaryFile(/tmp/multipartBody5016759227237027025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_02_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb3169b10caf5ebad150084dccfe28b1.jpg","text":"TemporaryFile(/tmp/multipartBody891504856556050601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_02_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53e3285a4bca597e09e8e227bcff7120.jpg","text":"TemporaryFile(/tmp/multipartBody4743410322323950040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_03_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a196e5209bcd13fd141635ce870a4794.jpg","text":"TemporaryFile(/tmp/multipartBody3223202408491677689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267353455,"filename":"image_10042025_05_03_16_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074486","file1":"1351074479","file0":"1351074475","file4":"1351074560","file5":"1351074566","file3":"1351074523"},"map_files_photo_id_array":[{"photo_id":"1351074566","filename":"file5"},{"photo_id":"1351074486","filename":"file2"},{"photo_id":"1351074560","filename":"file4"},{"photo_id":"1351074479","filename":"file1"},{"photo_id":"1351074475","filename":"file0"},{"photo_id":"1351074523","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074475":["hashtag1","hashtag2"]},{"1351074523":["hashtag1","hashtag2"]},{"1351074486":["hashtag1","hashtag2"]},{"1351074479":["hashtag1","hashtag2"]},{"1351074566":["hashtag1","hashtag2"]},{"1351074560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074475, 1351074523, 1351074486, 1351074479, 1351074566, 1351074560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76290464401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:42:33.053281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_35_10360.jpg', '/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_45_9349.jpg', '/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_55_10366.jpg', '/home/pi/Desktop/images/10042025/05/03/image_10042025_05_04_06_10457.jpg', '/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_15_9360.jpg', '/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_25_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_35_10360.jpg
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_45_9349.jpg
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_03_55_10366.jpg
/home/pi/Desktop/images/10042025/05/03/image_10042025_05_04_06_10457.jpg
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_15_9360.jpg
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_25_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074611","1351074655","1351074607","1351074604","1351074627","1351074600"],"photo_ids_order":["1351074600","1351074604","1351074607","1351074611","1351074627","1351074655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7acd295013e3de14eb5895cf73cda704.jpg","text":"TemporaryFile(/tmp/multipartBody4104590447801920743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_04_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02e81ec5cefd59052dc49be3e72ed3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1529540954300523886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_04_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1746767eed4ff82ee651f09e585855db.jpg","text":"TemporaryFile(/tmp/multipartBody7707563717289768683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_03_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aef035f0daefccf8744457bac82d4cbc.jpg","text":"TemporaryFile(/tmp/multipartBody9047092661356154190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_03_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1b7c807fa8ac918100a477ce3b4bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody5603816103318620738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_04_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61b37a304420146241caa143cf08b8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1726320065214580345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267413594,"filename":"image_10042025_05_03_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074607","file1":"1351074604","file0":"1351074600","file4":"1351074627","file5":"1351074655","file3":"1351074611"},"map_files_photo_id_array":[{"photo_id":"1351074655","filename":"file5"},{"photo_id":"1351074607","filename":"file2"},{"photo_id":"1351074627","filename":"file4"},{"photo_id":"1351074604","filename":"file1"},{"photo_id":"1351074600","filename":"file0"},{"photo_id":"1351074611","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074611":["hashtag1","hashtag2"]},{"1351074655":["hashtag1","hashtag2"]},{"1351074607":["hashtag1","hashtag2"]},{"1351074604":["hashtag1","hashtag2"]},{"1351074627":["hashtag1","hashtag2"]},{"1351074600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074611, 1351074655, 1351074607, 1351074604, 1351074627, 1351074600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72383666038513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:43:32.343803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_35_9389.jpg', '/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_45_10373.jpg', '/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_56_10448.jpg', '/home/pi/Desktop/images/10042025/05/04/image_10042025_05_05_05_9367.jpg', '/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_15_10394.jpg', '/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_35_9389.jpg
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_45_10373.jpg
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_04_56_10448.jpg
/home/pi/Desktop/images/10042025/05/04/image_10042025_05_05_05_9367.jpg
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_15_10394.jpg
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074743","1351074760","1351074766","1351074771","1351074756","1351074750"],"photo_ids_order":["1351074743","1351074750","1351074756","1351074760","1351074766","1351074771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13a065560c41337c3f61dc3b057a7cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1274015611494883215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_04_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/270ee57d36d9dd91b69a492b9cea49a2.jpg","text":"TemporaryFile(/tmp/multipartBody5029864145578142923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_05_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f3664f4f2624662f35f8973cc7ff8da.jpg","text":"TemporaryFile(/tmp/multipartBody8090398766786670242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_05_15_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4794b82839471410442f89db44ea7571.jpg","text":"TemporaryFile(/tmp/multipartBody5290646013309727053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_05_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1e52f2c60de6311f9eeab43409d8039.jpg","text":"TemporaryFile(/tmp/multipartBody2667611464723826897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_04_56_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6308e1a48b5301b7697102091191ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody4335378621277659313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267472885,"filename":"image_10042025_05_04_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074756","file1":"1351074750","file0":"1351074743","file4":"1351074766","file5":"1351074771","file3":"1351074760"},"map_files_photo_id_array":[{"photo_id":"1351074771","filename":"file5"},{"photo_id":"1351074756","filename":"file2"},{"photo_id":"1351074766","filename":"file4"},{"photo_id":"1351074750","filename":"file1"},{"photo_id":"1351074743","filename":"file0"},{"photo_id":"1351074760","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074743":["hashtag1","hashtag2"]},{"1351074760":["hashtag1","hashtag2"]},{"1351074766":["hashtag1","hashtag2"]},{"1351074771":["hashtag1","hashtag2"]},{"1351074756":["hashtag1","hashtag2"]},{"1351074750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074743, 1351074760, 1351074766, 1351074771, 1351074756, 1351074750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23674273490906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:44:32.555951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_35_9414.jpg', '/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_45_10364.jpg', '/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_55_9354.jpg', '/home/pi/Desktop/images/10042025/05/05/image_10042025_05_06_05_10357.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_16_10404.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_25_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_35_9414.jpg
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_45_10364.jpg
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_05_55_9354.jpg
/home/pi/Desktop/images/10042025/05/05/image_10042025_05_06_05_10357.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_16_10404.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_25_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074806","1351074795","1351074822","1351074816","1351074810","1351074801"],"photo_ids_order":["1351074795","1351074801","1351074806","1351074810","1351074816","1351074822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2aefab25df898a59a2d836ad4e04610.jpg","text":"TemporaryFile(/tmp/multipartBody7345828354389973752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_05_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0975dc5db9c79d3bfe1b2769d33f8bae.jpg","text":"TemporaryFile(/tmp/multipartBody1422968878472877123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_05_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d7f6403d036a5e5107b1ad38758a928.jpg","text":"TemporaryFile(/tmp/multipartBody4606443192478536595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_06_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f43d9c3855ac6752524c52e70939378d.jpg","text":"TemporaryFile(/tmp/multipartBody424969552609237017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_06_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb547ca65b4976e01e0b154316ae7e35.jpg","text":"TemporaryFile(/tmp/multipartBody5848090394035844522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_06_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72c33e08599a46e3a9890a56eb551c02.jpg","text":"TemporaryFile(/tmp/multipartBody6733814793999744752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267533091,"filename":"image_10042025_05_05_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074806","file1":"1351074801","file0":"1351074795","file4":"1351074816","file5":"1351074822","file3":"1351074810"},"map_files_photo_id_array":[{"photo_id":"1351074822","filename":"file5"},{"photo_id":"1351074806","filename":"file2"},{"photo_id":"1351074816","filename":"file4"},{"photo_id":"1351074801","filename":"file1"},{"photo_id":"1351074795","filename":"file0"},{"photo_id":"1351074810","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074806":["hashtag1","hashtag2"]},{"1351074795":["hashtag1","hashtag2"]},{"1351074822":["hashtag1","hashtag2"]},{"1351074816":["hashtag1","hashtag2"]},{"1351074810":["hashtag1","hashtag2"]},{"1351074801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074806, 1351074795, 1351074822, 1351074816, 1351074810, 1351074801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87432527542114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:45:32.874694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_35_10472.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_55_10384.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_15_9410.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_25_10455.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_35_10472.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_55_10384.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_15_9410.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_25_10455.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351074862","1351074943","1351074864","1351074966","1351074855","1351075005"],"photo_ids_order":["1351074855","1351074862","1351074864","1351074943","1351074966","1351075005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee6b955a902f90be628e3ce52be85144.jpg","text":"TemporaryFile(/tmp/multipartBody1529035289403109599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_06_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6e4406d4d9a00d317646e5a3ac5df18.jpg","text":"TemporaryFile(/tmp/multipartBody3981330211399570128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_07_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23505c5abebf9d97a5d80a1acca93dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7127475242289119479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_07_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb763e140517d6d9411cc7a47bea6570.jpg","text":"TemporaryFile(/tmp/multipartBody2483251814860483051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_07_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c0fc8200a415771d9d88818f6863056.jpg","text":"TemporaryFile(/tmp/multipartBody8850684641335204883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_06_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/149a0f32300f3330ae00329bd0e66cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2784793656559139441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267593986,"filename":"image_10042025_05_07_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351074864","file1":"1351074862","file0":"1351074855","file4":"1351074966","file5":"1351075005","file3":"1351074943"},"map_files_photo_id_array":[{"photo_id":"1351075005","filename":"file5"},{"photo_id":"1351074864","filename":"file2"},{"photo_id":"1351074966","filename":"file4"},{"photo_id":"1351074862","filename":"file1"},{"photo_id":"1351074855","filename":"file0"},{"photo_id":"1351074943","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351074862":["hashtag1","hashtag2"]},{"1351074943":["hashtag1","hashtag2"]},{"1351074864":["hashtag1","hashtag2"]},{"1351074966":["hashtag1","hashtag2"]},{"1351074855":["hashtag1","hashtag2"]},{"1351075005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351074862, 1351074943, 1351074864, 1351074966, 1351074855, 1351075005)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1351074864 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351074864 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg";
uploaded 6 photos
time to upload: 82.61927628517151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 08:47:06.973357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_35_10472.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_55_10384.jpg', '/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_15_9410.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_25_10455.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_35_10472.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_06_55_10384.jpg
/home/pi/Desktop/images/10042025/05/06/image_10042025_05_07_06_10424.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_15_9410.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_25_10455.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351075063","1351075092","1351075086","1351075074","1351075090","1351075078"],"photo_ids_order":["1351075063","1351075074","1351075078","1351075086","1351075090","1351075092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49f04e99363d72ec2896536e0eb35ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5616064277032184855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_06_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2843b0d6aa3591387d8e3b24995cb341.jpg","text":"TemporaryFile(/tmp/multipartBody1652296253744587933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_07_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1a1863a8555436929ffe135bd320295.jpg","text":"TemporaryFile(/tmp/multipartBody8868464973812928517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_07_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1ec024d1a4b00c879e8f21bc4eb0ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4650401406184253992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_06_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e76b38898281e5ae6fcbadaf712d4116.jpg","text":"TemporaryFile(/tmp/multipartBody3677188398338647979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_07_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60375bf73a1427561e7a78c999c4eb77.jpg","text":"TemporaryFile(/tmp/multipartBody9217520948572908431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267687566,"filename":"image_10042025_05_07_06_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351075078","file1":"1351075074","file0":"1351075063","file4":"1351075090","file5":"1351075092","file3":"1351075086"},"map_files_photo_id_array":[{"photo_id":"1351075092","filename":"file5"},{"photo_id":"1351075078","filename":"file2"},{"photo_id":"1351075090","filename":"file4"},{"photo_id":"1351075074","filename":"file1"},{"photo_id":"1351075063","filename":"file0"},{"photo_id":"1351075086","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351075063":["hashtag1","hashtag2"]},{"1351075092":["hashtag1","hashtag2"]},{"1351075086":["hashtag1","hashtag2"]},{"1351075074":["hashtag1","hashtag2"]},{"1351075090":["hashtag1","hashtag2"]},{"1351075078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351075063, 1351075092, 1351075086, 1351075074, 1351075090, 1351075078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.043906688690186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:47:52.208613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_45_10371.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_56_10381.jpg', '/home/pi/Desktop/images/10042025/05/07/image_10042025_05_08_05_9369.jpg', '/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_15_10456.jpg', '/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_25_9368.jpg', '/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_45_10371.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_07_56_10381.jpg
/home/pi/Desktop/images/10042025/05/07/image_10042025_05_08_05_9369.jpg
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_15_10456.jpg
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_25_9368.jpg
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_35_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351075189","1351075191","1351075184","1351075193","1351075187","1351075198"],"photo_ids_order":["1351075184","1351075187","1351075189","1351075191","1351075193","1351075198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/257f631b2f448f3a61903353f21db7e5.jpg","text":"TemporaryFile(/tmp/multipartBody1156318315155992721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_08_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93aa76152880adcc786117d5e9eba867.jpg","text":"TemporaryFile(/tmp/multipartBody4718328303872879253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_08_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2efd7cfac4227e752ef4d6cab932d86.jpg","text":"TemporaryFile(/tmp/multipartBody616065813092287231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_07_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0985dd6324986fe7dc7683c65989f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2275421704745030053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_08_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e056527245abecaaf342140e4df3d8e3.jpg","text":"TemporaryFile(/tmp/multipartBody931593210270018981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_07_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fca0c387a250565bc4dc61f178696f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2942239595949123035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267732736,"filename":"image_10042025_05_08_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351075189","file1":"1351075187","file0":"1351075184","file4":"1351075193","file5":"1351075198","file3":"1351075191"},"map_files_photo_id_array":[{"photo_id":"1351075198","filename":"file5"},{"photo_id":"1351075189","filename":"file2"},{"photo_id":"1351075193","filename":"file4"},{"photo_id":"1351075187","filename":"file1"},{"photo_id":"1351075184","filename":"file0"},{"photo_id":"1351075191","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351075189":["hashtag1","hashtag2"]},{"1351075191":["hashtag1","hashtag2"]},{"1351075184":["hashtag1","hashtag2"]},{"1351075193":["hashtag1","hashtag2"]},{"1351075187":["hashtag1","hashtag2"]},{"1351075198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351075189, 1351075191, 1351075184, 1351075193, 1351075187, 1351075198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.780859231948853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:48:32.428093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_46_10439.jpg', '/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_55_9421.jpg', '/home/pi/Desktop/images/10042025/05/08/image_10042025_05_09_05_10417.jpg', '/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_16_10334.jpg', '/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_25_9363.jpg', '/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_45_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_46_10439.jpg
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_08_55_9421.jpg
/home/pi/Desktop/images/10042025/05/08/image_10042025_05_09_05_10417.jpg
/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_16_10334.jpg
/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_25_9363.jpg
/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_45_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351075399","1351075450","1351075360","1351075213","1351075318","1351075383"],"photo_ids_order":["1351075213","1351075318","1351075360","1351075383","1351075399","1351075450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ec1ef58b3e20e64590c993a43b4d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody6701788617815247846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_09_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ee6840665a49df6d9604735b26811eb.jpg","text":"TemporaryFile(/tmp/multipartBody5688182742689789059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_09_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2712fb0fc018263f6e0cfac361314b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5041221720976225623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_09_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79ffd63d5fca90b00c497ae455e0b247.jpg","text":"TemporaryFile(/tmp/multipartBody5339363653532191095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_08_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf1c425802c3e4f36108d913bf3900b5.jpg","text":"TemporaryFile(/tmp/multipartBody1602075293777441923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_08_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8407c46eef9bc2c71f2352df5b15ca58.jpg","text":"TemporaryFile(/tmp/multipartBody2808667351558888078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267772960,"filename":"image_10042025_05_09_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351075360","file1":"1351075318","file0":"1351075213","file4":"1351075399","file5":"1351075450","file3":"1351075383"},"map_files_photo_id_array":[{"photo_id":"1351075450","filename":"file5"},{"photo_id":"1351075360","filename":"file2"},{"photo_id":"1351075399","filename":"file4"},{"photo_id":"1351075318","filename":"file1"},{"photo_id":"1351075213","filename":"file0"},{"photo_id":"1351075383","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351075399":["hashtag1","hashtag2"]},{"1351075450":["hashtag1","hashtag2"]},{"1351075360":["hashtag1","hashtag2"]},{"1351075213":["hashtag1","hashtag2"]},{"1351075318":["hashtag1","hashtag2"]},{"1351075383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351075399, 1351075450, 1351075360, 1351075213, 1351075318, 1351075383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.33921217918396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:49:32.696370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_55_10492.jpg', '/home/pi/Desktop/images/10042025/05/09/image_10042025_05_10_05_9451.jpg', '/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_15_10376.jpg', '/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_26_10456.jpg', '/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_35_9440.jpg', '/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/09/image_10042025_05_09_55_10492.jpg
/home/pi/Desktop/images/10042025/05/09/image_10042025_05_10_05_9451.jpg
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_15_10376.jpg
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_26_10456.jpg
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_35_9440.jpg
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_45_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351075537","1351075683","1351075793","1351075719","1351075583","1351075823"],"photo_ids_order":["1351075537","1351075583","1351075683","1351075719","1351075793","1351075823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a3d867054d471d6de3cb8c8fef9fb11.jpg","text":"TemporaryFile(/tmp/multipartBody1409517621648447304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_09_55_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8df4320437aa4d49b58f5afbf24017a2.jpg","text":"TemporaryFile(/tmp/multipartBody1133640901597946480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_10_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1a9267ffdeb5579e9e76ae80f6009a5.jpg","text":"TemporaryFile(/tmp/multipartBody9177350357376453149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_10_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f56a967073adb720412db04736c4a02.jpg","text":"TemporaryFile(/tmp/multipartBody4823294374728795564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_10_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86f5f1de791bf90200c86df318339121.jpg","text":"TemporaryFile(/tmp/multipartBody5832842440459855170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_10_05_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/145ec0e92ecc6886e20792cc8ed2cb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7935766442707456764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267833248,"filename":"image_10042025_05_10_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351075683","file1":"1351075583","file0":"1351075537","file4":"1351075793","file5":"1351075823","file3":"1351075719"},"map_files_photo_id_array":[{"photo_id":"1351075823","filename":"file5"},{"photo_id":"1351075683","filename":"file2"},{"photo_id":"1351075793","filename":"file4"},{"photo_id":"1351075583","filename":"file1"},{"photo_id":"1351075537","filename":"file0"},{"photo_id":"1351075719","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351075537":["hashtag1","hashtag2"]},{"1351075683":["hashtag1","hashtag2"]},{"1351075793":["hashtag1","hashtag2"]},{"1351075719":["hashtag1","hashtag2"]},{"1351075583":["hashtag1","hashtag2"]},{"1351075823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351075537, 1351075683, 1351075793, 1351075719, 1351075583, 1351075823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68599891662598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:50:33.024895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_55_9372.jpg', '/home/pi/Desktop/images/10042025/05/10/image_10042025_05_11_05_10380.jpg', '/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_16_10383.jpg', '/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_25_9379.jpg', '/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_35_10422.jpg', '/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_10_55_9372.jpg
/home/pi/Desktop/images/10042025/05/10/image_10042025_05_11_05_10380.jpg
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_16_10383.jpg
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_25_9379.jpg
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_35_10422.jpg
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351075867","1351075948","1351075991","1351075871","1351075895","1351076009"],"photo_ids_order":["1351075867","1351075871","1351075895","1351075948","1351075991","1351076009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e83195cf310e1b584cd4215907c2b37d.jpg","text":"TemporaryFile(/tmp/multipartBody4426854336784971586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_10_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94b8433e11904f21587d42fba5764753.jpg","text":"TemporaryFile(/tmp/multipartBody3279848585490542768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_11_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2f2fc09fd5836ba686897887e37f7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6237817829108461624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_11_35_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fea48d4302f5d35b0f64df15e5fc0afd.jpg","text":"TemporaryFile(/tmp/multipartBody4032320941541616277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_11_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e14e645ba0b1c208fece7ffca5aec867.jpg","text":"TemporaryFile(/tmp/multipartBody8740094968519669530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_11_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a89f3f454f8f3f61c84fe7401a6a8a44.jpg","text":"TemporaryFile(/tmp/multipartBody2569949331016600084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267893550,"filename":"image_10042025_05_11_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351075895","file1":"1351075871","file0":"1351075867","file4":"1351075991","file5":"1351076009","file3":"1351075948"},"map_files_photo_id_array":[{"photo_id":"1351076009","filename":"file5"},{"photo_id":"1351075895","filename":"file2"},{"photo_id":"1351075991","filename":"file4"},{"photo_id":"1351075871","filename":"file1"},{"photo_id":"1351075867","filename":"file0"},{"photo_id":"1351075948","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351075867":["hashtag1","hashtag2"]},{"1351075948":["hashtag1","hashtag2"]},{"1351075991":["hashtag1","hashtag2"]},{"1351075871":["hashtag1","hashtag2"]},{"1351075895":["hashtag1","hashtag2"]},{"1351076009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351075867, 1351075948, 1351075991, 1351075871, 1351075895, 1351076009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06667637825012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:51:32.181348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_55_10368.jpg', '/home/pi/Desktop/images/10042025/05/11/image_10042025_05_12_05_10360.jpg', '/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_15_9352.jpg', '/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_25_10377.jpg', '/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_36_10430.jpg', '/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_45_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_11_55_10368.jpg
/home/pi/Desktop/images/10042025/05/11/image_10042025_05_12_05_10360.jpg
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_15_9352.jpg
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_25_10377.jpg
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_36_10430.jpg
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_45_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351076149","1351076298","1351076418","1351076399","1351076323","1351076317"],"photo_ids_order":["1351076149","1351076298","1351076317","1351076323","1351076399","1351076418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31851ee6af1eac5fa85ddd1dfeb1aa74.jpg","text":"TemporaryFile(/tmp/multipartBody7367970858268276704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_11_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f20f2374dcab6103d327e2cef8021920.jpg","text":"TemporaryFile(/tmp/multipartBody9090664747764898626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_12_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10df3ff07ee7a8f6153c24a83d11b1f0.jpg","text":"TemporaryFile(/tmp/multipartBody9132408178420767207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_12_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/241681d0d74fd1234c22b2dd65ea7d25.jpg","text":"TemporaryFile(/tmp/multipartBody5609182911959844122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_12_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbe8a3daa9822fd5f29d1d77638dd231.jpg","text":"TemporaryFile(/tmp/multipartBody2487655568654647549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_12_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14c06fd70b15d5cbe29ac3584479b09a.jpg","text":"TemporaryFile(/tmp/multipartBody6675567745697096556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744267952714,"filename":"image_10042025_05_12_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351076317","file1":"1351076298","file0":"1351076149","file4":"1351076399","file5":"1351076418","file3":"1351076323"},"map_files_photo_id_array":[{"photo_id":"1351076418","filename":"file5"},{"photo_id":"1351076317","filename":"file2"},{"photo_id":"1351076399","filename":"file4"},{"photo_id":"1351076298","filename":"file1"},{"photo_id":"1351076149","filename":"file0"},{"photo_id":"1351076323","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351076149":["hashtag1","hashtag2"]},{"1351076298":["hashtag1","hashtag2"]},{"1351076418":["hashtag1","hashtag2"]},{"1351076399":["hashtag1","hashtag2"]},{"1351076323":["hashtag1","hashtag2"]},{"1351076317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351076149, 1351076298, 1351076418, 1351076399, 1351076323, 1351076317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.79166126251221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:52:32.336598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_55_10444.jpg', '/home/pi/Desktop/images/10042025/05/12/image_10042025_05_13_05_9442.jpg', '/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_15_10365.jpg', '/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_26_10438.jpg', '/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_35_9359.jpg', '/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_45_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_12_55_10444.jpg
/home/pi/Desktop/images/10042025/05/12/image_10042025_05_13_05_9442.jpg
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_15_10365.jpg
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_26_10438.jpg
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_35_9359.jpg
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_45_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351076539","1351076628","1351076502","1351076582","1351076552","1351076516"],"photo_ids_order":["1351076502","1351076516","1351076539","1351076552","1351076582","1351076628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4938eb18dda5e4a22486a4271f5b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody3556426731890699684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_13_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d67c93ea56fa9440c5854d7a3102056.jpg","text":"TemporaryFile(/tmp/multipartBody4534236650279331908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_13_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3509aefb1c2e1394f06bcc88e0a0b702.jpg","text":"TemporaryFile(/tmp/multipartBody137657425293966824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_12_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63286490464f35053c046fe5aab762ef.jpg","text":"TemporaryFile(/tmp/multipartBody4604016431800935501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_13_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67932e45b7455b0bad2e82f8ee533d72.jpg","text":"TemporaryFile(/tmp/multipartBody8390688149978501779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_13_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d60cbbe1629663d7ff7a3bc9a03f01b0.jpg","text":"TemporaryFile(/tmp/multipartBody1641440613423433799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268012877,"filename":"image_10042025_05_13_05_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351076539","file1":"1351076516","file0":"1351076502","file4":"1351076582","file5":"1351076628","file3":"1351076552"},"map_files_photo_id_array":[{"photo_id":"1351076628","filename":"file5"},{"photo_id":"1351076539","filename":"file2"},{"photo_id":"1351076582","filename":"file4"},{"photo_id":"1351076516","filename":"file1"},{"photo_id":"1351076502","filename":"file0"},{"photo_id":"1351076552","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351076539":["hashtag1","hashtag2"]},{"1351076628":["hashtag1","hashtag2"]},{"1351076502":["hashtag1","hashtag2"]},{"1351076582":["hashtag1","hashtag2"]},{"1351076552":["hashtag1","hashtag2"]},{"1351076516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351076539, 1351076628, 1351076502, 1351076582, 1351076552, 1351076516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92045783996582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:53:32.483522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_55_9367.jpg', '/home/pi/Desktop/images/10042025/05/13/image_10042025_05_14_05_10348.jpg', '/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_16_10353.jpg', '/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_25_9360.jpg', '/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_35_10431.jpg', '/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_13_55_9367.jpg
/home/pi/Desktop/images/10042025/05/13/image_10042025_05_14_05_10348.jpg
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_16_10353.jpg
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_25_9360.jpg
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_35_10431.jpg
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351076895","1351076949","1351076922","1351077000","1351076915","1351077004"],"photo_ids_order":["1351076895","1351076915","1351076922","1351076949","1351077000","1351077004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1ec8f9a798cdf047c725a5aa004cf02.jpg","text":"TemporaryFile(/tmp/multipartBody1182394933001689293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_13_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/241404c5ede7387ccc2f991bfb60519e.jpg","text":"TemporaryFile(/tmp/multipartBody4001508782433373338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_14_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e63af929947b0a5bb4ca93464b6230cb.jpg","text":"TemporaryFile(/tmp/multipartBody3114860984483606128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_14_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62443aba6b5666a679d470c15a815ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1192448368347602657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_14_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e0f78f16008b400e086f2f5b47e5156.jpg","text":"TemporaryFile(/tmp/multipartBody1911003729556464813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_14_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c00b84eacf66bf2fcd6cd477dc9432dc.jpg","text":"TemporaryFile(/tmp/multipartBody7466455466098338951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268073028,"filename":"image_10042025_05_14_46_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351076922","file1":"1351076915","file0":"1351076895","file4":"1351077000","file5":"1351077004","file3":"1351076949"},"map_files_photo_id_array":[{"photo_id":"1351077004","filename":"file5"},{"photo_id":"1351076922","filename":"file2"},{"photo_id":"1351077000","filename":"file4"},{"photo_id":"1351076915","filename":"file1"},{"photo_id":"1351076895","filename":"file0"},{"photo_id":"1351076949","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351076895":["hashtag1","hashtag2"]},{"1351076949":["hashtag1","hashtag2"]},{"1351076922":["hashtag1","hashtag2"]},{"1351077000":["hashtag1","hashtag2"]},{"1351076915":["hashtag1","hashtag2"]},{"1351077004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351076895, 1351076949, 1351076922, 1351077000, 1351076915, 1351077004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60869097709656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:54:32.671764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_55_9468.jpg', '/home/pi/Desktop/images/10042025/05/14/image_10042025_05_15_06_10424.jpg', '/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_15_9347.jpg', '/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_25_10457.jpg', '/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_35_9337.jpg', '/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_14_55_9468.jpg
/home/pi/Desktop/images/10042025/05/14/image_10042025_05_15_06_10424.jpg
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_15_9347.jpg
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_25_10457.jpg
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_35_9337.jpg
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351077150","1351077132","1351077091","1351077110","1351077055","1351077157"],"photo_ids_order":["1351077055","1351077091","1351077110","1351077132","1351077150","1351077157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e01cd33d595cf22f10e68700d65a7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6120870699082725953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_15_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54d4f944c533d651b836519ae973b709.jpg","text":"TemporaryFile(/tmp/multipartBody832518491772067589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_15_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7b1816f57315b434551f74eefa8d14c.jpg","text":"TemporaryFile(/tmp/multipartBody6364172579516512630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_15_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/312107b368c96ad5dfd17ce10812114c.jpg","text":"TemporaryFile(/tmp/multipartBody9118850031127124104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_15_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac250efe3c4dba3b98d7e673360e3cad.jpg","text":"TemporaryFile(/tmp/multipartBody3610552911542750632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_14_55_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efa9b29104a559144ae186ef094ea884.jpg","text":"TemporaryFile(/tmp/multipartBody5165414335624480006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268133196,"filename":"image_10042025_05_15_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351077110","file1":"1351077091","file0":"1351077055","file4":"1351077150","file5":"1351077157","file3":"1351077132"},"map_files_photo_id_array":[{"photo_id":"1351077157","filename":"file5"},{"photo_id":"1351077110","filename":"file2"},{"photo_id":"1351077150","filename":"file4"},{"photo_id":"1351077091","filename":"file1"},{"photo_id":"1351077055","filename":"file0"},{"photo_id":"1351077132","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351077150":["hashtag1","hashtag2"]},{"1351077132":["hashtag1","hashtag2"]},{"1351077091":["hashtag1","hashtag2"]},{"1351077110":["hashtag1","hashtag2"]},{"1351077055":["hashtag1","hashtag2"]},{"1351077157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351077150, 1351077132, 1351077091, 1351077110, 1351077055, 1351077157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.380284786224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:55:32.841977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_55_10371.jpg', '/home/pi/Desktop/images/10042025/05/15/image_10042025_05_16_05_9385.jpg', '/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_15_10372.jpg', '/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_26_10401.jpg', '/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_35_9351.jpg', '/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_46_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_15_55_10371.jpg
/home/pi/Desktop/images/10042025/05/15/image_10042025_05_16_05_9385.jpg
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_15_10372.jpg
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_26_10401.jpg
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_35_9351.jpg
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_46_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":["1351077237","1351077248","1351077227","1351077241","1351077244","1351077232"],"photo_ids_order":["1351077227","1351077232","1351077237","1351077241","1351077244","1351077248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85bba66f6810bd1f4410c7d7fc9d20f4.jpg","text":"TemporaryFile(/tmp/multipartBody4986773519420155549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_16_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be02ae9db067865fd92db924e0d0bdd3.jpg","text":"TemporaryFile(/tmp/multipartBody6376887039824761743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_16_46_10554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85fd6cb8be862bd472859a2fd0caf753.jpg","text":"TemporaryFile(/tmp/multipartBody2966892637700040934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_15_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/525f73897cf29622f2b83a5149cba757.jpg","text":"TemporaryFile(/tmp/multipartBody8814844974296294481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_16_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9863c046349b23bbde2a25a1f216a16.jpg","text":"TemporaryFile(/tmp/multipartBody8622318026281943444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_16_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e9a9f4cc7b3b609832bf9c3a8fd00f4.jpg","text":"TemporaryFile(/tmp/multipartBody2185497960721406317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268193374,"filename":"image_10042025_05_16_05_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351077237","file1":"1351077232","file0":"1351077227","file4":"1351077244","file5":"1351077248","file3":"1351077241"},"map_files_photo_id_array":[{"photo_id":"1351077248","filename":"file5"},{"photo_id":"1351077237","filename":"file2"},{"photo_id":"1351077244","filename":"file4"},{"photo_id":"1351077232","filename":"file1"},{"photo_id":"1351077227","filename":"file0"},{"photo_id":"1351077241","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351077237":["hashtag1","hashtag2"]},{"1351077248":["hashtag1","hashtag2"]},{"1351077227":["hashtag1","hashtag2"]},{"1351077241":["hashtag1","hashtag2"]},{"1351077244":["hashtag1","hashtag2"]},{"1351077232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351077237, 1351077248, 1351077227, 1351077241, 1351077244, 1351077232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93759560585022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:56:33.036204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_55_9443.jpg', '/home/pi/Desktop/images/10042025/05/16/image_10042025_05_17_05_10430.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_15_9350.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_25_10361.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_35_10349.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_45_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_16_55_9443.jpg
/home/pi/Desktop/images/10042025/05/16/image_10042025_05_17_05_10430.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_15_9350.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_25_10361.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_35_10349.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_45_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351077312","1351077290","1351077298","1351077304","1351077294","1351077307"],"photo_ids_order":["1351077290","1351077294","1351077298","1351077304","1351077307","1351077312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aecc909befa211cff6d1907daeff93ba.jpg","text":"TemporaryFile(/tmp/multipartBody5735425737634861539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_17_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/151dd91daa7e30e22ac3d390fe189db9.jpg","text":"TemporaryFile(/tmp/multipartBody3881087042842232865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_16_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4420f467e9b18e10706307bbaa6a273.jpg","text":"TemporaryFile(/tmp/multipartBody6120720183996352167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_17_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dda8a1399218ac0023a706907c360e29.jpg","text":"TemporaryFile(/tmp/multipartBody7112408122267109712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_17_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc24c3bc1f8c4824f809f3df1a98ae52.jpg","text":"TemporaryFile(/tmp/multipartBody6176312785406262665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_17_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13fddc6d992f3108f52976d8ddb0cb85.jpg","text":"TemporaryFile(/tmp/multipartBody994059162597910732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268253565,"filename":"image_10042025_05_17_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351077298","file1":"1351077294","file0":"1351077290","file4":"1351077307","file5":"1351077312","file3":"1351077304"},"map_files_photo_id_array":[{"photo_id":"1351077312","filename":"file5"},{"photo_id":"1351077298","filename":"file2"},{"photo_id":"1351077307","filename":"file4"},{"photo_id":"1351077294","filename":"file1"},{"photo_id":"1351077290","filename":"file0"},{"photo_id":"1351077304","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351077312":["hashtag1","hashtag2"]},{"1351077290":["hashtag1","hashtag2"]},{"1351077298":["hashtag1","hashtag2"]},{"1351077304":["hashtag1","hashtag2"]},{"1351077294":["hashtag1","hashtag2"]},{"1351077307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351077312, 1351077290, 1351077298, 1351077304, 1351077294, 1351077307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.63271737098694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:57:32.248570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_55_10380.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_18_06_10414.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_15_9363.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_35_9382.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_19_05_9375.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_15_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_55_10380.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_18_06_10414.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_15_9363.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_35_9382.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_19_05_9375.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_15_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 08:59:04.480512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_55_10380.jpg', '/home/pi/Desktop/images/10042025/05/17/image_10042025_05_18_06_10414.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_15_9363.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_35_9382.jpg', '/home/pi/Desktop/images/10042025/05/18/image_10042025_05_19_05_9375.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_15_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_17_55_10380.jpg
/home/pi/Desktop/images/10042025/05/17/image_10042025_05_18_06_10414.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_15_9363.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_18_35_9382.jpg
/home/pi/Desktop/images/10042025/05/18/image_10042025_05_19_05_9375.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_15_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351077780","1351077756","1351077726","1351077830","1351077691","1351077814"],"photo_ids_order":["1351077691","1351077726","1351077756","1351077780","1351077814","1351077830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a6bf2ecd9224f94055aeac2df91d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4154472477885212314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_18_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17529ccd76d50227869db74e050e0641.jpg","text":"TemporaryFile(/tmp/multipartBody5061624458768956934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_18_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b56c57db3bc7c8671fba068bb654c5a1.jpg","text":"TemporaryFile(/tmp/multipartBody3718925956627285374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_18_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ea215577d91a5d2ab13e2f08d45f70c.jpg","text":"TemporaryFile(/tmp/multipartBody9134100272276635895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_19_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0293c9108d9d86dbc35ed01e4afd3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4655086975579650162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_17_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39bdfe5f6febffdee07a73a442182018.jpg","text":"TemporaryFile(/tmp/multipartBody634144708457610318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268405088,"filename":"image_10042025_05_19_05_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351077756","file1":"1351077726","file0":"1351077691","file4":"1351077814","file5":"1351077830","file3":"1351077780"},"map_files_photo_id_array":[{"photo_id":"1351077830","filename":"file5"},{"photo_id":"1351077756","filename":"file2"},{"photo_id":"1351077814","filename":"file4"},{"photo_id":"1351077726","filename":"file1"},{"photo_id":"1351077691","filename":"file0"},{"photo_id":"1351077780","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351077780":["hashtag1","hashtag2"]},{"1351077756":["hashtag1","hashtag2"]},{"1351077726":["hashtag1","hashtag2"]},{"1351077830":["hashtag1","hashtag2"]},{"1351077691":["hashtag1","hashtag2"]},{"1351077814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351077780, 1351077756, 1351077726, 1351077830, 1351077691, 1351077814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.384716272354126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 08:59:52.866217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_25_9380.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_35_10358.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_46_10363.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_55_9363.jpg', '/home/pi/Desktop/images/10042025/05/19/image_10042025_05_20_05_10425.jpg', '/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_15_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_25_9380.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_35_10358.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_46_10363.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_19_55_9363.jpg
/home/pi/Desktop/images/10042025/05/19/image_10042025_05_20_05_10425.jpg
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_15_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351077962","1351077899","1351077929","1351078114","1351077922","1351078056"],"photo_ids_order":["1351077899","1351077922","1351077929","1351077962","1351078056","1351078114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8da9a69d44d7b633d3043b05ead75548.jpg","text":"TemporaryFile(/tmp/multipartBody7068189394612355758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_19_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c588b7bda85a77fc4d454cd8221084b7.jpg","text":"TemporaryFile(/tmp/multipartBody5263108657397292215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_19_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04d23d5adff5e370bab85d56603db682.jpg","text":"TemporaryFile(/tmp/multipartBody8430905656338425293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_19_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c6f0adcbc0e9cac4340d3f235e2f68a.jpg","text":"TemporaryFile(/tmp/multipartBody5021541148007057602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_20_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/466dc21fe813d438b7ed1b4d3acf2046.jpg","text":"TemporaryFile(/tmp/multipartBody8807993317756206634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_19_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cc36f5e40002108c316d28a4602ce60.jpg","text":"TemporaryFile(/tmp/multipartBody3488724769220871785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268453393,"filename":"image_10042025_05_20_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351077929","file1":"1351077922","file0":"1351077899","file4":"1351078056","file5":"1351078114","file3":"1351077962"},"map_files_photo_id_array":[{"photo_id":"1351078114","filename":"file5"},{"photo_id":"1351077929","filename":"file2"},{"photo_id":"1351078056","filename":"file4"},{"photo_id":"1351077922","filename":"file1"},{"photo_id":"1351077899","filename":"file0"},{"photo_id":"1351077962","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351077962":["hashtag1","hashtag2"]},{"1351077899":["hashtag1","hashtag2"]},{"1351077929":["hashtag1","hashtag2"]},{"1351078114":["hashtag1","hashtag2"]},{"1351077922":["hashtag1","hashtag2"]},{"1351078056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351077962, 1351077899, 1351077929, 1351078114, 1351077922, 1351078056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.38348722457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 09:00:43.051489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_25_10447.jpg', '/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_36_10430.jpg', '/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_45_9349.jpg', '/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_55_10444.jpg', '/home/pi/Desktop/images/10042025/05/20/image_10042025_05_21_05_9355.jpg', '/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_25_10447.jpg
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_36_10430.jpg
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_45_9349.jpg
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_20_55_10444.jpg
/home/pi/Desktop/images/10042025/05/20/image_10042025_05_21_05_9355.jpg
/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_15_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351078423","1351078372","1351078231","1351078309","1351078275","1351078335"],"photo_ids_order":["1351078231","1351078275","1351078309","1351078335","1351078372","1351078423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/329d3b9d44ff428c516491fba9a09b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3843534693560241496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_21_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80eea60f89113c64f9ad96f9a26684f8.jpg","text":"TemporaryFile(/tmp/multipartBody7886555137988964043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_21_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57c501e8cee9f16b664c316484b592ee.jpg","text":"TemporaryFile(/tmp/multipartBody2673625223090573771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_20_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d82b0de79f26aac3d283a1672ca1640.jpg","text":"TemporaryFile(/tmp/multipartBody5327712386377143851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_20_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e71391591cf4489e6c1961296d0c1b23.jpg","text":"TemporaryFile(/tmp/multipartBody8865252041003919274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_20_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/696cd2980f9d5d61b61e2ace23e87ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5271949168337194386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268503582,"filename":"image_10042025_05_20_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351078309","file1":"1351078275","file0":"1351078231","file4":"1351078372","file5":"1351078423","file3":"1351078335"},"map_files_photo_id_array":[{"photo_id":"1351078423","filename":"file5"},{"photo_id":"1351078309","filename":"file2"},{"photo_id":"1351078372","filename":"file4"},{"photo_id":"1351078275","filename":"file1"},{"photo_id":"1351078231","filename":"file0"},{"photo_id":"1351078335","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351078423":["hashtag1","hashtag2"]},{"1351078372":["hashtag1","hashtag2"]},{"1351078231":["hashtag1","hashtag2"]},{"1351078309":["hashtag1","hashtag2"]},{"1351078275":["hashtag1","hashtag2"]},{"1351078335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351078423, 1351078372, 1351078231, 1351078309, 1351078275, 1351078335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.041624307632446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:01:32.286610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_26_10450.jpg', '/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_55_9364.jpg', '/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_16_10445.jpg', '/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_25_9353.jpg', '/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_45_9380.jpg', '/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_55_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_26_10450.jpg
/home/pi/Desktop/images/10042025/05/21/image_10042025_05_21_55_9364.jpg
/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_16_10445.jpg
/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_25_9353.jpg
/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_45_9380.jpg
/home/pi/Desktop/images/10042025/05/22/image_10042025_05_22_55_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351078638","1351079083","1351078748","1351079029","1351078837","1351078918"],"photo_ids_order":["1351078638","1351078748","1351078837","1351078918","1351079029","1351079083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b20a99a839dd55bdfd1e01ea22f9876d.jpg","text":"TemporaryFile(/tmp/multipartBody3134829924748982834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_21_26_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dbfde54ce2e264b7bf4f85f37320c31.jpg","text":"TemporaryFile(/tmp/multipartBody1802549906693790361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_22_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71a357da7624294a4945f45c71447c97.jpg","text":"TemporaryFile(/tmp/multipartBody4611918414948124094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_21_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c0ced689fb32fbecbb959e5df21fb0e.jpg","text":"TemporaryFile(/tmp/multipartBody2897735200038790388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_22_45_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1de54a03be8b4788e895753ff8f9ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7572182518210656447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_22_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/631a41ee1c7aaa6400177b1ec2f98fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1483217051312846546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268552825,"filename":"image_10042025_05_22_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351078837","file1":"1351078748","file0":"1351078638","file4":"1351079029","file5":"1351079083","file3":"1351078918"},"map_files_photo_id_array":[{"photo_id":"1351079083","filename":"file5"},{"photo_id":"1351078837","filename":"file2"},{"photo_id":"1351079029","filename":"file4"},{"photo_id":"1351078748","filename":"file1"},{"photo_id":"1351078638","filename":"file0"},{"photo_id":"1351078918","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351078638":["hashtag1","hashtag2"]},{"1351079083":["hashtag1","hashtag2"]},{"1351078748":["hashtag1","hashtag2"]},{"1351079029":["hashtag1","hashtag2"]},{"1351078837":["hashtag1","hashtag2"]},{"1351078918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351078638, 1351079083, 1351078748, 1351079029, 1351078837, 1351078918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.335301876068115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:02:32.685195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/22/image_10042025_05_23_06_10426.jpg', '/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_15_9362.jpg', '/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_25_10391.jpg', '/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_35_9352.jpg', '/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_45_10388.jpg', '/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_56_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/22/image_10042025_05_23_06_10426.jpg
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_15_9362.jpg
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_25_10391.jpg
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_35_9352.jpg
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_45_10388.jpg
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_23_56_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351079441","1351079560","1351079527","1351079359","1351079486","1351079594"],"photo_ids_order":["1351079359","1351079441","1351079486","1351079527","1351079560","1351079594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e587b0f48c9c41772a5795654cce4d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5795063750974548138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d576943428fb6e4cf99f0911874a48d.jpg","text":"TemporaryFile(/tmp/multipartBody5124222123657654948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d842adc4be54aca951bcabde4a6b4321.jpg","text":"TemporaryFile(/tmp/multipartBody3612804011541683072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a4efc36a305935ad43e4ca0f51c0a62.jpg","text":"TemporaryFile(/tmp/multipartBody1326409028143429515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fb3a4d43011ba1407907d324d5dbd53.jpg","text":"TemporaryFile(/tmp/multipartBody6604595748045827178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6364f40edfb61ea9fd0d85eecc94aad0.jpg","text":"TemporaryFile(/tmp/multipartBody7838666927636209947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268613213,"filename":"image_10042025_05_23_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351079486","file1":"1351079441","file0":"1351079359","file4":"1351079560","file5":"1351079594","file3":"1351079527"},"map_files_photo_id_array":[{"photo_id":"1351079594","filename":"file5"},{"photo_id":"1351079486","filename":"file2"},{"photo_id":"1351079560","filename":"file4"},{"photo_id":"1351079441","filename":"file1"},{"photo_id":"1351079359","filename":"file0"},{"photo_id":"1351079527","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351079441":["hashtag1","hashtag2"]},{"1351079560":["hashtag1","hashtag2"]},{"1351079527":["hashtag1","hashtag2"]},{"1351079359":["hashtag1","hashtag2"]},{"1351079486":["hashtag1","hashtag2"]},{"1351079594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351079441, 1351079560, 1351079527, 1351079359, 1351079486, 1351079594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21704435348511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:03:32.707975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/23/image_10042025_05_24_05_9339.jpg', '/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_15_10340.jpg', '/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_26_10448.jpg', '/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_35_9365.jpg', '/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_45_10359.jpg', '/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_55_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/23/image_10042025_05_24_05_9339.jpg
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_15_10340.jpg
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_26_10448.jpg
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_35_9365.jpg
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_45_10359.jpg
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_24_55_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351080181","1351079935","1351080096","1351080016","1351080228","1351079879"],"photo_ids_order":["1351079879","1351079935","1351080016","1351080096","1351080181","1351080228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f00a5a860f3db9013e8b38bdbd44ce56.jpg","text":"TemporaryFile(/tmp/multipartBody7303529986505851702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26349da57b443ebcab15f53ff1738e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6721399593961069068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f8d13a6c06e5ddd524a867d58501cc4.jpg","text":"TemporaryFile(/tmp/multipartBody311615494290934676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8005a6699971872353d709a5b041d768.jpg","text":"TemporaryFile(/tmp/multipartBody3908819688007129226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_26_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d62ffdbc0b9c51fbc5c21e2c2635f28.jpg","text":"TemporaryFile(/tmp/multipartBody3736696317466544504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/270c716ede7f1d44bc75a355bac0bff4.jpg","text":"TemporaryFile(/tmp/multipartBody59284444950330570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268673315,"filename":"image_10042025_05_24_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351080016","file1":"1351079935","file0":"1351079879","file4":"1351080181","file5":"1351080228","file3":"1351080096"},"map_files_photo_id_array":[{"photo_id":"1351080228","filename":"file5"},{"photo_id":"1351080016","filename":"file2"},{"photo_id":"1351080181","filename":"file4"},{"photo_id":"1351079935","filename":"file1"},{"photo_id":"1351079879","filename":"file0"},{"photo_id":"1351080096","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351080181":["hashtag1","hashtag2"]},{"1351079935":["hashtag1","hashtag2"]},{"1351080096":["hashtag1","hashtag2"]},{"1351080016":["hashtag1","hashtag2"]},{"1351080228":["hashtag1","hashtag2"]},{"1351079879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351080181, 1351079935, 1351080096, 1351080016, 1351080228, 1351079879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25501227378845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:04:32.968280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/24/image_10042025_05_25_05_10346.jpg', '/home/pi/Desktop/images/10042025/05/25/image_10042025_05_25_16_10456.jpg', '/home/pi/Desktop/images/10042025/05/25/image_10042025_05_25_55_10361.jpg', '/home/pi/Desktop/images/10042025/05/25/image_10042025_05_26_06_10427.jpg', '/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_15_9344.jpg', '/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/24/image_10042025_05_25_05_10346.jpg
/home/pi/Desktop/images/10042025/05/25/image_10042025_05_25_16_10456.jpg
/home/pi/Desktop/images/10042025/05/25/image_10042025_05_25_55_10361.jpg
/home/pi/Desktop/images/10042025/05/25/image_10042025_05_26_06_10427.jpg
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_15_9344.jpg
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_25_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351081007","1351080635","1351081075","1351080823","1351080715","1351080948"],"photo_ids_order":["1351080635","1351080715","1351080823","1351080948","1351081007","1351081075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dd255f421f1906398a5a031ae439501.jpg","text":"TemporaryFile(/tmp/multipartBody13943048373118620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_26_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c3e3f99880e9004934e41df007b8f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8964314040902645752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_25_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0928b1283d872f4b0f960c3a1e9a6f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3209340986435982844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_26_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b2a9b4f732b3a76b2c3bef887acc30e.jpg","text":"TemporaryFile(/tmp/multipartBody6796300501927368924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_25_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fe332b5cdd9398b3fcbe969002bac32.jpg","text":"TemporaryFile(/tmp/multipartBody1949907344048280274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_25_16_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/549c9c47c8b25498f99cb37a14110eab.jpg","text":"TemporaryFile(/tmp/multipartBody4619541196677308671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268733498,"filename":"image_10042025_05_26_06_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351080823","file1":"1351080715","file0":"1351080635","file4":"1351081007","file5":"1351081075","file3":"1351080948"},"map_files_photo_id_array":[{"photo_id":"1351081075","filename":"file5"},{"photo_id":"1351080823","filename":"file2"},{"photo_id":"1351081007","filename":"file4"},{"photo_id":"1351080715","filename":"file1"},{"photo_id":"1351080635","filename":"file0"},{"photo_id":"1351080948","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351081007":["hashtag1","hashtag2"]},{"1351080635":["hashtag1","hashtag2"]},{"1351081075":["hashtag1","hashtag2"]},{"1351080823":["hashtag1","hashtag2"]},{"1351080715":["hashtag1","hashtag2"]},{"1351080948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351081007, 1351080635, 1351081075, 1351080823, 1351080715, 1351080948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31967353820801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:05:33.101414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_35_9363.jpg', '/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_45_10375.jpg', '/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_56_10420.jpg', '/home/pi/Desktop/images/10042025/05/26/image_10042025_05_27_05_9394.jpg', '/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_15_10409.jpg', '/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_25_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_35_9363.jpg
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_45_10375.jpg
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_26_56_10420.jpg
/home/pi/Desktop/images/10042025/05/26/image_10042025_05_27_05_9394.jpg
/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_15_10409.jpg
/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_25_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351081388","1351081454","1351081355","1351081498","1351081534","1351081323"],"photo_ids_order":["1351081323","1351081355","1351081388","1351081454","1351081498","1351081534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c972fa308d127c5a7c12ce0629970dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5346662596932098601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_26_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ec92a362e9ea85f133c835ba7445dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5106222480988563152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_27_05_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8eeee7bf2a1ef70b0618b3c6aa42d296.jpg","text":"TemporaryFile(/tmp/multipartBody7489331614120167413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_26_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3593ff649a5de11e1619f960a3d641bc.jpg","text":"TemporaryFile(/tmp/multipartBody8379568890917919132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_27_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ab0738a869357b46ac3458e354ea3c0.jpg","text":"TemporaryFile(/tmp/multipartBody1609428162866145676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_27_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4497785de0161b62f6f75deee0b1348.jpg","text":"TemporaryFile(/tmp/multipartBody4305638993103466094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268793637,"filename":"image_10042025_05_26_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351081388","file1":"1351081355","file0":"1351081323","file4":"1351081498","file5":"1351081534","file3":"1351081454"},"map_files_photo_id_array":[{"photo_id":"1351081534","filename":"file5"},{"photo_id":"1351081388","filename":"file2"},{"photo_id":"1351081498","filename":"file4"},{"photo_id":"1351081355","filename":"file1"},{"photo_id":"1351081323","filename":"file0"},{"photo_id":"1351081454","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351081388":["hashtag1","hashtag2"]},{"1351081454":["hashtag1","hashtag2"]},{"1351081355":["hashtag1","hashtag2"]},{"1351081498":["hashtag1","hashtag2"]},{"1351081534":["hashtag1","hashtag2"]},{"1351081323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351081388, 1351081454, 1351081355, 1351081498, 1351081534, 1351081323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.474382638931274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:06:32.318252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_35_10371.jpg', '/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_45_10355.jpg', '/home/pi/Desktop/images/10042025/05/27/image_10042025_05_28_05_10363.jpg', '/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_16_10391.jpg', '/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_25_9379.jpg', '/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_35_10371.jpg
/home/pi/Desktop/images/10042025/05/27/image_10042025_05_27_45_10355.jpg
/home/pi/Desktop/images/10042025/05/27/image_10042025_05_28_05_10363.jpg
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_16_10391.jpg
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_25_9379.jpg
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_35_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351081636","1351081723","1351081710","1351081796","1351081769","1351081682"],"photo_ids_order":["1351081636","1351081682","1351081710","1351081723","1351081769","1351081796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a2eb592c6a1e886f029950712bc4f28.jpg","text":"TemporaryFile(/tmp/multipartBody7638987197704558170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_27_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2bf5e3c72f149b4314bbe10a90ee02d.jpg","text":"TemporaryFile(/tmp/multipartBody7461638822223280698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_28_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae9f7a3e67b3bc00291f7d2d8234daa6.jpg","text":"TemporaryFile(/tmp/multipartBody2288614295565686178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_28_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e62ec1e52e27a2f65562475e6fa2ca43.jpg","text":"TemporaryFile(/tmp/multipartBody5972077611360936251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_28_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fdd5ee02b8ddf31fe88d70465c21c12.jpg","text":"TemporaryFile(/tmp/multipartBody1297750819770882820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_28_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb4ebef137b53393f3d18903e3207f86.jpg","text":"TemporaryFile(/tmp/multipartBody8392569916474775470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268852844,"filename":"image_10042025_05_27_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351081710","file1":"1351081682","file0":"1351081636","file4":"1351081769","file5":"1351081796","file3":"1351081723"},"map_files_photo_id_array":[{"photo_id":"1351081796","filename":"file5"},{"photo_id":"1351081710","filename":"file2"},{"photo_id":"1351081769","filename":"file4"},{"photo_id":"1351081682","filename":"file1"},{"photo_id":"1351081636","filename":"file0"},{"photo_id":"1351081723","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351081636":["hashtag1","hashtag2"]},{"1351081723":["hashtag1","hashtag2"]},{"1351081710":["hashtag1","hashtag2"]},{"1351081796":["hashtag1","hashtag2"]},{"1351081769":["hashtag1","hashtag2"]},{"1351081682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351081636, 1351081723, 1351081710, 1351081796, 1351081769, 1351081682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.555981397628784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:07:32.547786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_45_9347.jpg', '/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_55_10452.jpg', '/home/pi/Desktop/images/10042025/05/28/image_10042025_05_29_06_10355.jpg', '/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_15_9353.jpg', '/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_25_10618.jpg', '/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_35_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_45_9347.jpg
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_28_55_10452.jpg
/home/pi/Desktop/images/10042025/05/28/image_10042025_05_29_06_10355.jpg
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_15_9353.jpg
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_25_10618.jpg
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_35_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351081883","1351081876","1351081990","1351081914","1351081902","1351081994"],"photo_ids_order":["1351081876","1351081883","1351081902","1351081914","1351081990","1351081994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/433d61f8cf1ee1f5745ca00ac79488ad.jpg","text":"TemporaryFile(/tmp/multipartBody4345370458078823085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_28_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/937b311dd78771f8fec9e57fd141181d.jpg","text":"TemporaryFile(/tmp/multipartBody4113979205601689743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_28_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9f4b419719936584695c12191b44758.jpg","text":"TemporaryFile(/tmp/multipartBody6125831162390163504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_29_25_10618.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf58c551330c16c88403ec4540e2b92e.jpg","text":"TemporaryFile(/tmp/multipartBody7704324482106341746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_29_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0daa08bdf3a8e68a69a7c0230e46591e.jpg","text":"TemporaryFile(/tmp/multipartBody2208612919531456390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_29_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b6a6b3bc1e17d33e6d4157b8f393303.jpg","text":"TemporaryFile(/tmp/multipartBody3087743282400175024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268913075,"filename":"image_10042025_05_29_35_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351081902","file1":"1351081883","file0":"1351081876","file4":"1351081990","file5":"1351081994","file3":"1351081914"},"map_files_photo_id_array":[{"photo_id":"1351081994","filename":"file5"},{"photo_id":"1351081902","filename":"file2"},{"photo_id":"1351081990","filename":"file4"},{"photo_id":"1351081883","filename":"file1"},{"photo_id":"1351081876","filename":"file0"},{"photo_id":"1351081914","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351081883":["hashtag1","hashtag2"]},{"1351081876":["hashtag1","hashtag2"]},{"1351081990":["hashtag1","hashtag2"]},{"1351081914":["hashtag1","hashtag2"]},{"1351081902":["hashtag1","hashtag2"]},{"1351081994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351081883, 1351081876, 1351081990, 1351081914, 1351081902, 1351081994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89111018180847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:08:32.789596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_45_10431.jpg', '/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_55_9364.jpg', '/home/pi/Desktop/images/10042025/05/29/image_10042025_05_30_05_10366.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_15_10377.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_25_9368.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_45_10431.jpg
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_29_55_9364.jpg
/home/pi/Desktop/images/10042025/05/29/image_10042025_05_30_05_10366.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_15_10377.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_25_9368.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351082209","1351082302","1351082235","1351082103","1351082180","1351082267"],"photo_ids_order":["1351082103","1351082180","1351082209","1351082235","1351082267","1351082302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eba10f6ccb7a1538b50f228667074f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4400556587945885861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_30_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef68295671914829d0fdd0141fda224c.jpg","text":"TemporaryFile(/tmp/multipartBody1138827971097693478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_30_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3add090ce3a3eda634c20fafbf312ae.jpg","text":"TemporaryFile(/tmp/multipartBody1132680503517120564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_30_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea6911fc90e4fca885342b74d132f950.jpg","text":"TemporaryFile(/tmp/multipartBody275605061853313134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_29_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57aba4dc8692587c564a44b69d633f10.jpg","text":"TemporaryFile(/tmp/multipartBody408968885882713765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_29_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74fba67f76c02ac3abcdb9dc505bc992.jpg","text":"TemporaryFile(/tmp/multipartBody8559190765806845750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744268973311,"filename":"image_10042025_05_30_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351082209","file1":"1351082180","file0":"1351082103","file4":"1351082267","file5":"1351082302","file3":"1351082235"},"map_files_photo_id_array":[{"photo_id":"1351082302","filename":"file5"},{"photo_id":"1351082209","filename":"file2"},{"photo_id":"1351082267","filename":"file4"},{"photo_id":"1351082180","filename":"file1"},{"photo_id":"1351082103","filename":"file0"},{"photo_id":"1351082235","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351082209":["hashtag1","hashtag2"]},{"1351082302":["hashtag1","hashtag2"]},{"1351082235":["hashtag1","hashtag2"]},{"1351082103":["hashtag1","hashtag2"]},{"1351082180":["hashtag1","hashtag2"]},{"1351082267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351082209, 1351082302, 1351082235, 1351082103, 1351082180, 1351082267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09605813026428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:09:33.032172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_46_10467.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_55_9369.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_31_05_10368.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_15_9356.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_25_10368.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_36_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_46_10467.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_55_9369.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_31_05_10368.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_15_9356.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_25_10368.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_36_10437.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4507019519805908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 09:09:42.891347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_46_10467.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_55_9369.jpg', '/home/pi/Desktop/images/10042025/05/30/image_10042025_05_31_05_10368.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_15_9356.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_25_10368.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_36_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_46_10467.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_30_55_9369.jpg
/home/pi/Desktop/images/10042025/05/30/image_10042025_05_31_05_10368.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_15_9356.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_25_10368.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_36_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351082633","1351082606","1351082563","1351082491","1351082541","1351082654"],"photo_ids_order":["1351082491","1351082541","1351082563","1351082606","1351082633","1351082654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3624de713f5c08452215c61510b458c.jpg","text":"TemporaryFile(/tmp/multipartBody6574240565559109841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_31_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6aa1a247ba9880823b80ec64eb8c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody425822354242616759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_31_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d7cbd680470dbf65825993e92a985b9.jpg","text":"TemporaryFile(/tmp/multipartBody6881901252861908885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_31_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02d6711e7605006d861c4646a22cb871.jpg","text":"TemporaryFile(/tmp/multipartBody5057024744060080338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_30_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d818be8f538670a53f242577ad3f6f63.jpg","text":"TemporaryFile(/tmp/multipartBody9198102383105357593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_30_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca96475c59dde54f5d2350cf3ad7f961.jpg","text":"TemporaryFile(/tmp/multipartBody1837498664541093884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269043342,"filename":"image_10042025_05_31_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351082563","file1":"1351082541","file0":"1351082491","file4":"1351082633","file5":"1351082654","file3":"1351082606"},"map_files_photo_id_array":[{"photo_id":"1351082654","filename":"file5"},{"photo_id":"1351082563","filename":"file2"},{"photo_id":"1351082633","filename":"file4"},{"photo_id":"1351082541","filename":"file1"},{"photo_id":"1351082491","filename":"file0"},{"photo_id":"1351082606","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351082633":["hashtag1","hashtag2"]},{"1351082606":["hashtag1","hashtag2"]},{"1351082563":["hashtag1","hashtag2"]},{"1351082491":["hashtag1","hashtag2"]},{"1351082541":["hashtag1","hashtag2"]},{"1351082654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351082633, 1351082606, 1351082563, 1351082491, 1351082541, 1351082654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54948973655701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:10:32.999292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_45_9350.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_55_10445.jpg', '/home/pi/Desktop/images/10042025/05/31/image_10042025_05_32_06_10352.jpg', '/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_15_9405.jpg', '/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_25_10386.jpg', '/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_35_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_45_9350.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_31_55_10445.jpg
/home/pi/Desktop/images/10042025/05/31/image_10042025_05_32_06_10352.jpg
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_15_9405.jpg
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_25_10386.jpg
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_35_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351082893","1351082995","1351082950","1351082790","1351082820","1351082870"],"photo_ids_order":["1351082790","1351082820","1351082870","1351082893","1351082950","1351082995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d88c00fdb26ce3a71b3d3d5b86b46581.jpg","text":"TemporaryFile(/tmp/multipartBody3549307990942136436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_32_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/daeced5669531d7d84decfe421e5392a.jpg","text":"TemporaryFile(/tmp/multipartBody6906328635702576713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_32_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d8c97ac10748295db9d1141640c0cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4674827062367684908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_32_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c17b779a103fbc0a17dabdb2ad5b8044.jpg","text":"TemporaryFile(/tmp/multipartBody8454721294171854262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_31_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15531481754a7a50d6d615cf8aff968b.jpg","text":"TemporaryFile(/tmp/multipartBody1905266689191044827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_31_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/254c3e0afa95d8780e3476cd41801a98.jpg","text":"TemporaryFile(/tmp/multipartBody5890267626764329413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269093614,"filename":"image_10042025_05_32_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351082870","file1":"1351082820","file0":"1351082790","file4":"1351082950","file5":"1351082995","file3":"1351082893"},"map_files_photo_id_array":[{"photo_id":"1351082995","filename":"file5"},{"photo_id":"1351082870","filename":"file2"},{"photo_id":"1351082950","filename":"file4"},{"photo_id":"1351082820","filename":"file1"},{"photo_id":"1351082790","filename":"file0"},{"photo_id":"1351082893","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351082893":["hashtag1","hashtag2"]},{"1351082995":["hashtag1","hashtag2"]},{"1351082950":["hashtag1","hashtag2"]},{"1351082790":["hashtag1","hashtag2"]},{"1351082820":["hashtag1","hashtag2"]},{"1351082870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351082893, 1351082995, 1351082950, 1351082790, 1351082820, 1351082870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.568809270858765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:11:32.286213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_45_10371.jpg', '/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_56_10411.jpg', '/home/pi/Desktop/images/10042025/05/32/image_10042025_05_33_05_9408.jpg', '/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_15_10449.jpg', '/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_25_9379.jpg', '/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_35_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_45_10371.jpg
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_32_56_10411.jpg
/home/pi/Desktop/images/10042025/05/32/image_10042025_05_33_05_9408.jpg
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_15_10449.jpg
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_25_9379.jpg
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_35_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351083244","1351083165","1351083471","1351083299","1351083138","1351083443"],"photo_ids_order":["1351083138","1351083165","1351083244","1351083299","1351083443","1351083471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a7f440c9678e6febadda509d4827269.jpg","text":"TemporaryFile(/tmp/multipartBody5129561522822212737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_33_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/684e0626dc573f398bc05d960215e62a.jpg","text":"TemporaryFile(/tmp/multipartBody3401102430197174587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_32_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f65f8438ed278bd5d75644694fbd757d.jpg","text":"TemporaryFile(/tmp/multipartBody3520421837047539390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_33_35_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/040ea4eaf67102e90131e4edb46712b3.jpg","text":"TemporaryFile(/tmp/multipartBody8845402408013126794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_33_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6602760cc6df9e8c36e4d240fe40665.jpg","text":"TemporaryFile(/tmp/multipartBody1486446312092478802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_32_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6999eff17a7f693b4d28f406ac2ef42c.jpg","text":"TemporaryFile(/tmp/multipartBody9098723233684560903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269152816,"filename":"image_10042025_05_33_25_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351083244","file1":"1351083165","file0":"1351083138","file4":"1351083443","file5":"1351083471","file3":"1351083299"},"map_files_photo_id_array":[{"photo_id":"1351083471","filename":"file5"},{"photo_id":"1351083244","filename":"file2"},{"photo_id":"1351083443","filename":"file4"},{"photo_id":"1351083165","filename":"file1"},{"photo_id":"1351083138","filename":"file0"},{"photo_id":"1351083299","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351083244":["hashtag1","hashtag2"]},{"1351083165":["hashtag1","hashtag2"]},{"1351083471":["hashtag1","hashtag2"]},{"1351083299":["hashtag1","hashtag2"]},{"1351083138":["hashtag1","hashtag2"]},{"1351083443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351083244, 1351083165, 1351083471, 1351083299, 1351083138, 1351083443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.61029934883118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:12:32.503758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_45_9338.jpg', '/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_55_10502.jpg', '/home/pi/Desktop/images/10042025/05/33/image_10042025_05_34_06_10427.jpg', '/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_15_9424.jpg', '/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_26_10482.jpg', '/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_35_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_45_9338.jpg
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_33_55_10502.jpg
/home/pi/Desktop/images/10042025/05/33/image_10042025_05_34_06_10427.jpg
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_15_9424.jpg
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_26_10482.jpg
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_35_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351083745","1351083693","1351083672","1351083768","1351083641","1351083719"],"photo_ids_order":["1351083641","1351083672","1351083693","1351083719","1351083745","1351083768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4aa1a684a99cc97b5cb3e934f4b56fb.jpg","text":"TemporaryFile(/tmp/multipartBody6821119431864948437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_34_26_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27b8d64b0405c629be851226a7948f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7509608528159215173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_34_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8c81bfbd5dde1e37fa602c9ec137a34.jpg","text":"TemporaryFile(/tmp/multipartBody7721208774503239395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_33_55_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73ca8867656ca7a4e96ca71a3011b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody3752149533063204618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_34_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05b58ffac15a5b89bd86e186aa00e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody5049017681182546274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_33_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd0c669affb96b7e1cd91a4f6603aabc.jpg","text":"TemporaryFile(/tmp/multipartBody1048769770701649848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269213050,"filename":"image_10042025_05_34_15_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351083693","file1":"1351083672","file0":"1351083641","file4":"1351083745","file5":"1351083768","file3":"1351083719"},"map_files_photo_id_array":[{"photo_id":"1351083768","filename":"file5"},{"photo_id":"1351083693","filename":"file2"},{"photo_id":"1351083745","filename":"file4"},{"photo_id":"1351083672","filename":"file1"},{"photo_id":"1351083641","filename":"file0"},{"photo_id":"1351083719","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351083745":["hashtag1","hashtag2"]},{"1351083693":["hashtag1","hashtag2"]},{"1351083672":["hashtag1","hashtag2"]},{"1351083768":["hashtag1","hashtag2"]},{"1351083641":["hashtag1","hashtag2"]},{"1351083719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351083745, 1351083693, 1351083672, 1351083768, 1351083641, 1351083719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52378439903259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:13:32.655318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_45_10494.jpg', '/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_55_9376.jpg', '/home/pi/Desktop/images/10042025/05/34/image_10042025_05_35_05_10421.jpg', '/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_16_10390.jpg', '/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_25_9377.jpg', '/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_35_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_45_10494.jpg
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_34_55_9376.jpg
/home/pi/Desktop/images/10042025/05/34/image_10042025_05_35_05_10421.jpg
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_16_10390.jpg
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_25_9377.jpg
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_35_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351083975","1351084043","1351084127","1351084096","1351084027","1351084015"],"photo_ids_order":["1351083975","1351084015","1351084027","1351084043","1351084096","1351084127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc6fcf6ddd6708d713ac1dd70ef8baca.jpg","text":"TemporaryFile(/tmp/multipartBody3485264231408552224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_34_45_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/920f5a1b43e1ad900f3b907983834b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6808787356265105295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_35_16_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6805a9fec0a87f03067fd820647220ce.jpg","text":"TemporaryFile(/tmp/multipartBody7441350113379688405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_35_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3665711e32495ce0a74e4355a9b356b.jpg","text":"TemporaryFile(/tmp/multipartBody354517060873420110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_35_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1d8ba52c770fdee61b46a899c9a0812.jpg","text":"TemporaryFile(/tmp/multipartBody5457152479803686428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_35_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a597fc2fa2f10233174d6fecf5ed25d2.jpg","text":"TemporaryFile(/tmp/multipartBody2813149902790199789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269273185,"filename":"image_10042025_05_34_55_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351084027","file1":"1351084015","file0":"1351083975","file4":"1351084096","file5":"1351084127","file3":"1351084043"},"map_files_photo_id_array":[{"photo_id":"1351084127","filename":"file5"},{"photo_id":"1351084027","filename":"file2"},{"photo_id":"1351084096","filename":"file4"},{"photo_id":"1351084015","filename":"file1"},{"photo_id":"1351083975","filename":"file0"},{"photo_id":"1351084043","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351083975":["hashtag1","hashtag2"]},{"1351084043":["hashtag1","hashtag2"]},{"1351084127":["hashtag1","hashtag2"]},{"1351084096":["hashtag1","hashtag2"]},{"1351084027":["hashtag1","hashtag2"]},{"1351084015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351083975, 1351084043, 1351084127, 1351084096, 1351084027, 1351084015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45813608169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:14:32.923590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_45_9336.jpg', '/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_55_10376.jpg', '/home/pi/Desktop/images/10042025/05/35/image_10042025_05_36_06_10446.jpg', '/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_15_9270.jpg', '/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_25_10502.jpg', '/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_35_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_45_9336.jpg
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_35_55_10376.jpg
/home/pi/Desktop/images/10042025/05/35/image_10042025_05_36_06_10446.jpg
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_15_9270.jpg
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_25_10502.jpg
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_35_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351084513","1351084482","1351084494","1351084427","1351084468","1351084459"],"photo_ids_order":["1351084427","1351084459","1351084468","1351084482","1351084494","1351084513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a24e21b646a7f6e884ab44e51b2fa6d.jpg","text":"TemporaryFile(/tmp/multipartBody177952051678314045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_36_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2397b6fb7802ee55550526e75677b844.jpg","text":"TemporaryFile(/tmp/multipartBody8690247209330639284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_36_15_9270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc90221075b2a4d58c3b0d5c40947a99.jpg","text":"TemporaryFile(/tmp/multipartBody9188117531311666993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_36_25_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fa7e08e129253580956c1f916b06a42.jpg","text":"TemporaryFile(/tmp/multipartBody5362090910263126647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_35_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7965d4b0bdf00f3e9a4c2a87129168f1.jpg","text":"TemporaryFile(/tmp/multipartBody8475842507226419308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_36_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a70aa73cd2cc83733abf7adcbd19cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6169564497544738413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269333553,"filename":"image_10042025_05_35_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351084468","file1":"1351084459","file0":"1351084427","file4":"1351084494","file5":"1351084513","file3":"1351084482"},"map_files_photo_id_array":[{"photo_id":"1351084513","filename":"file5"},{"photo_id":"1351084468","filename":"file2"},{"photo_id":"1351084494","filename":"file4"},{"photo_id":"1351084459","filename":"file1"},{"photo_id":"1351084427","filename":"file0"},{"photo_id":"1351084482","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351084513":["hashtag1","hashtag2"]},{"1351084482":["hashtag1","hashtag2"]},{"1351084494":["hashtag1","hashtag2"]},{"1351084427":["hashtag1","hashtag2"]},{"1351084468":["hashtag1","hashtag2"]},{"1351084459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351084513, 1351084482, 1351084494, 1351084427, 1351084468, 1351084459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.595897912979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:15:32.975389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_45_10390.jpg', '/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_56_10459.jpg', '/home/pi/Desktop/images/10042025/05/36/image_10042025_05_37_05_9395.jpg', '/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_15_10450.jpg', '/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_25_9368.jpg', '/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_45_10390.jpg
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_36_56_10459.jpg
/home/pi/Desktop/images/10042025/05/36/image_10042025_05_37_05_9395.jpg
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_15_10450.jpg
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_25_9368.jpg
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_35_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351084705","1351084731","1351084748","1351084700","1351084648","1351084735"],"photo_ids_order":["1351084648","1351084700","1351084705","1351084731","1351084735","1351084748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/094474791d42a436237e65c83e987bc3.jpg","text":"TemporaryFile(/tmp/multipartBody397278792692878922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_37_05_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11590225c98893884fa13cdde6caf1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1710449610791506670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_37_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8c74ce5be3c4f0aded1452115f256f6.jpg","text":"TemporaryFile(/tmp/multipartBody618972736302028853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_37_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea379d871918d2b71b0f65f31b8bd5db.jpg","text":"TemporaryFile(/tmp/multipartBody7089457884118540194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_36_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/594f2ce0e5072a8332265b32f7bdf06e.jpg","text":"TemporaryFile(/tmp/multipartBody8771003666627599221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_36_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0edb16cd5ef0efe75c06ee68e2b156d6.jpg","text":"TemporaryFile(/tmp/multipartBody2819764030931574654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269393516,"filename":"image_10042025_05_37_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351084705","file1":"1351084700","file0":"1351084648","file4":"1351084735","file5":"1351084748","file3":"1351084731"},"map_files_photo_id_array":[{"photo_id":"1351084748","filename":"file5"},{"photo_id":"1351084705","filename":"file2"},{"photo_id":"1351084735","filename":"file4"},{"photo_id":"1351084700","filename":"file1"},{"photo_id":"1351084648","filename":"file0"},{"photo_id":"1351084731","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351084705":["hashtag1","hashtag2"]},{"1351084731":["hashtag1","hashtag2"]},{"1351084748":["hashtag1","hashtag2"]},{"1351084700":["hashtag1","hashtag2"]},{"1351084648":["hashtag1","hashtag2"]},{"1351084735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351084705, 1351084731, 1351084748, 1351084700, 1351084648, 1351084735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.412718057632446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:16:32.259248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_46_10428.jpg', '/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_55_9377.jpg', '/home/pi/Desktop/images/10042025/05/37/image_10042025_05_38_05_10374.jpg', '/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_15_9350.jpg', '/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_25_10380.jpg', '/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_46_10428.jpg
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_37_55_9377.jpg
/home/pi/Desktop/images/10042025/05/37/image_10042025_05_38_05_10374.jpg
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_15_9350.jpg
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_25_10380.jpg
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_35_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351084905","1351085150","1351085072","1351084856","1351084975","1351084834"],"photo_ids_order":["1351084834","1351084856","1351084905","1351084975","1351085072","1351085150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0579c858cb98ef86dcfe822f277da805.jpg","text":"TemporaryFile(/tmp/multipartBody6227946161995682352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_38_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c45d645a6d45d981a6a0327e7da19ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2904030837268481165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_38_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b660a7a4a1625781ccaec9e46dc20aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3390422887150625952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_38_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/132398c362149552b2fb96553a383784.jpg","text":"TemporaryFile(/tmp/multipartBody6044302159672478444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_37_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dec0fc128b3e24a1c2588335114ea533.jpg","text":"TemporaryFile(/tmp/multipartBody2355310240669246740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_38_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02c7d6805861c0e744834b540bebbcdc.jpg","text":"TemporaryFile(/tmp/multipartBody3124005876339329376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269452791,"filename":"image_10042025_05_37_46_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351084905","file1":"1351084856","file0":"1351084834","file4":"1351085072","file5":"1351085150","file3":"1351084975"},"map_files_photo_id_array":[{"photo_id":"1351085150","filename":"file5"},{"photo_id":"1351084905","filename":"file2"},{"photo_id":"1351085072","filename":"file4"},{"photo_id":"1351084856","filename":"file1"},{"photo_id":"1351084834","filename":"file0"},{"photo_id":"1351084975","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351084905":["hashtag1","hashtag2"]},{"1351085150":["hashtag1","hashtag2"]},{"1351085072":["hashtag1","hashtag2"]},{"1351084856":["hashtag1","hashtag2"]},{"1351084975":["hashtag1","hashtag2"]},{"1351084834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351084905, 1351085150, 1351085072, 1351084856, 1351084975, 1351084834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37767219543457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:17:32.477491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_45_9351.jpg', '/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_55_10387.jpg', '/home/pi/Desktop/images/10042025/05/38/image_10042025_05_39_06_10480.jpg', '/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_15_9361.jpg', '/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_26_10466.jpg', '/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_35_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_45_9351.jpg
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_38_55_10387.jpg
/home/pi/Desktop/images/10042025/05/38/image_10042025_05_39_06_10480.jpg
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_15_9361.jpg
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_26_10466.jpg
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_35_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351085535","1351085396","1351085603","1351085504","1351085578","1351085440"],"photo_ids_order":["1351085396","1351085440","1351085504","1351085535","1351085578","1351085603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2e7542dae3b4d481d6e398f30731fff.jpg","text":"TemporaryFile(/tmp/multipartBody6968730489842419817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_39_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cc9db63f3f08c4b620cbc02cdab98bf.jpg","text":"TemporaryFile(/tmp/multipartBody7426597082588056543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_38_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bae90f1415fc286f0c190192d57daa6.jpg","text":"TemporaryFile(/tmp/multipartBody4933943341979783514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_39_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc0ca93b2aa40a57fcde2fc242d0b9ff.jpg","text":"TemporaryFile(/tmp/multipartBody1442780144662553844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_39_06_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/279b4988907f173f062348fe544ed904.jpg","text":"TemporaryFile(/tmp/multipartBody8272883931987337663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_39_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e61f3bb78b203d7f2e32f9911e5ad7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7737575181769955096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269513005,"filename":"image_10042025_05_38_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351085504","file1":"1351085440","file0":"1351085396","file4":"1351085578","file5":"1351085603","file3":"1351085535"},"map_files_photo_id_array":[{"photo_id":"1351085603","filename":"file5"},{"photo_id":"1351085504","filename":"file2"},{"photo_id":"1351085578","filename":"file4"},{"photo_id":"1351085440","filename":"file1"},{"photo_id":"1351085396","filename":"file0"},{"photo_id":"1351085535","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351085535":["hashtag1","hashtag2"]},{"1351085396":["hashtag1","hashtag2"]},{"1351085603":["hashtag1","hashtag2"]},{"1351085504":["hashtag1","hashtag2"]},{"1351085578":["hashtag1","hashtag2"]},{"1351085440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351085535, 1351085396, 1351085603, 1351085504, 1351085578, 1351085440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09258317947388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:18:32.777682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_45_10411.jpg', '/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_56_10376.jpg', '/home/pi/Desktop/images/10042025/05/39/image_10042025_05_40_05_9367.jpg', '/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_16_10443.jpg', '/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_25_9406.jpg', '/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_35_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_45_10411.jpg
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_39_56_10376.jpg
/home/pi/Desktop/images/10042025/05/39/image_10042025_05_40_05_9367.jpg
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_16_10443.jpg
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_25_9406.jpg
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_35_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351085835","1351085859","1351085782","1351085878","1351085818","1351085848"],"photo_ids_order":["1351085782","1351085818","1351085835","1351085848","1351085859","1351085878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/083a6ee312405e04ff0ee4aaf29d88f5.jpg","text":"TemporaryFile(/tmp/multipartBody6137719690144005912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_40_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9bf2770b8eaec943022ca5911612cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1685310432572676322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_40_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f1639b2908ed31aa199262f7a3d81c0.jpg","text":"TemporaryFile(/tmp/multipartBody1916345241052706014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_39_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/884a7730148c76299ef19f03d55e2130.jpg","text":"TemporaryFile(/tmp/multipartBody3409811391439159767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_40_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3884e002ce70ed58c083476115ede73d.jpg","text":"TemporaryFile(/tmp/multipartBody8950758230597404641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_39_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d5650a765c93ff20dc511573f3e258d.jpg","text":"TemporaryFile(/tmp/multipartBody3792635158538769777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269573313,"filename":"image_10042025_05_40_16_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351085835","file1":"1351085818","file0":"1351085782","file4":"1351085859","file5":"1351085878","file3":"1351085848"},"map_files_photo_id_array":[{"photo_id":"1351085878","filename":"file5"},{"photo_id":"1351085835","filename":"file2"},{"photo_id":"1351085859","filename":"file4"},{"photo_id":"1351085818","filename":"file1"},{"photo_id":"1351085782","filename":"file0"},{"photo_id":"1351085848","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351085835":["hashtag1","hashtag2"]},{"1351085859":["hashtag1","hashtag2"]},{"1351085782":["hashtag1","hashtag2"]},{"1351085878":["hashtag1","hashtag2"]},{"1351085818":["hashtag1","hashtag2"]},{"1351085848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351085835, 1351085859, 1351085782, 1351085878, 1351085818, 1351085848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44355535507202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:19:32.891268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_45_9432.jpg', '/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_55_10451.jpg', '/home/pi/Desktop/images/10042025/05/40/image_10042025_05_41_06_10406.jpg', '/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_15_9362.jpg', '/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_25_10400.jpg', '/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_35_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_45_9432.jpg
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_40_55_10451.jpg
/home/pi/Desktop/images/10042025/05/40/image_10042025_05_41_06_10406.jpg
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_15_9362.jpg
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_25_10400.jpg
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_35_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351086117","1351086172","1351086133","1351086034","1351086081","1351086162"],"photo_ids_order":["1351086034","1351086081","1351086117","1351086133","1351086162","1351086172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfcf5da0749f5a14646aa65be2cdfa9f.jpg","text":"TemporaryFile(/tmp/multipartBody3508261496270242042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_41_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ce327b5d5fe864c6fa61fd578136387.jpg","text":"TemporaryFile(/tmp/multipartBody2784863490164223339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_41_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27159fce4c9c7ac94b49f343f470d02c.jpg","text":"TemporaryFile(/tmp/multipartBody3617270627156216932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_41_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5895ac4f31bc5a2f568ef2abad282f33.jpg","text":"TemporaryFile(/tmp/multipartBody6916115700547864703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_40_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b687b789a02dfdb2351b8b4d9d290d16.jpg","text":"TemporaryFile(/tmp/multipartBody9130140894202546769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_40_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e48f099fdb2b5eab0fb57290b8ef353a.jpg","text":"TemporaryFile(/tmp/multipartBody2297424857766960188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269633417,"filename":"image_10042025_05_41_25_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351086117","file1":"1351086081","file0":"1351086034","file4":"1351086162","file5":"1351086172","file3":"1351086133"},"map_files_photo_id_array":[{"photo_id":"1351086172","filename":"file5"},{"photo_id":"1351086117","filename":"file2"},{"photo_id":"1351086162","filename":"file4"},{"photo_id":"1351086081","filename":"file1"},{"photo_id":"1351086034","filename":"file0"},{"photo_id":"1351086133","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351086117":["hashtag1","hashtag2"]},{"1351086172":["hashtag1","hashtag2"]},{"1351086133":["hashtag1","hashtag2"]},{"1351086034":["hashtag1","hashtag2"]},{"1351086081":["hashtag1","hashtag2"]},{"1351086162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351086117, 1351086172, 1351086133, 1351086034, 1351086081, 1351086162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.484222173690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:20:33.157473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_45_10408.jpg', '/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_56_10395.jpg', '/home/pi/Desktop/images/10042025/05/41/image_10042025_05_42_05_9357.jpg', '/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_15_10431.jpg', '/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_25_9377.jpg', '/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_45_10408.jpg
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_41_56_10395.jpg
/home/pi/Desktop/images/10042025/05/41/image_10042025_05_42_05_9357.jpg
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_15_10431.jpg
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_25_9377.jpg
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351086429","1351086374","1351086347","1351086449","1351086397","1351086453"],"photo_ids_order":["1351086347","1351086374","1351086397","1351086429","1351086449","1351086453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/569054a28249ed2d92892cb6733afc83.jpg","text":"TemporaryFile(/tmp/multipartBody7444035221318129756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_42_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d75ded0160be14ad1bc1b2d6eb906a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4978617268629089650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_41_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ac1bc3c84afdab7d1c0b6cf90bb7803.jpg","text":"TemporaryFile(/tmp/multipartBody8875566535086211194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_41_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a415f83a73051decfee41ad06fbe197.jpg","text":"TemporaryFile(/tmp/multipartBody4930775616378998788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_42_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9832bfc043e56ef9af0fb7f49f2cdf30.jpg","text":"TemporaryFile(/tmp/multipartBody739307050979835031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_42_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79b3eb852cde0edb08063ba4df3d2b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3428866529897367863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269693682,"filename":"image_10042025_05_42_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351086397","file1":"1351086374","file0":"1351086347","file4":"1351086449","file5":"1351086453","file3":"1351086429"},"map_files_photo_id_array":[{"photo_id":"1351086453","filename":"file5"},{"photo_id":"1351086397","filename":"file2"},{"photo_id":"1351086449","filename":"file4"},{"photo_id":"1351086374","filename":"file1"},{"photo_id":"1351086347","filename":"file0"},{"photo_id":"1351086429","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351086429":["hashtag1","hashtag2"]},{"1351086374":["hashtag1","hashtag2"]},{"1351086347":["hashtag1","hashtag2"]},{"1351086449":["hashtag1","hashtag2"]},{"1351086397":["hashtag1","hashtag2"]},{"1351086453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351086429, 1351086374, 1351086347, 1351086449, 1351086397, 1351086453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63706302642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:21:32.490632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_46_10465.jpg', '/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_55_9370.jpg', '/home/pi/Desktop/images/10042025/05/42/image_10042025_05_43_05_10431.jpg', '/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_15_9398.jpg', '/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_25_10377.jpg', '/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_36_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_46_10465.jpg
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_42_55_9370.jpg
/home/pi/Desktop/images/10042025/05/42/image_10042025_05_43_05_10431.jpg
/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_15_9398.jpg
/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_25_10377.jpg
/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351086659","1351086722","1351086704","1351086631","1351086690","1351086616"],"photo_ids_order":["1351086616","1351086631","1351086659","1351086690","1351086704","1351086722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d111e7665566d91ac19587acfb061872.jpg","text":"TemporaryFile(/tmp/multipartBody2970616435262950698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_43_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23bba94bb83211db5396b1e43553bfca.jpg","text":"TemporaryFile(/tmp/multipartBody2248277843789518468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_43_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f88dd0776c4044fe666a0c9056c5d93.jpg","text":"TemporaryFile(/tmp/multipartBody4489840601571230892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_43_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8235892fcf0fa2b9fc069cf9f6c03ca.jpg","text":"TemporaryFile(/tmp/multipartBody6507154519613610914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_42_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59e03bc90ec79faf6cdabc8c4fc91958.jpg","text":"TemporaryFile(/tmp/multipartBody4699611975573236991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_43_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efac8843019bdd2ce8bff4ec6d83561f.jpg","text":"TemporaryFile(/tmp/multipartBody7237886884431466365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269753016,"filename":"image_10042025_05_42_46_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351086659","file1":"1351086631","file0":"1351086616","file4":"1351086704","file5":"1351086722","file3":"1351086690"},"map_files_photo_id_array":[{"photo_id":"1351086722","filename":"file5"},{"photo_id":"1351086659","filename":"file2"},{"photo_id":"1351086704","filename":"file4"},{"photo_id":"1351086631","filename":"file1"},{"photo_id":"1351086616","filename":"file0"},{"photo_id":"1351086690","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351086659":["hashtag1","hashtag2"]},{"1351086722":["hashtag1","hashtag2"]},{"1351086704":["hashtag1","hashtag2"]},{"1351086631":["hashtag1","hashtag2"]},{"1351086690":["hashtag1","hashtag2"]},{"1351086616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351086659, 1351086722, 1351086704, 1351086631, 1351086690, 1351086616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9078893661499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:22:32.580922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_55_10454.jpg', '/home/pi/Desktop/images/10042025/05/43/image_10042025_05_44_06_10359.jpg', '/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_15_9361.jpg', '/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_25_10391.jpg', '/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_35_9344.jpg', '/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/43/image_10042025_05_43_55_10454.jpg
/home/pi/Desktop/images/10042025/05/43/image_10042025_05_44_06_10359.jpg
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_15_9361.jpg
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_25_10391.jpg
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_35_9344.jpg
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_45_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351087220","1351087121","1351087066","1351087351","1351087185","1351087200"],"photo_ids_order":["1351087066","1351087121","1351087185","1351087200","1351087220","1351087351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3231499b1f707ab6f7cfc124824093d5.jpg","text":"TemporaryFile(/tmp/multipartBody1389785984590227334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_44_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38e752d429fdeea1b1d6a914748fbe95.jpg","text":"TemporaryFile(/tmp/multipartBody2449488984731315107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_44_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bb1c0873c623eb754842de4b5102be8.jpg","text":"TemporaryFile(/tmp/multipartBody2090607629044351698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_43_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c2dddab012fd6f7f76dab5df1438412.jpg","text":"TemporaryFile(/tmp/multipartBody1576634611429617268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_44_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57c8c7a19c8b9b136e4251aad42f83a1.jpg","text":"TemporaryFile(/tmp/multipartBody5890132788242721744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_44_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/326fa02c72b0c21004e58e2df5edfcdb.jpg","text":"TemporaryFile(/tmp/multipartBody3868968108311573392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269813102,"filename":"image_10042025_05_44_25_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351087185","file1":"1351087121","file0":"1351087066","file4":"1351087220","file5":"1351087351","file3":"1351087200"},"map_files_photo_id_array":[{"photo_id":"1351087351","filename":"file5"},{"photo_id":"1351087185","filename":"file2"},{"photo_id":"1351087220","filename":"file4"},{"photo_id":"1351087121","filename":"file1"},{"photo_id":"1351087066","filename":"file0"},{"photo_id":"1351087200","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351087220":["hashtag1","hashtag2"]},{"1351087121":["hashtag1","hashtag2"]},{"1351087066":["hashtag1","hashtag2"]},{"1351087351":["hashtag1","hashtag2"]},{"1351087185":["hashtag1","hashtag2"]},{"1351087200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351087220, 1351087121, 1351087066, 1351087351, 1351087185, 1351087200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.419132471084595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:23:32.893478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_56_10441.jpg', '/home/pi/Desktop/images/10042025/05/44/image_10042025_05_45_05_9337.jpg', '/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_15_10409.jpg', '/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_25_9371.jpg', '/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_35_10380.jpg', '/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_46_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_44_56_10441.jpg
/home/pi/Desktop/images/10042025/05/44/image_10042025_05_45_05_9337.jpg
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_15_10409.jpg
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_25_9371.jpg
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_35_10380.jpg
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_46_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351087619","1351087795","1351087873","1351087755","1351087686","1351087542"],"photo_ids_order":["1351087542","1351087619","1351087686","1351087755","1351087795","1351087873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/060ee0960c4b37d558c20de22ed647b4.jpg","text":"TemporaryFile(/tmp/multipartBody237030021568424479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_45_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0751396fc3f4855e662b2698c1b328b.jpg","text":"TemporaryFile(/tmp/multipartBody4326170782830232585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_45_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e92d269a0004ca66eb49e1411567b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody7462027336630717670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_45_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/736c4bb7f340d3439b985763038f41b3.jpg","text":"TemporaryFile(/tmp/multipartBody4773668624327615458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_45_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1d3624e8eefb83e47440174380d0b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6514101689651335146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_45_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5596c106663975bc1a43581de8848cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8070762869632895400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269873430,"filename":"image_10042025_05_44_56_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351087686","file1":"1351087619","file0":"1351087542","file4":"1351087795","file5":"1351087873","file3":"1351087755"},"map_files_photo_id_array":[{"photo_id":"1351087873","filename":"file5"},{"photo_id":"1351087686","filename":"file2"},{"photo_id":"1351087795","filename":"file4"},{"photo_id":"1351087619","filename":"file1"},{"photo_id":"1351087542","filename":"file0"},{"photo_id":"1351087755","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351087619":["hashtag1","hashtag2"]},{"1351087795":["hashtag1","hashtag2"]},{"1351087873":["hashtag1","hashtag2"]},{"1351087755":["hashtag1","hashtag2"]},{"1351087686":["hashtag1","hashtag2"]},{"1351087542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351087619, 1351087795, 1351087873, 1351087755, 1351087686, 1351087542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.531132221221924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:24:33.059409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_55_9450.jpg', '/home/pi/Desktop/images/10042025/05/45/image_10042025_05_46_05_10371.jpg', '/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_15_9362.jpg', '/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_25_10367.jpg', '/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_36_10387.jpg', '/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_45_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_45_55_9450.jpg
/home/pi/Desktop/images/10042025/05/45/image_10042025_05_46_05_10371.jpg
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_15_9362.jpg
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_25_10367.jpg
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_36_10387.jpg
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_45_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351087969","1351088029","1351088163","1351088079","1351087994","1351088054"],"photo_ids_order":["1351087969","1351087994","1351088029","1351088054","1351088079","1351088163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de48f29bb3e41ac3fd4304d63f251d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2630341265552868400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_45_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35957b6e3faf4f044ccf611727d1eb42.jpg","text":"TemporaryFile(/tmp/multipartBody8606068510603317353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_46_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9982e6aa0c2bf62068395bf6d6c77d27.jpg","text":"TemporaryFile(/tmp/multipartBody7255420837597185612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_46_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0450a780ea20d986938f20d29facaf42.jpg","text":"TemporaryFile(/tmp/multipartBody3312208178512303315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_46_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dc3e9c44a1eca1f8fc767ca12116904.jpg","text":"TemporaryFile(/tmp/multipartBody9157986585966113309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_46_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1686a3d2c980c07c7906a6578d9e83dc.jpg","text":"TemporaryFile(/tmp/multipartBody8845157327074953472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269933581,"filename":"image_10042025_05_46_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351088029","file1":"1351087994","file0":"1351087969","file4":"1351088079","file5":"1351088163","file3":"1351088054"},"map_files_photo_id_array":[{"photo_id":"1351088163","filename":"file5"},{"photo_id":"1351088029","filename":"file2"},{"photo_id":"1351088079","filename":"file4"},{"photo_id":"1351087994","filename":"file1"},{"photo_id":"1351087969","filename":"file0"},{"photo_id":"1351088054","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351087969":["hashtag1","hashtag2"]},{"1351088029":["hashtag1","hashtag2"]},{"1351088163":["hashtag1","hashtag2"]},{"1351088079":["hashtag1","hashtag2"]},{"1351087994":["hashtag1","hashtag2"]},{"1351088054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351087969, 1351088029, 1351088163, 1351088079, 1351087994, 1351088054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88568592071533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:25:32.327901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_55_10439.jpg', '/home/pi/Desktop/images/10042025/05/46/image_10042025_05_47_05_9400.jpg', '/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_15_10368.jpg', '/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_35_9366.jpg', '/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_45_10380.jpg', '/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_55_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_46_55_10439.jpg
/home/pi/Desktop/images/10042025/05/46/image_10042025_05_47_05_9400.jpg
/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_15_10368.jpg
/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_35_9366.jpg
/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_45_10380.jpg
/home/pi/Desktop/images/10042025/05/47/image_10042025_05_47_55_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351088398","1351088449","1351088559","1351088372","1351088510","1351088426"],"photo_ids_order":["1351088372","1351088398","1351088426","1351088449","1351088510","1351088559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ab1f05598af99b362c51cfacf536af1.jpg","text":"TemporaryFile(/tmp/multipartBody3488374147277888983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_47_05_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93a6d817439e113d0616ed3f0c79e23c.jpg","text":"TemporaryFile(/tmp/multipartBody3753819074941059884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_47_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51c5eab5d3a655793404f77fd784b29c.jpg","text":"TemporaryFile(/tmp/multipartBody2482498128839978461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_47_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bdefbf84a7eff14a93bec778d024f9d.jpg","text":"TemporaryFile(/tmp/multipartBody2950983237923260261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_46_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86df27eb9a391cc7e5ff28345da0bc86.jpg","text":"TemporaryFile(/tmp/multipartBody8453020827233527911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_47_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbef31ea9da567bf4ef75f24250ef293.jpg","text":"TemporaryFile(/tmp/multipartBody5775892296772062236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744269992832,"filename":"image_10042025_05_47_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351088426","file1":"1351088398","file0":"1351088372","file4":"1351088510","file5":"1351088559","file3":"1351088449"},"map_files_photo_id_array":[{"photo_id":"1351088559","filename":"file5"},{"photo_id":"1351088426","filename":"file2"},{"photo_id":"1351088510","filename":"file4"},{"photo_id":"1351088398","filename":"file1"},{"photo_id":"1351088372","filename":"file0"},{"photo_id":"1351088449","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351088398":["hashtag1","hashtag2"]},{"1351088449":["hashtag1","hashtag2"]},{"1351088559":["hashtag1","hashtag2"]},{"1351088372":["hashtag1","hashtag2"]},{"1351088510":["hashtag1","hashtag2"]},{"1351088426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351088398, 1351088449, 1351088559, 1351088372, 1351088510, 1351088426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.027106046676636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:26:32.461931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/47/image_10042025_05_48_05_10388.jpg', '/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_16_10457.jpg', '/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_25_9384.jpg', '/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_35_10380.jpg', '/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_45_9359.jpg', '/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/47/image_10042025_05_48_05_10388.jpg
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_16_10457.jpg
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_25_9384.jpg
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_35_10380.jpg
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_45_9359.jpg
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_48_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351088860","1351088809","1351088784","1351088838","1351088927","1351088900"],"photo_ids_order":["1351088784","1351088809","1351088838","1351088860","1351088900","1351088927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a19d7e2ebfa97eae7c302b8c943bce2.jpg","text":"TemporaryFile(/tmp/multipartBody3231426076274882199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6869cf032753433d31cd84ec090fabe7.jpg","text":"TemporaryFile(/tmp/multipartBody8547554225205343780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_16_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f666d64bf179b40f6c66cdde7c0d02b.jpg","text":"TemporaryFile(/tmp/multipartBody4691060960262477147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2e2cb05ca9f07a069c438fa63dde413.jpg","text":"TemporaryFile(/tmp/multipartBody4021685187900834903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_25_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a728ad6657410b916b354b3486776627.jpg","text":"TemporaryFile(/tmp/multipartBody6938064827022807704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f26cb8618ddca901fa3bfc2fcfe6c48b.jpg","text":"TemporaryFile(/tmp/multipartBody2129833976680926550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270052983,"filename":"image_10042025_05_48_45_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351088838","file1":"1351088809","file0":"1351088784","file4":"1351088900","file5":"1351088927","file3":"1351088860"},"map_files_photo_id_array":[{"photo_id":"1351088927","filename":"file5"},{"photo_id":"1351088838","filename":"file2"},{"photo_id":"1351088900","filename":"file4"},{"photo_id":"1351088809","filename":"file1"},{"photo_id":"1351088784","filename":"file0"},{"photo_id":"1351088860","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351088860":["hashtag1","hashtag2"]},{"1351088809":["hashtag1","hashtag2"]},{"1351088784":["hashtag1","hashtag2"]},{"1351088838":["hashtag1","hashtag2"]},{"1351088927":["hashtag1","hashtag2"]},{"1351088900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351088860, 1351088809, 1351088784, 1351088838, 1351088927, 1351088900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.031834840774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:27:32.680150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/48/image_10042025_05_49_06_10472.jpg', '/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_15_9357.jpg', '/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_25_10499.jpg', '/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_35_9383.jpg', '/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_45_10442.jpg', '/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_56_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/48/image_10042025_05_49_06_10472.jpg
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_15_9357.jpg
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_25_10499.jpg
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_35_9383.jpg
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_45_10442.jpg
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_49_56_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351089232","1351089288","1351089168","1351089191","1351089149","1351089259"],"photo_ids_order":["1351089149","1351089168","1351089191","1351089232","1351089259","1351089288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/723e42cfbb28de9226229d180655bf6c.jpg","text":"TemporaryFile(/tmp/multipartBody1495856671694920512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_35_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6bd1f82828f1f39a94ea5749107c3ca.jpg","text":"TemporaryFile(/tmp/multipartBody3361177105970570637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c25004a4b72d34ed4ca6cfc05d256e95.jpg","text":"TemporaryFile(/tmp/multipartBody5187983147273309352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1373515f66aa8a955546ba2d9e3fa2d9.jpg","text":"TemporaryFile(/tmp/multipartBody7008900510669452426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_25_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2c91563238af69a28664f9f04c20a04.jpg","text":"TemporaryFile(/tmp/multipartBody2058743431581259103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f30a26486002d6b571ec5a840182ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2913112982773429303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270113532,"filename":"image_10042025_05_49_45_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351089191","file1":"1351089168","file0":"1351089149","file4":"1351089259","file5":"1351089288","file3":"1351089232"},"map_files_photo_id_array":[{"photo_id":"1351089288","filename":"file5"},{"photo_id":"1351089191","filename":"file2"},{"photo_id":"1351089259","filename":"file4"},{"photo_id":"1351089168","filename":"file1"},{"photo_id":"1351089149","filename":"file0"},{"photo_id":"1351089232","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351089232":["hashtag1","hashtag2"]},{"1351089288":["hashtag1","hashtag2"]},{"1351089168":["hashtag1","hashtag2"]},{"1351089191":["hashtag1","hashtag2"]},{"1351089149":["hashtag1","hashtag2"]},{"1351089259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351089232, 1351089288, 1351089168, 1351089191, 1351089149, 1351089259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.892428398132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:28:33.124801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/49/image_10042025_05_50_05_9348.jpg', '/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_15_10446.jpg', '/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_25_9373.jpg', '/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_35_10354.jpg', '/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_46_10373.jpg', '/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_55_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/49/image_10042025_05_50_05_9348.jpg
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_15_10446.jpg
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_25_9373.jpg
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_35_10354.jpg
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_46_10373.jpg
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_50_55_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351089349","1351089322","1351089309","1351089300","1351089314","1351089305"],"photo_ids_order":["1351089300","1351089305","1351089309","1351089314","1351089322","1351089349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57861104b57a7d48c21a3b9b91af5ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6682147112940600361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d767059f4fb54b99f78a8a1bb8a5d165.jpg","text":"TemporaryFile(/tmp/multipartBody3818555979679379370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28a1d14a8411592be5571996628ada93.jpg","text":"TemporaryFile(/tmp/multipartBody2658751530999685356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf914a03b82504bf556486b307070426.jpg","text":"TemporaryFile(/tmp/multipartBody8614811177249325397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/133dca27bda72afb693b2bd9577d4b73.jpg","text":"TemporaryFile(/tmp/multipartBody533961837826360310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65656cd5a1a7a8e1fc696fef54b7a443.jpg","text":"TemporaryFile(/tmp/multipartBody4173957154905265152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270173676,"filename":"image_10042025_05_50_15_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351089309","file1":"1351089305","file0":"1351089300","file4":"1351089322","file5":"1351089349","file3":"1351089314"},"map_files_photo_id_array":[{"photo_id":"1351089349","filename":"file5"},{"photo_id":"1351089309","filename":"file2"},{"photo_id":"1351089322","filename":"file4"},{"photo_id":"1351089305","filename":"file1"},{"photo_id":"1351089300","filename":"file0"},{"photo_id":"1351089314","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351089349":["hashtag1","hashtag2"]},{"1351089322":["hashtag1","hashtag2"]},{"1351089309":["hashtag1","hashtag2"]},{"1351089300":["hashtag1","hashtag2"]},{"1351089314":["hashtag1","hashtag2"]},{"1351089305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351089349, 1351089322, 1351089309, 1351089300, 1351089314, 1351089305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76859664916992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:29:32.223348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/50/image_10042025_05_51_05_10414.jpg', '/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_16_10358.jpg', '/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_25_9373.jpg', '/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_35_10388.jpg', '/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_45_9369.jpg', '/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/50/image_10042025_05_51_05_10414.jpg
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_16_10358.jpg
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_25_9373.jpg
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_35_10388.jpg
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_45_9369.jpg
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_51_55_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351089508","1351089543","1351089459","1351089557","1351089464","1351089455"],"photo_ids_order":["1351089455","1351089459","1351089464","1351089508","1351089543","1351089557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11d84e6f7fffbb83ae95818e976abf44.jpg","text":"TemporaryFile(/tmp/multipartBody7111384177186305579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36b7b6cd75070125225db18bd21ff161.jpg","text":"TemporaryFile(/tmp/multipartBody5386249981957986175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be5260fe1befeb4ac3102ce162bd534f.jpg","text":"TemporaryFile(/tmp/multipartBody6973425897131199075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4075da6bc8798f1f4b9d4a3fdc7a0b46.jpg","text":"TemporaryFile(/tmp/multipartBody5793973669881677258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef1fcbde8101554ecd89e5aff4d9e797.jpg","text":"TemporaryFile(/tmp/multipartBody8906255940218308317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba7ee9c9fa8897a41832a22fc73a4d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8237617726110264160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270232755,"filename":"image_10042025_05_51_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351089464","file1":"1351089459","file0":"1351089455","file4":"1351089543","file5":"1351089557","file3":"1351089508"},"map_files_photo_id_array":[{"photo_id":"1351089557","filename":"file5"},{"photo_id":"1351089464","filename":"file2"},{"photo_id":"1351089543","filename":"file4"},{"photo_id":"1351089459","filename":"file1"},{"photo_id":"1351089455","filename":"file0"},{"photo_id":"1351089508","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351089508":["hashtag1","hashtag2"]},{"1351089543":["hashtag1","hashtag2"]},{"1351089459":["hashtag1","hashtag2"]},{"1351089557":["hashtag1","hashtag2"]},{"1351089464":["hashtag1","hashtag2"]},{"1351089455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351089508, 1351089543, 1351089459, 1351089557, 1351089464, 1351089455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20135259628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:30:32.430479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/51/image_10042025_05_52_06_10449.jpg', '/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_15_9350.jpg', '/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_25_10379.jpg', '/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_35_9355.jpg', '/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_45_10477.jpg', '/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_56_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/51/image_10042025_05_52_06_10449.jpg
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_15_9350.jpg
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_25_10379.jpg
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_35_9355.jpg
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_45_10477.jpg
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_52_56_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351089763","1351089736","1351089791","1351089804","1351089707","1351089787"],"photo_ids_order":["1351089707","1351089736","1351089763","1351089787","1351089791","1351089804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5202ab565c7c7f225afc41abdd2383b0.jpg","text":"TemporaryFile(/tmp/multipartBody2806580632261574699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7dc210e144b63a23a5ccada0e5ca195e.jpg","text":"TemporaryFile(/tmp/multipartBody8591781821880553895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/844022076fee86c183e888e75bcdb4a2.jpg","text":"TemporaryFile(/tmp/multipartBody4072045777614937903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_45_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5a064fc4f24031f651c330849f5e0a8.jpg","text":"TemporaryFile(/tmp/multipartBody9071307971529396890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/879629cc96cc2a587c0174a7f5f867e9.jpg","text":"TemporaryFile(/tmp/multipartBody808049943079182679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_06_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b10e168ae38121ffa4822dbe6093a38.jpg","text":"TemporaryFile(/tmp/multipartBody8868012785364435189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270292952,"filename":"image_10042025_05_52_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351089763","file1":"1351089736","file0":"1351089707","file4":"1351089791","file5":"1351089804","file3":"1351089787"},"map_files_photo_id_array":[{"photo_id":"1351089804","filename":"file5"},{"photo_id":"1351089763","filename":"file2"},{"photo_id":"1351089791","filename":"file4"},{"photo_id":"1351089736","filename":"file1"},{"photo_id":"1351089707","filename":"file0"},{"photo_id":"1351089787","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351089763":["hashtag1","hashtag2"]},{"1351089736":["hashtag1","hashtag2"]},{"1351089791":["hashtag1","hashtag2"]},{"1351089804":["hashtag1","hashtag2"]},{"1351089707":["hashtag1","hashtag2"]},{"1351089787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351089763, 1351089736, 1351089791, 1351089804, 1351089707, 1351089787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6644241809845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:31:32.637466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/52/image_10042025_05_53_05_9380.jpg', '/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_15_10481.jpg', '/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_25_9363.jpg', '/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_35_10361.jpg', '/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_46_10429.jpg', '/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_55_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/52/image_10042025_05_53_05_9380.jpg
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_15_10481.jpg
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_25_9363.jpg
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_35_10361.jpg
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_46_10429.jpg
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_53_55_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090051","1351090036","1351090029","1351090055","1351090046","1351090025"],"photo_ids_order":["1351090025","1351090029","1351090036","1351090046","1351090051","1351090055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d6ca6fd3a9455c35e8c74ff013913b1.jpg","text":"TemporaryFile(/tmp/multipartBody8753619201120350996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d04b1d15135b5fe85ce4142e452d0da.jpg","text":"TemporaryFile(/tmp/multipartBody1999489549788144157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4683e45c97b29a7dfbe53fba0722666.jpg","text":"TemporaryFile(/tmp/multipartBody7059162661557815770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0c80b484b134d6ee18da3789dcaa144.jpg","text":"TemporaryFile(/tmp/multipartBody5493119254931689824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4201bc73422b0f2e97c8b630dd9466c8.jpg","text":"TemporaryFile(/tmp/multipartBody3266170453296469848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53ec16dfb012ff83baa06bf61bc9f666.jpg","text":"TemporaryFile(/tmp/multipartBody7120657129756222276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270353168,"filename":"image_10042025_05_53_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090036","file1":"1351090029","file0":"1351090025","file4":"1351090051","file5":"1351090055","file3":"1351090046"},"map_files_photo_id_array":[{"photo_id":"1351090055","filename":"file5"},{"photo_id":"1351090036","filename":"file2"},{"photo_id":"1351090051","filename":"file4"},{"photo_id":"1351090029","filename":"file1"},{"photo_id":"1351090025","filename":"file0"},{"photo_id":"1351090046","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090051":["hashtag1","hashtag2"]},{"1351090036":["hashtag1","hashtag2"]},{"1351090029":["hashtag1","hashtag2"]},{"1351090055":["hashtag1","hashtag2"]},{"1351090046":["hashtag1","hashtag2"]},{"1351090025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090051, 1351090036, 1351090029, 1351090055, 1351090046, 1351090025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40425443649292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:32:32.776557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/53/image_10042025_05_54_05_10479.jpg', '/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_15_9359.jpg', '/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_25_10400.jpg', '/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_36_10426.jpg', '/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_45_9388.jpg', '/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/53/image_10042025_05_54_05_10479.jpg
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_15_9359.jpg
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_25_10400.jpg
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_36_10426.jpg
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_45_9388.jpg
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_54_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090195","1351090225","1351090201","1351090188","1351090209","1351090262"],"photo_ids_order":["1351090188","1351090195","1351090201","1351090209","1351090225","1351090262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10548d5399618f0ef2d2e6336f084f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6736940519827988560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad91444348f3c16a953e87b419f60154.jpg","text":"TemporaryFile(/tmp/multipartBody6802878542390033622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54eac414770c0f5eb34bdd51e75a0704.jpg","text":"TemporaryFile(/tmp/multipartBody3552347490281483271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4558a2ba25deeb2a4797e278680ba2de.jpg","text":"TemporaryFile(/tmp/multipartBody6208837215546353445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62f8c3fa029af9caa7bc1b92846000b8.jpg","text":"TemporaryFile(/tmp/multipartBody6305943596716352770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59b38044de262581740977a986c69466.jpg","text":"TemporaryFile(/tmp/multipartBody1870535739955498398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270413306,"filename":"image_10042025_05_54_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090201","file1":"1351090195","file0":"1351090188","file4":"1351090225","file5":"1351090262","file3":"1351090209"},"map_files_photo_id_array":[{"photo_id":"1351090262","filename":"file5"},{"photo_id":"1351090201","filename":"file2"},{"photo_id":"1351090225","filename":"file4"},{"photo_id":"1351090195","filename":"file1"},{"photo_id":"1351090188","filename":"file0"},{"photo_id":"1351090209","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090195":["hashtag1","hashtag2"]},{"1351090225":["hashtag1","hashtag2"]},{"1351090201":["hashtag1","hashtag2"]},{"1351090188":["hashtag1","hashtag2"]},{"1351090209":["hashtag1","hashtag2"]},{"1351090262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090195, 1351090225, 1351090201, 1351090188, 1351090209, 1351090262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.237895488739014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:33:32.961848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/54/image_10042025_05_55_05_9345.jpg', '/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_15_10361.jpg', '/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_26_10381.jpg', '/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_35_9382.jpg', '/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_45_10366.jpg', '/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_56_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/54/image_10042025_05_55_05_9345.jpg
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_15_10361.jpg
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_26_10381.jpg
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_35_9382.jpg
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_45_10366.jpg
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_55_56_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090319","1351090354","1351090351","1351090315","1351090347","1351090334"],"photo_ids_order":["1351090315","1351090319","1351090334","1351090347","1351090351","1351090354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccd99b988bb945d580f321be530f145c.jpg","text":"TemporaryFile(/tmp/multipartBody7628410754494041791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aba7a41a292276f9cc5f5c2363d45a73.jpg","text":"TemporaryFile(/tmp/multipartBody1540011714392365505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5699e770ba4a6194068f1245271b0213.jpg","text":"TemporaryFile(/tmp/multipartBody1900601301821687513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51ed1e800d74b1a2ce2d61d3de753f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5726774807202887623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0caa5f95b2f803e5851276c3c78bb4d5.jpg","text":"TemporaryFile(/tmp/multipartBody5435632577862453785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a1e5761f9849df965d74afcbed0d5d1.jpg","text":"TemporaryFile(/tmp/multipartBody5668889219976114050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270473489,"filename":"image_10042025_05_55_26_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090334","file1":"1351090319","file0":"1351090315","file4":"1351090351","file5":"1351090354","file3":"1351090347"},"map_files_photo_id_array":[{"photo_id":"1351090354","filename":"file5"},{"photo_id":"1351090334","filename":"file2"},{"photo_id":"1351090351","filename":"file4"},{"photo_id":"1351090319","filename":"file1"},{"photo_id":"1351090315","filename":"file0"},{"photo_id":"1351090347","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090319":["hashtag1","hashtag2"]},{"1351090354":["hashtag1","hashtag2"]},{"1351090351":["hashtag1","hashtag2"]},{"1351090315":["hashtag1","hashtag2"]},{"1351090347":["hashtag1","hashtag2"]},{"1351090334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090319, 1351090354, 1351090351, 1351090315, 1351090347, 1351090334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.8647518157959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:34:32.132112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/55/image_10042025_05_56_05_9369.jpg', '/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_15_10451.jpg', '/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_25_9371.jpg', '/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_35_10377.jpg', '/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_55_9370.jpg', '/home/pi/Desktop/images/10042025/05/56/image_10042025_05_57_05_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/55/image_10042025_05_56_05_9369.jpg
/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_15_10451.jpg
/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_25_9371.jpg
/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_35_10377.jpg
/home/pi/Desktop/images/10042025/05/56/image_10042025_05_56_55_9370.jpg
/home/pi/Desktop/images/10042025/05/56/image_10042025_05_57_05_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090369","1351090380","1351090374","1351090394","1351090385","1351090399"],"photo_ids_order":["1351090369","1351090374","1351090380","1351090385","1351090394","1351090399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe9cc9aa8c2ba363a5a6b7cee87f588d.jpg","text":"TemporaryFile(/tmp/multipartBody1239406577287474400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_56_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/428cdef6656aadfc7cae6497b8571661.jpg","text":"TemporaryFile(/tmp/multipartBody1055004749772540001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_56_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0c08d46c3c290b512575a9243676fa2.jpg","text":"TemporaryFile(/tmp/multipartBody7070158819018443900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_56_15_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c23074f30bb1fea93358ebdf2ddf44b3.jpg","text":"TemporaryFile(/tmp/multipartBody1363278726120360650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_56_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9919909f4ad9e48a3dd96004408cab7.jpg","text":"TemporaryFile(/tmp/multipartBody908337466761354968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_56_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/998c8d1c7639d6181d2c0aa477413829.jpg","text":"TemporaryFile(/tmp/multipartBody8217124419150547781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270532650,"filename":"image_10042025_05_57_05_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090380","file1":"1351090374","file0":"1351090369","file4":"1351090394","file5":"1351090399","file3":"1351090385"},"map_files_photo_id_array":[{"photo_id":"1351090399","filename":"file5"},{"photo_id":"1351090380","filename":"file2"},{"photo_id":"1351090394","filename":"file4"},{"photo_id":"1351090374","filename":"file1"},{"photo_id":"1351090369","filename":"file0"},{"photo_id":"1351090385","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090369":["hashtag1","hashtag2"]},{"1351090380":["hashtag1","hashtag2"]},{"1351090374":["hashtag1","hashtag2"]},{"1351090394":["hashtag1","hashtag2"]},{"1351090385":["hashtag1","hashtag2"]},{"1351090399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090369, 1351090380, 1351090374, 1351090394, 1351090385, 1351090399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.138951539993286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:35:32.336509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_15_9340.jpg', '/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_25_10383.jpg', '/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_36_10430.jpg', '/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_45_9356.jpg', '/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_55_10408.jpg', '/home/pi/Desktop/images/10042025/05/57/image_10042025_05_58_05_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_15_9340.jpg
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_25_10383.jpg
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_36_10430.jpg
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_45_9356.jpg
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_57_55_10408.jpg
/home/pi/Desktop/images/10042025/05/57/image_10042025_05_58_05_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090534","1351090543","1351090504","1351090538","1351090529","1351090520"],"photo_ids_order":["1351090504","1351090520","1351090529","1351090534","1351090538","1351090543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb61624c65c56b1262fce05c4d86b5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2482471361871833247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_57_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93dbd4d45c7da22049edf344738c9a59.jpg","text":"TemporaryFile(/tmp/multipartBody546784365574830841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_58_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae90023fa45745c5d8bb13899f2f9b9d.jpg","text":"TemporaryFile(/tmp/multipartBody6902089401921619596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_57_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23c3be3b1cb4b92ba5a4d94380997be3.jpg","text":"TemporaryFile(/tmp/multipartBody303806910275885018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_57_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a078bd0bbeded22eeab28b6af610dadf.jpg","text":"TemporaryFile(/tmp/multipartBody5824172748000404856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_57_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fe6a84569f3d8161b25e64a0840c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody1656477634850777603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270592860,"filename":"image_10042025_05_57_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090529","file1":"1351090520","file0":"1351090504","file4":"1351090538","file5":"1351090543","file3":"1351090534"},"map_files_photo_id_array":[{"photo_id":"1351090543","filename":"file5"},{"photo_id":"1351090529","filename":"file2"},{"photo_id":"1351090538","filename":"file4"},{"photo_id":"1351090520","filename":"file1"},{"photo_id":"1351090504","filename":"file0"},{"photo_id":"1351090534","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090534":["hashtag1","hashtag2"]},{"1351090543":["hashtag1","hashtag2"]},{"1351090504":["hashtag1","hashtag2"]},{"1351090538":["hashtag1","hashtag2"]},{"1351090529":["hashtag1","hashtag2"]},{"1351090520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090534, 1351090543, 1351090504, 1351090538, 1351090529, 1351090520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21300983428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:36:32.521098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_15_10377.jpg', '/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_26_10475.jpg', '/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_35_9414.jpg', '/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_45_10465.jpg', '/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_55_9357.jpg', '/home/pi/Desktop/images/10042025/05/58/image_10042025_05_59_05_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_15_10377.jpg
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_26_10475.jpg
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_35_9414.jpg
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_45_10465.jpg
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_58_55_9357.jpg
/home/pi/Desktop/images/10042025/05/58/image_10042025_05_59_05_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090603","1351090612","1351090572","1351090620","1351090617","1351090577"],"photo_ids_order":["1351090572","1351090577","1351090603","1351090612","1351090617","1351090620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9248ac4bf4772a3958d16b43811b64d7.jpg","text":"TemporaryFile(/tmp/multipartBody2074055728707918081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_58_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d471a3a78d6efba40c81913339c68a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7045364334552722432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_58_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7986e9c904127169c3aacf8f062c4d40.jpg","text":"TemporaryFile(/tmp/multipartBody423000997772551867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_58_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b407b15a0e5d924fa63d4044bc6f193.jpg","text":"TemporaryFile(/tmp/multipartBody695841205989124265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_59_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8b08746d50824a72c42004e443b024e.jpg","text":"TemporaryFile(/tmp/multipartBody30435727097862252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_58_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad309b7c319c044fc4047016fe3ce502.jpg","text":"TemporaryFile(/tmp/multipartBody3247410704296325099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270653043,"filename":"image_10042025_05_58_26_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090603","file1":"1351090577","file0":"1351090572","file4":"1351090617","file5":"1351090620","file3":"1351090612"},"map_files_photo_id_array":[{"photo_id":"1351090620","filename":"file5"},{"photo_id":"1351090603","filename":"file2"},{"photo_id":"1351090617","filename":"file4"},{"photo_id":"1351090577","filename":"file1"},{"photo_id":"1351090572","filename":"file0"},{"photo_id":"1351090612","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090603":["hashtag1","hashtag2"]},{"1351090612":["hashtag1","hashtag2"]},{"1351090572":["hashtag1","hashtag2"]},{"1351090620":["hashtag1","hashtag2"]},{"1351090617":["hashtag1","hashtag2"]},{"1351090577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090603, 1351090612, 1351090572, 1351090620, 1351090617, 1351090577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28943085670471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:37:32.673104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_16_10359.jpg', '/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_25_9368.jpg', '/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_35_10433.jpg', '/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_45_9364.jpg', '/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_55_10384.jpg', '/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_16_10078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_16_10359.jpg
/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_25_9368.jpg
/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_35_10433.jpg
/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_45_9364.jpg
/home/pi/Desktop/images/10042025/05/59/image_10042025_05_59_55_10384.jpg
/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_16_10078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351090849","1351090804","1351090830","1351090775","1351090748","1351090703"],"photo_ids_order":["1351090703","1351090748","1351090775","1351090804","1351090830","1351090849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ea289e65cdfeb4896f3bc4bc7e405ed.jpg","text":"TemporaryFile(/tmp/multipartBody5538455236393557387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_06_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efb8a074d2e94b9bdf100dd99b1426da.jpg","text":"TemporaryFile(/tmp/multipartBody5707755760483230028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_05_59_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91f92f4a0e47d04f5edabfc2d973f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7069365172104351183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_05_59_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56365b59b43386241074c8350e0d3d55.jpg","text":"TemporaryFile(/tmp/multipartBody3297642719413818550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_05_59_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d597354cb36ce99359f741dec34926fb.jpg","text":"TemporaryFile(/tmp/multipartBody5262825825463270524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_05_59_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d086f6156f87acb51a6e0e0a4f06b1c2.jpg","text":"TemporaryFile(/tmp/multipartBody662653941990751958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270713199,"filename":"image_10042025_05_59_16_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351090775","file1":"1351090748","file0":"1351090703","file4":"1351090830","file5":"1351090849","file3":"1351090804"},"map_files_photo_id_array":[{"photo_id":"1351090849","filename":"file5"},{"photo_id":"1351090775","filename":"file2"},{"photo_id":"1351090830","filename":"file4"},{"photo_id":"1351090748","filename":"file1"},{"photo_id":"1351090703","filename":"file0"},{"photo_id":"1351090804","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351090849":["hashtag1","hashtag2"]},{"1351090804":["hashtag1","hashtag2"]},{"1351090830":["hashtag1","hashtag2"]},{"1351090775":["hashtag1","hashtag2"]},{"1351090748":["hashtag1","hashtag2"]},{"1351090703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351090849, 1351090804, 1351090830, 1351090775, 1351090748, 1351090703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65831804275513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:38:32.871772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_27_10470.jpg', '/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_47_9437.jpg', '/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_57_10450.jpg', '/home/pi/Desktop/images/10042025/06/00/image_10042025_06_01_06_9391.jpg', '/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_17_10356.jpg', '/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_27_10470.jpg
/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_47_9437.jpg
/home/pi/Desktop/images/10042025/06/00/image_10042025_06_00_57_10450.jpg
/home/pi/Desktop/images/10042025/06/00/image_10042025_06_01_06_9391.jpg
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_17_10356.jpg
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351091071","1351091277","1351091031","1351090958","1351091299","1351091303"],"photo_ids_order":["1351090958","1351091031","1351091071","1351091277","1351091299","1351091303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbd184c15d9d5432b1efe5e96d4dd13e.jpg","text":"TemporaryFile(/tmp/multipartBody4267907515299859740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_00_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/873c4d711b3c9ca7e850022d84396fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3308170958176574559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_01_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0c6655cba60fa338065d772ce010f6e.jpg","text":"TemporaryFile(/tmp/multipartBody9098282798103479782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_00_47_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bf15986d885400454af650b590b421e.jpg","text":"TemporaryFile(/tmp/multipartBody3168608192971911785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_00_27_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e48eb4225ed3bcb8192688bc842fe9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1785520826887371315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_01_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/966a174dbe3e95c25257d3c42a50193c.jpg","text":"TemporaryFile(/tmp/multipartBody5696887277592396644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270773392,"filename":"image_10042025_06_01_27_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351091071","file1":"1351091031","file0":"1351090958","file4":"1351091299","file5":"1351091303","file3":"1351091277"},"map_files_photo_id_array":[{"photo_id":"1351091303","filename":"file5"},{"photo_id":"1351091071","filename":"file2"},{"photo_id":"1351091299","filename":"file4"},{"photo_id":"1351091031","filename":"file1"},{"photo_id":"1351090958","filename":"file0"},{"photo_id":"1351091277","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351091071":["hashtag1","hashtag2"]},{"1351091277":["hashtag1","hashtag2"]},{"1351091031":["hashtag1","hashtag2"]},{"1351090958":["hashtag1","hashtag2"]},{"1351091299":["hashtag1","hashtag2"]},{"1351091303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351091071, 1351091277, 1351091031, 1351090958, 1351091299, 1351091303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59447264671326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:39:33.108261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_37_9447.jpg', '/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_47_10367.jpg', '/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_56_9510.jpg', '/home/pi/Desktop/images/10042025/06/01/image_10042025_06_02_07_10364.jpg', '/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_17_10370.jpg', '/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_27_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_37_9447.jpg
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_47_10367.jpg
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_01_56_9510.jpg
/home/pi/Desktop/images/10042025/06/01/image_10042025_06_02_07_10364.jpg
/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_17_10370.jpg
/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_27_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351091406","1351091384","1351091411","1351091414","1351091402","1351091389"],"photo_ids_order":["1351091384","1351091389","1351091402","1351091406","1351091411","1351091414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6af2bf4ccfc6d5682d41eb0424894a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3655042128593056706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_02_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f88ad192d828afdbfafa04550492c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6921628686016373311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_01_37_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4625b4b50bf515527b4f07dceac534f.jpg","text":"TemporaryFile(/tmp/multipartBody8632928837196488832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_02_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd0f4fdeb9c7695278d54e6616ffb5c9.jpg","text":"TemporaryFile(/tmp/multipartBody270512551108857193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_02_27_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3df12f5eb5a0728c0df5f015c2b354e.jpg","text":"TemporaryFile(/tmp/multipartBody3787265270364802659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_01_56_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a560429c2d7c1998c711596292c1e46.jpg","text":"TemporaryFile(/tmp/multipartBody2056053407907417126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270833755,"filename":"image_10042025_06_01_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351091402","file1":"1351091389","file0":"1351091384","file4":"1351091411","file5":"1351091414","file3":"1351091406"},"map_files_photo_id_array":[{"photo_id":"1351091414","filename":"file5"},{"photo_id":"1351091402","filename":"file2"},{"photo_id":"1351091411","filename":"file4"},{"photo_id":"1351091389","filename":"file1"},{"photo_id":"1351091384","filename":"file0"},{"photo_id":"1351091406","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351091406":["hashtag1","hashtag2"]},{"1351091384":["hashtag1","hashtag2"]},{"1351091411":["hashtag1","hashtag2"]},{"1351091414":["hashtag1","hashtag2"]},{"1351091402":["hashtag1","hashtag2"]},{"1351091389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351091406, 1351091384, 1351091411, 1351091414, 1351091402, 1351091389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23214888572693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:40:32.196709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_37_10371.jpg', '/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_57_10372.jpg', '/home/pi/Desktop/images/10042025/06/02/image_10042025_06_03_07_10357.jpg', '/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_17_9430.jpg', '/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_27_10477.jpg', '/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_36_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_37_10371.jpg
/home/pi/Desktop/images/10042025/06/02/image_10042025_06_02_57_10372.jpg
/home/pi/Desktop/images/10042025/06/02/image_10042025_06_03_07_10357.jpg
/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_17_9430.jpg
/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_27_10477.jpg
/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_36_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351091784","1351091688","1351091604","1351091771","1351091639","1351091737"],"photo_ids_order":["1351091604","1351091639","1351091688","1351091737","1351091771","1351091784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8f29c80f210f7bde7b4a5fa63152f90.jpg","text":"TemporaryFile(/tmp/multipartBody4000439988881278892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_03_36_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a4b592a3149aa9a4c86232c30b50b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5471923669183973335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_03_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6172af28bac373557b3df97adc5fb677.jpg","text":"TemporaryFile(/tmp/multipartBody4149092281523229127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_02_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/769abcca012eb3af683d6e005ee33b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2977951201504801829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_03_27_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02edd7b7586822d0c7305c778614c9dc.jpg","text":"TemporaryFile(/tmp/multipartBody4891650625368805427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_02_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cc338aa8a5321c80b3f37558c289c27.jpg","text":"TemporaryFile(/tmp/multipartBody5868589326214456120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270892723,"filename":"image_10042025_06_03_17_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351091688","file1":"1351091639","file0":"1351091604","file4":"1351091771","file5":"1351091784","file3":"1351091737"},"map_files_photo_id_array":[{"photo_id":"1351091784","filename":"file5"},{"photo_id":"1351091688","filename":"file2"},{"photo_id":"1351091771","filename":"file4"},{"photo_id":"1351091639","filename":"file1"},{"photo_id":"1351091604","filename":"file0"},{"photo_id":"1351091737","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351091784":["hashtag1","hashtag2"]},{"1351091688":["hashtag1","hashtag2"]},{"1351091604":["hashtag1","hashtag2"]},{"1351091771":["hashtag1","hashtag2"]},{"1351091639":["hashtag1","hashtag2"]},{"1351091737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351091784, 1351091688, 1351091604, 1351091771, 1351091639, 1351091737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6841938495636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:41:32.423275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_47_10363.jpg', '/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_56_9392.jpg', '/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_17_10346.jpg', '/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_26_9375.jpg', '/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_37_10748.jpg', '/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_47_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_47_10363.jpg
/home/pi/Desktop/images/10042025/06/03/image_10042025_06_03_56_9392.jpg
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_17_10346.jpg
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_26_9375.jpg
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_37_10748.jpg
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_47_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351091938","1351091862","1351091852","1351091912","1351091884","1351091956"],"photo_ids_order":["1351091852","1351091862","1351091884","1351091912","1351091938","1351091956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5423dc43d6b484f0a9b35f952abea834.jpg","text":"TemporaryFile(/tmp/multipartBody8572979956693229088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_04_37_10748.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbafecfe028ab266ea66246781eff0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2245032492386018074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_03_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5db765df3942cfb44ea52fe8d599928.jpg","text":"TemporaryFile(/tmp/multipartBody6313399597840480295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_03_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d119e0f5a2a5e2f3c654da049eede9b.jpg","text":"TemporaryFile(/tmp/multipartBody1436446955707104487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_04_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7ad737c471051d7438300daea8c4a65.jpg","text":"TemporaryFile(/tmp/multipartBody4534397143085675975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_04_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8685fdaa532088bb59a8457b8ba3c92.jpg","text":"TemporaryFile(/tmp/multipartBody1688117270719864778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744270952955,"filename":"image_10042025_06_04_47_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351091884","file1":"1351091862","file0":"1351091852","file4":"1351091938","file5":"1351091956","file3":"1351091912"},"map_files_photo_id_array":[{"photo_id":"1351091956","filename":"file5"},{"photo_id":"1351091884","filename":"file2"},{"photo_id":"1351091938","filename":"file4"},{"photo_id":"1351091862","filename":"file1"},{"photo_id":"1351091852","filename":"file0"},{"photo_id":"1351091912","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351091938":["hashtag1","hashtag2"]},{"1351091862":["hashtag1","hashtag2"]},{"1351091852":["hashtag1","hashtag2"]},{"1351091912":["hashtag1","hashtag2"]},{"1351091884":["hashtag1","hashtag2"]},{"1351091956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351091938, 1351091862, 1351091852, 1351091912, 1351091884, 1351091956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.183345794677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:42:32.499622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_57_10385.jpg', '/home/pi/Desktop/images/10042025/06/04/image_10042025_06_05_06_9467.jpg', '/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_17_10456.jpg', '/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_26_9372.jpg', '/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_37_10378.jpg', '/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_47_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_04_57_10385.jpg
/home/pi/Desktop/images/10042025/06/04/image_10042025_06_05_06_9467.jpg
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_17_10456.jpg
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_26_9372.jpg
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_37_10378.jpg
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_47_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351092225","1351092167","1351092158","1351092113","1351092262","1351092136"],"photo_ids_order":["1351092113","1351092136","1351092158","1351092167","1351092225","1351092262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ab614ec20873b3ad5a11db65bca0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4919100735223473364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_05_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ecacb313abe71d3e904419ed43582b6.jpg","text":"TemporaryFile(/tmp/multipartBody3354746524168737690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_05_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d9fa478c54f1d1480fcfe7630afafb9.jpg","text":"TemporaryFile(/tmp/multipartBody701413703094369520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_05_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58ba95f376c9ddbdc20ea8fdd4cec9be.jpg","text":"TemporaryFile(/tmp/multipartBody7823821280486924694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_04_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55dbd7f38acb625ab9cd3e986066a11a.jpg","text":"TemporaryFile(/tmp/multipartBody5230664814990845417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_05_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6919bf940b64ffbfd101175c0ebaad94.jpg","text":"TemporaryFile(/tmp/multipartBody8398440216414829406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271013032,"filename":"image_10042025_06_05_06_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351092158","file1":"1351092136","file0":"1351092113","file4":"1351092225","file5":"1351092262","file3":"1351092167"},"map_files_photo_id_array":[{"photo_id":"1351092262","filename":"file5"},{"photo_id":"1351092158","filename":"file2"},{"photo_id":"1351092225","filename":"file4"},{"photo_id":"1351092136","filename":"file1"},{"photo_id":"1351092113","filename":"file0"},{"photo_id":"1351092167","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351092225":["hashtag1","hashtag2"]},{"1351092167":["hashtag1","hashtag2"]},{"1351092158":["hashtag1","hashtag2"]},{"1351092113":["hashtag1","hashtag2"]},{"1351092262":["hashtag1","hashtag2"]},{"1351092136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351092225, 1351092167, 1351092158, 1351092113, 1351092262, 1351092136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.209829330444336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:43:32.572944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_56_9465.jpg', '/home/pi/Desktop/images/10042025/06/05/image_10042025_06_06_07_10378.jpg', '/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_16_9340.jpg', '/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_27_10414.jpg', '/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_37_10370.jpg', '/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_46_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_05_56_9465.jpg
/home/pi/Desktop/images/10042025/06/05/image_10042025_06_06_07_10378.jpg
/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_16_9340.jpg
/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_27_10414.jpg
/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_37_10370.jpg
/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_46_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351092644","1351092569","1351092614","1351092605","1351092469","1351092505"],"photo_ids_order":["1351092469","1351092505","1351092569","1351092605","1351092614","1351092644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42d157f66e11e2ac493dc64476f58f59.jpg","text":"TemporaryFile(/tmp/multipartBody7314207108984579887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_06_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3839d5bc2f1c7cb09da6320efde1be77.jpg","text":"TemporaryFile(/tmp/multipartBody7289287069600433462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_06_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb76ea88aded3c6d6cc4f625d0eacbbe.jpg","text":"TemporaryFile(/tmp/multipartBody1320577172346101670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_06_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d672d5baeb59d84ec0802aac2cf0869.jpg","text":"TemporaryFile(/tmp/multipartBody6041878367855314745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_06_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fa9cdc4055fbc92b1affbe2fe19c68a.jpg","text":"TemporaryFile(/tmp/multipartBody1118987691171510028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_05_56_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb4016499a60216103c94505f4b0a7e7.jpg","text":"TemporaryFile(/tmp/multipartBody1656975110911025453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271073125,"filename":"image_10042025_06_06_07_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351092569","file1":"1351092505","file0":"1351092469","file4":"1351092614","file5":"1351092644","file3":"1351092605"},"map_files_photo_id_array":[{"photo_id":"1351092644","filename":"file5"},{"photo_id":"1351092569","filename":"file2"},{"photo_id":"1351092614","filename":"file4"},{"photo_id":"1351092505","filename":"file1"},{"photo_id":"1351092469","filename":"file0"},{"photo_id":"1351092605","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351092644":["hashtag1","hashtag2"]},{"1351092569":["hashtag1","hashtag2"]},{"1351092614":["hashtag1","hashtag2"]},{"1351092605":["hashtag1","hashtag2"]},{"1351092469":["hashtag1","hashtag2"]},{"1351092505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351092644, 1351092569, 1351092614, 1351092605, 1351092469, 1351092505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.430519580841064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:44:32.933337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_57_10365.jpg', '/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_16_9345.jpg', '/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_27_10381.jpg', '/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_36_9354.jpg', '/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_47_10480.jpg', '/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_57_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/06/image_10042025_06_06_57_10365.jpg
/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_16_9345.jpg
/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_27_10381.jpg
/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_36_9354.jpg
/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_47_10480.jpg
/home/pi/Desktop/images/10042025/06/07/image_10042025_06_07_57_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351092882","1351092900","1351092890","1351092875","1351092869","1351092910"],"photo_ids_order":["1351092869","1351092875","1351092882","1351092890","1351092900","1351092910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59476b493379bb7073b789872f986826.jpg","text":"TemporaryFile(/tmp/multipartBody6111977627669005708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_07_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af9d2305545e39a9101f6568c44b8820.jpg","text":"TemporaryFile(/tmp/multipartBody8083644774998107898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_07_47_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70ec0033e4415f1346e29fae3a2c9fd2.jpg","text":"TemporaryFile(/tmp/multipartBody374369497586831058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_07_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42b09fef3cf744f79e8ef0165d0d443c.jpg","text":"TemporaryFile(/tmp/multipartBody2835195636821247544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_07_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ab059eeaf134291f9a7e51567821200.jpg","text":"TemporaryFile(/tmp/multipartBody237506961922290393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_06_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/befa5636bc738adbca177376eff8bba7.jpg","text":"TemporaryFile(/tmp/multipartBody1711790874805293900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271133441,"filename":"image_10042025_06_07_57_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351092882","file1":"1351092875","file0":"1351092869","file4":"1351092900","file5":"1351092910","file3":"1351092890"},"map_files_photo_id_array":[{"photo_id":"1351092910","filename":"file5"},{"photo_id":"1351092882","filename":"file2"},{"photo_id":"1351092900","filename":"file4"},{"photo_id":"1351092875","filename":"file1"},{"photo_id":"1351092869","filename":"file0"},{"photo_id":"1351092890","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351092882":["hashtag1","hashtag2"]},{"1351092900":["hashtag1","hashtag2"]},{"1351092890":["hashtag1","hashtag2"]},{"1351092875":["hashtag1","hashtag2"]},{"1351092869":["hashtag1","hashtag2"]},{"1351092910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351092882, 1351092900, 1351092890, 1351092875, 1351092869, 1351092910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.654191732406616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:45:32.269884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_17_10392.jpg', '/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_26_9369.jpg', '/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_37_10479.jpg', '/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_47_10426.jpg', '/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_57_9477.jpg', '/home/pi/Desktop/images/10042025/06/08/image_10042025_06_09_07_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_17_10392.jpg
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_26_9369.jpg
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_37_10479.jpg
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_47_10426.jpg
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_08_57_9477.jpg
/home/pi/Desktop/images/10042025/06/08/image_10042025_06_09_07_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351093011","1351093002","1351092983","1351093055","1351093006","1351092993"],"photo_ids_order":["1351092983","1351092993","1351093002","1351093006","1351093011","1351093055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18c7d02a664209e923ba1de35d37f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1055466571333078230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_08_57_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99b0108ee61a89cb491ffd7830110cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1895048244240450966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_08_37_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59244669fb3c07d4dedef925253d0558.jpg","text":"TemporaryFile(/tmp/multipartBody4791202635922171389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_08_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c393db066b539f14f58e4257bdeba69.jpg","text":"TemporaryFile(/tmp/multipartBody6866693568541284143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_09_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87ea23d60f1f4d62331911950ca0bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody2522262776947033472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_08_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ebc9193d59db593c27cabdebc5b8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1606626459042203918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271192784,"filename":"image_10042025_06_08_26_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351093002","file1":"1351092993","file0":"1351092983","file4":"1351093011","file5":"1351093055","file3":"1351093006"},"map_files_photo_id_array":[{"photo_id":"1351093055","filename":"file5"},{"photo_id":"1351093002","filename":"file2"},{"photo_id":"1351093011","filename":"file4"},{"photo_id":"1351092993","filename":"file1"},{"photo_id":"1351092983","filename":"file0"},{"photo_id":"1351093006","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351093011":["hashtag1","hashtag2"]},{"1351093002":["hashtag1","hashtag2"]},{"1351092983":["hashtag1","hashtag2"]},{"1351093055":["hashtag1","hashtag2"]},{"1351093006":["hashtag1","hashtag2"]},{"1351092993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351093011, 1351093002, 1351092983, 1351093055, 1351093006, 1351092993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47973585128784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:46:32.472217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_16_9445.jpg', '/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_27_10452.jpg', '/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_36_9468.jpg', '/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_47_10359.jpg', '/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_57_10377.jpg', '/home/pi/Desktop/images/10042025/06/09/image_10042025_06_10_07_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_16_9445.jpg
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_27_10452.jpg
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_36_9468.jpg
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_47_10359.jpg
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_09_57_10377.jpg
/home/pi/Desktop/images/10042025/06/09/image_10042025_06_10_07_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351093224","1351093280","1351093232","1351093208","1351093300","1351093293"],"photo_ids_order":["1351093208","1351093224","1351093232","1351093280","1351093293","1351093300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3ca8394d8ba94cd4782fc5aadcf4ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1968384411878771879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_09_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10e8f7ef58312bddf1f38cd9242e9fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6816111592180818218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_09_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d700fca4bd7d28946f2eb6f3b416ee3f.jpg","text":"TemporaryFile(/tmp/multipartBody2247212939774722742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_09_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfd816b4d0d3b806ad8ab80062c8a077.jpg","text":"TemporaryFile(/tmp/multipartBody5867523598942671826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_09_16_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14e49303e1ec6ab25970cc3465589c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7617082363336902351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_10_07_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c74148aa9f2d6fa70d19a1f53faad27c.jpg","text":"TemporaryFile(/tmp/multipartBody6538425736791538056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271252992,"filename":"image_10042025_06_09_57_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351093232","file1":"1351093224","file0":"1351093208","file4":"1351093293","file5":"1351093300","file3":"1351093280"},"map_files_photo_id_array":[{"photo_id":"1351093300","filename":"file5"},{"photo_id":"1351093232","filename":"file2"},{"photo_id":"1351093293","filename":"file4"},{"photo_id":"1351093224","filename":"file1"},{"photo_id":"1351093208","filename":"file0"},{"photo_id":"1351093280","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351093224":["hashtag1","hashtag2"]},{"1351093280":["hashtag1","hashtag2"]},{"1351093232":["hashtag1","hashtag2"]},{"1351093208":["hashtag1","hashtag2"]},{"1351093300":["hashtag1","hashtag2"]},{"1351093293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351093224, 1351093280, 1351093232, 1351093208, 1351093300, 1351093293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37270736694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:47:32.665860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_17_10366.jpg', '/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_26_9365.jpg', '/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_37_10376.jpg', '/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_47_10433.jpg', '/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_56_9371.jpg', '/home/pi/Desktop/images/10042025/06/10/image_10042025_06_11_07_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_17_10366.jpg
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_26_9365.jpg
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_37_10376.jpg
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_47_10433.jpg
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_10_56_9371.jpg
/home/pi/Desktop/images/10042025/06/10/image_10042025_06_11_07_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351093422","1351093460","1351093451","1351093445","1351093427","1351093411"],"photo_ids_order":["1351093411","1351093422","1351093427","1351093445","1351093451","1351093460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c403bef8aec98957cbe86f9e2dd1f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6606983129767485239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_10_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89747d0bf08da0d54f632548a5c02014.jpg","text":"TemporaryFile(/tmp/multipartBody4771226569302973313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_11_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/658706e22b5624537f1ead36750b8430.jpg","text":"TemporaryFile(/tmp/multipartBody6534627877090161918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_10_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5b60ef0669554dff3ab40f3a0147c91.jpg","text":"TemporaryFile(/tmp/multipartBody3463593085862906645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_10_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a6a17c9aed61c1bb68695a8a640b0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8348037786514010163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_10_37_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9dbf989222d9738e18ebbbca5a93d27.jpg","text":"TemporaryFile(/tmp/multipartBody8037149954423528471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271313190,"filename":"image_10042025_06_10_17_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351093427","file1":"1351093422","file0":"1351093411","file4":"1351093451","file5":"1351093460","file3":"1351093445"},"map_files_photo_id_array":[{"photo_id":"1351093460","filename":"file5"},{"photo_id":"1351093427","filename":"file2"},{"photo_id":"1351093451","filename":"file4"},{"photo_id":"1351093422","filename":"file1"},{"photo_id":"1351093411","filename":"file0"},{"photo_id":"1351093445","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351093422":["hashtag1","hashtag2"]},{"1351093460":["hashtag1","hashtag2"]},{"1351093451":["hashtag1","hashtag2"]},{"1351093445":["hashtag1","hashtag2"]},{"1351093427":["hashtag1","hashtag2"]},{"1351093411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351093422, 1351093460, 1351093451, 1351093445, 1351093427, 1351093411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.216580390930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:48:32.837170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_16_9404.jpg', '/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_27_10406.jpg', '/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_37_10383.jpg', '/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_46_9428.jpg', '/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_57_10459.jpg', '/home/pi/Desktop/images/10042025/06/11/image_10042025_06_12_06_9490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_16_9404.jpg
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_27_10406.jpg
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_37_10383.jpg
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_46_9428.jpg
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_57_10459.jpg
/home/pi/Desktop/images/10042025/06/11/image_10042025_06_12_06_9490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351093795","1351093798","1351093783","1351093732","1351093776","1351093758"],"photo_ids_order":["1351093732","1351093758","1351093776","1351093783","1351093795","1351093798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1473b3134282415792821d4cc4cf948.jpg","text":"TemporaryFile(/tmp/multipartBody2007589264926770548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_11_57_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1405ed0d57590448042718a471dc7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6965646629391242428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_12_06_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39222a26b37828af3f12fbd8d61efb73.jpg","text":"TemporaryFile(/tmp/multipartBody4179405779871936729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_11_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd7cd40bd08b18b119c471c1d217b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody8515091326731184896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_11_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90623c82adde8093854dfa77a9f00e67.jpg","text":"TemporaryFile(/tmp/multipartBody1131035119381832669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_11_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a97a160c882ef33ce02d787af08ddad8.jpg","text":"TemporaryFile(/tmp/multipartBody2375553909527651363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271373367,"filename":"image_10042025_06_11_27_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351093776","file1":"1351093758","file0":"1351093732","file4":"1351093795","file5":"1351093798","file3":"1351093783"},"map_files_photo_id_array":[{"photo_id":"1351093798","filename":"file5"},{"photo_id":"1351093776","filename":"file2"},{"photo_id":"1351093795","filename":"file4"},{"photo_id":"1351093758","filename":"file1"},{"photo_id":"1351093732","filename":"file0"},{"photo_id":"1351093783","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351093795":["hashtag1","hashtag2"]},{"1351093798":["hashtag1","hashtag2"]},{"1351093783":["hashtag1","hashtag2"]},{"1351093732":["hashtag1","hashtag2"]},{"1351093776":["hashtag1","hashtag2"]},{"1351093758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351093795, 1351093798, 1351093783, 1351093732, 1351093776, 1351093758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351093776 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10042025/06/11/image_10042025_06_11_37_10383.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.21891903877258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 09:49:43.145403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_17_10358.jpg', '/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_26_9426.jpg', '/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_37_10437.jpg', '/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_56_9481.jpg', '/home/pi/Desktop/images/10042025/06/12/image_10042025_06_13_07_10366.jpg', '/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_16_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_17_10358.jpg
/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_26_9426.jpg
/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_37_10437.jpg
/home/pi/Desktop/images/10042025/06/12/image_10042025_06_12_56_9481.jpg
/home/pi/Desktop/images/10042025/06/12/image_10042025_06_13_07_10366.jpg
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_16_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094111","1351094108","1351094089","1351094110","1351094100","1351094103"],"photo_ids_order":["1351094089","1351094100","1351094103","1351094108","1351094110","1351094111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b030265432e43696d9b5a0803e4ad51f.jpg","text":"TemporaryFile(/tmp/multipartBody6603633774137563527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_13_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba104c58a940610b89678d50d3631bca.jpg","text":"TemporaryFile(/tmp/multipartBody8342571886176599075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_12_56_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2545ba024007315669538f327be70f9.jpg","text":"TemporaryFile(/tmp/multipartBody1492002829787705374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_12_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d227d303dd5642cf72c6734c71b952fd.jpg","text":"TemporaryFile(/tmp/multipartBody8854148200827997461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_13_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2de0d2b2a1b35c37771bc18199d1402.jpg","text":"TemporaryFile(/tmp/multipartBody5740339946477495149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_12_26_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c7541c434947361ca443ccf0abdfb76.jpg","text":"TemporaryFile(/tmp/multipartBody3734842667806423500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271443673,"filename":"image_10042025_06_12_37_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094103","file1":"1351094100","file0":"1351094089","file4":"1351094110","file5":"1351094111","file3":"1351094108"},"map_files_photo_id_array":[{"photo_id":"1351094111","filename":"file5"},{"photo_id":"1351094103","filename":"file2"},{"photo_id":"1351094110","filename":"file4"},{"photo_id":"1351094100","filename":"file1"},{"photo_id":"1351094089","filename":"file0"},{"photo_id":"1351094108","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094111":["hashtag1","hashtag2"]},{"1351094108":["hashtag1","hashtag2"]},{"1351094089":["hashtag1","hashtag2"]},{"1351094110":["hashtag1","hashtag2"]},{"1351094100":["hashtag1","hashtag2"]},{"1351094103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094111, 1351094108, 1351094089, 1351094110, 1351094100, 1351094103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.893394947052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:50:32.350114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_27_10464.jpg', '/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_37_10439.jpg', '/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_46_9372.jpg', '/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_57_10391.jpg', '/home/pi/Desktop/images/10042025/06/13/image_10042025_06_14_06_9416.jpg', '/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_27_10464.jpg
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_37_10439.jpg
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_46_9372.jpg
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_13_57_10391.jpg
/home/pi/Desktop/images/10042025/06/13/image_10042025_06_14_06_9416.jpg
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094205","1351094191","1351094185","1351094196","1351094209","1351094200"],"photo_ids_order":["1351094185","1351094191","1351094196","1351094200","1351094205","1351094209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45a0bd4ec73aabec69d00d05e29a41c0.jpg","text":"TemporaryFile(/tmp/multipartBody1807263769438802024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_14_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3575caf0e1c87a4fdb70b18c1d469d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4789747195603515632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_13_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8ffa2a25562e56d76bdb4447602d28e.jpg","text":"TemporaryFile(/tmp/multipartBody8270864617000974760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_13_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebb0d38f63b8b17112ce3e8876c27e26.jpg","text":"TemporaryFile(/tmp/multipartBody5162200955060292999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_13_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dee636c9bac19623c7fe5cbfed44eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7442615037218521643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_14_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07fc4eee9ce890102f8f6784a30edb12.jpg","text":"TemporaryFile(/tmp/multipartBody165961285512832984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271492865,"filename":"image_10042025_06_13_57_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094196","file1":"1351094191","file0":"1351094185","file4":"1351094205","file5":"1351094209","file3":"1351094200"},"map_files_photo_id_array":[{"photo_id":"1351094209","filename":"file5"},{"photo_id":"1351094196","filename":"file2"},{"photo_id":"1351094205","filename":"file4"},{"photo_id":"1351094191","filename":"file1"},{"photo_id":"1351094185","filename":"file0"},{"photo_id":"1351094200","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094205":["hashtag1","hashtag2"]},{"1351094191":["hashtag1","hashtag2"]},{"1351094185":["hashtag1","hashtag2"]},{"1351094196":["hashtag1","hashtag2"]},{"1351094209":["hashtag1","hashtag2"]},{"1351094200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094205, 1351094191, 1351094185, 1351094196, 1351094209, 1351094200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9231812953949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:51:32.428059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_27_10390.jpg', '/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_36_9349.jpg', '/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_47_10387.jpg', '/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_56_9448.jpg', '/home/pi/Desktop/images/10042025/06/14/image_10042025_06_15_07_10445.jpg', '/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_37_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_27_10390.jpg
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_36_9349.jpg
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_47_10387.jpg
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_14_56_9448.jpg
/home/pi/Desktop/images/10042025/06/14/image_10042025_06_15_07_10445.jpg
/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_37_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094249","1351094231","1351094236","1351094245","1351094226","1351094241"],"photo_ids_order":["1351094226","1351094231","1351094236","1351094241","1351094245","1351094249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84fe9061e961150d311fcaa1f82bb44f.jpg","text":"TemporaryFile(/tmp/multipartBody8120789108501018654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_15_37_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f64fe0eb292c95b876e993400004c768.jpg","text":"TemporaryFile(/tmp/multipartBody677148604001369831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_14_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f01298b23ea0b231aa9c0547fbbebf80.jpg","text":"TemporaryFile(/tmp/multipartBody5037640784496123912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_14_47_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d3c41b84274955a2eb61ad38b72dabf.jpg","text":"TemporaryFile(/tmp/multipartBody5033059301201716865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_15_07_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14e77186a84564e17e7d074b89237256.jpg","text":"TemporaryFile(/tmp/multipartBody8948101165911717511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_14_27_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/468da36ebccbba6293910b1160852efa.jpg","text":"TemporaryFile(/tmp/multipartBody3129000712505938161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271552961,"filename":"image_10042025_06_14_56_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094236","file1":"1351094231","file0":"1351094226","file4":"1351094245","file5":"1351094249","file3":"1351094241"},"map_files_photo_id_array":[{"photo_id":"1351094249","filename":"file5"},{"photo_id":"1351094236","filename":"file2"},{"photo_id":"1351094245","filename":"file4"},{"photo_id":"1351094231","filename":"file1"},{"photo_id":"1351094226","filename":"file0"},{"photo_id":"1351094241","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094249":["hashtag1","hashtag2"]},{"1351094231":["hashtag1","hashtag2"]},{"1351094236":["hashtag1","hashtag2"]},{"1351094245":["hashtag1","hashtag2"]},{"1351094226":["hashtag1","hashtag2"]},{"1351094241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094249, 1351094231, 1351094236, 1351094245, 1351094226, 1351094241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.755868434906006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:52:32.598580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_46_9492.jpg', '/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_57_10447.jpg', '/home/pi/Desktop/images/10042025/06/15/image_10042025_06_16_06_9361.jpg', '/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_17_10348.jpg', '/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_27_10439.jpg', '/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_37_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_46_9492.jpg
/home/pi/Desktop/images/10042025/06/15/image_10042025_06_15_57_10447.jpg
/home/pi/Desktop/images/10042025/06/15/image_10042025_06_16_06_9361.jpg
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_17_10348.jpg
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_27_10439.jpg
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_37_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094282","1351094270","1351094306","1351094302","1351094277","1351094291"],"photo_ids_order":["1351094270","1351094277","1351094282","1351094291","1351094302","1351094306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9267d7c61e897fab4f61ea57e873dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4569091217626326924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_16_06_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c069339cf2693b3c56a7cc0705dbe51.jpg","text":"TemporaryFile(/tmp/multipartBody7537844664304002449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_15_46_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6d3ef9b65422192e3aae05e8faa7b67.jpg","text":"TemporaryFile(/tmp/multipartBody5207999376964994975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_16_37_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f7336ad4530c4903fe1e4ff04304bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8733218625981976572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_16_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e15c61166057a0dbdb61ae834fbffd51.jpg","text":"TemporaryFile(/tmp/multipartBody6959821511660268292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_15_57_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c1aaeb8e282c1a389d9568ac2d4c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6514793779852082618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271613121,"filename":"image_10042025_06_16_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094282","file1":"1351094277","file0":"1351094270","file4":"1351094302","file5":"1351094306","file3":"1351094291"},"map_files_photo_id_array":[{"photo_id":"1351094306","filename":"file5"},{"photo_id":"1351094282","filename":"file2"},{"photo_id":"1351094302","filename":"file4"},{"photo_id":"1351094277","filename":"file1"},{"photo_id":"1351094270","filename":"file0"},{"photo_id":"1351094291","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094282":["hashtag1","hashtag2"]},{"1351094270":["hashtag1","hashtag2"]},{"1351094306":["hashtag1","hashtag2"]},{"1351094302":["hashtag1","hashtag2"]},{"1351094277":["hashtag1","hashtag2"]},{"1351094291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094282, 1351094270, 1351094306, 1351094302, 1351094277, 1351094291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65602731704712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:53:32.714353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_47_10366.jpg', '/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_56_9478.jpg', '/home/pi/Desktop/images/10042025/06/16/image_10042025_06_17_07_10391.jpg', '/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_17_10359.jpg', '/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_26_9354.jpg', '/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_37_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_47_10366.jpg
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_16_56_9478.jpg
/home/pi/Desktop/images/10042025/06/16/image_10042025_06_17_07_10391.jpg
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_17_10359.jpg
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_26_9354.jpg
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_37_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094369","1351094360","1351094365","1351094374","1351094385","1351094379"],"photo_ids_order":["1351094360","1351094365","1351094369","1351094374","1351094379","1351094385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29d695a8849ded706cd44e61e814811f.jpg","text":"TemporaryFile(/tmp/multipartBody1816336183822626556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_17_07_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/432590e41e0a98a999f517c4c7df5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2555751055479558975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_16_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e90358374c1247e05b6396d222f863e7.jpg","text":"TemporaryFile(/tmp/multipartBody5299226239677344619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_16_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef6541529b31b8d59c8c87ab44ac1b61.jpg","text":"TemporaryFile(/tmp/multipartBody5777435677879871259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_17_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ebfbd18926f834d3697c98ad3637933.jpg","text":"TemporaryFile(/tmp/multipartBody7725776552692081132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_17_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c51e0b9df9a3ce611417ca1128ff033.jpg","text":"TemporaryFile(/tmp/multipartBody5816807558089898694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271673239,"filename":"image_10042025_06_17_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094369","file1":"1351094365","file0":"1351094360","file4":"1351094379","file5":"1351094385","file3":"1351094374"},"map_files_photo_id_array":[{"photo_id":"1351094385","filename":"file5"},{"photo_id":"1351094369","filename":"file2"},{"photo_id":"1351094379","filename":"file4"},{"photo_id":"1351094365","filename":"file1"},{"photo_id":"1351094360","filename":"file0"},{"photo_id":"1351094374","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094369":["hashtag1","hashtag2"]},{"1351094360":["hashtag1","hashtag2"]},{"1351094365":["hashtag1","hashtag2"]},{"1351094374":["hashtag1","hashtag2"]},{"1351094385":["hashtag1","hashtag2"]},{"1351094379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094369, 1351094360, 1351094365, 1351094374, 1351094385, 1351094379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.909841537475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:54:33.049964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_46_9372.jpg', '/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_57_10455.jpg', '/home/pi/Desktop/images/10042025/06/17/image_10042025_06_18_07_10452.jpg', '/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_17_9483.jpg', '/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_27_10371.jpg', '/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_37_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_46_9372.jpg
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_17_57_10455.jpg
/home/pi/Desktop/images/10042025/06/17/image_10042025_06_18_07_10452.jpg
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_17_9483.jpg
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_27_10371.jpg
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_37_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094567","1351094576","1351094561","1351094581","1351094545","1351094550"],"photo_ids_order":["1351094545","1351094550","1351094561","1351094567","1351094576","1351094581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e19961b23ba7b724d0dcdc9d112f81b7.jpg","text":"TemporaryFile(/tmp/multipartBody7151125292689478600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_18_17_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1100564c332832bc83b8929786b63434.jpg","text":"TemporaryFile(/tmp/multipartBody8497227614852318799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_18_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e14a8bea85605ecb366672ee8faa8149.jpg","text":"TemporaryFile(/tmp/multipartBody5299417648606125393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_18_07_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81cebdc25533aa94aede610aa3c1e36b.jpg","text":"TemporaryFile(/tmp/multipartBody1670732231644143788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_18_37_9734.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3399d93674b6450bdd1572cd471b410.jpg","text":"TemporaryFile(/tmp/multipartBody3226998642845183738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_17_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab847a17fda7cc1e7c9d5ca07a257b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2593295412349737622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271733573,"filename":"image_10042025_06_17_57_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094561","file1":"1351094550","file0":"1351094545","file4":"1351094576","file5":"1351094581","file3":"1351094567"},"map_files_photo_id_array":[{"photo_id":"1351094581","filename":"file5"},{"photo_id":"1351094561","filename":"file2"},{"photo_id":"1351094576","filename":"file4"},{"photo_id":"1351094550","filename":"file1"},{"photo_id":"1351094545","filename":"file0"},{"photo_id":"1351094567","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094567":["hashtag1","hashtag2"]},{"1351094576":["hashtag1","hashtag2"]},{"1351094561":["hashtag1","hashtag2"]},{"1351094581":["hashtag1","hashtag2"]},{"1351094545":["hashtag1","hashtag2"]},{"1351094550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094567, 1351094576, 1351094561, 1351094581, 1351094545, 1351094550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.708680868148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:55:32.172255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_47_10371.jpg', '/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_57_9448.jpg', '/home/pi/Desktop/images/10042025/06/18/image_10042025_06_19_07_10399.jpg', '/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_16_9400.jpg', '/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_27_10391.jpg', '/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_37_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_47_10371.jpg
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_18_57_9448.jpg
/home/pi/Desktop/images/10042025/06/18/image_10042025_06_19_07_10399.jpg
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_16_9400.jpg
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_27_10391.jpg
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_37_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094636","1351094630","1351094606","1351094602","1351094625","1351094619"],"photo_ids_order":["1351094602","1351094606","1351094619","1351094625","1351094630","1351094636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7a13ed0238bce7299438c363801c1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7957150546689537873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_19_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c03afa4cd25d1175dab35e3aef33dcbb.jpg","text":"TemporaryFile(/tmp/multipartBody5793618585156130994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_19_27_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de694a5e153b20fb975338ce5417746b.jpg","text":"TemporaryFile(/tmp/multipartBody6661288869459717267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_18_57_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/732166c9e77b982980f474492dabfad3.jpg","text":"TemporaryFile(/tmp/multipartBody2769896891617932297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_18_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cc73b28d22a3853284abec1d39c6625.jpg","text":"TemporaryFile(/tmp/multipartBody5920286289425152154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_19_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39b2ea8dc3e1b8a7b925da58ee896772.jpg","text":"TemporaryFile(/tmp/multipartBody5806559685440400228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271792697,"filename":"image_10042025_06_19_07_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094619","file1":"1351094606","file0":"1351094602","file4":"1351094630","file5":"1351094636","file3":"1351094625"},"map_files_photo_id_array":[{"photo_id":"1351094636","filename":"file5"},{"photo_id":"1351094619","filename":"file2"},{"photo_id":"1351094630","filename":"file4"},{"photo_id":"1351094606","filename":"file1"},{"photo_id":"1351094602","filename":"file0"},{"photo_id":"1351094625","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094636":["hashtag1","hashtag2"]},{"1351094630":["hashtag1","hashtag2"]},{"1351094606":["hashtag1","hashtag2"]},{"1351094602":["hashtag1","hashtag2"]},{"1351094625":["hashtag1","hashtag2"]},{"1351094619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094636, 1351094630, 1351094606, 1351094602, 1351094625, 1351094619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18123412132263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:56:32.393670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_47_9444.jpg', '/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_57_10383.jpg', '/home/pi/Desktop/images/10042025/06/19/image_10042025_06_20_06_9454.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_17_10374.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_26_9442.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_47_9444.jpg
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_19_57_10383.jpg
/home/pi/Desktop/images/10042025/06/19/image_10042025_06_20_06_9454.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_17_10374.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_26_9442.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351094771","1351094717","1351094767","1351094754","1351094733","1351094739"],"photo_ids_order":["1351094717","1351094733","1351094739","1351094754","1351094767","1351094771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80dfa2c53211e0d2802ea18fbecb96d8.jpg","text":"TemporaryFile(/tmp/multipartBody4157499026396020410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_20_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4de832af40342e48c13297afe4e22650.jpg","text":"TemporaryFile(/tmp/multipartBody6092220888192595400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_19_47_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6216d836bdec068d50a77e310cbef6d.jpg","text":"TemporaryFile(/tmp/multipartBody6150040956981422975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_20_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80235d9151415e8951e621be16a99f86.jpg","text":"TemporaryFile(/tmp/multipartBody1859683202501793498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_20_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/788cc545a580b1f9854aec88844dcdc7.jpg","text":"TemporaryFile(/tmp/multipartBody8062173824033220845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_19_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d40fc74244d480a2f7ffbb067868004.jpg","text":"TemporaryFile(/tmp/multipartBody7748586236488256691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744271852912,"filename":"image_10042025_06_20_06_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351094739","file1":"1351094733","file0":"1351094717","file4":"1351094767","file5":"1351094771","file3":"1351094754"},"map_files_photo_id_array":[{"photo_id":"1351094771","filename":"file5"},{"photo_id":"1351094739","filename":"file2"},{"photo_id":"1351094767","filename":"file4"},{"photo_id":"1351094733","filename":"file1"},{"photo_id":"1351094717","filename":"file0"},{"photo_id":"1351094754","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351094771":["hashtag1","hashtag2"]},{"1351094717":["hashtag1","hashtag2"]},{"1351094767":["hashtag1","hashtag2"]},{"1351094754":["hashtag1","hashtag2"]},{"1351094733":["hashtag1","hashtag2"]},{"1351094739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351094771, 1351094717, 1351094767, 1351094754, 1351094733, 1351094739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07465434074402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 09:57:32.659250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_47_10369.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_56_9469.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_21_07_10348.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_17_10362.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_27_9457.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_37_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_47_10369.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_56_9469.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_21_07_10348.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_17_10362.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_27_9457.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_37_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 09:59:03.547750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_47_10369.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_56_9469.jpg', '/home/pi/Desktop/images/10042025/06/20/image_10042025_06_21_07_10348.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_17_10362.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_27_9457.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_37_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_47_10369.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_20_56_9469.jpg
/home/pi/Desktop/images/10042025/06/20/image_10042025_06_21_07_10348.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_17_10362.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_27_9457.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_37_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351095515","1351095565","1351095706","1351095759","1351095651","1351095615"],"photo_ids_order":["1351095515","1351095565","1351095615","1351095651","1351095706","1351095759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e489aaa915ceb30eda328f82e6e7f47e.jpg","text":"TemporaryFile(/tmp/multipartBody6267960444871687469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_20_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cad18955ed1dd86ddd7a58e8cd6cbef.jpg","text":"TemporaryFile(/tmp/multipartBody8079825458896852099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_20_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1dcbd0766b1492113ad2ee7c083c6a16.jpg","text":"TemporaryFile(/tmp/multipartBody1850209937389581660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_21_27_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4d7d9e0cca0bdf669713d1c8c8b0655.jpg","text":"TemporaryFile(/tmp/multipartBody8070639064299558958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_21_37_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18682bbf4fcac14cad9de06040021404.jpg","text":"TemporaryFile(/tmp/multipartBody4068458677744303625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_21_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10bf84851358ecbd83cfb81593378df4.jpg","text":"TemporaryFile(/tmp/multipartBody5898066916099345162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272004089,"filename":"image_10042025_06_21_07_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351095615","file1":"1351095565","file0":"1351095515","file4":"1351095706","file5":"1351095759","file3":"1351095651"},"map_files_photo_id_array":[{"photo_id":"1351095759","filename":"file5"},{"photo_id":"1351095615","filename":"file2"},{"photo_id":"1351095706","filename":"file4"},{"photo_id":"1351095565","filename":"file1"},{"photo_id":"1351095515","filename":"file0"},{"photo_id":"1351095651","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351095515":["hashtag1","hashtag2"]},{"1351095565":["hashtag1","hashtag2"]},{"1351095706":["hashtag1","hashtag2"]},{"1351095759":["hashtag1","hashtag2"]},{"1351095651":["hashtag1","hashtag2"]},{"1351095615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351095515, 1351095565, 1351095706, 1351095759, 1351095651, 1351095615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76543569564819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 09:59:42.309240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_46_9472.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_57_10361.jpg', '/home/pi/Desktop/images/10042025/06/21/image_10042025_06_22_07_10362.jpg', '/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_17_9457.jpg', '/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_27_10366.jpg', '/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_36_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_46_9472.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_21_57_10361.jpg
/home/pi/Desktop/images/10042025/06/21/image_10042025_06_22_07_10362.jpg
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_17_9457.jpg
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_27_10366.jpg
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_36_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351096168","1351096047","1351095924","1351095980","1351096124","1351096093"],"photo_ids_order":["1351095924","1351095980","1351096047","1351096093","1351096124","1351096168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d40e4ac9b9a208af020d2fdccf13c3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1103805708027563256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_22_36_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46976163446cea87f33d5cd0d81dd295.jpg","text":"TemporaryFile(/tmp/multipartBody973506916318870473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_22_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f805caa050aea48889119bda7d9331f7.jpg","text":"TemporaryFile(/tmp/multipartBody6566509128506034823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_21_46_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97fbc442c268add3a4f41b08905e7ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5952109144572012863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_21_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ba526b516c8beb95caed86358edfd30.jpg","text":"TemporaryFile(/tmp/multipartBody8407912301526869058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_22_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b215d5dd56c97a3c44ec7ea8b2c6728.jpg","text":"TemporaryFile(/tmp/multipartBody8997025355269694986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272042822,"filename":"image_10042025_06_22_17_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351096047","file1":"1351095980","file0":"1351095924","file4":"1351096124","file5":"1351096168","file3":"1351096093"},"map_files_photo_id_array":[{"photo_id":"1351096168","filename":"file5"},{"photo_id":"1351096047","filename":"file2"},{"photo_id":"1351096124","filename":"file4"},{"photo_id":"1351095980","filename":"file1"},{"photo_id":"1351095924","filename":"file0"},{"photo_id":"1351096093","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351096168":["hashtag1","hashtag2"]},{"1351096047":["hashtag1","hashtag2"]},{"1351095924":["hashtag1","hashtag2"]},{"1351095980":["hashtag1","hashtag2"]},{"1351096124":["hashtag1","hashtag2"]},{"1351096093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351096168, 1351096047, 1351095924, 1351095980, 1351096124, 1351096093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64431309700012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:00:32.356311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_47_10460.jpg', '/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_56_9472.jpg', '/home/pi/Desktop/images/10042025/06/22/image_10042025_06_23_07_10349.jpg', '/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_17_10440.jpg', '/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_27_9370.jpg', '/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_47_10460.jpg
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_22_56_9472.jpg
/home/pi/Desktop/images/10042025/06/22/image_10042025_06_23_07_10349.jpg
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_17_10440.jpg
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_27_9370.jpg
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351096371","1351096506","1351096455","1351096314","1351096412","1351096483"],"photo_ids_order":["1351096314","1351096371","1351096412","1351096455","1351096483","1351096506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/128cd7d7bb164d24bd1acf75f71a6655.jpg","text":"TemporaryFile(/tmp/multipartBody6684552378084738813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_22_56_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cdd73803136cb2d9c4dbb76c4291b61.jpg","text":"TemporaryFile(/tmp/multipartBody149204883663109774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_23_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69d447d4ef26720c18166afd7d926e7a.jpg","text":"TemporaryFile(/tmp/multipartBody896015984598484427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_23_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3f297bdd21fb34271f001e8fb59fcce.jpg","text":"TemporaryFile(/tmp/multipartBody1343683423446426230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_22_47_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29e6fadbbde90cd2ef4ad8328be2b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7807181447499704385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_23_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1959170f690fd7010f6dce048b1da6d1.jpg","text":"TemporaryFile(/tmp/multipartBody77297665082883260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272092945,"filename":"image_10042025_06_23_27_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351096412","file1":"1351096371","file0":"1351096314","file4":"1351096483","file5":"1351096506","file3":"1351096455"},"map_files_photo_id_array":[{"photo_id":"1351096506","filename":"file5"},{"photo_id":"1351096412","filename":"file2"},{"photo_id":"1351096483","filename":"file4"},{"photo_id":"1351096371","filename":"file1"},{"photo_id":"1351096314","filename":"file0"},{"photo_id":"1351096455","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351096371":["hashtag1","hashtag2"]},{"1351096506":["hashtag1","hashtag2"]},{"1351096455":["hashtag1","hashtag2"]},{"1351096314":["hashtag1","hashtag2"]},{"1351096412":["hashtag1","hashtag2"]},{"1351096483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351096371, 1351096506, 1351096455, 1351096314, 1351096412, 1351096483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.51488995552063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:01:32.594195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_46_9470.jpg', '/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_57_10374.jpg', '/home/pi/Desktop/images/10042025/06/23/image_10042025_06_24_07_10351.jpg', '/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_17_9440.jpg', '/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_27_10387.jpg', '/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_36_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_46_9470.jpg
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_23_57_10374.jpg
/home/pi/Desktop/images/10042025/06/23/image_10042025_06_24_07_10351.jpg
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_17_9440.jpg
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_27_10387.jpg
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_36_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351096807","1351096689","1351096665","1351096745","1351096709","1351096774"],"photo_ids_order":["1351096665","1351096689","1351096709","1351096745","1351096774","1351096807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd81c5ef1e3cb856a46305f2b5ef0089.jpg","text":"TemporaryFile(/tmp/multipartBody1307443169475485701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_24_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cb559730c94719cb6f99b3e2d1f3aab.jpg","text":"TemporaryFile(/tmp/multipartBody4009546257015163303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_23_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cac01f2596535cd02d807bb7cf7d91a.jpg","text":"TemporaryFile(/tmp/multipartBody6048207966192523608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_23_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/813b735ac70f32a79f3a25e76393954c.jpg","text":"TemporaryFile(/tmp/multipartBody4679816400963765696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_24_17_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a384c394f90b4c28ceab1f9899112539.jpg","text":"TemporaryFile(/tmp/multipartBody1629688785400283892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_24_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e7103682fa6778fca18f579d498610f.jpg","text":"TemporaryFile(/tmp/multipartBody1464667723985142182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272153131,"filename":"image_10042025_06_24_27_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351096709","file1":"1351096689","file0":"1351096665","file4":"1351096774","file5":"1351096807","file3":"1351096745"},"map_files_photo_id_array":[{"photo_id":"1351096807","filename":"file5"},{"photo_id":"1351096709","filename":"file2"},{"photo_id":"1351096774","filename":"file4"},{"photo_id":"1351096689","filename":"file1"},{"photo_id":"1351096665","filename":"file0"},{"photo_id":"1351096745","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351096807":["hashtag1","hashtag2"]},{"1351096689":["hashtag1","hashtag2"]},{"1351096665":["hashtag1","hashtag2"]},{"1351096745":["hashtag1","hashtag2"]},{"1351096709":["hashtag1","hashtag2"]},{"1351096774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351096807, 1351096689, 1351096665, 1351096745, 1351096709, 1351096774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08596444129944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:02:32.704225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_47_10442.jpg', '/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_56_9381.jpg', '/home/pi/Desktop/images/10042025/06/24/image_10042025_06_25_07_10435.jpg', '/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_17_10506.jpg', '/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_27_9407.jpg', '/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_37_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_47_10442.jpg
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_24_56_9381.jpg
/home/pi/Desktop/images/10042025/06/24/image_10042025_06_25_07_10435.jpg
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_17_10506.jpg
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_27_9407.jpg
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_37_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351097116","1351097125","1351097148","1351097171","1351097201","1351097164"],"photo_ids_order":["1351097116","1351097125","1351097148","1351097164","1351097171","1351097201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2eddf61a97bf50657bafaa7d682d79fa.jpg","text":"TemporaryFile(/tmp/multipartBody8290145816821198068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_24_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7dbe5aff5fb9420cce2b3a9c7d885a31.jpg","text":"TemporaryFile(/tmp/multipartBody4013082839195160631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_24_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6518e4e78ee1bf4db492d025668afb67.jpg","text":"TemporaryFile(/tmp/multipartBody7352232473234472910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_25_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e60b9aa03ac4b7b6aad385895904c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8138645723318870879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_25_27_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625ebae6ccafa149a158314800845cc4.jpg","text":"TemporaryFile(/tmp/multipartBody267711371497976904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_25_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f153fffca9c29b07d3bc789ff6b66a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5792205543925913958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272213506,"filename":"image_10042025_06_25_17_10506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351097148","file1":"1351097125","file0":"1351097116","file4":"1351097171","file5":"1351097201","file3":"1351097164"},"map_files_photo_id_array":[{"photo_id":"1351097201","filename":"file5"},{"photo_id":"1351097148","filename":"file2"},{"photo_id":"1351097171","filename":"file4"},{"photo_id":"1351097125","filename":"file1"},{"photo_id":"1351097116","filename":"file0"},{"photo_id":"1351097164","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351097116":["hashtag1","hashtag2"]},{"1351097125":["hashtag1","hashtag2"]},{"1351097148":["hashtag1","hashtag2"]},{"1351097171":["hashtag1","hashtag2"]},{"1351097201":["hashtag1","hashtag2"]},{"1351097164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351097116, 1351097125, 1351097148, 1351097171, 1351097201, 1351097164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93862175941467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:03:32.901982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_46_9445.jpg', '/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_57_10393.jpg', '/home/pi/Desktop/images/10042025/06/25/image_10042025_06_26_07_10377.jpg', '/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_17_9411.jpg', '/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_36_9460.jpg', '/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_46_9445.jpg
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_25_57_10393.jpg
/home/pi/Desktop/images/10042025/06/25/image_10042025_06_26_07_10377.jpg
/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_17_9411.jpg
/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_36_9460.jpg
/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351097484","1351097442","1351097498","1351097471","1351097459","1351097480"],"photo_ids_order":["1351097442","1351097459","1351097471","1351097480","1351097484","1351097498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c915d4640aedbde01865d2782f7421ea.jpg","text":"TemporaryFile(/tmp/multipartBody5068303334140130754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_26_36_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09347de7c95c0b0be4be147f7ef85254.jpg","text":"TemporaryFile(/tmp/multipartBody7205190748234146515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_25_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99715b685ea118a4173f036118d87c06.jpg","text":"TemporaryFile(/tmp/multipartBody3229524809763239896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_26_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b237b923843b5af729313d70005e40a.jpg","text":"TemporaryFile(/tmp/multipartBody9046162874166426821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_26_07_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a60cf791790fef0af366db280f641794.jpg","text":"TemporaryFile(/tmp/multipartBody9137871846569673849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_25_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d3360be78c9f8b6925011a823af0f13.jpg","text":"TemporaryFile(/tmp/multipartBody536282102017860490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272273426,"filename":"image_10042025_06_26_17_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351097471","file1":"1351097459","file0":"1351097442","file4":"1351097484","file5":"1351097498","file3":"1351097480"},"map_files_photo_id_array":[{"photo_id":"1351097498","filename":"file5"},{"photo_id":"1351097471","filename":"file2"},{"photo_id":"1351097484","filename":"file4"},{"photo_id":"1351097459","filename":"file1"},{"photo_id":"1351097442","filename":"file0"},{"photo_id":"1351097480","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351097484":["hashtag1","hashtag2"]},{"1351097442":["hashtag1","hashtag2"]},{"1351097498":["hashtag1","hashtag2"]},{"1351097471":["hashtag1","hashtag2"]},{"1351097459":["hashtag1","hashtag2"]},{"1351097480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351097484, 1351097442, 1351097498, 1351097471, 1351097459, 1351097480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.293280363082886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:04:32.173867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_57_10366.jpg', '/home/pi/Desktop/images/10042025/06/26/image_10042025_06_27_06_9342.jpg', '/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_17_10415.jpg', '/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_26_9430.jpg', '/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_37_10465.jpg', '/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_47_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/26/image_10042025_06_26_57_10366.jpg
/home/pi/Desktop/images/10042025/06/26/image_10042025_06_27_06_9342.jpg
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_17_10415.jpg
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_26_9430.jpg
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_37_10465.jpg
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351097812","1351097667","1351097634","1351097715","1351097984","1351097951"],"photo_ids_order":["1351097634","1351097667","1351097715","1351097812","1351097951","1351097984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/175f58cf8c698fbde6a5fc3bd7af86ee.jpg","text":"TemporaryFile(/tmp/multipartBody9211658960325604521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_27_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efda2725dcb6cf86c5c97fa021e24f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1937904242686304871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_27_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db815471e76c4247f6bfa2c5d135c0bf.jpg","text":"TemporaryFile(/tmp/multipartBody290301650852284409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_26_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7071deceb89d970462ac1246e3eec5b.jpg","text":"TemporaryFile(/tmp/multipartBody6673196185474157479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_27_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae66f5683e6e36ead2d357bd49094649.jpg","text":"TemporaryFile(/tmp/multipartBody2516041331542378165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_27_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14f5fe0b4f2cfcb891c7082857d81607.jpg","text":"TemporaryFile(/tmp/multipartBody4109152862053750277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272332711,"filename":"image_10042025_06_27_37_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351097715","file1":"1351097667","file0":"1351097634","file4":"1351097951","file5":"1351097984","file3":"1351097812"},"map_files_photo_id_array":[{"photo_id":"1351097984","filename":"file5"},{"photo_id":"1351097715","filename":"file2"},{"photo_id":"1351097951","filename":"file4"},{"photo_id":"1351097667","filename":"file1"},{"photo_id":"1351097634","filename":"file0"},{"photo_id":"1351097812","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351097812":["hashtag1","hashtag2"]},{"1351097667":["hashtag1","hashtag2"]},{"1351097634":["hashtag1","hashtag2"]},{"1351097715":["hashtag1","hashtag2"]},{"1351097984":["hashtag1","hashtag2"]},{"1351097951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351097812, 1351097667, 1351097634, 1351097715, 1351097984, 1351097951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.9123010635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:05:32.289827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_57_9484.jpg', '/home/pi/Desktop/images/10042025/06/27/image_10042025_06_28_07_10371.jpg', '/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_16_9433.jpg', '/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_36_9356.jpg', '/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_57_10413.jpg', '/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_27_57_9484.jpg
/home/pi/Desktop/images/10042025/06/27/image_10042025_06_28_07_10371.jpg
/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_16_9433.jpg
/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_36_9356.jpg
/home/pi/Desktop/images/10042025/06/28/image_10042025_06_28_57_10413.jpg
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_17_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351098486","1351098336","1351098438","1351098290","1351098386","1351098242"],"photo_ids_order":["1351098242","1351098290","1351098336","1351098386","1351098438","1351098486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84d76651c9ee08d60f1137797cabb602.jpg","text":"TemporaryFile(/tmp/multipartBody3888738396800657817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_29_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04fca848b5c5c453987b96a3329e409b.jpg","text":"TemporaryFile(/tmp/multipartBody8814075445710832512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_28_16_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d001a5e3eba432f63fb22a1898a52d5.jpg","text":"TemporaryFile(/tmp/multipartBody7294990389454969304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_28_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2f6d353572ca6b05e767c34feca7608.jpg","text":"TemporaryFile(/tmp/multipartBody5573493692517643257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_28_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0421a70473870ec446964131b09084b6.jpg","text":"TemporaryFile(/tmp/multipartBody2231963273379183575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_28_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c77461b19624fd09a73ffdcb3daf307.jpg","text":"TemporaryFile(/tmp/multipartBody4415390002702869778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272392822,"filename":"image_10042025_06_27_57_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351098336","file1":"1351098290","file0":"1351098242","file4":"1351098438","file5":"1351098486","file3":"1351098386"},"map_files_photo_id_array":[{"photo_id":"1351098486","filename":"file5"},{"photo_id":"1351098336","filename":"file2"},{"photo_id":"1351098438","filename":"file4"},{"photo_id":"1351098290","filename":"file1"},{"photo_id":"1351098242","filename":"file0"},{"photo_id":"1351098386","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351098486":["hashtag1","hashtag2"]},{"1351098336":["hashtag1","hashtag2"]},{"1351098438":["hashtag1","hashtag2"]},{"1351098290":["hashtag1","hashtag2"]},{"1351098386":["hashtag1","hashtag2"]},{"1351098242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351098486, 1351098336, 1351098438, 1351098290, 1351098386, 1351098242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15657687187195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:06:32.485272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_26_9529.jpg', '/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_37_10425.jpg', '/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_47_10397.jpg', '/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_57_9440.jpg', '/home/pi/Desktop/images/10042025/06/29/image_10042025_06_30_07_10368.jpg', '/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_16_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_26_9529.jpg
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_37_10425.jpg
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_47_10397.jpg
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_29_57_9440.jpg
/home/pi/Desktop/images/10042025/06/29/image_10042025_06_30_07_10368.jpg
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_16_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351098896","1351099066","1351099024","1351098958","1351099108","1351099152"],"photo_ids_order":["1351098896","1351098958","1351099024","1351099066","1351099108","1351099152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba8c7f41cec0801bce28bed1525e19f2.jpg","text":"TemporaryFile(/tmp/multipartBody8410556614718490236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_29_26_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10bb494682c0323f18bd781d9ce450b1.jpg","text":"TemporaryFile(/tmp/multipartBody2574405151908567476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_29_57_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bd6808944d35d61bdef8db8006850ac.jpg","text":"TemporaryFile(/tmp/multipartBody5052256947367392308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_29_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64c19b821a54dac9e79fb7bcf7250af8.jpg","text":"TemporaryFile(/tmp/multipartBody781761699542529330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_29_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eca21378019479e005453f2d9d6d386e.jpg","text":"TemporaryFile(/tmp/multipartBody8428140400111888953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_30_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5ea59a82af81f0b979ad3cc49b2bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody3554677455455323684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272453014,"filename":"image_10042025_06_30_16_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351099024","file1":"1351098958","file0":"1351098896","file4":"1351099108","file5":"1351099152","file3":"1351099066"},"map_files_photo_id_array":[{"photo_id":"1351099152","filename":"file5"},{"photo_id":"1351099024","filename":"file2"},{"photo_id":"1351099108","filename":"file4"},{"photo_id":"1351098958","filename":"file1"},{"photo_id":"1351098896","filename":"file0"},{"photo_id":"1351099066","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351098896":["hashtag1","hashtag2"]},{"1351099066":["hashtag1","hashtag2"]},{"1351099024":["hashtag1","hashtag2"]},{"1351098958":["hashtag1","hashtag2"]},{"1351099108":["hashtag1","hashtag2"]},{"1351099152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351098896, 1351099066, 1351099024, 1351098958, 1351099108, 1351099152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2276725769043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:07:32.701795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_27_10401.jpg', '/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_37_10380.jpg', '/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_47_9430.jpg', '/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_57_10406.jpg', '/home/pi/Desktop/images/10042025/06/30/image_10042025_06_31_06_9419.jpg', '/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_17_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_27_10401.jpg
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_37_10380.jpg
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_47_9430.jpg
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_30_57_10406.jpg
/home/pi/Desktop/images/10042025/06/30/image_10042025_06_31_06_9419.jpg
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_17_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351099608","1351099602","1351099559","1351099610","1351099511","1351099606"],"photo_ids_order":["1351099511","1351099559","1351099602","1351099606","1351099608","1351099610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccc39166defa732f541164438ecff782.jpg","text":"TemporaryFile(/tmp/multipartBody8495492685822713365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_31_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c1ed1d9626457028a79bb9a0ef1f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3955756905157408565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_30_47_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1089400858aefa95daf6019ae73c619d.jpg","text":"TemporaryFile(/tmp/multipartBody6759128525313502712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_30_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/137e0a72487c1f1bd67e7db6b84db63b.jpg","text":"TemporaryFile(/tmp/multipartBody6529827815090123957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_31_17_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/758febb998c86190c0ec18129724131f.jpg","text":"TemporaryFile(/tmp/multipartBody8121198306827223909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_30_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c801c64eda3bcbd03800238250cb5e6.jpg","text":"TemporaryFile(/tmp/multipartBody6413454654522000132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272513231,"filename":"image_10042025_06_30_57_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351099602","file1":"1351099559","file0":"1351099511","file4":"1351099608","file5":"1351099610","file3":"1351099606"},"map_files_photo_id_array":[{"photo_id":"1351099610","filename":"file5"},{"photo_id":"1351099602","filename":"file2"},{"photo_id":"1351099608","filename":"file4"},{"photo_id":"1351099559","filename":"file1"},{"photo_id":"1351099511","filename":"file0"},{"photo_id":"1351099606","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351099608":["hashtag1","hashtag2"]},{"1351099602":["hashtag1","hashtag2"]},{"1351099559":["hashtag1","hashtag2"]},{"1351099610":["hashtag1","hashtag2"]},{"1351099511":["hashtag1","hashtag2"]},{"1351099606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351099608, 1351099602, 1351099559, 1351099610, 1351099511, 1351099606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.539525747299194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:08:32.755819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_26_9371.jpg', '/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_37_10448.jpg', '/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_47_10385.jpg', '/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_56_9425.jpg', '/home/pi/Desktop/images/10042025/06/31/image_10042025_06_32_07_10424.jpg', '/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_16_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_26_9371.jpg
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_37_10448.jpg
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_47_10385.jpg
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_31_56_9425.jpg
/home/pi/Desktop/images/10042025/06/31/image_10042025_06_32_07_10424.jpg
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_16_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351099728","1351099628","1351099888","1351099633","1351099851","1351099956"],"photo_ids_order":["1351099628","1351099633","1351099728","1351099851","1351099888","1351099956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c4a8e3e625c3e21d5f7c46645d31a64.jpg","text":"TemporaryFile(/tmp/multipartBody5518659244753208679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_31_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9863fd6b2bb2bcb4c1e24fae1b1294a3.jpg","text":"TemporaryFile(/tmp/multipartBody950633803351866114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_31_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfeee791dce371c34a18eff7a624e851.jpg","text":"TemporaryFile(/tmp/multipartBody447930769454578929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_32_07_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fbaff9bdc4b0cefc88a8b5ea1ab40d4.jpg","text":"TemporaryFile(/tmp/multipartBody8871578133913890173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_31_37_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6073131b4f510341a9fe023795a2638.jpg","text":"TemporaryFile(/tmp/multipartBody2205321946347144346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_31_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4757ac9cf21cf26aec9ac66259723fb.jpg","text":"TemporaryFile(/tmp/multipartBody2327654324706763934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272573277,"filename":"image_10042025_06_32_16_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351099728","file1":"1351099633","file0":"1351099628","file4":"1351099888","file5":"1351099956","file3":"1351099851"},"map_files_photo_id_array":[{"photo_id":"1351099956","filename":"file5"},{"photo_id":"1351099728","filename":"file2"},{"photo_id":"1351099888","filename":"file4"},{"photo_id":"1351099633","filename":"file1"},{"photo_id":"1351099628","filename":"file0"},{"photo_id":"1351099851","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351099728":["hashtag1","hashtag2"]},{"1351099628":["hashtag1","hashtag2"]},{"1351099888":["hashtag1","hashtag2"]},{"1351099633":["hashtag1","hashtag2"]},{"1351099851":["hashtag1","hashtag2"]},{"1351099956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351099728, 1351099628, 1351099888, 1351099633, 1351099851, 1351099956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05513906478882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:09:32.898853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_27_10395.jpg', '/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_37_10416.jpg', '/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_47_9430.jpg', '/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_57_10390.jpg', '/home/pi/Desktop/images/10042025/06/32/image_10042025_06_33_06_9447.jpg', '/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_27_10395.jpg
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_37_10416.jpg
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_47_9430.jpg
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_32_57_10390.jpg
/home/pi/Desktop/images/10042025/06/32/image_10042025_06_33_06_9447.jpg
/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351100360","1351100324","1351100284","1351100371","1351100251","1351100396"],"photo_ids_order":["1351100251","1351100284","1351100324","1351100360","1351100371","1351100396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a6220e4fb55722123dde28e0ba551a3.jpg","text":"TemporaryFile(/tmp/multipartBody1532280615435076701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_32_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23f3a0d85e59a3e9e1e7782f868d0f25.jpg","text":"TemporaryFile(/tmp/multipartBody721228258165389467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_32_47_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05ac7f6150a972a77d1bf8b3e27b476a.jpg","text":"TemporaryFile(/tmp/multipartBody6162907074566377775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_32_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02df94aff41e2aad37761b556edf8173.jpg","text":"TemporaryFile(/tmp/multipartBody6857876845478117289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_33_06_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eeb0b8dda0d1c427e02113ac3b445e66.jpg","text":"TemporaryFile(/tmp/multipartBody2631170374191651467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_32_27_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3eed183e9f00e761c04764dbbf734adf.jpg","text":"TemporaryFile(/tmp/multipartBody3850860115340158423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272633444,"filename":"image_10042025_06_33_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351100324","file1":"1351100284","file0":"1351100251","file4":"1351100371","file5":"1351100396","file3":"1351100360"},"map_files_photo_id_array":[{"photo_id":"1351100396","filename":"file5"},{"photo_id":"1351100324","filename":"file2"},{"photo_id":"1351100371","filename":"file4"},{"photo_id":"1351100284","filename":"file1"},{"photo_id":"1351100251","filename":"file0"},{"photo_id":"1351100360","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351100360":["hashtag1","hashtag2"]},{"1351100324":["hashtag1","hashtag2"]},{"1351100284":["hashtag1","hashtag2"]},{"1351100371":["hashtag1","hashtag2"]},{"1351100251":["hashtag1","hashtag2"]},{"1351100396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351100360, 1351100324, 1351100284, 1351100371, 1351100251, 1351100396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81095218658447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:10:33.178814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_37_9452.jpg', '/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_47_10409.jpg', '/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_56_9417.jpg', '/home/pi/Desktop/images/10042025/06/33/image_10042025_06_34_07_10353.jpg', '/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_16_9435.jpg', '/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_27_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_37_9452.jpg
/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_47_10409.jpg
/home/pi/Desktop/images/10042025/06/33/image_10042025_06_33_56_9417.jpg
/home/pi/Desktop/images/10042025/06/33/image_10042025_06_34_07_10353.jpg
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_16_9435.jpg
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_27_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351100740","1351100728","1351100743","1351100736","1351100646","1351100693"],"photo_ids_order":["1351100646","1351100693","1351100728","1351100736","1351100740","1351100743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0eed0fc4bf2f13a6772359345749855d.jpg","text":"TemporaryFile(/tmp/multipartBody4290327358597330131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_34_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fd8f88082a5b9ac258b2c7d9ea78929.jpg","text":"TemporaryFile(/tmp/multipartBody2418033240223277452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_33_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d15e62297c2dd96113422e6c2465d56.jpg","text":"TemporaryFile(/tmp/multipartBody8468770639712928908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_34_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acfaa24c91e3658154123b4223b6fdde.jpg","text":"TemporaryFile(/tmp/multipartBody2914511351599017072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_34_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/528ce6313b0b8897736147bd99a82b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2000397729708980477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_33_37_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a853ea56a10b61db4ddeb5bf91426a71.jpg","text":"TemporaryFile(/tmp/multipartBody3500187300878919338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272693727,"filename":"image_10042025_06_33_47_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351100728","file1":"1351100693","file0":"1351100646","file4":"1351100740","file5":"1351100743","file3":"1351100736"},"map_files_photo_id_array":[{"photo_id":"1351100743","filename":"file5"},{"photo_id":"1351100728","filename":"file2"},{"photo_id":"1351100740","filename":"file4"},{"photo_id":"1351100693","filename":"file1"},{"photo_id":"1351100646","filename":"file0"},{"photo_id":"1351100736","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351100740":["hashtag1","hashtag2"]},{"1351100728":["hashtag1","hashtag2"]},{"1351100743":["hashtag1","hashtag2"]},{"1351100736":["hashtag1","hashtag2"]},{"1351100646":["hashtag1","hashtag2"]},{"1351100693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351100740, 1351100728, 1351100743, 1351100736, 1351100646, 1351100693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65603947639465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:11:32.364669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_37_10435.jpg', '/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_46_9378.jpg', '/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_57_10386.jpg', '/home/pi/Desktop/images/10042025/06/34/image_10042025_06_35_06_9350.jpg', '/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_17_10404.jpg', '/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_27_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_37_10435.jpg
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_46_9378.jpg
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_34_57_10386.jpg
/home/pi/Desktop/images/10042025/06/34/image_10042025_06_35_06_9350.jpg
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_17_10404.jpg
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_27_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351100936","1351100938","1351100908","1351100883","1351100931","1351100927"],"photo_ids_order":["1351100883","1351100908","1351100927","1351100931","1351100936","1351100938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7bfcc94f77cd4b0f8c1bf2cf7d4cd70.jpg","text":"TemporaryFile(/tmp/multipartBody8477581431648150630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_35_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4046e42f5dd8bf6004ad706f41e30058.jpg","text":"TemporaryFile(/tmp/multipartBody9157687540413932002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_35_27_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd825b39b0b87b73bd3cc8d7809c967f.jpg","text":"TemporaryFile(/tmp/multipartBody2092585552557902123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_34_46_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94216f7ca92e629617fd3eb7f7b5884a.jpg","text":"TemporaryFile(/tmp/multipartBody728691911153255183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_34_37_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/729f4cbd1a1227d22bc18807e5131eff.jpg","text":"TemporaryFile(/tmp/multipartBody6488925273918888491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_35_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a81521e4c8db60e01a0d1537efbfe7e.jpg","text":"TemporaryFile(/tmp/multipartBody6186893262680281849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272752888,"filename":"image_10042025_06_34_57_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351100927","file1":"1351100908","file0":"1351100883","file4":"1351100936","file5":"1351100938","file3":"1351100931"},"map_files_photo_id_array":[{"photo_id":"1351100938","filename":"file5"},{"photo_id":"1351100927","filename":"file2"},{"photo_id":"1351100936","filename":"file4"},{"photo_id":"1351100908","filename":"file1"},{"photo_id":"1351100883","filename":"file0"},{"photo_id":"1351100931","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351100936":["hashtag1","hashtag2"]},{"1351100938":["hashtag1","hashtag2"]},{"1351100908":["hashtag1","hashtag2"]},{"1351100883":["hashtag1","hashtag2"]},{"1351100931":["hashtag1","hashtag2"]},{"1351100927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351100936, 1351100938, 1351100908, 1351100883, 1351100931, 1351100927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.46722435951233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:12:32.559187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_36_9367.jpg', '/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_47_10377.jpg', '/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_56_9426.jpg', '/home/pi/Desktop/images/10042025/06/35/image_10042025_06_36_07_10374.jpg', '/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_17_10415.jpg', '/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_26_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_36_9367.jpg
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_47_10377.jpg
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_35_56_9426.jpg
/home/pi/Desktop/images/10042025/06/35/image_10042025_06_36_07_10374.jpg
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_17_10415.jpg
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_26_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351101187","1351101067","1351101132","1351101027","1351101032","1351101023"],"photo_ids_order":["1351101023","1351101027","1351101032","1351101067","1351101132","1351101187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1077fe4bf0e3d6fb5d6fd201f59bca1a.jpg","text":"TemporaryFile(/tmp/multipartBody8693620316108469612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_36_26_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e3af2e707a57fd21f1358497ade4add.jpg","text":"TemporaryFile(/tmp/multipartBody2825932873869583172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_36_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97d81ddb63ceb278aa2c733cfed3d11e.jpg","text":"TemporaryFile(/tmp/multipartBody1572091929003326487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_36_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab97f139381ba575eb53a78b48ef575c.jpg","text":"TemporaryFile(/tmp/multipartBody3448488670203535337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_35_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cd4f73739eb03ed6d4d44beee162acf.jpg","text":"TemporaryFile(/tmp/multipartBody312201428795212241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_35_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10bbdd9b09445dbb26729bb6dba7c76d.jpg","text":"TemporaryFile(/tmp/multipartBody8412119177146132782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272813080,"filename":"image_10042025_06_35_36_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351101032","file1":"1351101027","file0":"1351101023","file4":"1351101132","file5":"1351101187","file3":"1351101067"},"map_files_photo_id_array":[{"photo_id":"1351101187","filename":"file5"},{"photo_id":"1351101032","filename":"file2"},{"photo_id":"1351101132","filename":"file4"},{"photo_id":"1351101027","filename":"file1"},{"photo_id":"1351101023","filename":"file0"},{"photo_id":"1351101067","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351101187":["hashtag1","hashtag2"]},{"1351101067":["hashtag1","hashtag2"]},{"1351101132":["hashtag1","hashtag2"]},{"1351101027":["hashtag1","hashtag2"]},{"1351101032":["hashtag1","hashtag2"]},{"1351101023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351101187, 1351101067, 1351101132, 1351101027, 1351101032, 1351101023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59069871902466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:13:32.792441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_37_10369.jpg', '/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_46_9429.jpg', '/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_57_10369.jpg', '/home/pi/Desktop/images/10042025/06/36/image_10042025_06_37_07_10435.jpg', '/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_16_9459.jpg', '/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_27_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_37_10369.jpg
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_46_9429.jpg
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_36_57_10369.jpg
/home/pi/Desktop/images/10042025/06/36/image_10042025_06_37_07_10435.jpg
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_16_9459.jpg
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_27_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351101466","1351101505","1351101447","1351101411","1351101368","1351101482"],"photo_ids_order":["1351101368","1351101411","1351101447","1351101466","1351101482","1351101505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ac212dcb7d1a4907a8e72175b19ddae.jpg","text":"TemporaryFile(/tmp/multipartBody168128521588449873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_37_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46c3e0dfc08889fa4e52af894b7944f6.jpg","text":"TemporaryFile(/tmp/multipartBody4923307201877807884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_37_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1b3ec06f75bf2b42603274761fa3290.jpg","text":"TemporaryFile(/tmp/multipartBody7915220375000847311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_36_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45a5bcd34222d57fcf9873b74d69f36b.jpg","text":"TemporaryFile(/tmp/multipartBody3578503774670760455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_36_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b64fa6c6b7799450511263049dc34e5.jpg","text":"TemporaryFile(/tmp/multipartBody7872476334086246227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_36_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f464bdb91cf0ba5cf116dd471007833.jpg","text":"TemporaryFile(/tmp/multipartBody8867989354019773306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272873328,"filename":"image_10042025_06_37_16_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351101447","file1":"1351101411","file0":"1351101368","file4":"1351101482","file5":"1351101505","file3":"1351101466"},"map_files_photo_id_array":[{"photo_id":"1351101505","filename":"file5"},{"photo_id":"1351101447","filename":"file2"},{"photo_id":"1351101482","filename":"file4"},{"photo_id":"1351101411","filename":"file1"},{"photo_id":"1351101368","filename":"file0"},{"photo_id":"1351101466","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351101466":["hashtag1","hashtag2"]},{"1351101505":["hashtag1","hashtag2"]},{"1351101447":["hashtag1","hashtag2"]},{"1351101411":["hashtag1","hashtag2"]},{"1351101368":["hashtag1","hashtag2"]},{"1351101482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351101466, 1351101505, 1351101447, 1351101411, 1351101368, 1351101482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.493974447250366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:14:32.863973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_36_9353.jpg', '/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_47_10393.jpg', '/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_57_10388.jpg', '/home/pi/Desktop/images/10042025/06/37/image_10042025_06_38_06_9415.jpg', '/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_17_10372.jpg', '/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_26_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_36_9353.jpg
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_47_10393.jpg
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_37_57_10388.jpg
/home/pi/Desktop/images/10042025/06/37/image_10042025_06_38_06_9415.jpg
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_17_10372.jpg
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_26_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351101849","1351101801","1351101810","1351101860","1351101821","1351101815"],"photo_ids_order":["1351101801","1351101810","1351101815","1351101821","1351101849","1351101860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9220da225a42b337d6b04721c7e2de2.jpg","text":"TemporaryFile(/tmp/multipartBody3391257818339633082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_38_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49c732198797e5c60b7bac5f49e0b97c.jpg","text":"TemporaryFile(/tmp/multipartBody8105675809378091674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_37_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6f21c492864afaee1b42a17f8a12110.jpg","text":"TemporaryFile(/tmp/multipartBody1716325524654743768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_37_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a004880cbdf9ded59c0841d2f013131.jpg","text":"TemporaryFile(/tmp/multipartBody6979909783877205488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_38_26_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4dc068174025ec72b37984f24eaf2c4.jpg","text":"TemporaryFile(/tmp/multipartBody512298799970234926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_38_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42b38aee61fe2ee6b22e9dd89f19fde3.jpg","text":"TemporaryFile(/tmp/multipartBody4486514421994634115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272933405,"filename":"image_10042025_06_37_57_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351101815","file1":"1351101810","file0":"1351101801","file4":"1351101849","file5":"1351101860","file3":"1351101821"},"map_files_photo_id_array":[{"photo_id":"1351101860","filename":"file5"},{"photo_id":"1351101815","filename":"file2"},{"photo_id":"1351101849","filename":"file4"},{"photo_id":"1351101810","filename":"file1"},{"photo_id":"1351101801","filename":"file0"},{"photo_id":"1351101821","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351101849":["hashtag1","hashtag2"]},{"1351101801":["hashtag1","hashtag2"]},{"1351101810":["hashtag1","hashtag2"]},{"1351101860":["hashtag1","hashtag2"]},{"1351101821":["hashtag1","hashtag2"]},{"1351101815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351101849, 1351101801, 1351101810, 1351101860, 1351101821, 1351101815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39595651626587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:15:32.997464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_37_10385.jpg', '/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_47_10386.jpg', '/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_56_9515.jpg', '/home/pi/Desktop/images/10042025/06/38/image_10042025_06_39_07_10398.jpg', '/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_16_9499.jpg', '/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_27_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_37_10385.jpg
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_47_10386.jpg
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_38_56_9515.jpg
/home/pi/Desktop/images/10042025/06/38/image_10042025_06_39_07_10398.jpg
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_16_9499.jpg
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_27_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351101955","1351101993","1351101999","1351102002","1351101930","1351101985"],"photo_ids_order":["1351101930","1351101955","1351101985","1351101993","1351101999","1351102002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/160da0433fbf36c55e3754e792af7c86.jpg","text":"TemporaryFile(/tmp/multipartBody2420663719032724115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_38_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb4ca0250e1c47dfb1bd6016732ef8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7035398303379846315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_39_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78841805c61b679bd1010dea701bf19f.jpg","text":"TemporaryFile(/tmp/multipartBody2652277153668591442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_39_16_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/352a94484b3c849a786526a7fa0ebcf5.jpg","text":"TemporaryFile(/tmp/multipartBody6686096131604417330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_39_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3544fdc49ccb8e514153bd814bc96c1.jpg","text":"TemporaryFile(/tmp/multipartBody99200431021294679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_38_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ec17976b6a5610cdfa0e349584e362d.jpg","text":"TemporaryFile(/tmp/multipartBody6691795756910155688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744272993527,"filename":"image_10042025_06_38_56_9515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351101985","file1":"1351101955","file0":"1351101930","file4":"1351101999","file5":"1351102002","file3":"1351101993"},"map_files_photo_id_array":[{"photo_id":"1351102002","filename":"file5"},{"photo_id":"1351101985","filename":"file2"},{"photo_id":"1351101999","filename":"file4"},{"photo_id":"1351101955","filename":"file1"},{"photo_id":"1351101930","filename":"file0"},{"photo_id":"1351101993","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351101955":["hashtag1","hashtag2"]},{"1351101993":["hashtag1","hashtag2"]},{"1351101999":["hashtag1","hashtag2"]},{"1351102002":["hashtag1","hashtag2"]},{"1351101930":["hashtag1","hashtag2"]},{"1351101985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351101955, 1351101993, 1351101999, 1351102002, 1351101930, 1351101985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04484987258911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:16:32.403325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_37_10347.jpg', '/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_47_9423.jpg', '/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_57_10385.jpg', '/home/pi/Desktop/images/10042025/06/39/image_10042025_06_40_06_9466.jpg', '/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_17_10369.jpg', '/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_27_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_37_10347.jpg
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_47_9423.jpg
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_39_57_10385.jpg
/home/pi/Desktop/images/10042025/06/39/image_10042025_06_40_06_9466.jpg
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_17_10369.jpg
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_27_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351102138","1351102111","1351102105","1351102155","1351102145","1351102124"],"photo_ids_order":["1351102105","1351102111","1351102124","1351102138","1351102145","1351102155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2e5833a6cc388818391c8ef51114610.jpg","text":"TemporaryFile(/tmp/multipartBody5312596195089459890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_40_06_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/429ec0284563372b041a7e451e14e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6719698165398750077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_39_47_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41dbd01b2267bc30ea45ca338fd29379.jpg","text":"TemporaryFile(/tmp/multipartBody660738984163362216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_39_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b8c2ccc7ca85ab088dc4f51ef00e16a.jpg","text":"TemporaryFile(/tmp/multipartBody1426154588183175789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_40_27_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f0ea76eaae276e11245e529a4898e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5893814820855910700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_40_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e2d0a7bc4e9bc3c1875289d68b06cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8924233083737941977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273052926,"filename":"image_10042025_06_39_57_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102124","file1":"1351102111","file0":"1351102105","file4":"1351102145","file5":"1351102155","file3":"1351102138"},"map_files_photo_id_array":[{"photo_id":"1351102155","filename":"file5"},{"photo_id":"1351102124","filename":"file2"},{"photo_id":"1351102145","filename":"file4"},{"photo_id":"1351102111","filename":"file1"},{"photo_id":"1351102105","filename":"file0"},{"photo_id":"1351102138","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351102138":["hashtag1","hashtag2"]},{"1351102111":["hashtag1","hashtag2"]},{"1351102105":["hashtag1","hashtag2"]},{"1351102155":["hashtag1","hashtag2"]},{"1351102145":["hashtag1","hashtag2"]},{"1351102124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351102138, 1351102111, 1351102105, 1351102155, 1351102145, 1351102124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16276550292969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:17:32.717111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_37_9364.jpg', '/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_47_10372.jpg', '/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_56_9361.jpg', '/home/pi/Desktop/images/10042025/06/40/image_10042025_06_41_07_10376.jpg', '/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_16_9808.jpg', '/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_27_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_37_9364.jpg
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_47_10372.jpg
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_40_56_9361.jpg
/home/pi/Desktop/images/10042025/06/40/image_10042025_06_41_07_10376.jpg
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_16_9808.jpg
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_27_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351102293","1351102219","1351102193","1351102196","1351102304","1351102189"],"photo_ids_order":["1351102189","1351102193","1351102196","1351102219","1351102293","1351102304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c66275bb355eb9e250321b2a34f7a4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6694296958340713160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_41_16_9808.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d0c517514671346743caa126ca9f91a.jpg","text":"TemporaryFile(/tmp/multipartBody5083430243723709975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_41_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04216d1ff3b0162ccfb2343e9f1cf0f5.jpg","text":"TemporaryFile(/tmp/multipartBody473533149440804009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_40_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bdb73aa1ab0fe3d808b2fb8de6bf8f1.jpg","text":"TemporaryFile(/tmp/multipartBody4105849225487113104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_40_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13e192aa3c1981fef571a883a5c62f68.jpg","text":"TemporaryFile(/tmp/multipartBody8956970164767598413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_41_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1f6c785c6f31aca4a9aecd3a0d06790.jpg","text":"TemporaryFile(/tmp/multipartBody5094664821231138857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273113245,"filename":"image_10042025_06_40_37_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102196","file1":"1351102193","file0":"1351102189","file4":"1351102293","file5":"1351102304","file3":"1351102219"},"map_files_photo_id_array":[{"photo_id":"1351102304","filename":"file5"},{"photo_id":"1351102196","filename":"file2"},{"photo_id":"1351102293","filename":"file4"},{"photo_id":"1351102193","filename":"file1"},{"photo_id":"1351102189","filename":"file0"},{"photo_id":"1351102219","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351102293":["hashtag1","hashtag2"]},{"1351102219":["hashtag1","hashtag2"]},{"1351102193":["hashtag1","hashtag2"]},{"1351102196":["hashtag1","hashtag2"]},{"1351102304":["hashtag1","hashtag2"]},{"1351102189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351102293, 1351102219, 1351102193, 1351102196, 1351102304, 1351102189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54787492752075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:18:32.662719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_36_9426.jpg', '/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_47_10428.jpg', '/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_57_10476.jpg', '/home/pi/Desktop/images/10042025/06/41/image_10042025_06_42_06_9350.jpg', '/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_17_10362.jpg', '/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_26_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_36_9426.jpg
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_47_10428.jpg
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_41_57_10476.jpg
/home/pi/Desktop/images/10042025/06/41/image_10042025_06_42_06_9350.jpg
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_17_10362.jpg
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_26_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351102603","1351102554","1351102538","1351102514","1351102480","1351102570"],"photo_ids_order":["1351102480","1351102514","1351102538","1351102554","1351102570","1351102603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ec7dd2b6fc5f1b5ea8b5f4c168594cc.jpg","text":"TemporaryFile(/tmp/multipartBody2704841565786657168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_42_26_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37456ef5975cd6576da887f95c4e6fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4421439590074908361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_42_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11a4ae61a49c57c6cb1171644eb10865.jpg","text":"TemporaryFile(/tmp/multipartBody2482140113992117941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_41_57_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce505f5dd45c4cf03d281abb3721cfbe.jpg","text":"TemporaryFile(/tmp/multipartBody2259242695622087516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_41_47_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f24b52ae3951fc0cbd339f6dfa736e5c.jpg","text":"TemporaryFile(/tmp/multipartBody667813373373524045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_41_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e08650beed62afe9eec1d8944a498446.jpg","text":"TemporaryFile(/tmp/multipartBody1202746955211588996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273173189,"filename":"image_10042025_06_42_17_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102538","file1":"1351102514","file0":"1351102480","file4":"1351102570","file5":"1351102603","file3":"1351102554"},"map_files_photo_id_array":[{"photo_id":"1351102603","filename":"file5"},{"photo_id":"1351102538","filename":"file2"},{"photo_id":"1351102570","filename":"file4"},{"photo_id":"1351102514","filename":"file1"},{"photo_id":"1351102480","filename":"file0"},{"photo_id":"1351102554","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351102603":["hashtag1","hashtag2"]},{"1351102554":["hashtag1","hashtag2"]},{"1351102538":["hashtag1","hashtag2"]},{"1351102514":["hashtag1","hashtag2"]},{"1351102480":["hashtag1","hashtag2"]},{"1351102570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351102603, 1351102554, 1351102538, 1351102514, 1351102480, 1351102570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76094150543213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:19:32.868080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_37_10362.jpg', '/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_47_10446.jpg', '/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_57_9456.jpg', '/home/pi/Desktop/images/10042025/06/42/image_10042025_06_43_07_10353.jpg', '/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_16_9446.jpg', '/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_27_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_37_10362.jpg
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_47_10446.jpg
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_42_57_9456.jpg
/home/pi/Desktop/images/10042025/06/42/image_10042025_06_43_07_10353.jpg
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_16_9446.jpg
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_27_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351102810","1351102830","1351102800","1351102742","1351102820","1351102840"],"photo_ids_order":["1351102742","1351102800","1351102810","1351102820","1351102830","1351102840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/898628020e9b77fb45a683724720280f.jpg","text":"TemporaryFile(/tmp/multipartBody7257550824217616165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_42_57_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5366e40a6dc9cb8d049200ec71fd3437.jpg","text":"TemporaryFile(/tmp/multipartBody7860485101891052977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_43_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94163b54370e203282312dd03b3cbc45.jpg","text":"TemporaryFile(/tmp/multipartBody2696669554990500345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_42_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e700fbd4fa4e5375044b580ca0e2d507.jpg","text":"TemporaryFile(/tmp/multipartBody5254142436118904957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_42_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2b3e22769d7fd2019659ebcc75a8dd6.jpg","text":"TemporaryFile(/tmp/multipartBody4435561782845163147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_43_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f69df19b3584a8aeaae8285e471c99b.jpg","text":"TemporaryFile(/tmp/multipartBody6748503626765883175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273233394,"filename":"image_10042025_06_43_27_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102810","file1":"1351102800","file0":"1351102742","file4":"1351102830","file5":"1351102840","file3":"1351102820"},"map_files_photo_id_array":[{"photo_id":"1351102840","filename":"file5"},{"photo_id":"1351102810","filename":"file2"},{"photo_id":"1351102830","filename":"file4"},{"photo_id":"1351102800","filename":"file1"},{"photo_id":"1351102742","filename":"file0"},{"photo_id":"1351102820","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351102810":["hashtag1","hashtag2"]},{"1351102830":["hashtag1","hashtag2"]},{"1351102800":["hashtag1","hashtag2"]},{"1351102742":["hashtag1","hashtag2"]},{"1351102820":["hashtag1","hashtag2"]},{"1351102840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351102810, 1351102830, 1351102800, 1351102742, 1351102820, 1351102840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27786707878113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:20:33.164503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_37_10365.jpg', '/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_47_9362.jpg', '/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_57_10478.jpg', '/home/pi/Desktop/images/10042025/06/43/image_10042025_06_44_06_9400.jpg', '/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_17_10378.jpg', '/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_26_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_37_10365.jpg
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_47_9362.jpg
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_43_57_10478.jpg
/home/pi/Desktop/images/10042025/06/43/image_10042025_06_44_06_9400.jpg
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_17_10378.jpg
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_26_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351102930","1351102887","1351102896","1351102884","1351102902","1351102891"],"photo_ids_order":["1351102884","1351102887","1351102891","1351102896","1351102902","1351102930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9661cb344bbee71121f1d45f3aaa62af.jpg","text":"TemporaryFile(/tmp/multipartBody5465299256935158519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_44_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/613beec1b1ecfd0f9553626eb1cd2b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1017265901079236145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_43_47_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73e945352131d0d8a7b3fdd464a3ebc0.jpg","text":"TemporaryFile(/tmp/multipartBody9127697144446253126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_44_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43dcee5398f7ee031de25faf00d6e405.jpg","text":"TemporaryFile(/tmp/multipartBody7111470110582500328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_43_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e779240e99c2e8741c7e7ee192639091.jpg","text":"TemporaryFile(/tmp/multipartBody2737501394778945302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_44_17_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/836277c50e0477241170bc9b4e1acc5d.jpg","text":"TemporaryFile(/tmp/multipartBody5223678391177435311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273293803,"filename":"image_10042025_06_43_57_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102891","file1":"1351102887","file0":"1351102884","file4":"1351102902","file5":"1351102930","file3":"1351102896"},"map_files_photo_id_array":[{"photo_id":"1351102930","filename":"file5"},{"photo_id":"1351102891","filename":"file2"},{"photo_id":"1351102902","filename":"file4"},{"photo_id":"1351102887","filename":"file1"},{"photo_id":"1351102884","filename":"file0"},{"photo_id":"1351102896","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351102930":["hashtag1","hashtag2"]},{"1351102887":["hashtag1","hashtag2"]},{"1351102896":["hashtag1","hashtag2"]},{"1351102884":["hashtag1","hashtag2"]},{"1351102902":["hashtag1","hashtag2"]},{"1351102891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351102930, 1351102887, 1351102896, 1351102884, 1351102902, 1351102891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97603750228882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:21:32.394032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_37_10379.jpg', '/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_47_10379.jpg', '/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_56_9450.jpg', '/home/pi/Desktop/images/10042025/06/44/image_10042025_06_45_06_9798.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_17_10371.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_27_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_37_10379.jpg
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_47_10379.jpg
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_44_56_9450.jpg
/home/pi/Desktop/images/10042025/06/44/image_10042025_06_45_06_9798.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_17_10371.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_27_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351103011","1351102986","1351102998","1351103007","1351102993","1351103002"],"photo_ids_order":["1351102986","1351102993","1351102998","1351103002","1351103007","1351103011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba619bfdf3074fa075aaea94a9e40e26.jpg","text":"TemporaryFile(/tmp/multipartBody3539910235843907461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_45_27_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a75ff4185f154b7e5d6094ed2d1be294.jpg","text":"TemporaryFile(/tmp/multipartBody3083705326395026801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_44_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6597fdbef71465e22c25e2d131e7cd42.jpg","text":"TemporaryFile(/tmp/multipartBody8014789773282517264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_44_56_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/411d1fcb1b5095ea9f917a81ddb4e635.jpg","text":"TemporaryFile(/tmp/multipartBody6037670208822415820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_45_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f57bf9842a772da23a45faed2af67cba.jpg","text":"TemporaryFile(/tmp/multipartBody2914229240485805625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_44_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/361f08729d9addf4b5f258d37670ca36.jpg","text":"TemporaryFile(/tmp/multipartBody1352109884942154553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273352919,"filename":"image_10042025_06_45_06_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351102998","file1":"1351102993","file0":"1351102986","file4":"1351103007","file5":"1351103011","file3":"1351103002"},"map_files_photo_id_array":[{"photo_id":"1351103011","filename":"file5"},{"photo_id":"1351102998","filename":"file2"},{"photo_id":"1351103007","filename":"file4"},{"photo_id":"1351102993","filename":"file1"},{"photo_id":"1351102986","filename":"file0"},{"photo_id":"1351103002","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351103011":["hashtag1","hashtag2"]},{"1351102986":["hashtag1","hashtag2"]},{"1351102998":["hashtag1","hashtag2"]},{"1351103007":["hashtag1","hashtag2"]},{"1351102993":["hashtag1","hashtag2"]},{"1351103002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351103011, 1351102986, 1351102998, 1351103007, 1351102993, 1351103002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.591198682785034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:22:32.615919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5329084396362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 10:22:42.631866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4649021625518799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:22:52.557505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg', '/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_36_9394.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_46_10048.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_45_57_10370.jpg
/home/pi/Desktop/images/10042025/06/45/image_10042025_06_46_07_10361.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_17_9416.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_27_10458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351103082","1351103136","1351103118","1351103105","1351103086","1351103128"],"photo_ids_order":["1351103082","1351103086","1351103105","1351103118","1351103128","1351103136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/860a30b69d44a228f4253bb4fb71ab34.jpg","text":"TemporaryFile(/tmp/multipartBody2589150611150701263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_45_36_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5626a7d3e3e10e0176c11dee502f4257.jpg","text":"TemporaryFile(/tmp/multipartBody6431935175336081455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_46_27_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d73e4149d59ee489629bedb99f1d728.jpg","text":"TemporaryFile(/tmp/multipartBody772796724372278851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_46_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/369f34c3dc072ff3dfb404e9fe3fb589.jpg","text":"TemporaryFile(/tmp/multipartBody8528440732236018825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_45_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76abeb83295ff73724e4aaf5e753adee.jpg","text":"TemporaryFile(/tmp/multipartBody7732815487403268045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_45_46_10048.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd7331bc4825c032901cd5a2a78ac649.jpg","text":"TemporaryFile(/tmp/multipartBody7298194645079095800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273433017,"filename":"image_10042025_06_46_17_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351103105","file1":"1351103086","file0":"1351103082","file4":"1351103128","file5":"1351103136","file3":"1351103118"},"map_files_photo_id_array":[{"photo_id":"1351103136","filename":"file5"},{"photo_id":"1351103105","filename":"file2"},{"photo_id":"1351103128","filename":"file4"},{"photo_id":"1351103086","filename":"file1"},{"photo_id":"1351103082","filename":"file0"},{"photo_id":"1351103118","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351103082":["hashtag1","hashtag2"]},{"1351103136":["hashtag1","hashtag2"]},{"1351103118":["hashtag1","hashtag2"]},{"1351103105":["hashtag1","hashtag2"]},{"1351103086":["hashtag1","hashtag2"]},{"1351103128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351103082, 1351103136, 1351103118, 1351103105, 1351103086, 1351103128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.464717388153076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:23:32.861824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_36_9444.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_47_10393.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_56_9355.jpg', '/home/pi/Desktop/images/10042025/06/46/image_10042025_06_47_07_10470.jpg', '/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_17_10362.jpg', '/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_27_9506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_36_9444.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_47_10393.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_46_56_9355.jpg
/home/pi/Desktop/images/10042025/06/46/image_10042025_06_47_07_10470.jpg
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_17_10362.jpg
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_27_9506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351103258","1351103192","1351103180","1351103188","1351103170","1351103199"],"photo_ids_order":["1351103170","1351103180","1351103188","1351103192","1351103199","1351103258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3f2ff47109961270534343af8a85a0f.jpg","text":"TemporaryFile(/tmp/multipartBody63635308181675504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_47_27_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e68bb871b314c47ffdbb81bcf28cb7c2.jpg","text":"TemporaryFile(/tmp/multipartBody327239987197241511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_47_07_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8d074d9bf3006917f6fa5e4e18529e4.jpg","text":"TemporaryFile(/tmp/multipartBody343714713874450440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_46_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27c851641af72d2dcec174ce7045ad81.jpg","text":"TemporaryFile(/tmp/multipartBody8044214089439907717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_46_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/607f0cbf43f2ebd81580119f0f2ef452.jpg","text":"TemporaryFile(/tmp/multipartBody7241334138367441427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_46_36_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/320a695cd5e9a7c3e980c2afcc732025.jpg","text":"TemporaryFile(/tmp/multipartBody7455131295411608841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273473406,"filename":"image_10042025_06_47_17_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351103188","file1":"1351103180","file0":"1351103170","file4":"1351103199","file5":"1351103258","file3":"1351103192"},"map_files_photo_id_array":[{"photo_id":"1351103258","filename":"file5"},{"photo_id":"1351103188","filename":"file2"},{"photo_id":"1351103199","filename":"file4"},{"photo_id":"1351103180","filename":"file1"},{"photo_id":"1351103170","filename":"file0"},{"photo_id":"1351103192","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351103258":["hashtag1","hashtag2"]},{"1351103192":["hashtag1","hashtag2"]},{"1351103180":["hashtag1","hashtag2"]},{"1351103188":["hashtag1","hashtag2"]},{"1351103170":["hashtag1","hashtag2"]},{"1351103199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351103258, 1351103192, 1351103180, 1351103188, 1351103170, 1351103199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.368144035339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:24:33.075435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_37_10370.jpg', '/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_46_9410.jpg', '/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_57_10356.jpg', '/home/pi/Desktop/images/10042025/06/47/image_10042025_06_48_07_10466.jpg', '/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_17_9409.jpg', '/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_37_10370.jpg
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_46_9410.jpg
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_47_57_10356.jpg
/home/pi/Desktop/images/10042025/06/47/image_10042025_06_48_07_10466.jpg
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_17_9409.jpg
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351103622","1351103657","1351103645","1351103552","1351103609","1351103653"],"photo_ids_order":["1351103552","1351103609","1351103622","1351103645","1351103653","1351103657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4ea58a1499dc2020bc1abd17e077729.jpg","text":"TemporaryFile(/tmp/multipartBody1914876473607368983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_47_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41f409d87d4035087bef1571b339c3de.jpg","text":"TemporaryFile(/tmp/multipartBody3595284682247493689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_48_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/101a029c669e06cb0835c207d71800b5.jpg","text":"TemporaryFile(/tmp/multipartBody6727521346917996234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_48_07_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1d70761afc952ae8e09340f46ab5252.jpg","text":"TemporaryFile(/tmp/multipartBody86310074402055668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_47_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1eeaf3bd3e6e6369ded5ed1d543750f.jpg","text":"TemporaryFile(/tmp/multipartBody1105371296458532297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_47_46_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b62e61a310ad9daea8faa68fdc1b470.jpg","text":"TemporaryFile(/tmp/multipartBody2414631311157058684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273533605,"filename":"image_10042025_06_48_17_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351103622","file1":"1351103609","file0":"1351103552","file4":"1351103653","file5":"1351103657","file3":"1351103645"},"map_files_photo_id_array":[{"photo_id":"1351103657","filename":"file5"},{"photo_id":"1351103622","filename":"file2"},{"photo_id":"1351103653","filename":"file4"},{"photo_id":"1351103609","filename":"file1"},{"photo_id":"1351103552","filename":"file0"},{"photo_id":"1351103645","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351103622":["hashtag1","hashtag2"]},{"1351103657":["hashtag1","hashtag2"]},{"1351103645":["hashtag1","hashtag2"]},{"1351103552":["hashtag1","hashtag2"]},{"1351103609":["hashtag1","hashtag2"]},{"1351103653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351103622, 1351103657, 1351103645, 1351103552, 1351103609, 1351103653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60838508605957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:25:32.242705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_36_9502.jpg', '/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_47_10366.jpg', '/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_56_9356.jpg', '/home/pi/Desktop/images/10042025/06/48/image_10042025_06_49_07_10444.jpg', '/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_26_9357.jpg', '/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_36_9502.jpg
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_47_10366.jpg
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_48_56_9356.jpg
/home/pi/Desktop/images/10042025/06/48/image_10042025_06_49_07_10444.jpg
/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_26_9357.jpg
/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_37_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351103889","1351103891","1351103885","1351103840","1351103837","1351103827"],"photo_ids_order":["1351103827","1351103837","1351103840","1351103885","1351103889","1351103891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35131705b74be64cc8aedfb9c78d4fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4908355893743801792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_49_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f915348841f35e265e89575348cb9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6997818504761165821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_49_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b55191bf020e0b28942ca4707d41da68.jpg","text":"TemporaryFile(/tmp/multipartBody9178108221993615427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_49_07_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3aa0c0abc08047c9cd35e94d00e35514.jpg","text":"TemporaryFile(/tmp/multipartBody2103059043343921812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_48_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6a51335ff3f9538eb5bfb68e75fe196.jpg","text":"TemporaryFile(/tmp/multipartBody2202763618765129774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_48_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/133db2874858a0f5d9491a256fab2718.jpg","text":"TemporaryFile(/tmp/multipartBody3577234259387319197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273592769,"filename":"image_10042025_06_48_36_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351103840","file1":"1351103837","file0":"1351103827","file4":"1351103889","file5":"1351103891","file3":"1351103885"},"map_files_photo_id_array":[{"photo_id":"1351103891","filename":"file5"},{"photo_id":"1351103840","filename":"file2"},{"photo_id":"1351103889","filename":"file4"},{"photo_id":"1351103837","filename":"file1"},{"photo_id":"1351103827","filename":"file0"},{"photo_id":"1351103885","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351103889":["hashtag1","hashtag2"]},{"1351103891":["hashtag1","hashtag2"]},{"1351103885":["hashtag1","hashtag2"]},{"1351103840":["hashtag1","hashtag2"]},{"1351103837":["hashtag1","hashtag2"]},{"1351103827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351103889, 1351103891, 1351103885, 1351103840, 1351103837, 1351103827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06759524345398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:26:32.395976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_47_10358.jpg', '/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_56_9362.jpg', '/home/pi/Desktop/images/10042025/06/49/image_10042025_06_50_07_10407.jpg', '/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_16_9425.jpg', '/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_27_10363.jpg', '/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_37_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_47_10358.jpg
/home/pi/Desktop/images/10042025/06/49/image_10042025_06_49_56_9362.jpg
/home/pi/Desktop/images/10042025/06/49/image_10042025_06_50_07_10407.jpg
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_16_9425.jpg
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_27_10363.jpg
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_37_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351104026","1351103963","1351104040","1351103968","1351104034","1351103982"],"photo_ids_order":["1351103963","1351103968","1351103982","1351104026","1351104034","1351104040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f8c4c6b1c3d79c1028e7f13ad07464a.jpg","text":"TemporaryFile(/tmp/multipartBody5648800911457271417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_50_16_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cec68fde50d74b07948e2b956b9b6f4.jpg","text":"TemporaryFile(/tmp/multipartBody379230868412498808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_49_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9ad6ad51d4f434b93c1cfc7b20b58ee.jpg","text":"TemporaryFile(/tmp/multipartBody3463613261448693213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_50_37_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15eb3772005206325d240ce1f64d8128.jpg","text":"TemporaryFile(/tmp/multipartBody921992175297007186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_49_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fd8a01a0b77a6c60ae2f107cba9361f.jpg","text":"TemporaryFile(/tmp/multipartBody7684368961973319519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_50_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8da7c1c19bda3a9d348f7aa4961987a0.jpg","text":"TemporaryFile(/tmp/multipartBody236925310390509443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273652926,"filename":"image_10042025_06_50_07_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351103982","file1":"1351103968","file0":"1351103963","file4":"1351104034","file5":"1351104040","file3":"1351104026"},"map_files_photo_id_array":[{"photo_id":"1351104040","filename":"file5"},{"photo_id":"1351103982","filename":"file2"},{"photo_id":"1351104034","filename":"file4"},{"photo_id":"1351103968","filename":"file1"},{"photo_id":"1351103963","filename":"file0"},{"photo_id":"1351104026","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351104026":["hashtag1","hashtag2"]},{"1351103963":["hashtag1","hashtag2"]},{"1351104040":["hashtag1","hashtag2"]},{"1351103968":["hashtag1","hashtag2"]},{"1351104034":["hashtag1","hashtag2"]},{"1351103982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351104026, 1351103963, 1351104040, 1351103968, 1351104034, 1351103982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33381414413452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:27:32.554413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_47_9445.jpg', '/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_57_10366.jpg', '/home/pi/Desktop/images/10042025/06/50/image_10042025_06_51_06_9459.jpg', '/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_17_10345.jpg', '/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_27_10378.jpg', '/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_36_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_47_9445.jpg
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_50_57_10366.jpg
/home/pi/Desktop/images/10042025/06/50/image_10042025_06_51_06_9459.jpg
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_17_10345.jpg
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_27_10378.jpg
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_36_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351104152","1351104125","1351104157","1351104162","1351104144","1351104147"],"photo_ids_order":["1351104125","1351104144","1351104147","1351104152","1351104157","1351104162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d70fc27066199d73147f80220c36778.jpg","text":"TemporaryFile(/tmp/multipartBody6116960243248137196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_51_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/440b648488a6562bb65a954b1bd7621b.jpg","text":"TemporaryFile(/tmp/multipartBody3935475737565767727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_50_47_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8c6982b6db7234ed9a615bebf513901.jpg","text":"TemporaryFile(/tmp/multipartBody807804215685266345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_51_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c917a9b6fc2d8d34f0c7fefad45f01fa.jpg","text":"TemporaryFile(/tmp/multipartBody4868889603358887219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_51_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e07f96cea4ce53346b2fea127375cca8.jpg","text":"TemporaryFile(/tmp/multipartBody8328950610333302059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_50_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/072f4eabc6baf0858dd0eb88e20c48db.jpg","text":"TemporaryFile(/tmp/multipartBody9150547028457677523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273713099,"filename":"image_10042025_06_51_06_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351104147","file1":"1351104144","file0":"1351104125","file4":"1351104157","file5":"1351104162","file3":"1351104152"},"map_files_photo_id_array":[{"photo_id":"1351104162","filename":"file5"},{"photo_id":"1351104147","filename":"file2"},{"photo_id":"1351104157","filename":"file4"},{"photo_id":"1351104144","filename":"file1"},{"photo_id":"1351104125","filename":"file0"},{"photo_id":"1351104152","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351104152":["hashtag1","hashtag2"]},{"1351104125":["hashtag1","hashtag2"]},{"1351104157":["hashtag1","hashtag2"]},{"1351104162":["hashtag1","hashtag2"]},{"1351104144":["hashtag1","hashtag2"]},{"1351104147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351104152, 1351104125, 1351104157, 1351104162, 1351104144, 1351104147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53135895729065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:28:32.697145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_47_10365.jpg', '/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_56_9425.jpg', '/home/pi/Desktop/images/10042025/06/51/image_10042025_06_52_07_10367.jpg', '/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_17_10375.jpg', '/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_26_9442.jpg', '/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_37_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_47_10365.jpg
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_51_56_9425.jpg
/home/pi/Desktop/images/10042025/06/51/image_10042025_06_52_07_10367.jpg
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_17_10375.jpg
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_26_9442.jpg
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_37_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351104255","1351104269","1351104206","1351104241","1351104250","1351104226"],"photo_ids_order":["1351104206","1351104226","1351104241","1351104250","1351104255","1351104269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29e6026947dafc4f05529bb818c9049e.jpg","text":"TemporaryFile(/tmp/multipartBody8069274815826348785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_52_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cdbe3c5a607a830df2a43e8adb26f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7789080628226824873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_52_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c8009b7e36de9705f23f89026192ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6243901652632892219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_51_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b07ddc2eaf8ea8089a5e68ae1a672c1.jpg","text":"TemporaryFile(/tmp/multipartBody7080773868248249676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_52_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebc7e97c371109490b0e0cb5e1d16974.jpg","text":"TemporaryFile(/tmp/multipartBody2987278228466037894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_52_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fce11862a2a1d50aab143767fa3d6a3.jpg","text":"TemporaryFile(/tmp/multipartBody234547818316664089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273773227,"filename":"image_10042025_06_51_56_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351104241","file1":"1351104226","file0":"1351104206","file4":"1351104255","file5":"1351104269","file3":"1351104250"},"map_files_photo_id_array":[{"photo_id":"1351104269","filename":"file5"},{"photo_id":"1351104241","filename":"file2"},{"photo_id":"1351104255","filename":"file4"},{"photo_id":"1351104226","filename":"file1"},{"photo_id":"1351104206","filename":"file0"},{"photo_id":"1351104250","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351104255":["hashtag1","hashtag2"]},{"1351104269":["hashtag1","hashtag2"]},{"1351104206":["hashtag1","hashtag2"]},{"1351104241":["hashtag1","hashtag2"]},{"1351104250":["hashtag1","hashtag2"]},{"1351104226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351104255, 1351104269, 1351104206, 1351104241, 1351104250, 1351104226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16282558441162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:29:32.880689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_47_10388.jpg', '/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_57_9439.jpg', '/home/pi/Desktop/images/10042025/06/52/image_10042025_06_53_07_10364.jpg', '/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_16_9411.jpg', '/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_27_10384.jpg', '/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_37_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_47_10388.jpg
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_52_57_9439.jpg
/home/pi/Desktop/images/10042025/06/52/image_10042025_06_53_07_10364.jpg
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_16_9411.jpg
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_27_10384.jpg
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_37_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351104509","1351104496","1351104413","1351104472","1351104439","1351104456"],"photo_ids_order":["1351104413","1351104439","1351104456","1351104472","1351104496","1351104509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fa3abc429d2a30880b85810c84bd9e8.jpg","text":"TemporaryFile(/tmp/multipartBody1594710795976330929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_53_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06a97d612dd8ed9d3666edfa3743f430.jpg","text":"TemporaryFile(/tmp/multipartBody1521642202225229323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_53_27_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b74047f4e43411482e2a1d1432bc670f.jpg","text":"TemporaryFile(/tmp/multipartBody4735970383523908739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_52_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfa214a0b7cafea2affd1bb14ab7cfd9.jpg","text":"TemporaryFile(/tmp/multipartBody7906882003462197831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_53_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2acbac0b4ffa718ae8936d694a46695c.jpg","text":"TemporaryFile(/tmp/multipartBody1868336035365149351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_52_57_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc532c17461b16317aa2ace16a821e2e.jpg","text":"TemporaryFile(/tmp/multipartBody888395414950160134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273833475,"filename":"image_10042025_06_53_07_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351104456","file1":"1351104439","file0":"1351104413","file4":"1351104496","file5":"1351104509","file3":"1351104472"},"map_files_photo_id_array":[{"photo_id":"1351104509","filename":"file5"},{"photo_id":"1351104456","filename":"file2"},{"photo_id":"1351104496","filename":"file4"},{"photo_id":"1351104439","filename":"file1"},{"photo_id":"1351104413","filename":"file0"},{"photo_id":"1351104472","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351104509":["hashtag1","hashtag2"]},{"1351104496":["hashtag1","hashtag2"]},{"1351104413":["hashtag1","hashtag2"]},{"1351104472":["hashtag1","hashtag2"]},{"1351104439":["hashtag1","hashtag2"]},{"1351104456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351104509, 1351104496, 1351104413, 1351104472, 1351104439, 1351104456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.645456075668335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:30:33.083428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_47_9401.jpg', '/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_57_10452.jpg', '/home/pi/Desktop/images/10042025/06/53/image_10042025_06_54_06_9389.jpg', '/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_17_10373.jpg', '/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_27_10373.jpg', '/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_37_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_47_9401.jpg
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_53_57_10452.jpg
/home/pi/Desktop/images/10042025/06/53/image_10042025_06_54_06_9389.jpg
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_17_10373.jpg
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_27_10373.jpg
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_37_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351104645","1351104609","1351104653","1351104658","1351104622","1351104675"],"photo_ids_order":["1351104609","1351104622","1351104645","1351104653","1351104658","1351104675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ded3b30986d46cb6604c8f09d12d7c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4072525381334784785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_54_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7d18fdf45aa1b28d63540023b955a70.jpg","text":"TemporaryFile(/tmp/multipartBody7908968721937975225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_53_47_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4e0038f14356d01e580ea1374842eb4.jpg","text":"TemporaryFile(/tmp/multipartBody9119694041336553947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_54_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfac953c732910512fc38e64240499a1.jpg","text":"TemporaryFile(/tmp/multipartBody8828675917135355852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_54_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f640a6b1091e9b370a12cf4d4cb6f64.jpg","text":"TemporaryFile(/tmp/multipartBody8746150122554820913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_53_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a4f26f9fb138fc0e60bb013f90ba078.jpg","text":"TemporaryFile(/tmp/multipartBody9217310567062389086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273893618,"filename":"image_10042025_06_54_37_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351104645","file1":"1351104622","file0":"1351104609","file4":"1351104658","file5":"1351104675","file3":"1351104653"},"map_files_photo_id_array":[{"photo_id":"1351104675","filename":"file5"},{"photo_id":"1351104645","filename":"file2"},{"photo_id":"1351104658","filename":"file4"},{"photo_id":"1351104622","filename":"file1"},{"photo_id":"1351104609","filename":"file0"},{"photo_id":"1351104653","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351104645":["hashtag1","hashtag2"]},{"1351104609":["hashtag1","hashtag2"]},{"1351104653":["hashtag1","hashtag2"]},{"1351104658":["hashtag1","hashtag2"]},{"1351104622":["hashtag1","hashtag2"]},{"1351104675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351104645, 1351104609, 1351104653, 1351104658, 1351104622, 1351104675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05753207206726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:31:32.400959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_47_10429.jpg', '/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_56_9475.jpg', '/home/pi/Desktop/images/10042025/06/54/image_10042025_06_55_07_10371.jpg', '/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_16_9362.jpg', '/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_27_10397.jpg', '/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_47_10429.jpg
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_54_56_9475.jpg
/home/pi/Desktop/images/10042025/06/54/image_10042025_06_55_07_10371.jpg
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_16_9362.jpg
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_27_10397.jpg
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105067","1351105005","1351105096","1351105099","1351104947","1351105092"],"photo_ids_order":["1351104947","1351105005","1351105067","1351105092","1351105096","1351105099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bcb8953f64b15a798038967cea4213f.jpg","text":"TemporaryFile(/tmp/multipartBody6659655795564306333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_55_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/427e7b8d16735cc8e2d913c86de3e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5159337930579663515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_54_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76e51a8ab95f47fd1145435712bd3694.jpg","text":"TemporaryFile(/tmp/multipartBody6268292659356311297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_55_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffeab427f9e2e2e2c6605363d4ce17c0.jpg","text":"TemporaryFile(/tmp/multipartBody3249333198737401574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_55_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e1066d9a8dcaa2ca806352f73403e71.jpg","text":"TemporaryFile(/tmp/multipartBody5638159800017109010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_54_47_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1b6821fd9157927ffa54041649f0d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8434678523190801998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744273952951,"filename":"image_10042025_06_55_16_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105067","file1":"1351105005","file0":"1351104947","file4":"1351105096","file5":"1351105099","file3":"1351105092"},"map_files_photo_id_array":[{"photo_id":"1351105099","filename":"file5"},{"photo_id":"1351105067","filename":"file2"},{"photo_id":"1351105096","filename":"file4"},{"photo_id":"1351105005","filename":"file1"},{"photo_id":"1351104947","filename":"file0"},{"photo_id":"1351105092","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105067":["hashtag1","hashtag2"]},{"1351105005":["hashtag1","hashtag2"]},{"1351105096":["hashtag1","hashtag2"]},{"1351105099":["hashtag1","hashtag2"]},{"1351104947":["hashtag1","hashtag2"]},{"1351105092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105067, 1351105005, 1351105096, 1351105099, 1351104947, 1351105092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48269438743591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:32:32.568213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_46_9411.jpg', '/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_57_10358.jpg', '/home/pi/Desktop/images/10042025/06/55/image_10042025_06_56_07_10365.jpg', '/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_17_9459.jpg', '/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_27_10372.jpg', '/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_36_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_46_9411.jpg
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_55_57_10358.jpg
/home/pi/Desktop/images/10042025/06/55/image_10042025_06_56_07_10365.jpg
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_17_9459.jpg
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_27_10372.jpg
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_36_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105203","1351105181","1351105226","1351105156","1351105161","1351105152"],"photo_ids_order":["1351105152","1351105156","1351105161","1351105181","1351105203","1351105226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e46b8fda5a245bfb351a3db63a30add.jpg","text":"TemporaryFile(/tmp/multipartBody239188254651167765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_56_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20f01f3e7daf1e50106ebdb598704c64.jpg","text":"TemporaryFile(/tmp/multipartBody5342695665835765612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_56_17_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cb7e13249c0dceb666eab997a4f539d.jpg","text":"TemporaryFile(/tmp/multipartBody3470820525960246141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_56_36_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fda75d1355ae7dd8c2d68d7e1bdb3da3.jpg","text":"TemporaryFile(/tmp/multipartBody5643874499057018544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_55_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c77a6906967730c3a257c011d688486.jpg","text":"TemporaryFile(/tmp/multipartBody2973207593433413263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_56_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccf59c1780c0ce73e71c30c30aac600d.jpg","text":"TemporaryFile(/tmp/multipartBody9000027011481613672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274013097,"filename":"image_10042025_06_55_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105161","file1":"1351105156","file0":"1351105152","file4":"1351105203","file5":"1351105226","file3":"1351105181"},"map_files_photo_id_array":[{"photo_id":"1351105226","filename":"file5"},{"photo_id":"1351105161","filename":"file2"},{"photo_id":"1351105203","filename":"file4"},{"photo_id":"1351105156","filename":"file1"},{"photo_id":"1351105152","filename":"file0"},{"photo_id":"1351105181","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105203":["hashtag1","hashtag2"]},{"1351105181":["hashtag1","hashtag2"]},{"1351105226":["hashtag1","hashtag2"]},{"1351105156":["hashtag1","hashtag2"]},{"1351105161":["hashtag1","hashtag2"]},{"1351105152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105203, 1351105181, 1351105226, 1351105156, 1351105161, 1351105152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0845947265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:33:32.705478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_47_10373.jpg', '/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_56_9413.jpg', '/home/pi/Desktop/images/10042025/06/56/image_10042025_06_57_07_10387.jpg', '/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_17_10370.jpg', '/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_26_9495.jpg', '/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_37_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_47_10373.jpg
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_56_56_9413.jpg
/home/pi/Desktop/images/10042025/06/56/image_10042025_06_57_07_10387.jpg
/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_17_10370.jpg
/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_26_9495.jpg
/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_37_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105385","1351105388","1351105352","1351105366","1351105327","1351105306"],"photo_ids_order":["1351105306","1351105327","1351105352","1351105366","1351105385","1351105388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f97b56fc94bc1d75e15c1bcef438b02.jpg","text":"TemporaryFile(/tmp/multipartBody8151225383345023195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_57_26_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/338ea06fc12b87dde16b31ea146a6f66.jpg","text":"TemporaryFile(/tmp/multipartBody286453578490427552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_57_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/722b4cb534298568274a1e78a9b42d08.jpg","text":"TemporaryFile(/tmp/multipartBody7495040275380697090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_57_07_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aba064fd38b19e5ffc330174692437c2.jpg","text":"TemporaryFile(/tmp/multipartBody397832027661697816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_57_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c65ad0b132db56159d1b5e2c7e054110.jpg","text":"TemporaryFile(/tmp/multipartBody6300775432350212833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_56_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ce70c2c5f26c09a107d76ae7b4c1f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4494037960249395344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274073239,"filename":"image_10042025_06_56_47_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105352","file1":"1351105327","file0":"1351105306","file4":"1351105385","file5":"1351105388","file3":"1351105366"},"map_files_photo_id_array":[{"photo_id":"1351105388","filename":"file5"},{"photo_id":"1351105352","filename":"file2"},{"photo_id":"1351105385","filename":"file4"},{"photo_id":"1351105327","filename":"file1"},{"photo_id":"1351105306","filename":"file0"},{"photo_id":"1351105366","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105385":["hashtag1","hashtag2"]},{"1351105388":["hashtag1","hashtag2"]},{"1351105352":["hashtag1","hashtag2"]},{"1351105366":["hashtag1","hashtag2"]},{"1351105327":["hashtag1","hashtag2"]},{"1351105306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105385, 1351105388, 1351105352, 1351105366, 1351105327, 1351105306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33102631568909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:34:32.882970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_57_10444.jpg', '/home/pi/Desktop/images/10042025/06/57/image_10042025_06_58_07_10352.jpg', '/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_16_9377.jpg', '/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_27_10454.jpg', '/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_37_9920.jpg', '/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_47_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/57/image_10042025_06_57_57_10444.jpg
/home/pi/Desktop/images/10042025/06/57/image_10042025_06_58_07_10352.jpg
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_16_9377.jpg
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_27_10454.jpg
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_37_9920.jpg
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_47_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105553","1351105547","1351105480","1351105504","1351105533","1351105527"],"photo_ids_order":["1351105480","1351105504","1351105527","1351105533","1351105547","1351105553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c68644455dce48a6158a120b75a1709b.jpg","text":"TemporaryFile(/tmp/multipartBody2811725483040907529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_58_47_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54c93fce5e4d3fa994bfa12acaa397d4.jpg","text":"TemporaryFile(/tmp/multipartBody6727324079521541896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_58_37_9920.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/125abc4c5f11557fddf7a7e0286ba928.jpg","text":"TemporaryFile(/tmp/multipartBody5667520996100663775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_57_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e391527ff2f0f0618ca03635fcfdd2ad.jpg","text":"TemporaryFile(/tmp/multipartBody8138412653160969387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_58_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/413cd6d698f6d6b11c3e9b3d5e048b38.jpg","text":"TemporaryFile(/tmp/multipartBody8700417344264716195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_58_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb881e2ceb3229c5dd2fde58329a7bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3894137824821681460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274133502,"filename":"image_10042025_06_58_16_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105527","file1":"1351105504","file0":"1351105480","file4":"1351105547","file5":"1351105553","file3":"1351105533"},"map_files_photo_id_array":[{"photo_id":"1351105553","filename":"file5"},{"photo_id":"1351105527","filename":"file2"},{"photo_id":"1351105547","filename":"file4"},{"photo_id":"1351105504","filename":"file1"},{"photo_id":"1351105480","filename":"file0"},{"photo_id":"1351105533","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105553":["hashtag1","hashtag2"]},{"1351105547":["hashtag1","hashtag2"]},{"1351105480":["hashtag1","hashtag2"]},{"1351105504":["hashtag1","hashtag2"]},{"1351105533":["hashtag1","hashtag2"]},{"1351105527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105553, 1351105547, 1351105480, 1351105504, 1351105533, 1351105527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58011746406555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:35:33.132964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_57_9464.jpg', '/home/pi/Desktop/images/10042025/06/58/image_10042025_06_59_07_10351.jpg', '/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_16_9424.jpg', '/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_27_10364.jpg', '/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_37_10435.jpg', '/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_47_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_58_57_9464.jpg
/home/pi/Desktop/images/10042025/06/58/image_10042025_06_59_07_10351.jpg
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_16_9424.jpg
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_27_10364.jpg
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_37_10435.jpg
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_47_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105615","1351105618","1351105603","1351105612","1351105599","1351105620"],"photo_ids_order":["1351105599","1351105603","1351105612","1351105615","1351105618","1351105620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/881df81ef19b9d1d12e5e2da67ed8b53.jpg","text":"TemporaryFile(/tmp/multipartBody7535958083447232936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_59_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30d2738b1fe61f3fc9aa9303cb2b762f.jpg","text":"TemporaryFile(/tmp/multipartBody1991387389949041718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_59_37_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31b32e51286d3131f847cab8420dc623.jpg","text":"TemporaryFile(/tmp/multipartBody3612035063572568331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_59_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/110f4d85c0ea70ae6cc467542318d887.jpg","text":"TemporaryFile(/tmp/multipartBody8656916783325345271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_59_16_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e73d546e41ef3c1fb5d8887466e017fb.jpg","text":"TemporaryFile(/tmp/multipartBody747132128079991298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_58_57_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06b7b85c1b35eaed64b52badd55dba5b.jpg","text":"TemporaryFile(/tmp/multipartBody4143616517280003078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274193683,"filename":"image_10042025_06_59_47_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105612","file1":"1351105603","file0":"1351105599","file4":"1351105618","file5":"1351105620","file3":"1351105615"},"map_files_photo_id_array":[{"photo_id":"1351105620","filename":"file5"},{"photo_id":"1351105612","filename":"file2"},{"photo_id":"1351105618","filename":"file4"},{"photo_id":"1351105603","filename":"file1"},{"photo_id":"1351105599","filename":"file0"},{"photo_id":"1351105615","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105615":["hashtag1","hashtag2"]},{"1351105618":["hashtag1","hashtag2"]},{"1351105603":["hashtag1","hashtag2"]},{"1351105612":["hashtag1","hashtag2"]},{"1351105599":["hashtag1","hashtag2"]},{"1351105620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105615, 1351105618, 1351105603, 1351105612, 1351105599, 1351105620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18499732017517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:36:32.215012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_57_10374.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_15_10077.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_25_10374.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_36_10432.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_45_9351.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_57_10374.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_15_10077.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_25_10374.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_36_10432.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_45_9351.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_55_10443.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4751856327056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 10:36:42.241263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_57_10374.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_15_10077.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_25_10374.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_36_10432.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_45_9351.jpg', '/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/06/59/image_10042025_06_59_57_10374.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_15_10077.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_25_10374.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_36_10432.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_45_9351.jpg
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_01_55_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105697","1351105727","1351105706","1351105709","1351105689","1351105694"],"photo_ids_order":["1351105689","1351105694","1351105697","1351105706","1351105709","1351105727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b4e5ae0d445be030293bee3f936f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4867435929348404613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_07_01_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38a994842fe51dcf292a54d6461ea4a8.jpg","text":"TemporaryFile(/tmp/multipartBody5731378747919683315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_07_01_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/790f5c6cfc1ac21ff104ccafb187a680.jpg","text":"TemporaryFile(/tmp/multipartBody2382344320277231645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_07_01_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3621473931c296ad4867066cdac6c3d.jpg","text":"TemporaryFile(/tmp/multipartBody5312562250183816109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_07_01_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79675a7933fb97bfec1ef7189e2d16b6.jpg","text":"TemporaryFile(/tmp/multipartBody7328244418340034785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_06_59_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cd708f089b91bf7eda347bde711e8a9.jpg","text":"TemporaryFile(/tmp/multipartBody8575893364138807827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274262716,"filename":"image_10042025_07_01_15_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105697","file1":"1351105694","file0":"1351105689","file4":"1351105709","file5":"1351105727","file3":"1351105706"},"map_files_photo_id_array":[{"photo_id":"1351105727","filename":"file5"},{"photo_id":"1351105697","filename":"file2"},{"photo_id":"1351105709","filename":"file4"},{"photo_id":"1351105694","filename":"file1"},{"photo_id":"1351105689","filename":"file0"},{"photo_id":"1351105706","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105697":["hashtag1","hashtag2"]},{"1351105727":["hashtag1","hashtag2"]},{"1351105706":["hashtag1","hashtag2"]},{"1351105709":["hashtag1","hashtag2"]},{"1351105689":["hashtag1","hashtag2"]},{"1351105694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105697, 1351105727, 1351105706, 1351105709, 1351105689, 1351105694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74462556838989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:37:32.396464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/01/image_10042025_07_02_05_9351.jpg', '/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_15_10339.jpg', '/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_25_10461.jpg', '/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_35_9363.jpg', '/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_45_10368.jpg', '/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_56_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/01/image_10042025_07_02_05_9351.jpg
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_15_10339.jpg
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_25_10461.jpg
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_35_9363.jpg
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_45_10368.jpg
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_02_56_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351105862","1351105841","1351105896","1351105869","1351105878","1351105883"],"photo_ids_order":["1351105841","1351105862","1351105869","1351105878","1351105883","1351105896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f69b96145b155daa435c01956f4de8c9.jpg","text":"TemporaryFile(/tmp/multipartBody1701809749844825467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/392bed532ad8cbc0864b65f58adc47c8.jpg","text":"TemporaryFile(/tmp/multipartBody2336878693276857035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4969103ed7d5b9e3bd51b07abfac11ac.jpg","text":"TemporaryFile(/tmp/multipartBody1945832802692588940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bbfff06b7bbd0ceb9a7d78852329264.jpg","text":"TemporaryFile(/tmp/multipartBody7689372026810560927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_25_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bf4384de02066ea2447026ba6ad5ccc.jpg","text":"TemporaryFile(/tmp/multipartBody9222931636566660448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5b5f8333ed82a3089b36361b1d7cb86.jpg","text":"TemporaryFile(/tmp/multipartBody3758262504525607334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274312931,"filename":"image_10042025_07_02_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351105869","file1":"1351105862","file0":"1351105841","file4":"1351105883","file5":"1351105896","file3":"1351105878"},"map_files_photo_id_array":[{"photo_id":"1351105896","filename":"file5"},{"photo_id":"1351105869","filename":"file2"},{"photo_id":"1351105883","filename":"file4"},{"photo_id":"1351105862","filename":"file1"},{"photo_id":"1351105841","filename":"file0"},{"photo_id":"1351105878","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351105862":["hashtag1","hashtag2"]},{"1351105841":["hashtag1","hashtag2"]},{"1351105896":["hashtag1","hashtag2"]},{"1351105869":["hashtag1","hashtag2"]},{"1351105878":["hashtag1","hashtag2"]},{"1351105883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351105862, 1351105841, 1351105896, 1351105869, 1351105878, 1351105883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10746717453003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:38:32.477099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/02/image_10042025_07_03_05_9346.jpg', '/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_15_10399.jpg', '/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_25_9361.jpg', '/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_35_10383.jpg', '/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_46_10471.jpg', '/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_55_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/02/image_10042025_07_03_05_9346.jpg
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_15_10399.jpg
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_25_9361.jpg
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_35_10383.jpg
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_46_10471.jpg
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_03_55_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106135","1351106108","1351106000","1351106018","1351106110","1351106070"],"photo_ids_order":["1351106000","1351106018","1351106070","1351106108","1351106110","1351106135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a885bee1dfa2806bc65e0fd936d6e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody249056746747863168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f3fa4fd045cb6922c050d9d2608258d.jpg","text":"TemporaryFile(/tmp/multipartBody2521055152937476749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7773d98ec8a782c7c9b1514d45860490.jpg","text":"TemporaryFile(/tmp/multipartBody4492804241177520636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6cc22b66b9547feb848114eeb0d54a2.jpg","text":"TemporaryFile(/tmp/multipartBody5641396300639641899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/107a84b384ae93f589923c88384f78ff.jpg","text":"TemporaryFile(/tmp/multipartBody5908388324382658797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_46_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c125aefef52422958284c3b9c9cb44fe.jpg","text":"TemporaryFile(/tmp/multipartBody7059663920017568394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274373010,"filename":"image_10042025_07_03_25_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106070","file1":"1351106018","file0":"1351106000","file4":"1351106110","file5":"1351106135","file3":"1351106108"},"map_files_photo_id_array":[{"photo_id":"1351106135","filename":"file5"},{"photo_id":"1351106070","filename":"file2"},{"photo_id":"1351106110","filename":"file4"},{"photo_id":"1351106018","filename":"file1"},{"photo_id":"1351106000","filename":"file0"},{"photo_id":"1351106108","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106135":["hashtag1","hashtag2"]},{"1351106108":["hashtag1","hashtag2"]},{"1351106000":["hashtag1","hashtag2"]},{"1351106018":["hashtag1","hashtag2"]},{"1351106110":["hashtag1","hashtag2"]},{"1351106070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106135, 1351106108, 1351106000, 1351106018, 1351106110, 1351106070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.548415184020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:39:32.781667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/03/image_10042025_07_04_05_10500.jpg', '/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_15_9352.jpg', '/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_25_10421.jpg', '/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_36_10391.jpg', '/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_45_9341.jpg', '/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_55_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/03/image_10042025_07_04_05_10500.jpg
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_15_9352.jpg
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_25_10421.jpg
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_36_10391.jpg
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_45_9341.jpg
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_04_55_10546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106191","1351106236","1351106196","1351106244","1351106243","1351106186"],"photo_ids_order":["1351106186","1351106191","1351106196","1351106236","1351106243","1351106244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4791daa9e6aff2ff220af7b5c37dbb6.jpg","text":"TemporaryFile(/tmp/multipartBody6491383951110197750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d814a2846214751c01874687edd79bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4555233765578689012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8950b3ea72cafeb37ce1e23833b141c2.jpg","text":"TemporaryFile(/tmp/multipartBody3757687243960386024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/027cefa99476c992a8623e1849387b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7372955902258868771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_55_10546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce1a38b93737c11b09fa6bba075b0376.jpg","text":"TemporaryFile(/tmp/multipartBody3525766100894491389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/552e5f23333b253600cc0952ec7b8479.jpg","text":"TemporaryFile(/tmp/multipartBody9024153708490718820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274433317,"filename":"image_10042025_07_04_05_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106196","file1":"1351106191","file0":"1351106186","file4":"1351106243","file5":"1351106244","file3":"1351106236"},"map_files_photo_id_array":[{"photo_id":"1351106244","filename":"file5"},{"photo_id":"1351106196","filename":"file2"},{"photo_id":"1351106243","filename":"file4"},{"photo_id":"1351106191","filename":"file1"},{"photo_id":"1351106186","filename":"file0"},{"photo_id":"1351106236","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106191":["hashtag1","hashtag2"]},{"1351106236":["hashtag1","hashtag2"]},{"1351106196":["hashtag1","hashtag2"]},{"1351106244":["hashtag1","hashtag2"]},{"1351106243":["hashtag1","hashtag2"]},{"1351106186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106191, 1351106236, 1351106196, 1351106244, 1351106243, 1351106186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00785279273987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:40:32.974260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/04/image_10042025_07_05_05_9355.jpg', '/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_15_10469.jpg', '/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_25_9368.jpg', '/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_35_10422.jpg', '/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_45_10360.jpg', '/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_55_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/04/image_10042025_07_05_05_9355.jpg
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_15_10469.jpg
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_25_9368.jpg
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_35_10422.jpg
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_45_10360.jpg
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_05_55_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106300","1351106295","1351106292","1351106304","1351106288","1351106307"],"photo_ids_order":["1351106288","1351106292","1351106295","1351106300","1351106304","1351106307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b51a307758a4b2a09ec5edb741a85b25.jpg","text":"TemporaryFile(/tmp/multipartBody4042245946831076837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_35_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3ed498bf462fba01af00bd0ef9675ab.jpg","text":"TemporaryFile(/tmp/multipartBody3605292253931608662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdf88d7cbbaa432577abaeedc9155140.jpg","text":"TemporaryFile(/tmp/multipartBody3716612403923717681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_15_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cd914dcc31cf2e0ca85d91e35c0027f.jpg","text":"TemporaryFile(/tmp/multipartBody2875768651763026767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b04b059454674167feb178784367546b.jpg","text":"TemporaryFile(/tmp/multipartBody5905672430563758147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53a2bb54b2bee314364a23d792ab3756.jpg","text":"TemporaryFile(/tmp/multipartBody1385994431991818893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274493525,"filename":"image_10042025_07_05_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106295","file1":"1351106292","file0":"1351106288","file4":"1351106304","file5":"1351106307","file3":"1351106300"},"map_files_photo_id_array":[{"photo_id":"1351106307","filename":"file5"},{"photo_id":"1351106295","filename":"file2"},{"photo_id":"1351106304","filename":"file4"},{"photo_id":"1351106292","filename":"file1"},{"photo_id":"1351106288","filename":"file0"},{"photo_id":"1351106300","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106300":["hashtag1","hashtag2"]},{"1351106295":["hashtag1","hashtag2"]},{"1351106292":["hashtag1","hashtag2"]},{"1351106304":["hashtag1","hashtag2"]},{"1351106288":["hashtag1","hashtag2"]},{"1351106307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106300, 1351106295, 1351106292, 1351106304, 1351106288, 1351106307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1318256855011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:41:33.029936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/05/image_10042025_07_06_05_10361.jpg', '/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_16_10400.jpg', '/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_25_9371.jpg', '/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_35_10426.jpg', '/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_45_9355.jpg', '/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_55_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/05/image_10042025_07_06_05_10361.jpg
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_16_10400.jpg
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_25_9371.jpg
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_35_10426.jpg
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_45_9355.jpg
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_06_55_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106333","1351106326","1351106352","1351106355","1351106343","1351106336"],"photo_ids_order":["1351106326","1351106333","1351106336","1351106343","1351106352","1351106355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a24c4504ee7f7179461615e098be7539.jpg","text":"TemporaryFile(/tmp/multipartBody7074098561237285205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a68a917ffe10254caf7e982f92b966b9.jpg","text":"TemporaryFile(/tmp/multipartBody6916008445828224899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8a0f5945da894688c0a135b69b9f828.jpg","text":"TemporaryFile(/tmp/multipartBody7804797850681802113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64c48e6ff39275c3a868be0f33410738.jpg","text":"TemporaryFile(/tmp/multipartBody828137541960797194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f4f8a51af931c31717055ff26736c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4085020975470136802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43667647adfe4bc4c5ac95d4a5ded637.jpg","text":"TemporaryFile(/tmp/multipartBody1241389637493192248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274553561,"filename":"image_10042025_07_06_25_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106336","file1":"1351106333","file0":"1351106326","file4":"1351106352","file5":"1351106355","file3":"1351106343"},"map_files_photo_id_array":[{"photo_id":"1351106355","filename":"file5"},{"photo_id":"1351106336","filename":"file2"},{"photo_id":"1351106352","filename":"file4"},{"photo_id":"1351106333","filename":"file1"},{"photo_id":"1351106326","filename":"file0"},{"photo_id":"1351106343","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106333":["hashtag1","hashtag2"]},{"1351106326":["hashtag1","hashtag2"]},{"1351106352":["hashtag1","hashtag2"]},{"1351106355":["hashtag1","hashtag2"]},{"1351106343":["hashtag1","hashtag2"]},{"1351106336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106333, 1351106326, 1351106352, 1351106355, 1351106343, 1351106336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.420872926712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:42:33.802944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/06/image_10042025_07_07_06_10431.jpg', '/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_15_9346.jpg', '/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_25_10471.jpg', '/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_35_9370.jpg', '/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_45_10367.jpg', '/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_56_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/06/image_10042025_07_07_06_10431.jpg
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_15_9346.jpg
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_25_10471.jpg
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_35_9370.jpg
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_45_10367.jpg
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_07_56_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106487","1351106496","1351106469","1351106413","1351106484","1351106406"],"photo_ids_order":["1351106406","1351106413","1351106469","1351106484","1351106487","1351106496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5cfbef7acfd22f91bca5c09921ff33b1.jpg","text":"TemporaryFile(/tmp/multipartBody423554952122391775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2032375b5c451e7efb4b6cb9f7d11361.jpg","text":"TemporaryFile(/tmp/multipartBody7797292006589968293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f62d2fc02383cb8661bac39886b35ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8608253708041742306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac3db0afae0216b68fd28697546234b5.jpg","text":"TemporaryFile(/tmp/multipartBody3915159651153218386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/290477c75a4e02354e9635f5b89449c5.jpg","text":"TemporaryFile(/tmp/multipartBody7657163502856331473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_35_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6695b4faf3db771a7011d7f07ac91853.jpg","text":"TemporaryFile(/tmp/multipartBody3514911764559132802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274614643,"filename":"image_10042025_07_07_06_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106469","file1":"1351106413","file0":"1351106406","file4":"1351106487","file5":"1351106496","file3":"1351106484"},"map_files_photo_id_array":[{"photo_id":"1351106496","filename":"file5"},{"photo_id":"1351106469","filename":"file2"},{"photo_id":"1351106487","filename":"file4"},{"photo_id":"1351106413","filename":"file1"},{"photo_id":"1351106406","filename":"file0"},{"photo_id":"1351106484","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106487":["hashtag1","hashtag2"]},{"1351106496":["hashtag1","hashtag2"]},{"1351106469":["hashtag1","hashtag2"]},{"1351106413":["hashtag1","hashtag2"]},{"1351106484":["hashtag1","hashtag2"]},{"1351106406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106487, 1351106496, 1351106469, 1351106413, 1351106484, 1351106406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.610580921173096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:43:33.256401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/07/image_10042025_07_08_05_9364.jpg', '/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_15_10490.jpg', '/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_25_9470.jpg', '/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_35_10368.jpg', '/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_46_10370.jpg', '/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_55_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/07/image_10042025_07_08_05_9364.jpg
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_15_10490.jpg
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_25_9470.jpg
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_35_10368.jpg
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_46_10370.jpg
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_08_55_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351106689","1351106674","1351106812","1351106734","1351106684","1351106693"],"photo_ids_order":["1351106674","1351106684","1351106689","1351106693","1351106734","1351106812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37ea910cd0c879c043c287c5070272e1.jpg","text":"TemporaryFile(/tmp/multipartBody8480882248668795679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_25_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/394afb2706edfb69fd2991ecce91ea82.jpg","text":"TemporaryFile(/tmp/multipartBody8250857745312745812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b6c79a6aceee3007e60b779b1ad1ade.jpg","text":"TemporaryFile(/tmp/multipartBody6389104280297856465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5580d83d45562fc4f9169f1ec023ac67.jpg","text":"TemporaryFile(/tmp/multipartBody525736469005047931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/507fe252dec4b75906a25b8217a28314.jpg","text":"TemporaryFile(/tmp/multipartBody4860613593290631667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_15_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05524ca55ac3025df429fafc40a817cb.jpg","text":"TemporaryFile(/tmp/multipartBody7641690515660124101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274673789,"filename":"image_10042025_07_08_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351106689","file1":"1351106684","file0":"1351106674","file4":"1351106734","file5":"1351106812","file3":"1351106693"},"map_files_photo_id_array":[{"photo_id":"1351106812","filename":"file5"},{"photo_id":"1351106689","filename":"file2"},{"photo_id":"1351106734","filename":"file4"},{"photo_id":"1351106684","filename":"file1"},{"photo_id":"1351106674","filename":"file0"},{"photo_id":"1351106693","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351106689":["hashtag1","hashtag2"]},{"1351106674":["hashtag1","hashtag2"]},{"1351106812":["hashtag1","hashtag2"]},{"1351106734":["hashtag1","hashtag2"]},{"1351106684":["hashtag1","hashtag2"]},{"1351106693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351106689, 1351106674, 1351106812, 1351106734, 1351106684, 1351106693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85612607002258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:44:32.257530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/08/image_10042025_07_09_05_10407.jpg', '/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_25_10375.jpg', '/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_36_10393.jpg', '/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_45_9409.jpg', '/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_55_10490.jpg', '/home/pi/Desktop/images/10042025/07/09/image_10042025_07_10_05_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/08/image_10042025_07_09_05_10407.jpg
/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_25_10375.jpg
/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_36_10393.jpg
/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_45_9409.jpg
/home/pi/Desktop/images/10042025/07/09/image_10042025_07_09_55_10490.jpg
/home/pi/Desktop/images/10042025/07/09/image_10042025_07_10_05_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351107058","1351107282","1351107216","1351107080","1351107182","1351107146"],"photo_ids_order":["1351107058","1351107080","1351107146","1351107182","1351107216","1351107282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6373b7e1a6e38d653ff0294dc28469bc.jpg","text":"TemporaryFile(/tmp/multipartBody6499690997399474724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_09_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44971972e8ad3c69f47295daef8a423a.jpg","text":"TemporaryFile(/tmp/multipartBody8151263804573176054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_10_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a44b525aa61009951424d2df03c5b96.jpg","text":"TemporaryFile(/tmp/multipartBody74418829036841648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_09_55_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c76d55c45289c1eae286aa81a93c864.jpg","text":"TemporaryFile(/tmp/multipartBody7839223572603783250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_09_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09fa66c3cad49f12bc25264bc38b86bc.jpg","text":"TemporaryFile(/tmp/multipartBody7899267992113629835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_09_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddd31a12ad1d10f60540d638dfecd817.jpg","text":"TemporaryFile(/tmp/multipartBody1098981438052864753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274732794,"filename":"image_10042025_07_09_36_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351107146","file1":"1351107080","file0":"1351107058","file4":"1351107216","file5":"1351107282","file3":"1351107182"},"map_files_photo_id_array":[{"photo_id":"1351107282","filename":"file5"},{"photo_id":"1351107146","filename":"file2"},{"photo_id":"1351107216","filename":"file4"},{"photo_id":"1351107080","filename":"file1"},{"photo_id":"1351107058","filename":"file0"},{"photo_id":"1351107182","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351107058":["hashtag1","hashtag2"]},{"1351107282":["hashtag1","hashtag2"]},{"1351107216":["hashtag1","hashtag2"]},{"1351107080":["hashtag1","hashtag2"]},{"1351107182":["hashtag1","hashtag2"]},{"1351107146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351107058, 1351107282, 1351107216, 1351107080, 1351107182, 1351107146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74225306510925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:45:32.578615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_15_10356.jpg', '/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_26_10382.jpg', '/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_35_9412.jpg', '/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_45_10415.jpg', '/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_55_9354.jpg', '/home/pi/Desktop/images/10042025/07/10/image_10042025_07_11_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_15_10356.jpg
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_26_10382.jpg
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_35_9412.jpg
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_45_10415.jpg
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_10_55_9354.jpg
/home/pi/Desktop/images/10042025/07/10/image_10042025_07_11_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351107385","1351107390","1351107378","1351107485","1351107452","1351107416"],"photo_ids_order":["1351107378","1351107385","1351107390","1351107416","1351107452","1351107485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5733d08b46f640672d7c3a6e85938e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4776117519462255913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_10_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbbb18a78bbdedff9bb7458dafec6c83.jpg","text":"TemporaryFile(/tmp/multipartBody3394691561357569128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_10_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f00edf51aa3b390d390026b91c1e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody9156697342803753764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_10_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb102fab163d6ae80118ebde24758931.jpg","text":"TemporaryFile(/tmp/multipartBody3117886052281404324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_11_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d493d87f317a2a2c9e27e8d23a86c464.jpg","text":"TemporaryFile(/tmp/multipartBody3260235591766235877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_10_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d66e66096db1684867d4d72b59a3520.jpg","text":"TemporaryFile(/tmp/multipartBody7919899372248511701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274793111,"filename":"image_10042025_07_10_45_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351107390","file1":"1351107385","file0":"1351107378","file4":"1351107452","file5":"1351107485","file3":"1351107416"},"map_files_photo_id_array":[{"photo_id":"1351107485","filename":"file5"},{"photo_id":"1351107390","filename":"file2"},{"photo_id":"1351107452","filename":"file4"},{"photo_id":"1351107385","filename":"file1"},{"photo_id":"1351107378","filename":"file0"},{"photo_id":"1351107416","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351107385":["hashtag1","hashtag2"]},{"1351107390":["hashtag1","hashtag2"]},{"1351107378":["hashtag1","hashtag2"]},{"1351107485":["hashtag1","hashtag2"]},{"1351107452":["hashtag1","hashtag2"]},{"1351107416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351107385, 1351107390, 1351107378, 1351107485, 1351107452, 1351107416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74618172645569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:46:32.610487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_15_10402.jpg', '/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_25_9367.jpg', '/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_35_10346.jpg', '/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_45_9476.jpg', '/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_55_10439.jpg', '/home/pi/Desktop/images/10042025/07/11/image_10042025_07_12_06_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_15_10402.jpg
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_25_9367.jpg
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_35_10346.jpg
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_45_9476.jpg
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_11_55_10439.jpg
/home/pi/Desktop/images/10042025/07/11/image_10042025_07_12_06_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351107853","1351107972","1351107714","1351107936","1351107788","1351107680"],"photo_ids_order":["1351107680","1351107714","1351107788","1351107853","1351107936","1351107972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/534cb7c7dba44d473aef609d6aa07776.jpg","text":"TemporaryFile(/tmp/multipartBody6578614706241574366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_11_45_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2112751714df55d1023d229c27cde4d.jpg","text":"TemporaryFile(/tmp/multipartBody4353778840849049334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_12_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56243ff15d180ae781dc134bcc10d951.jpg","text":"TemporaryFile(/tmp/multipartBody2309766940617955481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_11_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c425ed182f15a1bc6a5924d55bd2c607.jpg","text":"TemporaryFile(/tmp/multipartBody630631855226565902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_11_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c59a4eda6f1ae48bae3503c4a2b29f59.jpg","text":"TemporaryFile(/tmp/multipartBody8397468081350564223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_11_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58e68edc86ee0f64440520b70cf9a6b0.jpg","text":"TemporaryFile(/tmp/multipartBody4669753589578197500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274853234,"filename":"image_10042025_07_11_15_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351107788","file1":"1351107714","file0":"1351107680","file4":"1351107936","file5":"1351107972","file3":"1351107853"},"map_files_photo_id_array":[{"photo_id":"1351107972","filename":"file5"},{"photo_id":"1351107788","filename":"file2"},{"photo_id":"1351107936","filename":"file4"},{"photo_id":"1351107714","filename":"file1"},{"photo_id":"1351107680","filename":"file0"},{"photo_id":"1351107853","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351107853":["hashtag1","hashtag2"]},{"1351107972":["hashtag1","hashtag2"]},{"1351107714":["hashtag1","hashtag2"]},{"1351107936":["hashtag1","hashtag2"]},{"1351107788":["hashtag1","hashtag2"]},{"1351107680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351107853, 1351107972, 1351107714, 1351107936, 1351107788, 1351107680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26125764846802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:47:32.730672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_15_9342.jpg', '/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_25_10508.jpg', '/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_35_9353.jpg', '/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_45_10352.jpg', '/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_56_10456.jpg', '/home/pi/Desktop/images/10042025/07/12/image_10042025_07_13_05_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_15_9342.jpg
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_25_10508.jpg
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_35_9353.jpg
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_45_10352.jpg
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_12_56_10456.jpg
/home/pi/Desktop/images/10042025/07/12/image_10042025_07_13_05_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351108284","1351108216","1351108347","1351108362","1351108239","1351108195"],"photo_ids_order":["1351108195","1351108216","1351108239","1351108284","1351108347","1351108362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e52546c19615b532373d1b03b609e54.jpg","text":"TemporaryFile(/tmp/multipartBody1702688758473081508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_12_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f0f354e1372ab57011a5cfdc6f47c49.jpg","text":"TemporaryFile(/tmp/multipartBody5650194192498544246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_12_25_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e180dab2d66859405a0dfd3f467166d.jpg","text":"TemporaryFile(/tmp/multipartBody7232711918574705796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_12_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/347e80ea5d086670f89573b2ba4de36a.jpg","text":"TemporaryFile(/tmp/multipartBody4927882515041705125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_13_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c265bf73e768c72041ddaa8c76b06ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6038832727147216521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_12_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8772ce643528a59cb923d59ebc4a511a.jpg","text":"TemporaryFile(/tmp/multipartBody2262767187374268290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274913280,"filename":"image_10042025_07_12_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351108239","file1":"1351108216","file0":"1351108195","file4":"1351108347","file5":"1351108362","file3":"1351108284"},"map_files_photo_id_array":[{"photo_id":"1351108362","filename":"file5"},{"photo_id":"1351108239","filename":"file2"},{"photo_id":"1351108347","filename":"file4"},{"photo_id":"1351108216","filename":"file1"},{"photo_id":"1351108195","filename":"file0"},{"photo_id":"1351108284","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351108284":["hashtag1","hashtag2"]},{"1351108216":["hashtag1","hashtag2"]},{"1351108347":["hashtag1","hashtag2"]},{"1351108362":["hashtag1","hashtag2"]},{"1351108239":["hashtag1","hashtag2"]},{"1351108195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351108284, 1351108216, 1351108347, 1351108362, 1351108239, 1351108195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.652517318725586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:48:32.964412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_15_10450.jpg', '/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_25_9355.jpg', '/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_35_10362.jpg', '/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_45_10389.jpg', '/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_55_9364.jpg', '/home/pi/Desktop/images/10042025/07/13/image_10042025_07_14_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_15_10450.jpg
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_25_9355.jpg
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_35_10362.jpg
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_45_10389.jpg
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_13_55_9364.jpg
/home/pi/Desktop/images/10042025/07/13/image_10042025_07_14_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351108995","1351109068","1351109254","1351109146","1351109190","1351108948"],"photo_ids_order":["1351108948","1351108995","1351109068","1351109146","1351109190","1351109254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45f41678915cc169251a923283445882.jpg","text":"TemporaryFile(/tmp/multipartBody4410961422478673255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_13_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23359abdc99b5f0c028aec179156b305.jpg","text":"TemporaryFile(/tmp/multipartBody2523183268266342849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_13_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/291676581b67eac5d964f46c494f5bea.jpg","text":"TemporaryFile(/tmp/multipartBody8043643524228529086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_14_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d445a2ebbb6342a55a7ae8f246b0273.jpg","text":"TemporaryFile(/tmp/multipartBody7731453403133012721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_13_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26d86d9193c9f6f8ea5865faa992f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody7174706664768322674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_13_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62a2968d78aa75eaa025e4a934299e91.jpg","text":"TemporaryFile(/tmp/multipartBody2440463726911574097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744274973957,"filename":"image_10042025_07_13_15_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351109068","file1":"1351108995","file0":"1351108948","file4":"1351109190","file5":"1351109254","file3":"1351109146"},"map_files_photo_id_array":[{"photo_id":"1351109254","filename":"file5"},{"photo_id":"1351109068","filename":"file2"},{"photo_id":"1351109190","filename":"file4"},{"photo_id":"1351108995","filename":"file1"},{"photo_id":"1351108948","filename":"file0"},{"photo_id":"1351109146","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351108995":["hashtag1","hashtag2"]},{"1351109068":["hashtag1","hashtag2"]},{"1351109254":["hashtag1","hashtag2"]},{"1351109146":["hashtag1","hashtag2"]},{"1351109190":["hashtag1","hashtag2"]},{"1351108948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351108995, 1351109068, 1351109254, 1351109146, 1351109190, 1351108948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.65065240859985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:49:32.335421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_16_10355.jpg', '/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_25_9352.jpg', '/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_35_10490.jpg', '/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_45_9985.jpg', '/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_55_9345.jpg', '/home/pi/Desktop/images/10042025/07/14/image_10042025_07_15_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_16_10355.jpg
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_25_9352.jpg
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_35_10490.jpg
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_45_9985.jpg
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_14_55_9345.jpg
/home/pi/Desktop/images/10042025/07/14/image_10042025_07_15_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351109565","1351109377","1351109491","1351109443","1351109580","1351109407"],"photo_ids_order":["1351109377","1351109407","1351109443","1351109491","1351109565","1351109580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5297d1905e5c852a9a3ef062ca9c148.jpg","text":"TemporaryFile(/tmp/multipartBody105090069221590483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_14_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c85526e53106e6231e49537a76f03ab.jpg","text":"TemporaryFile(/tmp/multipartBody3558056794371430232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_14_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef48876b2f06dfdbf466feee4604635f.jpg","text":"TemporaryFile(/tmp/multipartBody4440487906218187650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_14_45_9985.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7463fa4244253bae07e5511d69e20bb.jpg","text":"TemporaryFile(/tmp/multipartBody4943877300995881028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_14_35_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63f21d6949e6641ede305e4c641dce49.jpg","text":"TemporaryFile(/tmp/multipartBody5122761840620627228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_15_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3544f7c4666d76dae7acc4b988c99d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2940798761997384384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275032886,"filename":"image_10042025_07_14_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351109443","file1":"1351109407","file0":"1351109377","file4":"1351109565","file5":"1351109580","file3":"1351109491"},"map_files_photo_id_array":[{"photo_id":"1351109580","filename":"file5"},{"photo_id":"1351109443","filename":"file2"},{"photo_id":"1351109565","filename":"file4"},{"photo_id":"1351109407","filename":"file1"},{"photo_id":"1351109377","filename":"file0"},{"photo_id":"1351109491","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351109565":["hashtag1","hashtag2"]},{"1351109377":["hashtag1","hashtag2"]},{"1351109491":["hashtag1","hashtag2"]},{"1351109443":["hashtag1","hashtag2"]},{"1351109580":["hashtag1","hashtag2"]},{"1351109407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351109565, 1351109377, 1351109491, 1351109443, 1351109580, 1351109407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78947734832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:50:32.455390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_16_10432.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_25_9359.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_35_10365.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_46_10354.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_55_9371.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_16_05_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_16_10432.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_25_9359.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_35_10365.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_46_10354.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_55_9371.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_16_05_10414.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44992685317993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 10:50:42.497561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_16_10432.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_25_9359.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_35_10365.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_46_10354.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_55_9371.jpg', '/home/pi/Desktop/images/10042025/07/15/image_10042025_07_16_05_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_16_10432.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_25_9359.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_35_10365.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_46_10354.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_15_55_9371.jpg
/home/pi/Desktop/images/10042025/07/15/image_10042025_07_16_05_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351109868","1351109901","1351109924","1351109852","1351109840","1351109803"],"photo_ids_order":["1351109803","1351109840","1351109852","1351109868","1351109901","1351109924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a59649921e8c1ea052c8acde6303a53.jpg","text":"TemporaryFile(/tmp/multipartBody5201230201244729873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_15_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6fb594653d9e35ecd518eb2989f1279.jpg","text":"TemporaryFile(/tmp/multipartBody8486510869083515829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_15_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c13dec98307b8258d48a5cbd96cdf4d.jpg","text":"TemporaryFile(/tmp/multipartBody6865934993152359032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_16_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f951d5d7e10b37e2edd7ba0ccc8e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody5264071446521429877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_15_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04b90d582866ce13c5c2a56b96e585b5.jpg","text":"TemporaryFile(/tmp/multipartBody6640413291835335359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_15_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69db62b9cea354c6d11eae6bd5bed8f9.jpg","text":"TemporaryFile(/tmp/multipartBody7776998102934111189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275102962,"filename":"image_10042025_07_15_16_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351109852","file1":"1351109840","file0":"1351109803","file4":"1351109901","file5":"1351109924","file3":"1351109868"},"map_files_photo_id_array":[{"photo_id":"1351109924","filename":"file5"},{"photo_id":"1351109852","filename":"file2"},{"photo_id":"1351109901","filename":"file4"},{"photo_id":"1351109840","filename":"file1"},{"photo_id":"1351109803","filename":"file0"},{"photo_id":"1351109868","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351109868":["hashtag1","hashtag2"]},{"1351109901":["hashtag1","hashtag2"]},{"1351109924":["hashtag1","hashtag2"]},{"1351109852":["hashtag1","hashtag2"]},{"1351109840":["hashtag1","hashtag2"]},{"1351109803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351109868, 1351109901, 1351109924, 1351109852, 1351109840, 1351109803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16617202758789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:51:32.616413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_15_9343.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_25_10359.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_36_10489.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_45_9343.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_55_10467.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_17_05_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_15_9343.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_25_10359.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_36_10489.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_45_9343.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_55_10467.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_17_05_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4501302242279053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 10:51:42.602563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_15_9343.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_25_10359.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_36_10489.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_45_9343.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_55_10467.jpg', '/home/pi/Desktop/images/10042025/07/16/image_10042025_07_17_05_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_15_9343.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_25_10359.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_36_10489.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_45_9343.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_16_55_10467.jpg
/home/pi/Desktop/images/10042025/07/16/image_10042025_07_17_05_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351110147","1351110221","1351110125","1351110184","1351110091","1351110154"],"photo_ids_order":["1351110091","1351110125","1351110147","1351110154","1351110184","1351110221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9807ece27ec087bd694786ce39c6e4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5326896408292493753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_16_36_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60c10b66532180a9c2bc4921cde2521d.jpg","text":"TemporaryFile(/tmp/multipartBody644220729104365822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_17_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/005efcc9bb31258630fdbb31a6ea3296.jpg","text":"TemporaryFile(/tmp/multipartBody2913246252711503398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_16_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac8fa253e32cf288b9bb13f2cc490ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3838140081102485664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_16_55_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9efccdd47645da192073821b26bef648.jpg","text":"TemporaryFile(/tmp/multipartBody3853773008470107796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_16_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0fa8ebd526d38b9aae77173203c5284.jpg","text":"TemporaryFile(/tmp/multipartBody7428643784520162809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275163085,"filename":"image_10042025_07_16_45_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351110147","file1":"1351110125","file0":"1351110091","file4":"1351110184","file5":"1351110221","file3":"1351110154"},"map_files_photo_id_array":[{"photo_id":"1351110221","filename":"file5"},{"photo_id":"1351110147","filename":"file2"},{"photo_id":"1351110184","filename":"file4"},{"photo_id":"1351110125","filename":"file1"},{"photo_id":"1351110091","filename":"file0"},{"photo_id":"1351110154","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351110147":["hashtag1","hashtag2"]},{"1351110221":["hashtag1","hashtag2"]},{"1351110125":["hashtag1","hashtag2"]},{"1351110184":["hashtag1","hashtag2"]},{"1351110091":["hashtag1","hashtag2"]},{"1351110154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351110147, 1351110221, 1351110125, 1351110184, 1351110091, 1351110154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32683825492859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:52:32.858894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_15_10373.jpg', '/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_26_10453.jpg', '/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_35_9426.jpg', '/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_55_9364.jpg', '/home/pi/Desktop/images/10042025/07/17/image_10042025_07_18_05_10343.jpg', '/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_16_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_15_10373.jpg
/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_26_10453.jpg
/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_35_9426.jpg
/home/pi/Desktop/images/10042025/07/17/image_10042025_07_17_55_9364.jpg
/home/pi/Desktop/images/10042025/07/17/image_10042025_07_18_05_10343.jpg
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_16_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351110497","1351110560","1351110533","1351110431","1351110577","1351110472"],"photo_ids_order":["1351110431","1351110472","1351110497","1351110533","1351110560","1351110577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f521af1a7e0262286e388a0136623776.jpg","text":"TemporaryFile(/tmp/multipartBody9205666873773931107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_17_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c33cd57f5c1b0e91aaf7737b70dca4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1928960321553940254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_18_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d99ff545962aa7fe06f23ed4833c251c.jpg","text":"TemporaryFile(/tmp/multipartBody8959180906485904467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_17_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e12fa6e0182c9c290e4822ac48b77b8.jpg","text":"TemporaryFile(/tmp/multipartBody7501973510254433007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_17_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d2e2fbfcb7c201a26b6ba349ce1231e.jpg","text":"TemporaryFile(/tmp/multipartBody8727429572761552446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_18_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a6d2eba887c5af1677227665dee1ddd.jpg","text":"TemporaryFile(/tmp/multipartBody9078529099682855906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275213412,"filename":"image_10042025_07_17_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351110497","file1":"1351110472","file0":"1351110431","file4":"1351110560","file5":"1351110577","file3":"1351110533"},"map_files_photo_id_array":[{"photo_id":"1351110577","filename":"file5"},{"photo_id":"1351110497","filename":"file2"},{"photo_id":"1351110560","filename":"file4"},{"photo_id":"1351110472","filename":"file1"},{"photo_id":"1351110431","filename":"file0"},{"photo_id":"1351110533","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351110497":["hashtag1","hashtag2"]},{"1351110560":["hashtag1","hashtag2"]},{"1351110533":["hashtag1","hashtag2"]},{"1351110431":["hashtag1","hashtag2"]},{"1351110577":["hashtag1","hashtag2"]},{"1351110472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351110497, 1351110560, 1351110533, 1351110431, 1351110577, 1351110472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.653191804885864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:53:33.078391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_25_9353.jpg', '/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_35_10416.jpg', '/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_45_9406.jpg', '/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_55_10381.jpg', '/home/pi/Desktop/images/10042025/07/18/image_10042025_07_19_06_10382.jpg', '/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_15_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_25_9353.jpg
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_35_10416.jpg
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_45_9406.jpg
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_18_55_10381.jpg
/home/pi/Desktop/images/10042025/07/18/image_10042025_07_19_06_10382.jpg
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_15_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351110789","1351110696","1351110755","1351110722","1351110793","1351110781"],"photo_ids_order":["1351110696","1351110722","1351110755","1351110781","1351110789","1351110793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f84928f825526898afba27b01f243763.jpg","text":"TemporaryFile(/tmp/multipartBody7081655865211279747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_19_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a7ed1110eb182d565d528efd771e62d.jpg","text":"TemporaryFile(/tmp/multipartBody4179618000221445227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_18_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e479a5b58624e77a83ff24fa3f30ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7876523625566765291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_18_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c00a5ccabb447937b23cff1ade23fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6572222064248993422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_18_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5aedf73307db5f751cdccfc2a68e61aa.jpg","text":"TemporaryFile(/tmp/multipartBody6315643437068094360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_19_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2d72df8e81fe82f4eae9c1f7f9e98f9.jpg","text":"TemporaryFile(/tmp/multipartBody3828926817094594002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275273611,"filename":"image_10042025_07_18_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351110755","file1":"1351110722","file0":"1351110696","file4":"1351110789","file5":"1351110793","file3":"1351110781"},"map_files_photo_id_array":[{"photo_id":"1351110793","filename":"file5"},{"photo_id":"1351110755","filename":"file2"},{"photo_id":"1351110789","filename":"file4"},{"photo_id":"1351110722","filename":"file1"},{"photo_id":"1351110696","filename":"file0"},{"photo_id":"1351110781","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351110789":["hashtag1","hashtag2"]},{"1351110696":["hashtag1","hashtag2"]},{"1351110755":["hashtag1","hashtag2"]},{"1351110722":["hashtag1","hashtag2"]},{"1351110793":["hashtag1","hashtag2"]},{"1351110781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351110789, 1351110696, 1351110755, 1351110722, 1351110793, 1351110781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4337944984436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:54:32.227979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_25_10424.jpg', '/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_35_9347.jpg', '/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_45_10368.jpg', '/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_55_10388.jpg', '/home/pi/Desktop/images/10042025/07/19/image_10042025_07_20_05_9344.jpg', '/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_15_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_25_10424.jpg
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_35_9347.jpg
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_45_10368.jpg
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_19_55_10388.jpg
/home/pi/Desktop/images/10042025/07/19/image_10042025_07_20_05_9344.jpg
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_15_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351110981","1351110992","1351110986","1351110971","1351110997","1351110976"],"photo_ids_order":["1351110971","1351110976","1351110981","1351110986","1351110992","1351110997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47c0707c1c88b1e55b364c24048a6ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7297639053854505683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_19_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de9518dd2e18e50e02b0128842df3b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8591330169072502785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_20_05_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44ae2d5cf5bd2f1db9bdb7573c2d962f.jpg","text":"TemporaryFile(/tmp/multipartBody3285752886829628461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_19_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2d82225802a7cdcd95be61acfa3517d.jpg","text":"TemporaryFile(/tmp/multipartBody7100779777842840262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_19_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c5d685b3c6f477bfec2433a001e1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody4169370558310797496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_20_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8575312a82adfc443d30dd8d645be8a.jpg","text":"TemporaryFile(/tmp/multipartBody7756734460860363943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275332794,"filename":"image_10042025_07_19_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351110981","file1":"1351110976","file0":"1351110971","file4":"1351110992","file5":"1351110997","file3":"1351110986"},"map_files_photo_id_array":[{"photo_id":"1351110997","filename":"file5"},{"photo_id":"1351110981","filename":"file2"},{"photo_id":"1351110992","filename":"file4"},{"photo_id":"1351110976","filename":"file1"},{"photo_id":"1351110971","filename":"file0"},{"photo_id":"1351110986","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351110981":["hashtag1","hashtag2"]},{"1351110992":["hashtag1","hashtag2"]},{"1351110986":["hashtag1","hashtag2"]},{"1351110971":["hashtag1","hashtag2"]},{"1351110997":["hashtag1","hashtag2"]},{"1351110976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351110981, 1351110992, 1351110986, 1351110971, 1351110997, 1351110976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83314394950867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:55:32.427961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_25_9527.jpg', '/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_35_10446.jpg', '/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_46_10452.jpg', '/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_55_9432.jpg', '/home/pi/Desktop/images/10042025/07/20/image_10042025_07_21_05_10438.jpg', '/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_15_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_25_9527.jpg
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_35_10446.jpg
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_46_10452.jpg
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_20_55_9432.jpg
/home/pi/Desktop/images/10042025/07/20/image_10042025_07_21_05_10438.jpg
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_15_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351111062","1351111122","1351111116","1351111106","1351111138","1351111068"],"photo_ids_order":["1351111062","1351111068","1351111106","1351111116","1351111122","1351111138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba99ffaf6a7dd1d2bfcf614a7ee90c66.jpg","text":"TemporaryFile(/tmp/multipartBody7759003901851447590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_20_25_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f11e02b8ef1d73ed00eb6a8f4f06f795.jpg","text":"TemporaryFile(/tmp/multipartBody4971465028920720884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_21_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bde9e15c6bb276e1d4e3171065d5536.jpg","text":"TemporaryFile(/tmp/multipartBody1799040849125603284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_20_55_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4a37d7fd6d9025a371473eeca37d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody5369158927696745366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_20_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74fe2e6afe22b883f76e9103c3460c65.jpg","text":"TemporaryFile(/tmp/multipartBody1817501466448147880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_21_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d01d8a158eeaabfc54f8b4c1947c0187.jpg","text":"TemporaryFile(/tmp/multipartBody1796166551479762822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275392972,"filename":"image_10042025_07_20_35_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351111106","file1":"1351111068","file0":"1351111062","file4":"1351111122","file5":"1351111138","file3":"1351111116"},"map_files_photo_id_array":[{"photo_id":"1351111138","filename":"file5"},{"photo_id":"1351111106","filename":"file2"},{"photo_id":"1351111122","filename":"file4"},{"photo_id":"1351111068","filename":"file1"},{"photo_id":"1351111062","filename":"file0"},{"photo_id":"1351111116","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351111062":["hashtag1","hashtag2"]},{"1351111122":["hashtag1","hashtag2"]},{"1351111116":["hashtag1","hashtag2"]},{"1351111106":["hashtag1","hashtag2"]},{"1351111138":["hashtag1","hashtag2"]},{"1351111068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351111062, 1351111122, 1351111116, 1351111106, 1351111138, 1351111068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93742251396179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:56:32.668475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_25_10370.jpg', '/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_36_10401.jpg', '/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_45_9367.jpg', '/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_55_10411.jpg', '/home/pi/Desktop/images/10042025/07/21/image_10042025_07_22_05_9362.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_25_10370.jpg
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_36_10401.jpg
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_45_9367.jpg
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_21_55_10411.jpg
/home/pi/Desktop/images/10042025/07/21/image_10042025_07_22_05_9362.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351111257","1351111265","1351111274","1351111229","1351111279","1351111270"],"photo_ids_order":["1351111229","1351111257","1351111265","1351111270","1351111274","1351111279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2cd9659b9d9684988fa22acd1b264bf.jpg","text":"TemporaryFile(/tmp/multipartBody9006523437226535673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_21_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0945c31e5d90a8f8cb1ae0f614fb3a91.jpg","text":"TemporaryFile(/tmp/multipartBody4835124614186957575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_21_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57e4edcff7f95e50ef676a7a778c3b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4574709920379892371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_22_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd2e82182e43192f11104fa47d6e7e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2392978908901939149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_21_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5370b4407c74741e341866d969438a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8989320335140079763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_22_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fa8f8f4a4edcef822deb0309cadd80d.jpg","text":"TemporaryFile(/tmp/multipartBody7456286913019186681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275453206,"filename":"image_10042025_07_21_55_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351111265","file1":"1351111257","file0":"1351111229","file4":"1351111274","file5":"1351111279","file3":"1351111270"},"map_files_photo_id_array":[{"photo_id":"1351111279","filename":"file5"},{"photo_id":"1351111265","filename":"file2"},{"photo_id":"1351111274","filename":"file4"},{"photo_id":"1351111257","filename":"file1"},{"photo_id":"1351111229","filename":"file0"},{"photo_id":"1351111270","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351111257":["hashtag1","hashtag2"]},{"1351111265":["hashtag1","hashtag2"]},{"1351111274":["hashtag1","hashtag2"]},{"1351111229":["hashtag1","hashtag2"]},{"1351111279":["hashtag1","hashtag2"]},{"1351111270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351111257, 1351111265, 1351111274, 1351111229, 1351111279, 1351111270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65394306182861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:57:32.723406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_26_10472.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_35_9346.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_45_10456.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_55_9360.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_23_05_10350.jpg', '/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_16_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_26_10472.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_35_9346.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_45_10456.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_55_9360.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_23_05_10350.jpg
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_16_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 10:59:03.561639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_26_10472.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_35_9346.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_45_10456.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_55_9360.jpg', '/home/pi/Desktop/images/10042025/07/22/image_10042025_07_23_05_10350.jpg', '/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_16_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_26_10472.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_35_9346.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_45_10456.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_22_55_9360.jpg
/home/pi/Desktop/images/10042025/07/22/image_10042025_07_23_05_10350.jpg
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_16_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351111812","1351111847","1351111661","1351111631","1351111732","1351111869"],"photo_ids_order":["1351111631","1351111661","1351111732","1351111812","1351111847","1351111869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51b3ac6c73168dcab6f9d8406c785d74.jpg","text":"TemporaryFile(/tmp/multipartBody2747180805251857799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_22_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70f7b84e8a5747770b013ac5170d4772.jpg","text":"TemporaryFile(/tmp/multipartBody7631059314125122639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_23_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e77467e0ddb1debf4d7a98b9a14e6163.jpg","text":"TemporaryFile(/tmp/multipartBody877891031078087643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_22_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c48483e6a99942b31a94c7ed6e25c36a.jpg","text":"TemporaryFile(/tmp/multipartBody7077529808152820360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_22_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8012d414a729f0763f7aedbd6ad790af.jpg","text":"TemporaryFile(/tmp/multipartBody4940776337650417749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_22_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbf574e9e9821320c9ba375b203ef73c.jpg","text":"TemporaryFile(/tmp/multipartBody9036559029251216892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275605595,"filename":"image_10042025_07_23_16_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351111732","file1":"1351111661","file0":"1351111631","file4":"1351111847","file5":"1351111869","file3":"1351111812"},"map_files_photo_id_array":[{"photo_id":"1351111869","filename":"file5"},{"photo_id":"1351111732","filename":"file2"},{"photo_id":"1351111847","filename":"file4"},{"photo_id":"1351111661","filename":"file1"},{"photo_id":"1351111631","filename":"file0"},{"photo_id":"1351111812","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351111812":["hashtag1","hashtag2"]},{"1351111847":["hashtag1","hashtag2"]},{"1351111661":["hashtag1","hashtag2"]},{"1351111631":["hashtag1","hashtag2"]},{"1351111732":["hashtag1","hashtag2"]},{"1351111869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351111812, 1351111847, 1351111661, 1351111631, 1351111732, 1351111869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48948812484741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 10:59:52.332413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_25_9365.jpg', '/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_35_10453.jpg', '/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_45_9422.jpg', '/home/pi/Desktop/images/10042025/07/23/image_10042025_07_24_06_10471.jpg', '/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_15_9483.jpg', '/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_25_9365.jpg
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_35_10453.jpg
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_23_45_9422.jpg
/home/pi/Desktop/images/10042025/07/23/image_10042025_07_24_06_10471.jpg
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_15_9483.jpg
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_25_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351112084","1351112057","1351111940","1351111943","1351111951","1351112064"],"photo_ids_order":["1351111940","1351111943","1351111951","1351112057","1351112064","1351112084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f6bbd4f4233ae126568f9610283450e.jpg","text":"TemporaryFile(/tmp/multipartBody3848674459353886110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_24_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/627c6579cd5f63291da89395b5dd3d65.jpg","text":"TemporaryFile(/tmp/multipartBody6866982983305129400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_24_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6da3a03cd0e772ec375fc9a34cd5c78.jpg","text":"TemporaryFile(/tmp/multipartBody649703967205225877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_23_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a501e1880c7ac809f54b1136ee67f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody5358484621056831430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_23_35_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffcc3487db780dff8d2f6932d364e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody4476770210823976628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_23_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04e93ff0cc9208230598ec1acb7e81eb.jpg","text":"TemporaryFile(/tmp/multipartBody3071685401656102103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275652868,"filename":"image_10042025_07_24_15_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351111951","file1":"1351111943","file0":"1351111940","file4":"1351112064","file5":"1351112084","file3":"1351112057"},"map_files_photo_id_array":[{"photo_id":"1351112084","filename":"file5"},{"photo_id":"1351111951","filename":"file2"},{"photo_id":"1351112064","filename":"file4"},{"photo_id":"1351111943","filename":"file1"},{"photo_id":"1351111940","filename":"file0"},{"photo_id":"1351112057","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351112084":["hashtag1","hashtag2"]},{"1351112057":["hashtag1","hashtag2"]},{"1351111940":["hashtag1","hashtag2"]},{"1351111943":["hashtag1","hashtag2"]},{"1351111951":["hashtag1","hashtag2"]},{"1351112064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351112084, 1351112057, 1351111940, 1351111943, 1351111951, 1351112064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62423396110535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:00:32.525978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_35_9366.jpg', '/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_45_10375.jpg', '/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_56_10368.jpg', '/home/pi/Desktop/images/10042025/07/24/image_10042025_07_25_05_9352.jpg', '/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_15_10401.jpg', '/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_25_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_35_9366.jpg
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_45_10375.jpg
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_24_56_10368.jpg
/home/pi/Desktop/images/10042025/07/24/image_10042025_07_25_05_9352.jpg
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_15_10401.jpg
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_25_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351112180","1351112282","1351112234","1351112203","1351112226","1351112157"],"photo_ids_order":["1351112157","1351112180","1351112203","1351112226","1351112234","1351112282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77180d37ce7c53ce670444354a7253c0.jpg","text":"TemporaryFile(/tmp/multipartBody5024896899876782459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_24_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c252715d5aa7f72e21798cef5576eebd.jpg","text":"TemporaryFile(/tmp/multipartBody306362527843175306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_25_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c284c6fd4b41bb6b80565e912c47b35.jpg","text":"TemporaryFile(/tmp/multipartBody2739433555075056749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_25_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/927c1342e7735992bd7a53cdb1904f67.jpg","text":"TemporaryFile(/tmp/multipartBody7858180004877744659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_24_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d3936c22ce73c86728024cce72913ec.jpg","text":"TemporaryFile(/tmp/multipartBody7187189871506741532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_25_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6d36ea3ad24908840096dc27def88aa.jpg","text":"TemporaryFile(/tmp/multipartBody1303451987908939971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275693017,"filename":"image_10042025_07_24_35_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351112203","file1":"1351112180","file0":"1351112157","file4":"1351112234","file5":"1351112282","file3":"1351112226"},"map_files_photo_id_array":[{"photo_id":"1351112282","filename":"file5"},{"photo_id":"1351112203","filename":"file2"},{"photo_id":"1351112234","filename":"file4"},{"photo_id":"1351112180","filename":"file1"},{"photo_id":"1351112157","filename":"file0"},{"photo_id":"1351112226","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351112180":["hashtag1","hashtag2"]},{"1351112282":["hashtag1","hashtag2"]},{"1351112234":["hashtag1","hashtag2"]},{"1351112203":["hashtag1","hashtag2"]},{"1351112226":["hashtag1","hashtag2"]},{"1351112157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351112180, 1351112282, 1351112234, 1351112203, 1351112226, 1351112157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.067384243011475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:01:32.692974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_35_10367.jpg', '/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_46_10452.jpg', '/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_55_9376.jpg', '/home/pi/Desktop/images/10042025/07/25/image_10042025_07_26_05_10384.jpg', '/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_15_9352.jpg', '/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_36_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_35_10367.jpg
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_46_10452.jpg
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_25_55_9376.jpg
/home/pi/Desktop/images/10042025/07/25/image_10042025_07_26_05_10384.jpg
/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_15_9352.jpg
/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_36_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351112765","1351112912","1351112866","1351112695","1351112814","1351112739"],"photo_ids_order":["1351112695","1351112739","1351112765","1351112814","1351112866","1351112912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49e8c5ec30975eace2a33c2cc93a64f7.jpg","text":"TemporaryFile(/tmp/multipartBody718206228236637996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_25_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88a0d6b577d6aa2aa637814e1cbf9178.jpg","text":"TemporaryFile(/tmp/multipartBody1251897804198383007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_26_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23bb8364ecdcf708b4333047b050f200.jpg","text":"TemporaryFile(/tmp/multipartBody418449687571644031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_26_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a9935f86d86b2568d5d08ac04920b56.jpg","text":"TemporaryFile(/tmp/multipartBody2496042815553481218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_25_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/968088e0ec2b2f5878dc29bb75811228.jpg","text":"TemporaryFile(/tmp/multipartBody5744945033322106146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_26_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d5575d1c8b2c66b20ae60e97a052407.jpg","text":"TemporaryFile(/tmp/multipartBody7831656554467073702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275753160,"filename":"image_10042025_07_25_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351112765","file1":"1351112739","file0":"1351112695","file4":"1351112866","file5":"1351112912","file3":"1351112814"},"map_files_photo_id_array":[{"photo_id":"1351112912","filename":"file5"},{"photo_id":"1351112765","filename":"file2"},{"photo_id":"1351112866","filename":"file4"},{"photo_id":"1351112739","filename":"file1"},{"photo_id":"1351112695","filename":"file0"},{"photo_id":"1351112814","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351112765":["hashtag1","hashtag2"]},{"1351112912":["hashtag1","hashtag2"]},{"1351112866":["hashtag1","hashtag2"]},{"1351112695":["hashtag1","hashtag2"]},{"1351112814":["hashtag1","hashtag2"]},{"1351112739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351112765, 1351112912, 1351112866, 1351112695, 1351112814, 1351112739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44243335723877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:02:32.943572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_45_9346.jpg', '/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_55_10498.jpg', '/home/pi/Desktop/images/10042025/07/26/image_10042025_07_27_05_9367.jpg', '/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_15_10410.jpg', '/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_26_10424.jpg', '/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_35_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_45_9346.jpg
/home/pi/Desktop/images/10042025/07/26/image_10042025_07_26_55_10498.jpg
/home/pi/Desktop/images/10042025/07/26/image_10042025_07_27_05_9367.jpg
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_15_10410.jpg
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_26_10424.jpg
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_35_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351113410","1351113445","1351113831","1351113669","1351113720","1351113794"],"photo_ids_order":["1351113410","1351113445","1351113669","1351113720","1351113794","1351113831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efcdfda6fa0e8981137c2058642fc6c4.jpg","text":"TemporaryFile(/tmp/multipartBody7375221033856212294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_26_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7591be1b427434ede69e8d8202d3a889.jpg","text":"TemporaryFile(/tmp/multipartBody1256767017300896990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_26_55_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c74a015d54c97bcd334b6de08fc1e81f.jpg","text":"TemporaryFile(/tmp/multipartBody6131193289256713181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_27_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f557b0a86c230600c3b083d5f484ba06.jpg","text":"TemporaryFile(/tmp/multipartBody3730478676386801763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_27_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81e82ba94753e6aefd869a359bbf5972.jpg","text":"TemporaryFile(/tmp/multipartBody5456885456137887484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_27_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14d92f28e019196a8f54333252201548.jpg","text":"TemporaryFile(/tmp/multipartBody5322465309051725391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275813412,"filename":"image_10042025_07_27_26_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351113669","file1":"1351113445","file0":"1351113410","file4":"1351113794","file5":"1351113831","file3":"1351113720"},"map_files_photo_id_array":[{"photo_id":"1351113831","filename":"file5"},{"photo_id":"1351113669","filename":"file2"},{"photo_id":"1351113794","filename":"file4"},{"photo_id":"1351113445","filename":"file1"},{"photo_id":"1351113410","filename":"file0"},{"photo_id":"1351113720","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351113410":["hashtag1","hashtag2"]},{"1351113445":["hashtag1","hashtag2"]},{"1351113831":["hashtag1","hashtag2"]},{"1351113669":["hashtag1","hashtag2"]},{"1351113720":["hashtag1","hashtag2"]},{"1351113794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351113410, 1351113445, 1351113831, 1351113669, 1351113720, 1351113794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.01481795310974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:03:33.256809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_45_10412.jpg', '/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_55_9375.jpg', '/home/pi/Desktop/images/10042025/07/27/image_10042025_07_28_05_10352.jpg', '/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_25_9373.jpg', '/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_35_10500.jpg', '/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_45_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_45_10412.jpg
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_27_55_9375.jpg
/home/pi/Desktop/images/10042025/07/27/image_10042025_07_28_05_10352.jpg
/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_25_9373.jpg
/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_35_10500.jpg
/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351114130","1351114267","1351114081","1351114225","1351114300","1351114173"],"photo_ids_order":["1351114081","1351114130","1351114173","1351114225","1351114267","1351114300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65f35541077d4922f24a0bd52baca04f.jpg","text":"TemporaryFile(/tmp/multipartBody8692484479508962129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_27_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29528e009e5f76d4ace5412b8aea2001.jpg","text":"TemporaryFile(/tmp/multipartBody3379154001473522634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_28_35_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/661c7cc4e71e8c862f8e848a3eea3a58.jpg","text":"TemporaryFile(/tmp/multipartBody3164990160618686362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_27_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d20f403b02565704adb5de91d0f6ae42.jpg","text":"TemporaryFile(/tmp/multipartBody1279844367750239780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_28_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35cfff0e237bf1f0f53075c050cbc1ad.jpg","text":"TemporaryFile(/tmp/multipartBody5376678549822535424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_28_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7a00826c58e17243f860aef0f78982e.jpg","text":"TemporaryFile(/tmp/multipartBody5239533567125049460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275873729,"filename":"image_10042025_07_28_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351114173","file1":"1351114130","file0":"1351114081","file4":"1351114267","file5":"1351114300","file3":"1351114225"},"map_files_photo_id_array":[{"photo_id":"1351114300","filename":"file5"},{"photo_id":"1351114173","filename":"file2"},{"photo_id":"1351114267","filename":"file4"},{"photo_id":"1351114130","filename":"file1"},{"photo_id":"1351114081","filename":"file0"},{"photo_id":"1351114225","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351114130":["hashtag1","hashtag2"]},{"1351114267":["hashtag1","hashtag2"]},{"1351114081":["hashtag1","hashtag2"]},{"1351114225":["hashtag1","hashtag2"]},{"1351114300":["hashtag1","hashtag2"]},{"1351114173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351114130, 1351114267, 1351114081, 1351114225, 1351114300, 1351114173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.265442848205566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:04:32.265454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_55_10511.jpg', '/home/pi/Desktop/images/10042025/07/28/image_10042025_07_29_05_9372.jpg', '/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_15_10351.jpg', '/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_26_10486.jpg', '/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_35_9346.jpg', '/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_45_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/28/image_10042025_07_28_55_10511.jpg
/home/pi/Desktop/images/10042025/07/28/image_10042025_07_29_05_9372.jpg
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_15_10351.jpg
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_26_10486.jpg
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_35_9346.jpg
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_45_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351114502","1351114786","1351114552","1351114593","1351114705","1351114853"],"photo_ids_order":["1351114502","1351114552","1351114593","1351114705","1351114786","1351114853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/596e9df6795e834d346ad853b56173c9.jpg","text":"TemporaryFile(/tmp/multipartBody6008973813854788460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_28_55_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b5ae3b22dbc39526b0be43e5c546326.jpg","text":"TemporaryFile(/tmp/multipartBody7850733387011362198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_29_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97470b5a3b8793a019e1631cbeb7efe2.jpg","text":"TemporaryFile(/tmp/multipartBody2278840321717002212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_29_05_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d8684af619c964dac31516e662d9dab.jpg","text":"TemporaryFile(/tmp/multipartBody1156136826698098206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_29_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7b2342caa876c358e366fbe8f1a4fda.jpg","text":"TemporaryFile(/tmp/multipartBody3164002946971396730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_29_26_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/feec65360cf38cfc1323e14fdfe4daed.jpg","text":"TemporaryFile(/tmp/multipartBody2490264196349505908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275932730,"filename":"image_10042025_07_29_45_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351114593","file1":"1351114552","file0":"1351114502","file4":"1351114786","file5":"1351114853","file3":"1351114705"},"map_files_photo_id_array":[{"photo_id":"1351114853","filename":"file5"},{"photo_id":"1351114593","filename":"file2"},{"photo_id":"1351114786","filename":"file4"},{"photo_id":"1351114552","filename":"file1"},{"photo_id":"1351114502","filename":"file0"},{"photo_id":"1351114705","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351114502":["hashtag1","hashtag2"]},{"1351114786":["hashtag1","hashtag2"]},{"1351114552":["hashtag1","hashtag2"]},{"1351114593":["hashtag1","hashtag2"]},{"1351114705":["hashtag1","hashtag2"]},{"1351114853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351114502, 1351114786, 1351114552, 1351114593, 1351114705, 1351114853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05883550643921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:05:32.295925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_55_9399.jpg', '/home/pi/Desktop/images/10042025/07/29/image_10042025_07_30_05_10361.jpg', '/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_16_10437.jpg', '/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_25_9386.jpg', '/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_35_10532.jpg', '/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_45_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_29_55_9399.jpg
/home/pi/Desktop/images/10042025/07/29/image_10042025_07_30_05_10361.jpg
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_16_10437.jpg
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_25_9386.jpg
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_35_10532.jpg
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_45_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351115329","1351115122","1351115240","1351115177","1351115099","1351115383"],"photo_ids_order":["1351115099","1351115122","1351115177","1351115240","1351115329","1351115383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbf473b82db4184471ee3b66160f5164.jpg","text":"TemporaryFile(/tmp/multipartBody634040741139589496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_30_35_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d20b8285c59be9a5ccfa0ec01034422.jpg","text":"TemporaryFile(/tmp/multipartBody1076477145347275230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_30_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d01a319850f952eba97d74f26c8b7220.jpg","text":"TemporaryFile(/tmp/multipartBody3546148565723678432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_30_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0b62856df1b87035a9d97472f5ca79d.jpg","text":"TemporaryFile(/tmp/multipartBody5017286033072206082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_30_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0b1adfea6832ec02d56a91bb58ccf42.jpg","text":"TemporaryFile(/tmp/multipartBody4376243366764864263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_29_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e0beda7ce308010b320bb94f2e22816.jpg","text":"TemporaryFile(/tmp/multipartBody2878024513133078951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744275992784,"filename":"image_10042025_07_30_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351115177","file1":"1351115122","file0":"1351115099","file4":"1351115329","file5":"1351115383","file3":"1351115240"},"map_files_photo_id_array":[{"photo_id":"1351115383","filename":"file5"},{"photo_id":"1351115177","filename":"file2"},{"photo_id":"1351115329","filename":"file4"},{"photo_id":"1351115122","filename":"file1"},{"photo_id":"1351115099","filename":"file0"},{"photo_id":"1351115240","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351115329":["hashtag1","hashtag2"]},{"1351115122":["hashtag1","hashtag2"]},{"1351115240":["hashtag1","hashtag2"]},{"1351115177":["hashtag1","hashtag2"]},{"1351115099":["hashtag1","hashtag2"]},{"1351115383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351115329, 1351115122, 1351115240, 1351115177, 1351115099, 1351115383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.52715253829956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:06:32.544426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_55_10375.jpg', '/home/pi/Desktop/images/10042025/07/30/image_10042025_07_31_06_10373.jpg', '/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_15_9329.jpg', '/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_25_10452.jpg', '/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_35_9352.jpg', '/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_30_55_10375.jpg
/home/pi/Desktop/images/10042025/07/30/image_10042025_07_31_06_10373.jpg
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_15_9329.jpg
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_25_10452.jpg
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_35_9352.jpg
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351115758","1351115623","1351115580","1351115811","1351115699","1351115596"],"photo_ids_order":["1351115580","1351115596","1351115623","1351115699","1351115758","1351115811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf0116c79eb83105786448a6f3e3f915.jpg","text":"TemporaryFile(/tmp/multipartBody4559056507063210027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_31_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/760f54707f679f0474ecf9ebb389ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody8285956082113776371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_31_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1ef1811c76e8e18070d44805d15606d.jpg","text":"TemporaryFile(/tmp/multipartBody993029125160821432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_30_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9566853997a86839cbc6def7fd57598a.jpg","text":"TemporaryFile(/tmp/multipartBody7120985360163824722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_31_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19c81ebf5c45e48b8c611ec7e4c8a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2435450215427004765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_31_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7ce44ec66fd9d8a8b82e678b455a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5681839473808940472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276053019,"filename":"image_10042025_07_31_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351115623","file1":"1351115596","file0":"1351115580","file4":"1351115758","file5":"1351115811","file3":"1351115699"},"map_files_photo_id_array":[{"photo_id":"1351115811","filename":"file5"},{"photo_id":"1351115623","filename":"file2"},{"photo_id":"1351115758","filename":"file4"},{"photo_id":"1351115596","filename":"file1"},{"photo_id":"1351115580","filename":"file0"},{"photo_id":"1351115699","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351115758":["hashtag1","hashtag2"]},{"1351115623":["hashtag1","hashtag2"]},{"1351115580":["hashtag1","hashtag2"]},{"1351115811":["hashtag1","hashtag2"]},{"1351115699":["hashtag1","hashtag2"]},{"1351115596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351115758, 1351115623, 1351115580, 1351115811, 1351115699, 1351115596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78128671646118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:07:32.686670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_55_10375.jpg', '/home/pi/Desktop/images/10042025/07/31/image_10042025_07_32_05_9352.jpg', '/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_15_10344.jpg', '/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_25_10371.jpg', '/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_45_10473.jpg', '/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_55_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_31_55_10375.jpg
/home/pi/Desktop/images/10042025/07/31/image_10042025_07_32_05_9352.jpg
/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_15_10344.jpg
/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_25_10371.jpg
/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_45_10473.jpg
/home/pi/Desktop/images/10042025/07/32/image_10042025_07_32_55_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351116322","1351116288","1351116243","1351116331","1351116268","1351116226"],"photo_ids_order":["1351116226","1351116243","1351116268","1351116288","1351116322","1351116331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b19ed65805d0a56c6d0630a467a8167.jpg","text":"TemporaryFile(/tmp/multipartBody8801630581721448670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_32_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f7e99f9c4db2c2ee2ef4638e1370ea1.jpg","text":"TemporaryFile(/tmp/multipartBody1363330954528782098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_32_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75da1b786c839bfe3265cc4763211902.jpg","text":"TemporaryFile(/tmp/multipartBody6497240167110468275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_32_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62e2168467bb78b42be7e7c183687fc4.jpg","text":"TemporaryFile(/tmp/multipartBody2586301936510923820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_32_55_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a807ec359284e6326f4ad697ff50777b.jpg","text":"TemporaryFile(/tmp/multipartBody6939686910603945704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_32_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83bdf3a91fbadcc995a1132fcaab59a9.jpg","text":"TemporaryFile(/tmp/multipartBody3286827877538324127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276113154,"filename":"image_10042025_07_31_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351116268","file1":"1351116243","file0":"1351116226","file4":"1351116322","file5":"1351116331","file3":"1351116288"},"map_files_photo_id_array":[{"photo_id":"1351116331","filename":"file5"},{"photo_id":"1351116268","filename":"file2"},{"photo_id":"1351116322","filename":"file4"},{"photo_id":"1351116243","filename":"file1"},{"photo_id":"1351116226","filename":"file0"},{"photo_id":"1351116288","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351116322":["hashtag1","hashtag2"]},{"1351116288":["hashtag1","hashtag2"]},{"1351116243":["hashtag1","hashtag2"]},{"1351116331":["hashtag1","hashtag2"]},{"1351116268":["hashtag1","hashtag2"]},{"1351116226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351116322, 1351116288, 1351116243, 1351116331, 1351116268, 1351116226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.307732820510864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:08:32.843944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/32/image_10042025_07_33_05_10364.jpg', '/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_16_10474.jpg', '/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_25_9356.jpg', '/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_35_10534.jpg', '/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_55_10364.jpg', '/home/pi/Desktop/images/10042025/07/33/image_10042025_07_34_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/32/image_10042025_07_33_05_10364.jpg
/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_16_10474.jpg
/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_25_9356.jpg
/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_35_10534.jpg
/home/pi/Desktop/images/10042025/07/33/image_10042025_07_33_55_10364.jpg
/home/pi/Desktop/images/10042025/07/33/image_10042025_07_34_06_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351116529","1351116502","1351116486","1351116507","1351116473","1351116493"],"photo_ids_order":["1351116473","1351116486","1351116493","1351116502","1351116507","1351116529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/802450062220b75f92abf8ef42b2aa94.jpg","text":"TemporaryFile(/tmp/multipartBody56574565291775862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_34_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf5378ba6d229364f77b214389fb1939.jpg","text":"TemporaryFile(/tmp/multipartBody1833884087199229704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_33_35_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa79aa486c6cd7b8a194a99cdc28072a.jpg","text":"TemporaryFile(/tmp/multipartBody8791437810517499166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_33_16_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74a06e724ef599f2d7fa5ff3daa11e70.jpg","text":"TemporaryFile(/tmp/multipartBody8615256392118094842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_33_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f70fd0e6c3af537b284242c10224bb2.jpg","text":"TemporaryFile(/tmp/multipartBody1204067618250949215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_33_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ddb9b6aeb44870aa7b53c542e599f02.jpg","text":"TemporaryFile(/tmp/multipartBody8878785523450219820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276173314,"filename":"image_10042025_07_33_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351116493","file1":"1351116486","file0":"1351116473","file4":"1351116507","file5":"1351116529","file3":"1351116502"},"map_files_photo_id_array":[{"photo_id":"1351116529","filename":"file5"},{"photo_id":"1351116493","filename":"file2"},{"photo_id":"1351116507","filename":"file4"},{"photo_id":"1351116486","filename":"file1"},{"photo_id":"1351116473","filename":"file0"},{"photo_id":"1351116502","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351116529":["hashtag1","hashtag2"]},{"1351116502":["hashtag1","hashtag2"]},{"1351116486":["hashtag1","hashtag2"]},{"1351116507":["hashtag1","hashtag2"]},{"1351116473":["hashtag1","hashtag2"]},{"1351116493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351116529, 1351116502, 1351116486, 1351116507, 1351116473, 1351116493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.251434087753296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:09:33.119848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_15_9362.jpg', '/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_25_10487.jpg', '/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_35_9351.jpg', '/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_45_10362.jpg', '/home/pi/Desktop/images/10042025/07/34/image_10042025_07_35_05_9339.jpg', '/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_15_9362.jpg
/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_25_10487.jpg
/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_35_9351.jpg
/home/pi/Desktop/images/10042025/07/34/image_10042025_07_34_45_10362.jpg
/home/pi/Desktop/images/10042025/07/34/image_10042025_07_35_05_9339.jpg
/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351116615","1351116650","1351116647","1351116643","1351116625","1351116619"],"photo_ids_order":["1351116615","1351116619","1351116625","1351116643","1351116647","1351116650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fafd3bb7be31cf7bb1b6d4192290ece.jpg","text":"TemporaryFile(/tmp/multipartBody3015724111572371341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_34_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21ec415609e5995ba97002bc2c40c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody5783797882968000940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_35_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da58afb9209118d98701af1423857da9.jpg","text":"TemporaryFile(/tmp/multipartBody7771048462290399320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_35_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1bd80f489d0bb3f6456444945ad9f76.jpg","text":"TemporaryFile(/tmp/multipartBody1958552847932904971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_34_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39542d6470b2d77afdcfb4a18f3dfb28.jpg","text":"TemporaryFile(/tmp/multipartBody3809357530800251135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_34_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea6d46064127339cebf6d25235cbf2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4664996440235989931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276233600,"filename":"image_10042025_07_34_25_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351116625","file1":"1351116619","file0":"1351116615","file4":"1351116647","file5":"1351116650","file3":"1351116643"},"map_files_photo_id_array":[{"photo_id":"1351116650","filename":"file5"},{"photo_id":"1351116625","filename":"file2"},{"photo_id":"1351116647","filename":"file4"},{"photo_id":"1351116619","filename":"file1"},{"photo_id":"1351116615","filename":"file0"},{"photo_id":"1351116643","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351116615":["hashtag1","hashtag2"]},{"1351116650":["hashtag1","hashtag2"]},{"1351116647":["hashtag1","hashtag2"]},{"1351116643":["hashtag1","hashtag2"]},{"1351116625":["hashtag1","hashtag2"]},{"1351116619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351116615, 1351116650, 1351116647, 1351116643, 1351116625, 1351116619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75255489349365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:10:33.170837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_35_9405.jpg', '/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_45_10496.jpg', '/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_55_9362.jpg', '/home/pi/Desktop/images/10042025/07/35/image_10042025_07_36_05_10353.jpg', '/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_15_10354.jpg', '/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_35_9405.jpg
/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_45_10496.jpg
/home/pi/Desktop/images/10042025/07/35/image_10042025_07_35_55_9362.jpg
/home/pi/Desktop/images/10042025/07/35/image_10042025_07_36_05_10353.jpg
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_15_10354.jpg
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351116774","1351116786","1351116729","1351116816","1351116743","1351116724"],"photo_ids_order":["1351116724","1351116729","1351116743","1351116774","1351116786","1351116816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0570f15fc4ede7a575b3611347bb1f67.jpg","text":"TemporaryFile(/tmp/multipartBody2515581055978361788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_36_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4c7d7ef173fb80eaf4e6a09be817743.jpg","text":"TemporaryFile(/tmp/multipartBody6418164282295410077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_36_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/113265de277f720a7e9e1d406afa68b4.jpg","text":"TemporaryFile(/tmp/multipartBody720237126374225439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_35_45_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db6250f5ef760b6a3daf6140f93924f4.jpg","text":"TemporaryFile(/tmp/multipartBody2402365284003385411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_36_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e66a0b76b18ec2a75c8441a8b9f4d346.jpg","text":"TemporaryFile(/tmp/multipartBody3123460757338391043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_35_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f60715ba6f672cb83f47ba80e1a11fb.jpg","text":"TemporaryFile(/tmp/multipartBody8280188834704134171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276293659,"filename":"image_10042025_07_35_35_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351116743","file1":"1351116729","file0":"1351116724","file4":"1351116786","file5":"1351116816","file3":"1351116774"},"map_files_photo_id_array":[{"photo_id":"1351116816","filename":"file5"},{"photo_id":"1351116743","filename":"file2"},{"photo_id":"1351116786","filename":"file4"},{"photo_id":"1351116729","filename":"file1"},{"photo_id":"1351116724","filename":"file0"},{"photo_id":"1351116774","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351116774":["hashtag1","hashtag2"]},{"1351116786":["hashtag1","hashtag2"]},{"1351116729":["hashtag1","hashtag2"]},{"1351116816":["hashtag1","hashtag2"]},{"1351116743":["hashtag1","hashtag2"]},{"1351116724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351116774, 1351116786, 1351116729, 1351116816, 1351116743, 1351116724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51746726036072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:11:32.286134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_35_10396.jpg', '/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_46_10414.jpg', '/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_55_9344.jpg', '/home/pi/Desktop/images/10042025/07/36/image_10042025_07_37_05_10451.jpg', '/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_15_9423.jpg', '/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_25_10494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_35_10396.jpg
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_46_10414.jpg
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_36_55_9344.jpg
/home/pi/Desktop/images/10042025/07/36/image_10042025_07_37_05_10451.jpg
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_15_9423.jpg
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_25_10494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351116972","1351116969","1351116977","1351116965","1351117030","1351116997"],"photo_ids_order":["1351116965","1351116969","1351116972","1351116977","1351116997","1351117030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42059082874a9ba4959c6ce96b3e353a.jpg","text":"TemporaryFile(/tmp/multipartBody8575332621541765967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_36_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43e8c0dd69fc2e525dc642037197d733.jpg","text":"TemporaryFile(/tmp/multipartBody2123321170608027755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_36_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84c874fb491478bfb64d0a90911bfba0.jpg","text":"TemporaryFile(/tmp/multipartBody1962056848478650013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_37_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72812f3e3ff785638d065dfd99e08989.jpg","text":"TemporaryFile(/tmp/multipartBody5288670205897117165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_36_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d850292369b5ad2a9c37b2e77310c842.jpg","text":"TemporaryFile(/tmp/multipartBody7817973125612773389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_37_25_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03bd993546bd46ea56e6aa4368be0528.jpg","text":"TemporaryFile(/tmp/multipartBody855513043228900931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276352756,"filename":"image_10042025_07_37_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351116972","file1":"1351116969","file0":"1351116965","file4":"1351116997","file5":"1351117030","file3":"1351116977"},"map_files_photo_id_array":[{"photo_id":"1351117030","filename":"file5"},{"photo_id":"1351116972","filename":"file2"},{"photo_id":"1351116997","filename":"file4"},{"photo_id":"1351116969","filename":"file1"},{"photo_id":"1351116965","filename":"file0"},{"photo_id":"1351116977","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351116972":["hashtag1","hashtag2"]},{"1351116969":["hashtag1","hashtag2"]},{"1351116977":["hashtag1","hashtag2"]},{"1351116965":["hashtag1","hashtag2"]},{"1351117030":["hashtag1","hashtag2"]},{"1351116997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351116972, 1351116969, 1351116977, 1351116965, 1351117030, 1351116997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08021068572998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:12:32.454945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_35_9351.jpg', '/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_45_10387.jpg', '/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_55_10354.jpg', '/home/pi/Desktop/images/10042025/07/37/image_10042025_07_38_05_9380.jpg', '/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_15_10349.jpg', '/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_26_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_35_9351.jpg
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_45_10387.jpg
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_37_55_10354.jpg
/home/pi/Desktop/images/10042025/07/37/image_10042025_07_38_05_9380.jpg
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_15_10349.jpg
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_26_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117176","1351117223","1351117210","1351117234","1351117216","1351117185"],"photo_ids_order":["1351117176","1351117185","1351117210","1351117216","1351117223","1351117234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c37a89b567b9877d270abeadd435c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6877240279729281483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_37_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbc06b4071f71f84dd9b19d32553c47b.jpg","text":"TemporaryFile(/tmp/multipartBody5847796654830490441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_38_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae8bee2f429fdf54e19bb85cc1edafb2.jpg","text":"TemporaryFile(/tmp/multipartBody487213348188520136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_37_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cda451506ccca8eb9516e40dc29796d.jpg","text":"TemporaryFile(/tmp/multipartBody5481345956091626267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_38_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46edfe0a2748aae14b5fe105bb236e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1131629889494241244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_38_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/943393860746c133274806c6db950573.jpg","text":"TemporaryFile(/tmp/multipartBody8750310532255450077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276412921,"filename":"image_10042025_07_37_45_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117210","file1":"1351117185","file0":"1351117176","file4":"1351117223","file5":"1351117234","file3":"1351117216"},"map_files_photo_id_array":[{"photo_id":"1351117234","filename":"file5"},{"photo_id":"1351117210","filename":"file2"},{"photo_id":"1351117223","filename":"file4"},{"photo_id":"1351117185","filename":"file1"},{"photo_id":"1351117176","filename":"file0"},{"photo_id":"1351117216","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117176":["hashtag1","hashtag2"]},{"1351117223":["hashtag1","hashtag2"]},{"1351117210":["hashtag1","hashtag2"]},{"1351117234":["hashtag1","hashtag2"]},{"1351117216":["hashtag1","hashtag2"]},{"1351117185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117176, 1351117223, 1351117210, 1351117234, 1351117216, 1351117185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38027620315552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:13:32.751142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_35_9344.jpg', '/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_45_10401.jpg', '/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_55_9362.jpg', '/home/pi/Desktop/images/10042025/07/38/image_10042025_07_39_05_10357.jpg', '/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_15_10358.jpg', '/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_25_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_35_9344.jpg
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_45_10401.jpg
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_38_55_9362.jpg
/home/pi/Desktop/images/10042025/07/38/image_10042025_07_39_05_10357.jpg
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_15_10358.jpg
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_25_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117326","1351117317","1351117328","1351117307","1351117322","1351117312"],"photo_ids_order":["1351117307","1351117312","1351117317","1351117322","1351117326","1351117328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e983103bbab42f0cafe65598b98a7e52.jpg","text":"TemporaryFile(/tmp/multipartBody6834477679778461306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_39_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92194b81d9d8bba606f9e6505dfd071e.jpg","text":"TemporaryFile(/tmp/multipartBody6927511107034750767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_38_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f14b6f2932b6b60e465b71b27c11cc60.jpg","text":"TemporaryFile(/tmp/multipartBody8794575732951438996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_39_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446fba0be30b37e641d3971b54d09668.jpg","text":"TemporaryFile(/tmp/multipartBody4662627893239111310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_38_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fd222eef76458165440f3fa298acb3c.jpg","text":"TemporaryFile(/tmp/multipartBody6377581598985197249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_39_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c5b919f783ce3f57498ee3c1764f109.jpg","text":"TemporaryFile(/tmp/multipartBody1253760039942582607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276473260,"filename":"image_10042025_07_38_45_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117317","file1":"1351117312","file0":"1351117307","file4":"1351117326","file5":"1351117328","file3":"1351117322"},"map_files_photo_id_array":[{"photo_id":"1351117328","filename":"file5"},{"photo_id":"1351117317","filename":"file2"},{"photo_id":"1351117326","filename":"file4"},{"photo_id":"1351117312","filename":"file1"},{"photo_id":"1351117307","filename":"file0"},{"photo_id":"1351117322","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117326":["hashtag1","hashtag2"]},{"1351117317":["hashtag1","hashtag2"]},{"1351117328":["hashtag1","hashtag2"]},{"1351117307":["hashtag1","hashtag2"]},{"1351117322":["hashtag1","hashtag2"]},{"1351117312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117326, 1351117317, 1351117328, 1351117307, 1351117322, 1351117312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.453869581222534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:14:32.917237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_35_10360.jpg', '/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_46_10361.jpg', '/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_55_9359.jpg', '/home/pi/Desktop/images/10042025/07/39/image_10042025_07_40_05_10445.jpg', '/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_15_9343.jpg', '/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_25_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_35_10360.jpg
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_46_10361.jpg
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_39_55_9359.jpg
/home/pi/Desktop/images/10042025/07/39/image_10042025_07_40_05_10445.jpg
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_15_9343.jpg
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_25_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117440","1351117413","1351117436","1351117430","1351117424","1351117418"],"photo_ids_order":["1351117413","1351117418","1351117424","1351117430","1351117436","1351117440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dc8c38fef843875ee95288353f26c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1136367872613832036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_40_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e622d7552d7a0a413312d7fb2f3abbb.jpg","text":"TemporaryFile(/tmp/multipartBody2033093953493350773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_39_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb7617a432779708463ce18e042fb59e.jpg","text":"TemporaryFile(/tmp/multipartBody7747545187351890693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_40_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d9eef1b14cbfdeb46994da20becbcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8972696871399973974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_40_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8f363104b7b3c41fc4c1cdf69d27be8.jpg","text":"TemporaryFile(/tmp/multipartBody2355634342759528081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_39_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/677c932fb5b863bab3d074ad1ca7c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7634689495653415093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276533389,"filename":"image_10042025_07_39_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117424","file1":"1351117418","file0":"1351117413","file4":"1351117436","file5":"1351117440","file3":"1351117430"},"map_files_photo_id_array":[{"photo_id":"1351117440","filename":"file5"},{"photo_id":"1351117424","filename":"file2"},{"photo_id":"1351117436","filename":"file4"},{"photo_id":"1351117418","filename":"file1"},{"photo_id":"1351117413","filename":"file0"},{"photo_id":"1351117430","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117440":["hashtag1","hashtag2"]},{"1351117413":["hashtag1","hashtag2"]},{"1351117436":["hashtag1","hashtag2"]},{"1351117430":["hashtag1","hashtag2"]},{"1351117424":["hashtag1","hashtag2"]},{"1351117418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117440, 1351117413, 1351117436, 1351117430, 1351117424, 1351117418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97641372680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:15:33.067944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_36_10382.jpg', '/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_45_9363.jpg', '/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_55_10490.jpg', '/home/pi/Desktop/images/10042025/07/40/image_10042025_07_41_05_9355.jpg', '/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_15_10355.jpg', '/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_36_10382.jpg
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_45_9363.jpg
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_40_55_10490.jpg
/home/pi/Desktop/images/10042025/07/40/image_10042025_07_41_05_9355.jpg
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_15_10355.jpg
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117512","1351117517","1351117498","1351117486","1351117507","1351117476"],"photo_ids_order":["1351117476","1351117486","1351117498","1351117507","1351117512","1351117517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0068ca9e80b8e324bc30e45bf54d9c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8140761488047191669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_41_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ec56c6fd17b5ee63ff6e75703807a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2758921654607116723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_41_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b563da6d6dea1d456114e454acd10e2.jpg","text":"TemporaryFile(/tmp/multipartBody2290224630451211049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_40_55_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9179c071e9b963d31f18b463573346d6.jpg","text":"TemporaryFile(/tmp/multipartBody5243078327402058657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_40_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7807189ff432b290606cf226844f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody1171444718103323575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_41_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b01da7287ab64b4c5a0b86696ed90610.jpg","text":"TemporaryFile(/tmp/multipartBody7697090266734752494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276593564,"filename":"image_10042025_07_40_36_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117498","file1":"1351117486","file0":"1351117476","file4":"1351117512","file5":"1351117517","file3":"1351117507"},"map_files_photo_id_array":[{"photo_id":"1351117517","filename":"file5"},{"photo_id":"1351117498","filename":"file2"},{"photo_id":"1351117512","filename":"file4"},{"photo_id":"1351117486","filename":"file1"},{"photo_id":"1351117476","filename":"file0"},{"photo_id":"1351117507","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117512":["hashtag1","hashtag2"]},{"1351117517":["hashtag1","hashtag2"]},{"1351117498":["hashtag1","hashtag2"]},{"1351117486":["hashtag1","hashtag2"]},{"1351117507":["hashtag1","hashtag2"]},{"1351117476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117512, 1351117517, 1351117498, 1351117486, 1351117507, 1351117476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04950523376465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:16:32.191727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_35_9389.jpg', '/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_45_10483.jpg', '/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_55_9359.jpg', '/home/pi/Desktop/images/10042025/07/41/image_10042025_07_42_05_10389.jpg', '/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_15_10353.jpg', '/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_25_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_35_9389.jpg
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_45_10483.jpg
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_41_55_9359.jpg
/home/pi/Desktop/images/10042025/07/41/image_10042025_07_42_05_10389.jpg
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_15_10353.jpg
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_25_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117592","1351117678","1351117695","1351117680","1351117668","1351117560"],"photo_ids_order":["1351117560","1351117592","1351117668","1351117678","1351117680","1351117695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acd8e33c7a50b59112940be92eb08fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4278944467949406144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_41_45_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c727c6760e1ac8cecf56f070397df3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8890032855037428544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_42_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af8f7c2f6d25f0aed265b907cc36f64d.jpg","text":"TemporaryFile(/tmp/multipartBody3650133334610939772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_42_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2401ab93201195258c8dac3e362e7d86.jpg","text":"TemporaryFile(/tmp/multipartBody8562493959257947803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_42_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/836495d9f0b7fd24aea3f6a37382da33.jpg","text":"TemporaryFile(/tmp/multipartBody1125600581381238079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_41_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/551d3fd10f79eb03b8f57951829c0ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6728879943820223142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276652664,"filename":"image_10042025_07_41_35_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117668","file1":"1351117592","file0":"1351117560","file4":"1351117680","file5":"1351117695","file3":"1351117678"},"map_files_photo_id_array":[{"photo_id":"1351117695","filename":"file5"},{"photo_id":"1351117668","filename":"file2"},{"photo_id":"1351117680","filename":"file4"},{"photo_id":"1351117592","filename":"file1"},{"photo_id":"1351117560","filename":"file0"},{"photo_id":"1351117678","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117592":["hashtag1","hashtag2"]},{"1351117678":["hashtag1","hashtag2"]},{"1351117695":["hashtag1","hashtag2"]},{"1351117680":["hashtag1","hashtag2"]},{"1351117668":["hashtag1","hashtag2"]},{"1351117560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117592, 1351117678, 1351117695, 1351117680, 1351117668, 1351117560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.98523283004761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 11:17:42.303813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_35_10355.jpg', '/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_45_9448.jpg', '/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_55_10378.jpg', '/home/pi/Desktop/images/10042025/07/42/image_10042025_07_43_05_10428.jpg', '/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_15_9396.jpg', '/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_25_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_35_10355.jpg
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_45_9448.jpg
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_42_55_10378.jpg
/home/pi/Desktop/images/10042025/07/42/image_10042025_07_43_05_10428.jpg
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_15_9396.jpg
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_25_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117719","1351117809","1351117789","1351117726","1351117714","1351117767"],"photo_ids_order":["1351117714","1351117719","1351117726","1351117767","1351117789","1351117809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fda68597bece4c841eeba71ceaba346f.jpg","text":"TemporaryFile(/tmp/multipartBody6132231188152036573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_42_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/082ba289843dec76b62c807fcfc4081c.jpg","text":"TemporaryFile(/tmp/multipartBody2154572287935338449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_43_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64445c7a64fcb52fbfbda586cf05f5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3375536801064774838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_43_15_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9d7fcb888d40651f247943e363cb02a.jpg","text":"TemporaryFile(/tmp/multipartBody7099122309421333682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_42_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/975959c3e39fa05e332a71386e84a8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4006651311562865570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_42_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bc2984f2a2de0ec9b4d4ca98899e249.jpg","text":"TemporaryFile(/tmp/multipartBody780036686023360889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276722773,"filename":"image_10042025_07_43_05_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117726","file1":"1351117719","file0":"1351117714","file4":"1351117789","file5":"1351117809","file3":"1351117767"},"map_files_photo_id_array":[{"photo_id":"1351117809","filename":"file5"},{"photo_id":"1351117726","filename":"file2"},{"photo_id":"1351117789","filename":"file4"},{"photo_id":"1351117719","filename":"file1"},{"photo_id":"1351117714","filename":"file0"},{"photo_id":"1351117767","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117719":["hashtag1","hashtag2"]},{"1351117809":["hashtag1","hashtag2"]},{"1351117789":["hashtag1","hashtag2"]},{"1351117726":["hashtag1","hashtag2"]},{"1351117714":["hashtag1","hashtag2"]},{"1351117767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117719, 1351117809, 1351117789, 1351117726, 1351117714, 1351117767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71919369697571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:18:32.489759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_35_9371.jpg', '/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_45_10372.jpg', '/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_55_10381.jpg', '/home/pi/Desktop/images/10042025/07/43/image_10042025_07_44_05_9339.jpg', '/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_15_10373.jpg', '/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_26_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_35_9371.jpg
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_45_10372.jpg
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_43_55_10381.jpg
/home/pi/Desktop/images/10042025/07/43/image_10042025_07_44_05_9339.jpg
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_15_10373.jpg
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_26_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351117911","1351117871","1351117919","1351117888","1351117867","1351117906"],"photo_ids_order":["1351117867","1351117871","1351117888","1351117906","1351117911","1351117919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e8c2cb9f3e06779a09f685c52207b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3869446573749387556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_44_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bb25da0467bac3026f85628544281e4.jpg","text":"TemporaryFile(/tmp/multipartBody6294828627644700167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_43_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/325f910a5eb016c204f4b9aab9d82154.jpg","text":"TemporaryFile(/tmp/multipartBody4248522288414055517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_44_26_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7266846aef729590a3995ee9ee7096db.jpg","text":"TemporaryFile(/tmp/multipartBody4074373958652023431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_43_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fae279bd558005462b232bf233c0b38.jpg","text":"TemporaryFile(/tmp/multipartBody8149862929817026493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_43_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b682f6b0c720132ca4148618d910d71.jpg","text":"TemporaryFile(/tmp/multipartBody1679230975125594389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276772964,"filename":"image_10042025_07_44_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351117888","file1":"1351117871","file0":"1351117867","file4":"1351117911","file5":"1351117919","file3":"1351117906"},"map_files_photo_id_array":[{"photo_id":"1351117919","filename":"file5"},{"photo_id":"1351117888","filename":"file2"},{"photo_id":"1351117911","filename":"file4"},{"photo_id":"1351117871","filename":"file1"},{"photo_id":"1351117867","filename":"file0"},{"photo_id":"1351117906","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351117911":["hashtag1","hashtag2"]},{"1351117871":["hashtag1","hashtag2"]},{"1351117919":["hashtag1","hashtag2"]},{"1351117888":["hashtag1","hashtag2"]},{"1351117867":["hashtag1","hashtag2"]},{"1351117906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351117911, 1351117871, 1351117919, 1351117888, 1351117867, 1351117906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8895046710968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:19:32.709178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_35_9506.jpg', '/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_45_10375.jpg', '/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_55_9359.jpg', '/home/pi/Desktop/images/10042025/07/44/image_10042025_07_45_05_10375.jpg', '/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_16_10358.jpg', '/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_25_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_35_9506.jpg
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_45_10375.jpg
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_44_55_9359.jpg
/home/pi/Desktop/images/10042025/07/44/image_10042025_07_45_05_10375.jpg
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_16_10358.jpg
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_25_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118162","1351118159","1351118146","1351118248","1351118122","1351118085"],"photo_ids_order":["1351118085","1351118122","1351118146","1351118159","1351118162","1351118248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dba3a2c70cf61cb3ddae545c9366e8a4.jpg","text":"TemporaryFile(/tmp/multipartBody5624067609958447136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_45_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07922bbc1860519805a0f9f48297f819.jpg","text":"TemporaryFile(/tmp/multipartBody8225788581390221855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_45_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89b900d51ecbffbaa03b3d9c3dbb6b14.jpg","text":"TemporaryFile(/tmp/multipartBody2578792566369332207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_44_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/099f36df5f27b6c2b896bb975391db0d.jpg","text":"TemporaryFile(/tmp/multipartBody4150144750927631493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_45_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ea5888007d39412160e0ba826025952.jpg","text":"TemporaryFile(/tmp/multipartBody4248036632422278729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_44_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6aee6dc5708ef3e11f8eeeafdab91b46.jpg","text":"TemporaryFile(/tmp/multipartBody2691053186538893720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276833181,"filename":"image_10042025_07_44_35_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351118146","file1":"1351118122","file0":"1351118085","file4":"1351118162","file5":"1351118248","file3":"1351118159"},"map_files_photo_id_array":[{"photo_id":"1351118248","filename":"file5"},{"photo_id":"1351118146","filename":"file2"},{"photo_id":"1351118162","filename":"file4"},{"photo_id":"1351118122","filename":"file1"},{"photo_id":"1351118085","filename":"file0"},{"photo_id":"1351118159","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118162":["hashtag1","hashtag2"]},{"1351118159":["hashtag1","hashtag2"]},{"1351118146":["hashtag1","hashtag2"]},{"1351118248":["hashtag1","hashtag2"]},{"1351118122":["hashtag1","hashtag2"]},{"1351118085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118162, 1351118159, 1351118146, 1351118248, 1351118122, 1351118085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.377190828323364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:20:32.899111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_35_10398.jpg', '/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_45_9354.jpg', '/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_55_10441.jpg', '/home/pi/Desktop/images/10042025/07/45/image_10042025_07_46_06_10447.jpg', '/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_15_9345.jpg', '/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_25_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_35_10398.jpg
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_45_9354.jpg
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_45_55_10441.jpg
/home/pi/Desktop/images/10042025/07/45/image_10042025_07_46_06_10447.jpg
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_15_9345.jpg
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_25_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118351","1351118369","1351118354","1351118348","1351118359","1351118364"],"photo_ids_order":["1351118348","1351118351","1351118354","1351118359","1351118364","1351118369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e0e0dfd38f69c4b42bfaf698f86366e.jpg","text":"TemporaryFile(/tmp/multipartBody8887990935618804108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_45_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e112fc82e6a79730fe9d3810549970b.jpg","text":"TemporaryFile(/tmp/multipartBody3165101789243009694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_46_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/430736fa2066b37f950ccbe5a33e14fa.jpg","text":"TemporaryFile(/tmp/multipartBody1123989464921953666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_45_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da29f62d8e96c69e0318f4bb6ccef5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6239772981946303270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_45_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e16049e43bb6fadaba40fc8100d701b.jpg","text":"TemporaryFile(/tmp/multipartBody1834961529121170904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_46_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2002a02dc2bfcd58f1793e1bd553ec66.jpg","text":"TemporaryFile(/tmp/multipartBody8234588655073204798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276893368,"filename":"image_10042025_07_46_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351118354","file1":"1351118351","file0":"1351118348","file4":"1351118364","file5":"1351118369","file3":"1351118359"},"map_files_photo_id_array":[{"photo_id":"1351118369","filename":"file5"},{"photo_id":"1351118354","filename":"file2"},{"photo_id":"1351118364","filename":"file4"},{"photo_id":"1351118351","filename":"file1"},{"photo_id":"1351118348","filename":"file0"},{"photo_id":"1351118359","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118351":["hashtag1","hashtag2"]},{"1351118369":["hashtag1","hashtag2"]},{"1351118354":["hashtag1","hashtag2"]},{"1351118348":["hashtag1","hashtag2"]},{"1351118359":["hashtag1","hashtag2"]},{"1351118364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118351, 1351118369, 1351118354, 1351118348, 1351118359, 1351118364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.819589376449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:21:32.321229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_35_9367.jpg', '/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_45_10353.jpg', '/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_56_10492.jpg', '/home/pi/Desktop/images/10042025/07/46/image_10042025_07_47_05_9343.jpg', '/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_15_10437.jpg', '/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_25_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_35_9367.jpg
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_45_10353.jpg
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_46_56_10492.jpg
/home/pi/Desktop/images/10042025/07/46/image_10042025_07_47_05_9343.jpg
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_15_10437.jpg
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_25_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118483","1351118570","1351118542","1351118566","1351118515","1351118475"],"photo_ids_order":["1351118475","1351118483","1351118515","1351118542","1351118566","1351118570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e483b01ff1e8a651dee8766280bf35f4.jpg","text":"TemporaryFile(/tmp/multipartBody5444798628732082091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_46_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8066fff69351c0294093a64300815ba8.jpg","text":"TemporaryFile(/tmp/multipartBody376444884022482790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_47_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce1b0d4f014a6717bef7a64078c0370d.jpg","text":"TemporaryFile(/tmp/multipartBody1674910964957124911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_47_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e3c528c8b2f3f96aae2341067d91ffe.jpg","text":"TemporaryFile(/tmp/multipartBody274125287528113956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_47_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be7308d844b9cefd6a8e6e8bff4cc39e.jpg","text":"TemporaryFile(/tmp/multipartBody5531316921477363497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_46_56_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea1e0af43286ce7cca90381947851a32.jpg","text":"TemporaryFile(/tmp/multipartBody225959726126954099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744276952798,"filename":"image_10042025_07_46_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351118515","file1":"1351118483","file0":"1351118475","file4":"1351118566","file5":"1351118570","file3":"1351118542"},"map_files_photo_id_array":[{"photo_id":"1351118570","filename":"file5"},{"photo_id":"1351118515","filename":"file2"},{"photo_id":"1351118566","filename":"file4"},{"photo_id":"1351118483","filename":"file1"},{"photo_id":"1351118475","filename":"file0"},{"photo_id":"1351118542","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118483":["hashtag1","hashtag2"]},{"1351118570":["hashtag1","hashtag2"]},{"1351118542":["hashtag1","hashtag2"]},{"1351118566":["hashtag1","hashtag2"]},{"1351118515":["hashtag1","hashtag2"]},{"1351118475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118483, 1351118570, 1351118542, 1351118566, 1351118515, 1351118475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.88514828681946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:22:32.321503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_35_10363.jpg', '/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_45_10388.jpg', '/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_55_9373.jpg', '/home/pi/Desktop/images/10042025/07/47/image_10042025_07_48_05_10353.jpg', '/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_16_10368.jpg', '/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_25_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_35_10363.jpg
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_45_10388.jpg
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_47_55_9373.jpg
/home/pi/Desktop/images/10042025/07/47/image_10042025_07_48_05_10353.jpg
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_16_10368.jpg
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_25_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118597","1351118627","1351118615","1351118600","1351118603","1351118619"],"photo_ids_order":["1351118597","1351118600","1351118603","1351118615","1351118619","1351118627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bab22e77e2de952965d88c6ae5726353.jpg","text":"TemporaryFile(/tmp/multipartBody7520685517854591378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_47_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a54c856d9b8a6bd706ce9e57477195e3.jpg","text":"TemporaryFile(/tmp/multipartBody3747230919418822463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_48_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d091079ad9c9c16d876472c8205b94e.jpg","text":"TemporaryFile(/tmp/multipartBody6696759580363883366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_48_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/752e61cd02b11920259f9ce078106276.jpg","text":"TemporaryFile(/tmp/multipartBody4561482858147571802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_47_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7422615d5c19e752c40b96a53c20fcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1465374657110638395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_47_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5cd8881b7f4b9bc9e638f696fdd1d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody4063980237639818685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277012787,"filename":"image_10042025_07_48_16_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351118603","file1":"1351118600","file0":"1351118597","file4":"1351118619","file5":"1351118627","file3":"1351118615"},"map_files_photo_id_array":[{"photo_id":"1351118627","filename":"file5"},{"photo_id":"1351118603","filename":"file2"},{"photo_id":"1351118619","filename":"file4"},{"photo_id":"1351118600","filename":"file1"},{"photo_id":"1351118597","filename":"file0"},{"photo_id":"1351118615","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118597":["hashtag1","hashtag2"]},{"1351118627":["hashtag1","hashtag2"]},{"1351118615":["hashtag1","hashtag2"]},{"1351118600":["hashtag1","hashtag2"]},{"1351118603":["hashtag1","hashtag2"]},{"1351118619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118597, 1351118627, 1351118615, 1351118600, 1351118603, 1351118619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05093812942505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:23:32.532745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_35_10474.jpg', '/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_45_9360.jpg', '/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_55_10370.jpg', '/home/pi/Desktop/images/10042025/07/48/image_10042025_07_49_06_10389.jpg', '/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_15_9362.jpg', '/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_25_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_35_10474.jpg
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_45_9360.jpg
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_48_55_10370.jpg
/home/pi/Desktop/images/10042025/07/48/image_10042025_07_49_06_10389.jpg
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_15_9362.jpg
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_25_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118675","1351118705","1351118710","1351118799","1351118679","1351118760"],"photo_ids_order":["1351118675","1351118679","1351118705","1351118710","1351118760","1351118799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5efdcf63b69c69fcb4ff915c4d68ea0e.jpg","text":"TemporaryFile(/tmp/multipartBody4767990691500302748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_48_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ae19873b06803ab49e52dd64361e19d.jpg","text":"TemporaryFile(/tmp/multipartBody2860187625692104529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_48_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1472ffcbf9cb69027c163f4e2f3c108.jpg","text":"TemporaryFile(/tmp/multipartBody8595501715266058127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_49_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baa36f69170dbe817af1cad4ae33e817.jpg","text":"TemporaryFile(/tmp/multipartBody3786188982953313215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_49_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bbcc80ed089baf20d9818f2ee972191.jpg","text":"TemporaryFile(/tmp/multipartBody8895134949301049313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_48_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4764b99527dcb13cedbd61cff7b82e6.jpg","text":"TemporaryFile(/tmp/multipartBody7883733283295451316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277073001,"filename":"image_10042025_07_49_15_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351118705","file1":"1351118679","file0":"1351118675","file4":"1351118760","file5":"1351118799","file3":"1351118710"},"map_files_photo_id_array":[{"photo_id":"1351118799","filename":"file5"},{"photo_id":"1351118705","filename":"file2"},{"photo_id":"1351118760","filename":"file4"},{"photo_id":"1351118679","filename":"file1"},{"photo_id":"1351118675","filename":"file0"},{"photo_id":"1351118710","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118675":["hashtag1","hashtag2"]},{"1351118705":["hashtag1","hashtag2"]},{"1351118710":["hashtag1","hashtag2"]},{"1351118799":["hashtag1","hashtag2"]},{"1351118679":["hashtag1","hashtag2"]},{"1351118760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118675, 1351118705, 1351118710, 1351118799, 1351118679, 1351118760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21805453300476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:24:32.717434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_35_9349.jpg', '/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_45_10444.jpg', '/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_56_10478.jpg', '/home/pi/Desktop/images/10042025/07/49/image_10042025_07_50_05_9399.jpg', '/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_15_10433.jpg', '/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_25_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_35_9349.jpg
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_45_10444.jpg
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_49_56_10478.jpg
/home/pi/Desktop/images/10042025/07/49/image_10042025_07_50_05_9399.jpg
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_15_10433.jpg
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_25_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351118978","1351119130","1351119147","1351119132","1351119114","1351119152"],"photo_ids_order":["1351118978","1351119114","1351119130","1351119132","1351119147","1351119152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08a1f5754b3c7466fb951461595b7836.jpg","text":"TemporaryFile(/tmp/multipartBody530586081207155360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_49_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb8749597160fee74e9ad70e3ce3b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody6049090209177569136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_49_56_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce1000bb19169cda0b45f6e72fb8cd13.jpg","text":"TemporaryFile(/tmp/multipartBody4642335047370007436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_50_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c93f6ef6a7ee7e63a087553768a2622.jpg","text":"TemporaryFile(/tmp/multipartBody8094189207477659761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_50_05_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c658d95f7221f6d5b04775e26b1fdbbd.jpg","text":"TemporaryFile(/tmp/multipartBody7993037824088997061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_49_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f220ca5bd75d68f74b2cd4a4cbbd281.jpg","text":"TemporaryFile(/tmp/multipartBody230836264196727776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277133221,"filename":"image_10042025_07_50_25_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119130","file1":"1351119114","file0":"1351118978","file4":"1351119147","file5":"1351119152","file3":"1351119132"},"map_files_photo_id_array":[{"photo_id":"1351119152","filename":"file5"},{"photo_id":"1351119130","filename":"file2"},{"photo_id":"1351119147","filename":"file4"},{"photo_id":"1351119114","filename":"file1"},{"photo_id":"1351118978","filename":"file0"},{"photo_id":"1351119132","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351118978":["hashtag1","hashtag2"]},{"1351119130":["hashtag1","hashtag2"]},{"1351119147":["hashtag1","hashtag2"]},{"1351119132":["hashtag1","hashtag2"]},{"1351119114":["hashtag1","hashtag2"]},{"1351119152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351118978, 1351119130, 1351119147, 1351119132, 1351119114, 1351119152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09110927581787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:25:32.927796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_35_9972.jpg', '/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_45_10431.jpg', '/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_55_9390.jpg', '/home/pi/Desktop/images/10042025/07/50/image_10042025_07_51_05_10360.jpg', '/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_15_10399.jpg', '/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_25_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_35_9972.jpg
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_45_10431.jpg
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_50_55_9390.jpg
/home/pi/Desktop/images/10042025/07/50/image_10042025_07_51_05_10360.jpg
/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_15_10399.jpg
/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_25_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351119218","1351119214","1351119198","1351119202","1351119225","1351119207"],"photo_ids_order":["1351119198","1351119202","1351119207","1351119214","1351119218","1351119225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98eb50540f201c7642fa1ff1ad98b2d9.jpg","text":"TemporaryFile(/tmp/multipartBody7198021847541166086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_51_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd67eb13b770e365f73b2296717f8433.jpg","text":"TemporaryFile(/tmp/multipartBody4253660023050972695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_51_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a301d6ff518dfe50a96920693ee85f21.jpg","text":"TemporaryFile(/tmp/multipartBody1984664873214074873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_50_35_9972.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5966d619ddd3fe6ea7e036c7dc75d683.jpg","text":"TemporaryFile(/tmp/multipartBody4372763541804227491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_50_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc333ea8542e608ef8c54c0538d76428.jpg","text":"TemporaryFile(/tmp/multipartBody4094505188812061057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_51_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d41ed7af7790252b7f71cab242e81f83.jpg","text":"TemporaryFile(/tmp/multipartBody1314056343415148478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277193400,"filename":"image_10042025_07_50_55_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119207","file1":"1351119202","file0":"1351119198","file4":"1351119218","file5":"1351119225","file3":"1351119214"},"map_files_photo_id_array":[{"photo_id":"1351119225","filename":"file5"},{"photo_id":"1351119207","filename":"file2"},{"photo_id":"1351119218","filename":"file4"},{"photo_id":"1351119202","filename":"file1"},{"photo_id":"1351119198","filename":"file0"},{"photo_id":"1351119214","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351119218":["hashtag1","hashtag2"]},{"1351119214":["hashtag1","hashtag2"]},{"1351119198":["hashtag1","hashtag2"]},{"1351119202":["hashtag1","hashtag2"]},{"1351119225":["hashtag1","hashtag2"]},{"1351119207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351119218, 1351119214, 1351119198, 1351119202, 1351119225, 1351119207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.899389028549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:26:33.088473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_35_10365.jpg', '/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_55_9358.jpg', '/home/pi/Desktop/images/10042025/07/51/image_10042025_07_52_05_10472.jpg', '/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_15_9328.jpg', '/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_25_10367.jpg', '/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_35_10365.jpg
/home/pi/Desktop/images/10042025/07/51/image_10042025_07_51_55_9358.jpg
/home/pi/Desktop/images/10042025/07/51/image_10042025_07_52_05_10472.jpg
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_15_9328.jpg
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_25_10367.jpg
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351119269","1351119254","1351119248","1351119250","1351119264","1351119278"],"photo_ids_order":["1351119248","1351119250","1351119254","1351119264","1351119269","1351119278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/442c0c80b5bd67ff8ecd698d9c45dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody6036666621052674349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_52_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/267378f285348a8fc1a38c93e535473c.jpg","text":"TemporaryFile(/tmp/multipartBody2414604056262987109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_52_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45e9721139220cede8ccfc25c62fa9c0.jpg","text":"TemporaryFile(/tmp/multipartBody2429219047028986635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_51_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa2ff1bbf5b0ad845b08315d642728f7.jpg","text":"TemporaryFile(/tmp/multipartBody5879720370065104875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_51_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7291041052cc458cb71b1363c8ccd13.jpg","text":"TemporaryFile(/tmp/multipartBody5871830243027547490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_52_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6657f00729d05f61b17d898ffec9ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody2841995627095081848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277253557,"filename":"image_10042025_07_52_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119254","file1":"1351119250","file0":"1351119248","file4":"1351119269","file5":"1351119278","file3":"1351119264"},"map_files_photo_id_array":[{"photo_id":"1351119278","filename":"file5"},{"photo_id":"1351119254","filename":"file2"},{"photo_id":"1351119269","filename":"file4"},{"photo_id":"1351119250","filename":"file1"},{"photo_id":"1351119248","filename":"file0"},{"photo_id":"1351119264","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351119269":["hashtag1","hashtag2"]},{"1351119254":["hashtag1","hashtag2"]},{"1351119248":["hashtag1","hashtag2"]},{"1351119250":["hashtag1","hashtag2"]},{"1351119264":["hashtag1","hashtag2"]},{"1351119278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351119269, 1351119254, 1351119248, 1351119250, 1351119264, 1351119278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73414754867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:27:32.380652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_45_9354.jpg', '/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_55_10466.jpg', '/home/pi/Desktop/images/10042025/07/52/image_10042025_07_53_05_9362.jpg', '/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_15_10442.jpg', '/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_26_10426.jpg', '/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_35_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_45_9354.jpg
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_52_55_10466.jpg
/home/pi/Desktop/images/10042025/07/52/image_10042025_07_53_05_9362.jpg
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_15_10442.jpg
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_26_10426.jpg
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_35_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351119545","1351119356","1351119367","1351119379","1351119465","1351119408"],"photo_ids_order":["1351119356","1351119367","1351119379","1351119408","1351119465","1351119545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad9ee86f27f632156e8d87a9893e56e5.jpg","text":"TemporaryFile(/tmp/multipartBody5182236059923394614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_53_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7de44efceb764d322d7119ea9d1e92c2.jpg","text":"TemporaryFile(/tmp/multipartBody1828308136445703583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_52_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f218742ee384a3c77d4db18784552af7.jpg","text":"TemporaryFile(/tmp/multipartBody409618509188299647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_52_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d5c87f2a8251236557d278ddbd42bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3546409172073994776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_53_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b3ec8eeeed59ca91213c2b8b1e5c1a6.jpg","text":"TemporaryFile(/tmp/multipartBody877364112388211764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_53_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2e7251e0af2aa8b60c25ec6a7b7e641.jpg","text":"TemporaryFile(/tmp/multipartBody738679191140516834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277312849,"filename":"image_10042025_07_53_15_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119379","file1":"1351119367","file0":"1351119356","file4":"1351119465","file5":"1351119545","file3":"1351119408"},"map_files_photo_id_array":[{"photo_id":"1351119545","filename":"file5"},{"photo_id":"1351119379","filename":"file2"},{"photo_id":"1351119465","filename":"file4"},{"photo_id":"1351119367","filename":"file1"},{"photo_id":"1351119356","filename":"file0"},{"photo_id":"1351119408","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351119545":["hashtag1","hashtag2"]},{"1351119356":["hashtag1","hashtag2"]},{"1351119367":["hashtag1","hashtag2"]},{"1351119379":["hashtag1","hashtag2"]},{"1351119465":["hashtag1","hashtag2"]},{"1351119408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351119545, 1351119356, 1351119367, 1351119379, 1351119465, 1351119408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51134729385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:28:32.562504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_45_10451.jpg', '/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_55_9371.jpg', '/home/pi/Desktop/images/10042025/07/53/image_10042025_07_54_05_10344.jpg', '/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_15_10357.jpg', '/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_25_9430.jpg', '/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_35_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_45_10451.jpg
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_53_55_9371.jpg
/home/pi/Desktop/images/10042025/07/53/image_10042025_07_54_05_10344.jpg
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_15_10357.jpg
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_25_9430.jpg
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_35_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351119700","1351119730","1351119684","1351119674","1351119740","1351119641"],"photo_ids_order":["1351119641","1351119674","1351119684","1351119700","1351119730","1351119740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e1f27150cca0fed89e4e1bae0d61a77.jpg","text":"TemporaryFile(/tmp/multipartBody1728251564230265003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_54_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de3b28ed09ad250644001a24449b905a.jpg","text":"TemporaryFile(/tmp/multipartBody7324314348105163633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_54_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ac9b0d41e27be1f9f9dc5e35464e305.jpg","text":"TemporaryFile(/tmp/multipartBody7910902870656296308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_54_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cc54772fc227a8072dc12649dbb7464.jpg","text":"TemporaryFile(/tmp/multipartBody1957678045725305997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_53_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dac77c97970b82d971f6452c57b88b14.jpg","text":"TemporaryFile(/tmp/multipartBody8992864422533517381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_54_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea0426242a3aae75bece5e7c8228538f.jpg","text":"TemporaryFile(/tmp/multipartBody2060974856188556854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277373033,"filename":"image_10042025_07_53_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119684","file1":"1351119674","file0":"1351119641","file4":"1351119730","file5":"1351119740","file3":"1351119700"},"map_files_photo_id_array":[{"photo_id":"1351119740","filename":"file5"},{"photo_id":"1351119684","filename":"file2"},{"photo_id":"1351119730","filename":"file4"},{"photo_id":"1351119674","filename":"file1"},{"photo_id":"1351119641","filename":"file0"},{"photo_id":"1351119700","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351119700":["hashtag1","hashtag2"]},{"1351119730":["hashtag1","hashtag2"]},{"1351119684":["hashtag1","hashtag2"]},{"1351119674":["hashtag1","hashtag2"]},{"1351119740":["hashtag1","hashtag2"]},{"1351119641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351119700, 1351119730, 1351119684, 1351119674, 1351119740, 1351119641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42655539512634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:29:32.860086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_45_9428.jpg', '/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_55_10507.jpg', '/home/pi/Desktop/images/10042025/07/54/image_10042025_07_55_05_9463.jpg', '/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_15_10378.jpg', '/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_26_10481.jpg', '/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_35_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_45_9428.jpg
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_54_55_10507.jpg
/home/pi/Desktop/images/10042025/07/54/image_10042025_07_55_05_9463.jpg
/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_15_10378.jpg
/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_26_10481.jpg
/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_35_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351119815","1351119892","1351119827","1351119855","1351119825","1351119890"],"photo_ids_order":["1351119815","1351119825","1351119827","1351119855","1351119890","1351119892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f402d519b567d29b252884cfa4f97c90.jpg","text":"TemporaryFile(/tmp/multipartBody2557001475282903656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_54_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/382fbd2f113bf35c15f444d62e17e47e.jpg","text":"TemporaryFile(/tmp/multipartBody6372523129590247621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_55_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16ad187ddd4eb6e6538ca08046a9d727.jpg","text":"TemporaryFile(/tmp/multipartBody6293481030456121958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_55_05_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d14569db69d3c6de90e7e4be8e646dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6622413464449485882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_55_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e95d276ec52b34742572b3e586a6e36.jpg","text":"TemporaryFile(/tmp/multipartBody3899759133865352614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_54_55_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b14acf6622ede8790f7340c54d483c9.jpg","text":"TemporaryFile(/tmp/multipartBody1878292609416805092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277433333,"filename":"image_10042025_07_55_26_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351119827","file1":"1351119825","file0":"1351119815","file4":"1351119890","file5":"1351119892","file3":"1351119855"},"map_files_photo_id_array":[{"photo_id":"1351119892","filename":"file5"},{"photo_id":"1351119827","filename":"file2"},{"photo_id":"1351119890","filename":"file4"},{"photo_id":"1351119825","filename":"file1"},{"photo_id":"1351119815","filename":"file0"},{"photo_id":"1351119855","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351119815":["hashtag1","hashtag2"]},{"1351119892":["hashtag1","hashtag2"]},{"1351119827":["hashtag1","hashtag2"]},{"1351119855":["hashtag1","hashtag2"]},{"1351119825":["hashtag1","hashtag2"]},{"1351119890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351119815, 1351119892, 1351119827, 1351119855, 1351119825, 1351119890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.239832401275635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:30:33.090253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_45_10496.jpg', '/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_55_9355.jpg', '/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_16_10430.jpg', '/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_25_9363.jpg', '/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_35_10367.jpg', '/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_45_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_45_10496.jpg
/home/pi/Desktop/images/10042025/07/55/image_10042025_07_55_55_9355.jpg
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_16_10430.jpg
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_25_9363.jpg
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_35_10367.jpg
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351120361","1351120463","1351120532","1351120316","1351120223","1351120170"],"photo_ids_order":["1351120170","1351120223","1351120316","1351120361","1351120463","1351120532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de1c8f3e4658620713537f1ed8b07ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7614557608059947058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_56_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/634192ddd51910a240b83bd284cea962.jpg","text":"TemporaryFile(/tmp/multipartBody1213291364867288708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_56_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f536885d53f65416a38bc63d32044e44.jpg","text":"TemporaryFile(/tmp/multipartBody728331813374881688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_56_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecd49bd7c9c5a3be33f2ddaa6a815b74.jpg","text":"TemporaryFile(/tmp/multipartBody7025935293053637900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_56_16_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b3752485fef757052cd233d73b50718.jpg","text":"TemporaryFile(/tmp/multipartBody8676092606361095608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_55_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fbb4d6ea75e3ce08db53008d403f967.jpg","text":"TemporaryFile(/tmp/multipartBody1128069616467623693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277493591,"filename":"image_10042025_07_55_45_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351120316","file1":"1351120223","file0":"1351120170","file4":"1351120463","file5":"1351120532","file3":"1351120361"},"map_files_photo_id_array":[{"photo_id":"1351120532","filename":"file5"},{"photo_id":"1351120316","filename":"file2"},{"photo_id":"1351120463","filename":"file4"},{"photo_id":"1351120223","filename":"file1"},{"photo_id":"1351120170","filename":"file0"},{"photo_id":"1351120361","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351120361":["hashtag1","hashtag2"]},{"1351120463":["hashtag1","hashtag2"]},{"1351120532":["hashtag1","hashtag2"]},{"1351120316":["hashtag1","hashtag2"]},{"1351120223":["hashtag1","hashtag2"]},{"1351120170":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351120361, 1351120463, 1351120532, 1351120316, 1351120223, 1351120170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.550617694854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:31:32.789107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_55_10371.jpg', '/home/pi/Desktop/images/10042025/07/56/image_10042025_07_57_06_10425.jpg', '/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_25_10383.jpg', '/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_35_9426.jpg', '/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_45_10417.jpg', '/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_56_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_56_55_10371.jpg
/home/pi/Desktop/images/10042025/07/56/image_10042025_07_57_06_10425.jpg
/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_25_10383.jpg
/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_35_9426.jpg
/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_45_10417.jpg
/home/pi/Desktop/images/10042025/07/57/image_10042025_07_57_56_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351120964","1351120931","1351120894","1351120962","1351120902","1351120905"],"photo_ids_order":["1351120894","1351120902","1351120905","1351120931","1351120962","1351120964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f625ee78ec3f8602f6669f03613d94c.jpg","text":"TemporaryFile(/tmp/multipartBody4906117772244817348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_57_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fe728bd7d514d77347cfb4a3c1200b9.jpg","text":"TemporaryFile(/tmp/multipartBody272848995895235003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_57_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21366615860784d95f9e69c23a8da995.jpg","text":"TemporaryFile(/tmp/multipartBody4378990121889681279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_56_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/029acd8c6573b78ed95576772d0ae55f.jpg","text":"TemporaryFile(/tmp/multipartBody1304045395746567470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_57_45_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4221646d9e3f7af60803eab82ffe01a2.jpg","text":"TemporaryFile(/tmp/multipartBody7733365230386266106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_57_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bde9e28b2925924bdaa2f6c91870d1cf.jpg","text":"TemporaryFile(/tmp/multipartBody6727016134617252887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277553251,"filename":"image_10042025_07_57_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351120905","file1":"1351120902","file0":"1351120894","file4":"1351120962","file5":"1351120964","file3":"1351120931"},"map_files_photo_id_array":[{"photo_id":"1351120964","filename":"file5"},{"photo_id":"1351120905","filename":"file2"},{"photo_id":"1351120962","filename":"file4"},{"photo_id":"1351120902","filename":"file1"},{"photo_id":"1351120894","filename":"file0"},{"photo_id":"1351120931","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351120964":["hashtag1","hashtag2"]},{"1351120931":["hashtag1","hashtag2"]},{"1351120894":["hashtag1","hashtag2"]},{"1351120962":["hashtag1","hashtag2"]},{"1351120902":["hashtag1","hashtag2"]},{"1351120905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351120964, 1351120931, 1351120894, 1351120962, 1351120902, 1351120905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81685781478882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:32:32.943125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/57/image_10042025_07_58_05_9446.jpg', '/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_15_10429.jpg', '/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_25_9365.jpg', '/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_35_10447.jpg', '/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_46_10392.jpg', '/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_55_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/57/image_10042025_07_58_05_9446.jpg
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_15_10429.jpg
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_25_9365.jpg
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_35_10447.jpg
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_46_10392.jpg
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_58_55_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121278","1351121227","1351121305","1351121346","1351121229","1351121220"],"photo_ids_order":["1351121220","1351121227","1351121229","1351121278","1351121305","1351121346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4e38defba9013eb1cfd94b59661b222.jpg","text":"TemporaryFile(/tmp/multipartBody7876969222602945922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffd055aefef942f46869ba330e35a55b.jpg","text":"TemporaryFile(/tmp/multipartBody4843052025591348168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e7301bba90878a373f3328cdf430006.jpg","text":"TemporaryFile(/tmp/multipartBody846516737234785291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bd11629519f96c5b526a799c84f5b53.jpg","text":"TemporaryFile(/tmp/multipartBody7092877768749890783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8485e95b68a80582e3e90ff555e122ec.jpg","text":"TemporaryFile(/tmp/multipartBody6458901701233236798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cc2ea081a9a09c40fda091c8e7ba540.jpg","text":"TemporaryFile(/tmp/multipartBody5576079389426690353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277613408,"filename":"image_10042025_07_58_05_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121229","file1":"1351121227","file0":"1351121220","file4":"1351121305","file5":"1351121346","file3":"1351121278"},"map_files_photo_id_array":[{"photo_id":"1351121346","filename":"file5"},{"photo_id":"1351121229","filename":"file2"},{"photo_id":"1351121305","filename":"file4"},{"photo_id":"1351121227","filename":"file1"},{"photo_id":"1351121220","filename":"file0"},{"photo_id":"1351121278","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121278":["hashtag1","hashtag2"]},{"1351121227":["hashtag1","hashtag2"]},{"1351121305":["hashtag1","hashtag2"]},{"1351121346":["hashtag1","hashtag2"]},{"1351121229":["hashtag1","hashtag2"]},{"1351121220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121278, 1351121227, 1351121305, 1351121346, 1351121229, 1351121220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.880799293518066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:33:33.188765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/07/58/image_10042025_07_59_05_10406.jpg', '/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_15_9340.jpg', '/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_25_10426.jpg', '/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_36_10388.jpg', '/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_45_9357.jpg', '/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_55_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/07/58/image_10042025_07_59_05_10406.jpg
/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_15_9340.jpg
/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_25_10426.jpg
/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_36_10388.jpg
/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_45_9357.jpg
/home/pi/Desktop/images/10042025/07/59/image_10042025_07_59_55_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121516","1351121482","1351121578","1351121479","1351121475","1351121564"],"photo_ids_order":["1351121475","1351121479","1351121482","1351121516","1351121564","1351121578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cccc9c986b02a303e49f8bf9b87bf42.jpg","text":"TemporaryFile(/tmp/multipartBody3175429925041086319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9ab6bd51603843a17ef97bc65384b44.jpg","text":"TemporaryFile(/tmp/multipartBody1593066038114897439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/610cfda736431013adceeb0ac004e8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1771093843956367705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_55_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/028872f5ccc95e89a2640a860865a5c0.jpg","text":"TemporaryFile(/tmp/multipartBody4072670082740770695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/221264d64ee1eed79a7334543ba0ae09.jpg","text":"TemporaryFile(/tmp/multipartBody561330135519749506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3d5bf6339de34902b7eb67e3c33a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody7481120520937384014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277673650,"filename":"image_10042025_07_59_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121482","file1":"1351121479","file0":"1351121475","file4":"1351121564","file5":"1351121578","file3":"1351121516"},"map_files_photo_id_array":[{"photo_id":"1351121578","filename":"file5"},{"photo_id":"1351121482","filename":"file2"},{"photo_id":"1351121564","filename":"file4"},{"photo_id":"1351121479","filename":"file1"},{"photo_id":"1351121475","filename":"file0"},{"photo_id":"1351121516","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121516":["hashtag1","hashtag2"]},{"1351121482":["hashtag1","hashtag2"]},{"1351121578":["hashtag1","hashtag2"]},{"1351121479":["hashtag1","hashtag2"]},{"1351121475":["hashtag1","hashtag2"]},{"1351121564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121516, 1351121482, 1351121578, 1351121479, 1351121475, 1351121564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.387011766433716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:34:32.411583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_14_10076.jpg', '/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_25_10420.jpg', '/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_35_10347.jpg', '/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_44_9433.jpg', '/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_55_10374.jpg', '/home/pi/Desktop/images/10042025/08/01/image_10042025_08_02_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_14_10076.jpg
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_25_10420.jpg
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_35_10347.jpg
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_44_9433.jpg
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_01_55_10374.jpg
/home/pi/Desktop/images/10042025/08/01/image_10042025_08_02_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121636","1351121638","1351121646","1351121640","1351121634","1351121643"],"photo_ids_order":["1351121634","1351121636","1351121638","1351121640","1351121643","1351121646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f17cb6f47f938c038a0716f6a61cffeb.jpg","text":"TemporaryFile(/tmp/multipartBody4216097525613514857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_01_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa674da5045c80a3404b63d3809c242d.jpg","text":"TemporaryFile(/tmp/multipartBody481892075942717273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_01_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/becac96c1fc61b4a979903330ccd7041.jpg","text":"TemporaryFile(/tmp/multipartBody3177539747429933216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_02_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f31dc8dbe5319931f3e2a551b829608.jpg","text":"TemporaryFile(/tmp/multipartBody6214896755058207745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_01_44_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/438fd38c534a4749c74168e8fe6a054e.jpg","text":"TemporaryFile(/tmp/multipartBody1964997161366276133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2cd8ba41a9d9b5c05cfdf41cec39ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6540374148044597295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277732874,"filename":"image_10042025_08_01_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121638","file1":"1351121636","file0":"1351121634","file4":"1351121643","file5":"1351121646","file3":"1351121640"},"map_files_photo_id_array":[{"photo_id":"1351121646","filename":"file5"},{"photo_id":"1351121638","filename":"file2"},{"photo_id":"1351121643","filename":"file4"},{"photo_id":"1351121636","filename":"file1"},{"photo_id":"1351121634","filename":"file0"},{"photo_id":"1351121640","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121636":["hashtag1","hashtag2"]},{"1351121638":["hashtag1","hashtag2"]},{"1351121646":["hashtag1","hashtag2"]},{"1351121640":["hashtag1","hashtag2"]},{"1351121634":["hashtag1","hashtag2"]},{"1351121643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121636, 1351121638, 1351121646, 1351121640, 1351121634, 1351121643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.317919731140137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:35:32.601504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_15_9353.jpg', '/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_25_10381.jpg', '/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_34_9404.jpg', '/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_45_10377.jpg', '/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_55_10378.jpg', '/home/pi/Desktop/images/10042025/08/02/image_10042025_08_03_04_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_15_9353.jpg
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_25_10381.jpg
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_34_9404.jpg
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_45_10377.jpg
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_02_55_10378.jpg
/home/pi/Desktop/images/10042025/08/02/image_10042025_08_03_04_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121692","1351121689","1351121668","1351121662","1351121696","1351121687"],"photo_ids_order":["1351121662","1351121668","1351121687","1351121689","1351121692","1351121696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1532d62d5b7923d7c73446436569ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8113139771098825523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_02_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b184e0ec7bb7b4f94c804827f5e687b2.jpg","text":"TemporaryFile(/tmp/multipartBody2406470239445883299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_02_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83e54186fc69e1f2764781592f8d3323.jpg","text":"TemporaryFile(/tmp/multipartBody9004099756452679568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_02_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c98b130f60344e9b3bc9c224179e7e57.jpg","text":"TemporaryFile(/tmp/multipartBody8300807501282129311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_02_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd845d43cf5fa97933c698641c92652c.jpg","text":"TemporaryFile(/tmp/multipartBody6163573614367834854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_03_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0114710ed3988cfdb5bdb8ae6fc6e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8804711519122883131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277793065,"filename":"image_10042025_08_02_34_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121687","file1":"1351121668","file0":"1351121662","file4":"1351121692","file5":"1351121696","file3":"1351121689"},"map_files_photo_id_array":[{"photo_id":"1351121696","filename":"file5"},{"photo_id":"1351121687","filename":"file2"},{"photo_id":"1351121692","filename":"file4"},{"photo_id":"1351121668","filename":"file1"},{"photo_id":"1351121662","filename":"file0"},{"photo_id":"1351121689","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121692":["hashtag1","hashtag2"]},{"1351121689":["hashtag1","hashtag2"]},{"1351121668":["hashtag1","hashtag2"]},{"1351121662":["hashtag1","hashtag2"]},{"1351121696":["hashtag1","hashtag2"]},{"1351121687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121692, 1351121689, 1351121668, 1351121662, 1351121696, 1351121687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.59583020210266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:36:32.709234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_15_10426.jpg', '/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_24_9479.jpg', '/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_45_10440.jpg', '/home/pi/Desktop/images/10042025/08/03/image_10042025_08_04_05_10445.jpg', '/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_14_9416.jpg', '/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_15_10426.jpg
/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_24_9479.jpg
/home/pi/Desktop/images/10042025/08/03/image_10042025_08_03_45_10440.jpg
/home/pi/Desktop/images/10042025/08/03/image_10042025_08_04_05_10445.jpg
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_14_9416.jpg
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121723","1351121704","1351121715","1351121709","1351121712","1351121744"],"photo_ids_order":["1351121704","1351121709","1351121712","1351121715","1351121723","1351121744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4ed5e9ef894b15e425112c96ea45964.jpg","text":"TemporaryFile(/tmp/multipartBody8907267703465747081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_04_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5003e689c1eec4ed4c14e9d48a5b17e.jpg","text":"TemporaryFile(/tmp/multipartBody5480118498407702057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_03_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17908fd8429fde8aacd2bd123b89a49e.jpg","text":"TemporaryFile(/tmp/multipartBody6288441254815977791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_04_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5935ee674296e4c7907f36bca66b3d14.jpg","text":"TemporaryFile(/tmp/multipartBody740094874274246266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_03_24_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a1db6e37a5ea6b4b03e6abd68427aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2035750326265577164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_03_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c7da118267ae1974bfabff851631065.jpg","text":"TemporaryFile(/tmp/multipartBody905447114684919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277853170,"filename":"image_10042025_08_04_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121712","file1":"1351121709","file0":"1351121704","file4":"1351121723","file5":"1351121744","file3":"1351121715"},"map_files_photo_id_array":[{"photo_id":"1351121744","filename":"file5"},{"photo_id":"1351121712","filename":"file2"},{"photo_id":"1351121723","filename":"file4"},{"photo_id":"1351121709","filename":"file1"},{"photo_id":"1351121704","filename":"file0"},{"photo_id":"1351121715","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121723":["hashtag1","hashtag2"]},{"1351121704":["hashtag1","hashtag2"]},{"1351121715":["hashtag1","hashtag2"]},{"1351121709":["hashtag1","hashtag2"]},{"1351121712":["hashtag1","hashtag2"]},{"1351121744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121723, 1351121704, 1351121715, 1351121709, 1351121712, 1351121744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67682671546936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:37:32.840453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_35_10374.jpg', '/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_45_9428.jpg', '/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_55_10383.jpg', '/home/pi/Desktop/images/10042025/08/04/image_10042025_08_05_04_9427.jpg', '/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_15_10367.jpg', '/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_35_10374.jpg
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_45_9428.jpg
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_04_55_10383.jpg
/home/pi/Desktop/images/10042025/08/04/image_10042025_08_05_04_9427.jpg
/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_15_10367.jpg
/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121810","1351121848","1351121769","1351121829","1351121867","1351121789"],"photo_ids_order":["1351121769","1351121789","1351121810","1351121829","1351121848","1351121867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a797f8cb560499b6dbcbf02604a9dba5.jpg","text":"TemporaryFile(/tmp/multipartBody145012988723515994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_04_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20070017b3c379be066d11253da50618.jpg","text":"TemporaryFile(/tmp/multipartBody803008073180007718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_05_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c603d6d06943c7f6ead3412cc375212b.jpg","text":"TemporaryFile(/tmp/multipartBody2326807528702803833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_04_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bfb0f60934ccf07c49c6e16b44d895d.jpg","text":"TemporaryFile(/tmp/multipartBody5945104677380220366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_05_04_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/021473f2b5c5cc9a447c864cb2599878.jpg","text":"TemporaryFile(/tmp/multipartBody1974250163611635809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_05_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0704be51a413d0e207ff0266731cdf2.jpg","text":"TemporaryFile(/tmp/multipartBody2101858914053467847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277913304,"filename":"image_10042025_08_04_45_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121810","file1":"1351121789","file0":"1351121769","file4":"1351121848","file5":"1351121867","file3":"1351121829"},"map_files_photo_id_array":[{"photo_id":"1351121867","filename":"file5"},{"photo_id":"1351121810","filename":"file2"},{"photo_id":"1351121848","filename":"file4"},{"photo_id":"1351121789","filename":"file1"},{"photo_id":"1351121769","filename":"file0"},{"photo_id":"1351121829","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121810":["hashtag1","hashtag2"]},{"1351121848":["hashtag1","hashtag2"]},{"1351121769":["hashtag1","hashtag2"]},{"1351121829":["hashtag1","hashtag2"]},{"1351121867":["hashtag1","hashtag2"]},{"1351121789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121810, 1351121848, 1351121769, 1351121829, 1351121867, 1351121789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69140887260437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:38:33.083586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_45_10366.jpg', '/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_54_9480.jpg', '/home/pi/Desktop/images/10042025/08/05/image_10042025_08_06_05_10355.jpg', '/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_15_10359.jpg', '/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_25_9362.jpg', '/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_35_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_45_10366.jpg
/home/pi/Desktop/images/10042025/08/05/image_10042025_08_05_54_9480.jpg
/home/pi/Desktop/images/10042025/08/05/image_10042025_08_06_05_10355.jpg
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_15_10359.jpg
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_25_9362.jpg
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_35_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351121918","1351121920","1351121914","1351121922","1351121916","1351121910"],"photo_ids_order":["1351121910","1351121914","1351121916","1351121918","1351121920","1351121922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49671e5db8cb282c1581712da6cfc7af.jpg","text":"TemporaryFile(/tmp/multipartBody593221528611500253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_06_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c514760a714f4e8c86481a4fa7b1df89.jpg","text":"TemporaryFile(/tmp/multipartBody1160443716391521720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_06_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a91f613dad362ffd38bd9b441f4c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1930731306698290635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_05_54_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf5080f4e4b5fbc363989f41ba1a4a39.jpg","text":"TemporaryFile(/tmp/multipartBody5668631668779584602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_06_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/497ceefa0ed719cfeeb3147845999f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4477555877484009053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_06_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/228c1ad06ceb26a14c2ee35f882e44a3.jpg","text":"TemporaryFile(/tmp/multipartBody2328602847627032504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744277973550,"filename":"image_10042025_08_05_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351121916","file1":"1351121914","file0":"1351121910","file4":"1351121920","file5":"1351121922","file3":"1351121918"},"map_files_photo_id_array":[{"photo_id":"1351121922","filename":"file5"},{"photo_id":"1351121916","filename":"file2"},{"photo_id":"1351121920","filename":"file4"},{"photo_id":"1351121914","filename":"file1"},{"photo_id":"1351121910","filename":"file0"},{"photo_id":"1351121918","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351121918":["hashtag1","hashtag2"]},{"1351121920":["hashtag1","hashtag2"]},{"1351121914":["hashtag1","hashtag2"]},{"1351121922":["hashtag1","hashtag2"]},{"1351121916":["hashtag1","hashtag2"]},{"1351121910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351121918, 1351121920, 1351121914, 1351121922, 1351121916, 1351121910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.635305881500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:39:32.254825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_44_9385.jpg', '/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_55_10366.jpg', '/home/pi/Desktop/images/10042025/08/06/image_10042025_08_07_05_10402.jpg', '/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_25_10443.jpg', '/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_34_9487.jpg', '/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_45_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_44_9385.jpg
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_06_55_10366.jpg
/home/pi/Desktop/images/10042025/08/06/image_10042025_08_07_05_10402.jpg
/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_25_10443.jpg
/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_34_9487.jpg
/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_45_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122020","1351122014","1351122058","1351122052","1351122024","1351122059"],"photo_ids_order":["1351122014","1351122020","1351122024","1351122052","1351122058","1351122059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8a934110dffbcd103b96a6161821255.jpg","text":"TemporaryFile(/tmp/multipartBody9060340519522181922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_06_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05d288571368ef2c7bd243ef875d5e7e.jpg","text":"TemporaryFile(/tmp/multipartBody770460980257419976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_06_44_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cb06ae97a42fbc7cfc16245a13a1616.jpg","text":"TemporaryFile(/tmp/multipartBody2096526770982631867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_07_34_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91ee7a4eecfdd9cfc68af93cbadb48d0.jpg","text":"TemporaryFile(/tmp/multipartBody5184103193487412644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_07_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5276864c6be0ebc1ba4963eaf0d76584.jpg","text":"TemporaryFile(/tmp/multipartBody4413101564819384794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_07_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58e50a97d221a271d78ac5785c9115e2.jpg","text":"TemporaryFile(/tmp/multipartBody1011116639594951359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278032721,"filename":"image_10042025_08_07_45_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122024","file1":"1351122020","file0":"1351122014","file4":"1351122058","file5":"1351122059","file3":"1351122052"},"map_files_photo_id_array":[{"photo_id":"1351122059","filename":"file5"},{"photo_id":"1351122024","filename":"file2"},{"photo_id":"1351122058","filename":"file4"},{"photo_id":"1351122020","filename":"file1"},{"photo_id":"1351122014","filename":"file0"},{"photo_id":"1351122052","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122020":["hashtag1","hashtag2"]},{"1351122014":["hashtag1","hashtag2"]},{"1351122058":["hashtag1","hashtag2"]},{"1351122052":["hashtag1","hashtag2"]},{"1351122024":["hashtag1","hashtag2"]},{"1351122059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122020, 1351122014, 1351122058, 1351122052, 1351122024, 1351122059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07151389122009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:40:32.655768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_54_9435.jpg', '/home/pi/Desktop/images/10042025/08/07/image_10042025_08_08_05_10432.jpg', '/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_25_9421.jpg', '/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_35_10468.jpg', '/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_44_9361.jpg', '/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/07/image_10042025_08_07_54_9435.jpg
/home/pi/Desktop/images/10042025/08/07/image_10042025_08_08_05_10432.jpg
/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_25_9421.jpg
/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_35_10468.jpg
/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_44_9361.jpg
/home/pi/Desktop/images/10042025/08/08/image_10042025_08_08_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122127","1351122109","1351122099","1351122103","1351122095","1351122134"],"photo_ids_order":["1351122095","1351122099","1351122103","1351122109","1351122127","1351122134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e60d2ee13a0b485cb2f4316589a396fa.jpg","text":"TemporaryFile(/tmp/multipartBody8404017804076299223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_08_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/882aca9da859b42faf90c952477dbdc1.jpg","text":"TemporaryFile(/tmp/multipartBody2808736975126441268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_08_35_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70e0931886a1b38b2a0737d0ba99065d.jpg","text":"TemporaryFile(/tmp/multipartBody1258802778552372889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_08_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98024fa58e7f54d5ca1a7a9bd99dcf32.jpg","text":"TemporaryFile(/tmp/multipartBody5216700542032030902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_08_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cf539f5a5779c61f2e9938af94f02a6.jpg","text":"TemporaryFile(/tmp/multipartBody4600012952404586088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_07_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f6d294ac869eb90ac0c8d8a62723db9.jpg","text":"TemporaryFile(/tmp/multipartBody4715716223765873176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278093116,"filename":"image_10042025_08_08_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122103","file1":"1351122099","file0":"1351122095","file4":"1351122127","file5":"1351122134","file3":"1351122109"},"map_files_photo_id_array":[{"photo_id":"1351122134","filename":"file5"},{"photo_id":"1351122103","filename":"file2"},{"photo_id":"1351122127","filename":"file4"},{"photo_id":"1351122099","filename":"file1"},{"photo_id":"1351122095","filename":"file0"},{"photo_id":"1351122109","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122127":["hashtag1","hashtag2"]},{"1351122109":["hashtag1","hashtag2"]},{"1351122099":["hashtag1","hashtag2"]},{"1351122103":["hashtag1","hashtag2"]},{"1351122095":["hashtag1","hashtag2"]},{"1351122134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122127, 1351122109, 1351122099, 1351122103, 1351122095, 1351122134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40247821807861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:41:32.828622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/08/image_10042025_08_09_05_10357.jpg', '/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_14_9361.jpg', '/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_25_10360.jpg', '/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_34_9352.jpg', '/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_45_10437.jpg', '/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_55_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/08/image_10042025_08_09_05_10357.jpg
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_14_9361.jpg
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_25_10360.jpg
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_34_9352.jpg
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_45_10437.jpg
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_09_55_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122289","1351122277","1351122294","1351122261","1351122245","1351122292"],"photo_ids_order":["1351122245","1351122261","1351122277","1351122289","1351122292","1351122294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1be9fbd2796d54ccd0153f2ab7de0413.jpg","text":"TemporaryFile(/tmp/multipartBody7252464516228472881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cab0ca0a658b46458cef5cc437821bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5998781821343960295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8111f8209360dd005731dc5ae7140a66.jpg","text":"TemporaryFile(/tmp/multipartBody2307191741419882757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e6c184922c73578085aedfc2dabec0f.jpg","text":"TemporaryFile(/tmp/multipartBody2187038943009565310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af364d1de92c7c27dd85a83085f2ceea.jpg","text":"TemporaryFile(/tmp/multipartBody4411369693989630711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a44692c302fbf23b26f8a51f71787f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5474009294010952785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278153288,"filename":"image_10042025_08_09_45_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122277","file1":"1351122261","file0":"1351122245","file4":"1351122292","file5":"1351122294","file3":"1351122289"},"map_files_photo_id_array":[{"photo_id":"1351122294","filename":"file5"},{"photo_id":"1351122277","filename":"file2"},{"photo_id":"1351122292","filename":"file4"},{"photo_id":"1351122261","filename":"file1"},{"photo_id":"1351122245","filename":"file0"},{"photo_id":"1351122289","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122289":["hashtag1","hashtag2"]},{"1351122277":["hashtag1","hashtag2"]},{"1351122294":["hashtag1","hashtag2"]},{"1351122261":["hashtag1","hashtag2"]},{"1351122245":["hashtag1","hashtag2"]},{"1351122292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122289, 1351122277, 1351122294, 1351122261, 1351122245, 1351122292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.045774698257446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:42:33.089964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/09/image_10042025_08_10_04_9417.jpg', '/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_15_10347.jpg', '/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_25_10361.jpg', '/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_35_9363.jpg', '/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_45_10373.jpg', '/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_54_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/09/image_10042025_08_10_04_9417.jpg
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_15_10347.jpg
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_25_10361.jpg
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_35_9363.jpg
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_45_10373.jpg
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_10_54_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122496","1351122475","1351122457","1351122507","1351122443","1351122428"],"photo_ids_order":["1351122428","1351122443","1351122457","1351122475","1351122496","1351122507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd2dff12e15a0bfacfd161db7c4a2c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5530623972074480741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14b9c4cf3e57159a8948916d4365e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2904782657447919312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3533649b5658f60d145d9514e5a56466.jpg","text":"TemporaryFile(/tmp/multipartBody5994326642980678938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8d50b5e8dd02f0ef373569ee47cf2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3790153753415832907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_54_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32ed1257b44e5761f368f0f740c6da07.jpg","text":"TemporaryFile(/tmp/multipartBody5369798185084156929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd5b98b053b9188024e36fe588354613.jpg","text":"TemporaryFile(/tmp/multipartBody1577373197053519783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278213554,"filename":"image_10042025_08_10_04_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122457","file1":"1351122443","file0":"1351122428","file4":"1351122496","file5":"1351122507","file3":"1351122475"},"map_files_photo_id_array":[{"photo_id":"1351122507","filename":"file5"},{"photo_id":"1351122457","filename":"file2"},{"photo_id":"1351122496","filename":"file4"},{"photo_id":"1351122443","filename":"file1"},{"photo_id":"1351122428","filename":"file0"},{"photo_id":"1351122475","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122496":["hashtag1","hashtag2"]},{"1351122475":["hashtag1","hashtag2"]},{"1351122457":["hashtag1","hashtag2"]},{"1351122507":["hashtag1","hashtag2"]},{"1351122443":["hashtag1","hashtag2"]},{"1351122428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122496, 1351122475, 1351122457, 1351122507, 1351122443, 1351122428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.519954681396484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:43:32.344155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/10/image_10042025_08_11_05_10347.jpg', '/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_15_10436.jpg', '/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_25_9414.jpg', '/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_35_10360.jpg', '/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_44_9457.jpg', '/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/10/image_10042025_08_11_05_10347.jpg
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_15_10436.jpg
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_25_9414.jpg
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_35_10360.jpg
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_44_9457.jpg
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_11_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122673","1351122595","1351122658","1351122666","1351122615","1351122635"],"photo_ids_order":["1351122595","1351122615","1351122635","1351122658","1351122666","1351122673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3070c1040cbc2ee5a0660c5c2680f74e.jpg","text":"TemporaryFile(/tmp/multipartBody2685200557556229924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28c4f277e50189fafc2ce5951963302c.jpg","text":"TemporaryFile(/tmp/multipartBody4913090181655794354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3838f769ed0a25b81938fe15b49b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody2602992814789064542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e8878034b5b650141757cd56c29a947.jpg","text":"TemporaryFile(/tmp/multipartBody1971787325515017698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_44_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b05caab957582c9920e519cc2c973e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3648246238619199911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446517a7bf47093793e4388be6e64bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4129155095524322874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278272811,"filename":"image_10042025_08_11_25_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122635","file1":"1351122615","file0":"1351122595","file4":"1351122666","file5":"1351122673","file3":"1351122658"},"map_files_photo_id_array":[{"photo_id":"1351122673","filename":"file5"},{"photo_id":"1351122635","filename":"file2"},{"photo_id":"1351122666","filename":"file4"},{"photo_id":"1351122615","filename":"file1"},{"photo_id":"1351122595","filename":"file0"},{"photo_id":"1351122658","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122673":["hashtag1","hashtag2"]},{"1351122595":["hashtag1","hashtag2"]},{"1351122658":["hashtag1","hashtag2"]},{"1351122666":["hashtag1","hashtag2"]},{"1351122615":["hashtag1","hashtag2"]},{"1351122635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122673, 1351122595, 1351122658, 1351122666, 1351122615, 1351122635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03650140762329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:44:32.533773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/11/image_10042025_08_12_05_10432.jpg', '/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_15_9423.jpg', '/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_25_10392.jpg', '/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_34_9455.jpg', '/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_45_10357.jpg', '/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_54_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/11/image_10042025_08_12_05_10432.jpg
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_15_9423.jpg
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_25_10392.jpg
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_34_9455.jpg
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_45_10357.jpg
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_12_54_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351122898","1351122878","1351123049","1351122986","1351122947","1351122994"],"photo_ids_order":["1351122878","1351122898","1351122947","1351122986","1351122994","1351123049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1979cddfe382046afe1bba33e841e93.jpg","text":"TemporaryFile(/tmp/multipartBody1223799499010670418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/258962fed5e9bad18d8a4cf58970ea4c.jpg","text":"TemporaryFile(/tmp/multipartBody6184648863709963159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbd80e3ebb14b2df9eb4041902811b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2164165865683787103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/796ac5c0c1b859a6bb72416edad85055.jpg","text":"TemporaryFile(/tmp/multipartBody8564336114133140726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb57eee5cdc2eca16157246b5ca4589e.jpg","text":"TemporaryFile(/tmp/multipartBody7043606176320811014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfa09190932125dd91feda2d61db33c9.jpg","text":"TemporaryFile(/tmp/multipartBody461273343445080682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278332992,"filename":"image_10042025_08_12_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351122947","file1":"1351122898","file0":"1351122878","file4":"1351122994","file5":"1351123049","file3":"1351122986"},"map_files_photo_id_array":[{"photo_id":"1351123049","filename":"file5"},{"photo_id":"1351122947","filename":"file2"},{"photo_id":"1351122994","filename":"file4"},{"photo_id":"1351122898","filename":"file1"},{"photo_id":"1351122878","filename":"file0"},{"photo_id":"1351122986","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351122898":["hashtag1","hashtag2"]},{"1351122878":["hashtag1","hashtag2"]},{"1351123049":["hashtag1","hashtag2"]},{"1351122986":["hashtag1","hashtag2"]},{"1351122947":["hashtag1","hashtag2"]},{"1351122994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351122898, 1351122878, 1351123049, 1351122986, 1351122947, 1351122994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47989869117737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:45:32.658214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/12/image_10042025_08_13_05_10430.jpg', '/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_15_10354.jpg', '/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_24_9483.jpg', '/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_35_10366.jpg', '/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_44_9361.jpg', '/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_55_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/12/image_10042025_08_13_05_10430.jpg
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_15_10354.jpg
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_24_9483.jpg
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_35_10366.jpg
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_44_9361.jpg
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_13_55_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351123300","1351123167","1351123218","1351123190","1351123271","1351123244"],"photo_ids_order":["1351123167","1351123190","1351123218","1351123244","1351123271","1351123300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9be10d6d65a9617ba10166900b374ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6305634236036338784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5232e6496302a61a7aabe8403b77cda6.jpg","text":"TemporaryFile(/tmp/multipartBody5742501621182853655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73f9d2e63adfe47e85d63949a284bc75.jpg","text":"TemporaryFile(/tmp/multipartBody3761243999403555915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_24_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6efa066e7f79f4d5f0166fa9c230123a.jpg","text":"TemporaryFile(/tmp/multipartBody365872875156053988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/634eb08173cae58398407abb03de442f.jpg","text":"TemporaryFile(/tmp/multipartBody4241893108023476292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ef139a0dd1975c896422c300aab52fd.jpg","text":"TemporaryFile(/tmp/multipartBody5633867337892635697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278393119,"filename":"image_10042025_08_13_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351123218","file1":"1351123190","file0":"1351123167","file4":"1351123271","file5":"1351123300","file3":"1351123244"},"map_files_photo_id_array":[{"photo_id":"1351123300","filename":"file5"},{"photo_id":"1351123218","filename":"file2"},{"photo_id":"1351123271","filename":"file4"},{"photo_id":"1351123190","filename":"file1"},{"photo_id":"1351123167","filename":"file0"},{"photo_id":"1351123244","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351123300":["hashtag1","hashtag2"]},{"1351123167":["hashtag1","hashtag2"]},{"1351123218":["hashtag1","hashtag2"]},{"1351123190":["hashtag1","hashtag2"]},{"1351123271":["hashtag1","hashtag2"]},{"1351123244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351123300, 1351123167, 1351123218, 1351123190, 1351123271, 1351123244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63947772979736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:46:32.903980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/13/image_10042025_08_14_05_10383.jpg', '/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_14_9367.jpg', '/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_25_10377.jpg', '/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_35_10374.jpg', '/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_45_9351.jpg', '/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/13/image_10042025_08_14_05_10383.jpg
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_14_9367.jpg
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_25_10377.jpg
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_35_10374.jpg
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_45_9351.jpg
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_14_55_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351123513","1351123516","1351123530","1351123506","1351123523","1351123526"],"photo_ids_order":["1351123506","1351123513","1351123516","1351123523","1351123526","1351123530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a05ec9cc6d54b4e700c80175d1aa9083.jpg","text":"TemporaryFile(/tmp/multipartBody6524291254091396330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f686577665933d6d2fd1a229dd2775d5.jpg","text":"TemporaryFile(/tmp/multipartBody8245436891733214808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/243122b1f6757d376ae5f925baa3cded.jpg","text":"TemporaryFile(/tmp/multipartBody4493124072286756505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/187b2fdb7a8b5f7fcb0709cf38aba18b.jpg","text":"TemporaryFile(/tmp/multipartBody4400060447731677257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7acdda735545f0649f8655d55f923cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4598205038378469603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70cb48e978ef25a6b728be3239b4c814.jpg","text":"TemporaryFile(/tmp/multipartBody8915930242933594616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278453384,"filename":"image_10042025_08_14_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351123516","file1":"1351123513","file0":"1351123506","file4":"1351123526","file5":"1351123530","file3":"1351123523"},"map_files_photo_id_array":[{"photo_id":"1351123530","filename":"file5"},{"photo_id":"1351123516","filename":"file2"},{"photo_id":"1351123526","filename":"file4"},{"photo_id":"1351123513","filename":"file1"},{"photo_id":"1351123506","filename":"file0"},{"photo_id":"1351123523","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351123513":["hashtag1","hashtag2"]},{"1351123516":["hashtag1","hashtag2"]},{"1351123530":["hashtag1","hashtag2"]},{"1351123506":["hashtag1","hashtag2"]},{"1351123523":["hashtag1","hashtag2"]},{"1351123526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351123513, 1351123516, 1351123530, 1351123506, 1351123523, 1351123526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.948227167129517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:47:33.009638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/14/image_10042025_08_15_04_9333.jpg', '/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_15_10405.jpg', '/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_25_10374.jpg', '/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_34_9456.jpg', '/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_45_10415.jpg', '/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_54_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/14/image_10042025_08_15_04_9333.jpg
/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_15_10405.jpg
/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_25_10374.jpg
/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_34_9456.jpg
/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_45_10415.jpg
/home/pi/Desktop/images/10042025/08/15/image_10042025_08_15_54_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351123561","1351123555","1351123587","1351123592","1351123577","1351123570"],"photo_ids_order":["1351123555","1351123561","1351123570","1351123577","1351123587","1351123592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2a1c700741c299580b595d72fcd170d.jpg","text":"TemporaryFile(/tmp/multipartBody3352882483431944094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/809a59e6295a919474c38c6455e54160.jpg","text":"TemporaryFile(/tmp/multipartBody1263228565461562646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/992b61f506c9793142d91680f3c712da.jpg","text":"TemporaryFile(/tmp/multipartBody6390513132999143812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fd80a68c46b85598c4ca47f8a09dda6.jpg","text":"TemporaryFile(/tmp/multipartBody901869252834938313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_54_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67dafd634a5b20fa986a153a85afea32.jpg","text":"TemporaryFile(/tmp/multipartBody6967180052994572188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a5b1e8b28abb063f73f3ee48107de95.jpg","text":"TemporaryFile(/tmp/multipartBody4182775580414512895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278513469,"filename":"image_10042025_08_15_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351123570","file1":"1351123561","file0":"1351123555","file4":"1351123587","file5":"1351123592","file3":"1351123577"},"map_files_photo_id_array":[{"photo_id":"1351123592","filename":"file5"},{"photo_id":"1351123570","filename":"file2"},{"photo_id":"1351123587","filename":"file4"},{"photo_id":"1351123561","filename":"file1"},{"photo_id":"1351123555","filename":"file0"},{"photo_id":"1351123577","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351123561":["hashtag1","hashtag2"]},{"1351123555":["hashtag1","hashtag2"]},{"1351123587":["hashtag1","hashtag2"]},{"1351123592":["hashtag1","hashtag2"]},{"1351123577":["hashtag1","hashtag2"]},{"1351123570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351123561, 1351123555, 1351123587, 1351123592, 1351123577, 1351123570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.04882216453552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:48:32.423641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_15_10359.jpg', '/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_24_9394.jpg', '/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_35_10429.jpg', '/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_44_9341.jpg', '/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_55_10389.jpg', '/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_14_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_15_10359.jpg
/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_24_9394.jpg
/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_35_10429.jpg
/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_44_9341.jpg
/home/pi/Desktop/images/10042025/08/16/image_10042025_08_16_55_10389.jpg
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_14_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351123695","1351123674","1351123665","1351123617","1351123670","1351123657"],"photo_ids_order":["1351123617","1351123657","1351123665","1351123670","1351123674","1351123695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aba96047b0379bc6844e881a688a7455.jpg","text":"TemporaryFile(/tmp/multipartBody4865715270150545749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_17_14_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ce43cc8c9d69c57de1912dc1b423db.jpg","text":"TemporaryFile(/tmp/multipartBody4393788748800450124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_16_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d399ced069c9926250cdcdb29b0081a.jpg","text":"TemporaryFile(/tmp/multipartBody5009926987000033582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_16_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7b1bd3395a99531c9a5397d8d59950f.jpg","text":"TemporaryFile(/tmp/multipartBody7240345931031444933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_16_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa25c0df498982cece4a8dd386b66d65.jpg","text":"TemporaryFile(/tmp/multipartBody2614855576447964835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_16_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/049be3016ee6bb36bd43a7fd48d4d802.jpg","text":"TemporaryFile(/tmp/multipartBody7350664818517014043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278572899,"filename":"image_10042025_08_16_24_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351123665","file1":"1351123657","file0":"1351123617","file4":"1351123674","file5":"1351123695","file3":"1351123670"},"map_files_photo_id_array":[{"photo_id":"1351123695","filename":"file5"},{"photo_id":"1351123665","filename":"file2"},{"photo_id":"1351123674","filename":"file4"},{"photo_id":"1351123657","filename":"file1"},{"photo_id":"1351123617","filename":"file0"},{"photo_id":"1351123670","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351123695":["hashtag1","hashtag2"]},{"1351123674":["hashtag1","hashtag2"]},{"1351123665":["hashtag1","hashtag2"]},{"1351123617":["hashtag1","hashtag2"]},{"1351123670":["hashtag1","hashtag2"]},{"1351123657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351123695, 1351123674, 1351123665, 1351123617, 1351123670, 1351123657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14082884788513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:49:32.349436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_25_10374.jpg', '/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_35_10417.jpg', '/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_45_9435.jpg', '/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_55_10416.jpg', '/home/pi/Desktop/images/10042025/08/17/image_10042025_08_18_04_9453.jpg', '/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_25_10374.jpg
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_35_10417.jpg
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_45_9435.jpg
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_17_55_10416.jpg
/home/pi/Desktop/images/10042025/08/17/image_10042025_08_18_04_9453.jpg
/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351124145","1351123959","1351124118","1351123856","1351124204","1351123897"],"photo_ids_order":["1351123856","1351123897","1351123959","1351124118","1351124145","1351124204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08f42c4b7ede06f5ec790a3735809e17.jpg","text":"TemporaryFile(/tmp/multipartBody5033402431632903636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_18_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e2a4d59e694c44fbcf2514182a79867.jpg","text":"TemporaryFile(/tmp/multipartBody7195810242887895447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_17_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fac617feb9054e6d8ced55bc0a45cddc.jpg","text":"TemporaryFile(/tmp/multipartBody1226362043519129672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_17_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a9cf822f893875de0432be6100078a9.jpg","text":"TemporaryFile(/tmp/multipartBody9169621460554948891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_17_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27aad5f577c3ccf24f021c0d2f9a10ff.jpg","text":"TemporaryFile(/tmp/multipartBody8405472739531560988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_18_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2988be9f443ddffcd61b8f4be637c09.jpg","text":"TemporaryFile(/tmp/multipartBody3381294654288825303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278632812,"filename":"image_10042025_08_17_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351123959","file1":"1351123897","file0":"1351123856","file4":"1351124145","file5":"1351124204","file3":"1351124118"},"map_files_photo_id_array":[{"photo_id":"1351124204","filename":"file5"},{"photo_id":"1351123959","filename":"file2"},{"photo_id":"1351124145","filename":"file4"},{"photo_id":"1351123897","filename":"file1"},{"photo_id":"1351123856","filename":"file0"},{"photo_id":"1351124118","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351124145":["hashtag1","hashtag2"]},{"1351123959":["hashtag1","hashtag2"]},{"1351124118":["hashtag1","hashtag2"]},{"1351123856":["hashtag1","hashtag2"]},{"1351124204":["hashtag1","hashtag2"]},{"1351123897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351124145, 1351123959, 1351124118, 1351123856, 1351124204, 1351123897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.740350008010864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:50:32.487382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_24_9474.jpg', '/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_35_10359.jpg', '/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_45_10431.jpg', '/home/pi/Desktop/images/10042025/08/18/image_10042025_08_19_05_10414.jpg', '/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_14_9425.jpg', '/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_24_9474.jpg
/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_35_10359.jpg
/home/pi/Desktop/images/10042025/08/18/image_10042025_08_18_45_10431.jpg
/home/pi/Desktop/images/10042025/08/18/image_10042025_08_19_05_10414.jpg
/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_14_9425.jpg
/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351124538","1351124483","1351124513","1351124473","1351124419","1351124521"],"photo_ids_order":["1351124419","1351124473","1351124483","1351124513","1351124521","1351124538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/275de7aa77b13cfa2f953c88ba70110b.jpg","text":"TemporaryFile(/tmp/multipartBody1183651510911747370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_19_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06f859c0a56c22d7fbc36f4bba45bb23.jpg","text":"TemporaryFile(/tmp/multipartBody618545512341672713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_18_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05944b6cd45da9f167759583940ae8f8.jpg","text":"TemporaryFile(/tmp/multipartBody6138473197690815696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_19_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d27354a553dd617c59c7ea4af84f665d.jpg","text":"TemporaryFile(/tmp/multipartBody8501708980815390369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_18_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cf5fbe313800b227f7b311a9d4e39fe.jpg","text":"TemporaryFile(/tmp/multipartBody8983322372623162361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_18_24_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf1a26ebf26322f4b55cd596585e1770.jpg","text":"TemporaryFile(/tmp/multipartBody5977795055380734200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278692955,"filename":"image_10042025_08_19_14_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351124483","file1":"1351124473","file0":"1351124419","file4":"1351124521","file5":"1351124538","file3":"1351124513"},"map_files_photo_id_array":[{"photo_id":"1351124538","filename":"file5"},{"photo_id":"1351124483","filename":"file2"},{"photo_id":"1351124521","filename":"file4"},{"photo_id":"1351124473","filename":"file1"},{"photo_id":"1351124419","filename":"file0"},{"photo_id":"1351124513","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351124538":["hashtag1","hashtag2"]},{"1351124483":["hashtag1","hashtag2"]},{"1351124513":["hashtag1","hashtag2"]},{"1351124473":["hashtag1","hashtag2"]},{"1351124419":["hashtag1","hashtag2"]},{"1351124521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351124538, 1351124483, 1351124513, 1351124473, 1351124419, 1351124521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.146111726760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:51:32.695901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_35_10440.jpg', '/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_55_10413.jpg', '/home/pi/Desktop/images/10042025/08/19/image_10042025_08_20_04_9343.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_15_10386.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_25_10244.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_34_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_35_10440.jpg
/home/pi/Desktop/images/10042025/08/19/image_10042025_08_19_55_10413.jpg
/home/pi/Desktop/images/10042025/08/19/image_10042025_08_20_04_9343.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_15_10386.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_25_10244.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_34_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351124718","1351124687","1351124619","1351124723","1351124726","1351124713"],"photo_ids_order":["1351124619","1351124687","1351124713","1351124718","1351124723","1351124726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf50d64114df2cbacacf5b40d0426b12.jpg","text":"TemporaryFile(/tmp/multipartBody989919924412672806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_20_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/265cfb3ae815aa071aab43c6d0789fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4256068299610022286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_19_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22fb455696fb063b44f037580da00b14.jpg","text":"TemporaryFile(/tmp/multipartBody5325534926973027373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_19_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71e69ef7f4b1f4d9564dde885e81d59b.jpg","text":"TemporaryFile(/tmp/multipartBody728037513926357728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_20_25_10244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be609a08899ec6e53beb9a4dc6f08713.jpg","text":"TemporaryFile(/tmp/multipartBody3174063589401321329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_20_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64e9d5c57119641a284cb8bdf263e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7650041255184496156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278753172,"filename":"image_10042025_08_20_04_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351124713","file1":"1351124687","file0":"1351124619","file4":"1351124723","file5":"1351124726","file3":"1351124718"},"map_files_photo_id_array":[{"photo_id":"1351124726","filename":"file5"},{"photo_id":"1351124713","filename":"file2"},{"photo_id":"1351124723","filename":"file4"},{"photo_id":"1351124687","filename":"file1"},{"photo_id":"1351124619","filename":"file0"},{"photo_id":"1351124718","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351124718":["hashtag1","hashtag2"]},{"1351124687":["hashtag1","hashtag2"]},{"1351124619":["hashtag1","hashtag2"]},{"1351124723":["hashtag1","hashtag2"]},{"1351124726":["hashtag1","hashtag2"]},{"1351124713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351124718, 1351124687, 1351124619, 1351124723, 1351124726, 1351124713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55574083328247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:52:33.198964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_45_10374.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_55_10428.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_21_04_9366.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_15_10411.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_24_9513.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_45_10374.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_55_10428.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_21_04_9366.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_15_10411.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_24_9513.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_35_10378.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37761378288269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 11:52:42.918068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_45_10374.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_55_10428.jpg', '/home/pi/Desktop/images/10042025/08/20/image_10042025_08_21_04_9366.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_15_10411.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_24_9513.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_45_10374.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_20_55_10428.jpg
/home/pi/Desktop/images/10042025/08/20/image_10042025_08_21_04_9366.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_15_10411.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_24_9513.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_35_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351124952","1351124925","1351124948","1351124962","1351124899","1351124956"],"photo_ids_order":["1351124899","1351124925","1351124948","1351124952","1351124956","1351124962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47bfd6e6cea1c0b832d6aabf4fd49f13.jpg","text":"TemporaryFile(/tmp/multipartBody7287843031360419941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_21_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3456410d55a6ec7aa8598cef754a48ca.jpg","text":"TemporaryFile(/tmp/multipartBody166830634060114010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_20_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbb377ec34e6bcb2a2865f0196e2ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody434779617733107093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_21_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf0cdfdb8e1ff5849d63ad46201cc0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6500723080459576954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_21_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2710e4b50dcb57283d285c4606312a20.jpg","text":"TemporaryFile(/tmp/multipartBody8603325927179305092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_20_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/230d8de2e3686a7048ae3ef2ac7d74fe.jpg","text":"TemporaryFile(/tmp/multipartBody6971716407463906111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278823402,"filename":"image_10042025_08_21_24_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351124948","file1":"1351124925","file0":"1351124899","file4":"1351124956","file5":"1351124962","file3":"1351124952"},"map_files_photo_id_array":[{"photo_id":"1351124962","filename":"file5"},{"photo_id":"1351124948","filename":"file2"},{"photo_id":"1351124956","filename":"file4"},{"photo_id":"1351124925","filename":"file1"},{"photo_id":"1351124899","filename":"file0"},{"photo_id":"1351124952","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351124952":["hashtag1","hashtag2"]},{"1351124925":["hashtag1","hashtag2"]},{"1351124948":["hashtag1","hashtag2"]},{"1351124962":["hashtag1","hashtag2"]},{"1351124899":["hashtag1","hashtag2"]},{"1351124956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351124952, 1351124925, 1351124948, 1351124962, 1351124899, 1351124956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8708610534668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:53:33.063444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_45_10375.jpg', '/home/pi/Desktop/images/10042025/08/21/image_10042025_08_22_05_10445.jpg', '/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_14_9419.jpg', '/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_25_10373.jpg', '/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_35_10412.jpg', '/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_44_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_21_45_10375.jpg
/home/pi/Desktop/images/10042025/08/21/image_10042025_08_22_05_10445.jpg
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_14_9419.jpg
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_25_10373.jpg
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_35_10412.jpg
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_44_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351125233","1351125140","1351125134","1351125206","1351125241","1351125190"],"photo_ids_order":["1351125134","1351125140","1351125190","1351125206","1351125233","1351125241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe76b9213c47278a877bd0fe9b3a8ae4.jpg","text":"TemporaryFile(/tmp/multipartBody225854082905730210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_22_35_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09114b3e16b820f59b748b15b0427a43.jpg","text":"TemporaryFile(/tmp/multipartBody6637283352288284690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_22_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4fef6fb9a9a757254b8e9ab72d65d54.jpg","text":"TemporaryFile(/tmp/multipartBody7405984454707881966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_21_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0773060de0573c9a67e8a1900978db88.jpg","text":"TemporaryFile(/tmp/multipartBody3747906619960408494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_22_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3bf741b80975004a838bbf3950037697.jpg","text":"TemporaryFile(/tmp/multipartBody5688678686467272563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_22_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5a346266aaf8cb8a9901942ecfc8963.jpg","text":"TemporaryFile(/tmp/multipartBody7732999568800900107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278873539,"filename":"image_10042025_08_22_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351125190","file1":"1351125140","file0":"1351125134","file4":"1351125233","file5":"1351125241","file3":"1351125206"},"map_files_photo_id_array":[{"photo_id":"1351125241","filename":"file5"},{"photo_id":"1351125190","filename":"file2"},{"photo_id":"1351125233","filename":"file4"},{"photo_id":"1351125140","filename":"file1"},{"photo_id":"1351125134","filename":"file0"},{"photo_id":"1351125206","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351125233":["hashtag1","hashtag2"]},{"1351125140":["hashtag1","hashtag2"]},{"1351125134":["hashtag1","hashtag2"]},{"1351125206":["hashtag1","hashtag2"]},{"1351125241":["hashtag1","hashtag2"]},{"1351125190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351125233, 1351125140, 1351125134, 1351125206, 1351125241, 1351125190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.705554723739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:54:33.312923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_55_10367.jpg', '/home/pi/Desktop/images/10042025/08/22/image_10042025_08_23_04_9408.jpg', '/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_15_10419.jpg', '/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_35_9428.jpg', '/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_45_10371.jpg', '/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_54_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_22_55_10367.jpg
/home/pi/Desktop/images/10042025/08/22/image_10042025_08_23_04_9408.jpg
/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_15_10419.jpg
/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_35_9428.jpg
/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_45_10371.jpg
/home/pi/Desktop/images/10042025/08/23/image_10042025_08_23_54_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351125456","1351125461","1351125458","1351125401","1351125433","1351125453"],"photo_ids_order":["1351125401","1351125433","1351125453","1351125456","1351125458","1351125461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbefaea610e826a157a22d310627f623.jpg","text":"TemporaryFile(/tmp/multipartBody6777864317608126628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_23_35_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca5bd8c24fae51c4a128fd0cb87df941.jpg","text":"TemporaryFile(/tmp/multipartBody5804078004018545995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_23_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8dc42e7a1591925a943cf66142c5af8.jpg","text":"TemporaryFile(/tmp/multipartBody8353129914520318750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_23_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0c2a7bd70bcee0528ccf16bed71cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody3096605523034694363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_22_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/815c064d935569ef4ed9e1c0311a7c23.jpg","text":"TemporaryFile(/tmp/multipartBody1953568800307918407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_23_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e1a960dd9c984558f93a8a128ec62c3.jpg","text":"TemporaryFile(/tmp/multipartBody5589858481330743014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278933772,"filename":"image_10042025_08_23_15_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351125453","file1":"1351125433","file0":"1351125401","file4":"1351125458","file5":"1351125461","file3":"1351125456"},"map_files_photo_id_array":[{"photo_id":"1351125461","filename":"file5"},{"photo_id":"1351125453","filename":"file2"},{"photo_id":"1351125458","filename":"file4"},{"photo_id":"1351125433","filename":"file1"},{"photo_id":"1351125401","filename":"file0"},{"photo_id":"1351125456","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351125456":["hashtag1","hashtag2"]},{"1351125461":["hashtag1","hashtag2"]},{"1351125458":["hashtag1","hashtag2"]},{"1351125401":["hashtag1","hashtag2"]},{"1351125433":["hashtag1","hashtag2"]},{"1351125453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351125456, 1351125461, 1351125458, 1351125401, 1351125433, 1351125453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.076433420181274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:55:32.340617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/23/image_10042025_08_24_05_10355.jpg', '/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_15_10423.jpg', '/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_25_9419.jpg', '/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_35_10360.jpg', '/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_44_9422.jpg', '/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/23/image_10042025_08_24_05_10355.jpg
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_15_10423.jpg
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_25_9419.jpg
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_35_10360.jpg
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_44_9422.jpg
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_24_55_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351125627","1351125617","1351125566","1351125622","1351125610","1351125630"],"photo_ids_order":["1351125566","1351125610","1351125617","1351125622","1351125627","1351125630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c33177b5e14c700d0c3cb77f964cb9d1.jpg","text":"TemporaryFile(/tmp/multipartBody621076293367962351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_44_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6be0cff5a764e83e987e904875d9208f.jpg","text":"TemporaryFile(/tmp/multipartBody2291303300270118807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_25_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bef13d31e2af9a45606b146db51eab5.jpg","text":"TemporaryFile(/tmp/multipartBody1185118269174957362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5324c784f2b564774b1f7d520414ae26.jpg","text":"TemporaryFile(/tmp/multipartBody5208024044105218848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31d3cad3d074b84544cd570c5cb414ec.jpg","text":"TemporaryFile(/tmp/multipartBody1559974744529717709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cba11880a4d77da9dc9228f3d3c2bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3766460158902461488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744278992817,"filename":"image_10042025_08_24_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351125617","file1":"1351125610","file0":"1351125566","file4":"1351125627","file5":"1351125630","file3":"1351125622"},"map_files_photo_id_array":[{"photo_id":"1351125630","filename":"file5"},{"photo_id":"1351125617","filename":"file2"},{"photo_id":"1351125627","filename":"file4"},{"photo_id":"1351125610","filename":"file1"},{"photo_id":"1351125566","filename":"file0"},{"photo_id":"1351125622","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351125627":["hashtag1","hashtag2"]},{"1351125617":["hashtag1","hashtag2"]},{"1351125566":["hashtag1","hashtag2"]},{"1351125622":["hashtag1","hashtag2"]},{"1351125610":["hashtag1","hashtag2"]},{"1351125630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351125627, 1351125617, 1351125566, 1351125622, 1351125610, 1351125630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36455702781677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:56:32.474213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/24/image_10042025_08_25_05_10412.jpg', '/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_15_9423.jpg', '/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_34_9429.jpg', '/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_45_10361.jpg', '/home/pi/Desktop/images/10042025/08/25/image_10042025_08_26_04_9359.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_15_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/24/image_10042025_08_25_05_10412.jpg
/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_15_9423.jpg
/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_34_9429.jpg
/home/pi/Desktop/images/10042025/08/25/image_10042025_08_25_45_10361.jpg
/home/pi/Desktop/images/10042025/08/25/image_10042025_08_26_04_9359.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_15_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351125761","1351125734","1351125743","1351125757","1351125759","1351125750"],"photo_ids_order":["1351125734","1351125743","1351125750","1351125757","1351125759","1351125761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f528ef5624565be31d30247527e1489.jpg","text":"TemporaryFile(/tmp/multipartBody4423500749030767255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_26_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6073ed1ba0bf5b804f28ac6353b82fdb.jpg","text":"TemporaryFile(/tmp/multipartBody750823359626786671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_25_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78e316b34919bd006d8c9b8d490332b7.jpg","text":"TemporaryFile(/tmp/multipartBody8049200626021026574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_25_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce106a707ed2d2309f65d3f386840fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1282546677851454298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_25_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80b1133dbff39a7ba77338c6af94745b.jpg","text":"TemporaryFile(/tmp/multipartBody3366019286080268095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_26_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/925f0bd18f45541c254e3c6643737661.jpg","text":"TemporaryFile(/tmp/multipartBody700232767627058966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279052930,"filename":"image_10042025_08_25_34_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351125750","file1":"1351125743","file0":"1351125734","file4":"1351125759","file5":"1351125761","file3":"1351125757"},"map_files_photo_id_array":[{"photo_id":"1351125761","filename":"file5"},{"photo_id":"1351125750","filename":"file2"},{"photo_id":"1351125759","filename":"file4"},{"photo_id":"1351125743","filename":"file1"},{"photo_id":"1351125734","filename":"file0"},{"photo_id":"1351125757","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351125761":["hashtag1","hashtag2"]},{"1351125734":["hashtag1","hashtag2"]},{"1351125743":["hashtag1","hashtag2"]},{"1351125757":["hashtag1","hashtag2"]},{"1351125759":["hashtag1","hashtag2"]},{"1351125750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351125761, 1351125734, 1351125743, 1351125757, 1351125759, 1351125750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94883418083191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:57:32.834801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_25_10364.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_35_9401.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_45_10375.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_54_9423.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_27_05_10349.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_25_10364.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_35_9401.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_45_10375.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_54_9423.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_27_05_10349.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 11:59:03.896583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_25_10364.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_35_9401.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_45_10375.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_54_9423.jpg', '/home/pi/Desktop/images/10042025/08/26/image_10042025_08_27_05_10349.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_25_10364.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_35_9401.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_45_10375.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_26_54_9423.jpg
/home/pi/Desktop/images/10042025/08/26/image_10042025_08_27_05_10349.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351126244","1351126205","1351126282","1351126306","1351126134","1351126104"],"photo_ids_order":["1351126104","1351126134","1351126205","1351126244","1351126282","1351126306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/659b2604d0e2b9c39028e30d25e44887.jpg","text":"TemporaryFile(/tmp/multipartBody5991190410586174825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_26_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acfaa88c9e7accab170e5e3685add2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5556708850977009979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_26_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33220700bc3673030725e92bf74d605b.jpg","text":"TemporaryFile(/tmp/multipartBody8469611360994100809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_27_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04df7a47c964ad39a0c6cf50c91e28fb.jpg","text":"TemporaryFile(/tmp/multipartBody3241274912421724651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_27_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03fff1ee1fc6e195410853bab334e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1442705014783828776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_26_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e24e6418439a52ff70218dec1663179f.jpg","text":"TemporaryFile(/tmp/multipartBody59951938116058835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279204538,"filename":"image_10042025_08_26_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351126205","file1":"1351126134","file0":"1351126104","file4":"1351126282","file5":"1351126306","file3":"1351126244"},"map_files_photo_id_array":[{"photo_id":"1351126306","filename":"file5"},{"photo_id":"1351126205","filename":"file2"},{"photo_id":"1351126282","filename":"file4"},{"photo_id":"1351126134","filename":"file1"},{"photo_id":"1351126104","filename":"file0"},{"photo_id":"1351126244","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351126244":["hashtag1","hashtag2"]},{"1351126205":["hashtag1","hashtag2"]},{"1351126282":["hashtag1","hashtag2"]},{"1351126306":["hashtag1","hashtag2"]},{"1351126134":["hashtag1","hashtag2"]},{"1351126104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351126244, 1351126205, 1351126282, 1351126306, 1351126134, 1351126104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53760004043579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 11:59:52.347325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_24_9347.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_35_10385.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_44_9496.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_55_10372.jpg', '/home/pi/Desktop/images/10042025/08/27/image_10042025_08_28_05_10367.jpg', '/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_15_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_24_9347.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_35_10385.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_44_9496.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_27_55_10372.jpg
/home/pi/Desktop/images/10042025/08/27/image_10042025_08_28_05_10367.jpg
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_15_9426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351126742","1351126904","1351126855","1351126671","1351126953","1351126793"],"photo_ids_order":["1351126671","1351126742","1351126793","1351126855","1351126904","1351126953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24502efaa7645af2817ce5327f22984c.jpg","text":"TemporaryFile(/tmp/multipartBody1129054447345645751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_27_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e1179b92354ca29c377e7d29d4fa75a.jpg","text":"TemporaryFile(/tmp/multipartBody7903724925645788995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_28_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b00c76e3f60d386101085598c5cfde26.jpg","text":"TemporaryFile(/tmp/multipartBody6666932463939686845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_27_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e43e61ee14ae24e391b610ef7bedfe40.jpg","text":"TemporaryFile(/tmp/multipartBody3594917076938538742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_27_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba31fea858ae6e438bd8f88b371c8ff1.jpg","text":"TemporaryFile(/tmp/multipartBody331165045975156229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_28_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c4126b657e995bd2a53c51b8f12009b.jpg","text":"TemporaryFile(/tmp/multipartBody3646111968620464174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279252814,"filename":"image_10042025_08_27_44_9496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351126793","file1":"1351126742","file0":"1351126671","file4":"1351126904","file5":"1351126953","file3":"1351126855"},"map_files_photo_id_array":[{"photo_id":"1351126953","filename":"file5"},{"photo_id":"1351126793","filename":"file2"},{"photo_id":"1351126904","filename":"file4"},{"photo_id":"1351126742","filename":"file1"},{"photo_id":"1351126671","filename":"file0"},{"photo_id":"1351126855","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351126742":["hashtag1","hashtag2"]},{"1351126904":["hashtag1","hashtag2"]},{"1351126855":["hashtag1","hashtag2"]},{"1351126671":["hashtag1","hashtag2"]},{"1351126953":["hashtag1","hashtag2"]},{"1351126793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351126742, 1351126904, 1351126855, 1351126671, 1351126953, 1351126793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85302233695984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:00:32.689763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_25_10407.jpg', '/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_34_9414.jpg', '/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_45_10353.jpg', '/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_55_10376.jpg', '/home/pi/Desktop/images/10042025/08/28/image_10042025_08_29_04_9358.jpg', '/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_15_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_25_10407.jpg
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_34_9414.jpg
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_45_10353.jpg
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_28_55_10376.jpg
/home/pi/Desktop/images/10042025/08/28/image_10042025_08_29_04_9358.jpg
/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_15_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351127299","1351127161","1351127199","1351127259","1351127133","1351127220"],"photo_ids_order":["1351127133","1351127161","1351127199","1351127220","1351127259","1351127299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d813f654ac90c8addcce89eb2a094b7b.jpg","text":"TemporaryFile(/tmp/multipartBody806003692321808920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_29_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb561bdd0d637847bbcd2721b99fcaed.jpg","text":"TemporaryFile(/tmp/multipartBody4010810845788150391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_28_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9ad633467ffdec5b19a016f82643b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4131422407407064934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_28_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19edcbef71e74742b2bbf06a609faa47.jpg","text":"TemporaryFile(/tmp/multipartBody4095154348052088337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_29_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72ef7ff4d06e1dff514e17b1479cb8ff.jpg","text":"TemporaryFile(/tmp/multipartBody4899887091556788553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_28_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c6e650782fe25a9e5a5fb4085853819.jpg","text":"TemporaryFile(/tmp/multipartBody4332775615384855839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279293256,"filename":"image_10042025_08_28_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351127199","file1":"1351127161","file0":"1351127133","file4":"1351127259","file5":"1351127299","file3":"1351127220"},"map_files_photo_id_array":[{"photo_id":"1351127299","filename":"file5"},{"photo_id":"1351127199","filename":"file2"},{"photo_id":"1351127259","filename":"file4"},{"photo_id":"1351127161","filename":"file1"},{"photo_id":"1351127133","filename":"file0"},{"photo_id":"1351127220","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351127299":["hashtag1","hashtag2"]},{"1351127161":["hashtag1","hashtag2"]},{"1351127199":["hashtag1","hashtag2"]},{"1351127259":["hashtag1","hashtag2"]},{"1351127133":["hashtag1","hashtag2"]},{"1351127220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351127299, 1351127161, 1351127199, 1351127259, 1351127133, 1351127220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09051442146301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:01:32.691938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_25_10367.jpg', '/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_35_9443.jpg', '/home/pi/Desktop/images/10042025/08/29/image_10042025_08_30_05_10358.jpg', '/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_15_10405.jpg', '/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_25_9401.jpg', '/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_35_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_25_10367.jpg
/home/pi/Desktop/images/10042025/08/29/image_10042025_08_29_35_9443.jpg
/home/pi/Desktop/images/10042025/08/29/image_10042025_08_30_05_10358.jpg
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_15_10405.jpg
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_25_9401.jpg
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_35_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351128169","1351128364","1351128343","1351128304","1351127965","1351128132"],"photo_ids_order":["1351127965","1351128132","1351128169","1351128304","1351128343","1351128364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/587fe171d4f6f6286921e1036abcfd34.jpg","text":"TemporaryFile(/tmp/multipartBody7451898948036624276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_30_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0a9bd44fc86d6eea8e806b3e8485618.jpg","text":"TemporaryFile(/tmp/multipartBody8052873928908257423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_30_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2883b81be1c29fc2c1a7c27df7d658d0.jpg","text":"TemporaryFile(/tmp/multipartBody4939970295292422238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_30_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b90aa4279a0367fbce681031bc7190a5.jpg","text":"TemporaryFile(/tmp/multipartBody4865125361353248269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_30_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a300d7968647dda26abea2ae4530f695.jpg","text":"TemporaryFile(/tmp/multipartBody760137762379055882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_29_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdd431b0738dfed1704f1d56b474e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5343745245137091315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279353157,"filename":"image_10042025_08_29_35_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351128169","file1":"1351128132","file0":"1351127965","file4":"1351128343","file5":"1351128364","file3":"1351128304"},"map_files_photo_id_array":[{"photo_id":"1351128364","filename":"file5"},{"photo_id":"1351128169","filename":"file2"},{"photo_id":"1351128343","filename":"file4"},{"photo_id":"1351128132","filename":"file1"},{"photo_id":"1351127965","filename":"file0"},{"photo_id":"1351128304","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351128169":["hashtag1","hashtag2"]},{"1351128364":["hashtag1","hashtag2"]},{"1351128343":["hashtag1","hashtag2"]},{"1351128304":["hashtag1","hashtag2"]},{"1351127965":["hashtag1","hashtag2"]},{"1351128132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351128169, 1351128364, 1351128343, 1351128304, 1351127965, 1351128132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02218818664551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:02:32.848865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_44_9348.jpg', '/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_55_10436.jpg', '/home/pi/Desktop/images/10042025/08/30/image_10042025_08_31_05_10411.jpg', '/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_14_9385.jpg', '/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_25_10370.jpg', '/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_34_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_44_9348.jpg
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_30_55_10436.jpg
/home/pi/Desktop/images/10042025/08/30/image_10042025_08_31_05_10411.jpg
/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_14_9385.jpg
/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_25_10370.jpg
/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_34_9521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351128543","1351128606","1351128528","1351128501","1351128491","1351128485"],"photo_ids_order":["1351128485","1351128491","1351128501","1351128528","1351128543","1351128606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8e8ef09f1e18b6e6035c7cc0ff0ba6e.jpg","text":"TemporaryFile(/tmp/multipartBody3077516888021841590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_31_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c2c12996229a6d99440ba67421852cc.jpg","text":"TemporaryFile(/tmp/multipartBody1858428914063974621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_31_34_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/614f2d3c1687944dadc5161cb6b296bd.jpg","text":"TemporaryFile(/tmp/multipartBody8259382701288482341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_31_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e45df76c53e525cf6b3165fa1c75ceb4.jpg","text":"TemporaryFile(/tmp/multipartBody4683118158154289227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_31_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c98e020e309c60abdb8760c76487e95a.jpg","text":"TemporaryFile(/tmp/multipartBody1879746929245293879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_30_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/395bea27b5c0cff28618f315a28abe88.jpg","text":"TemporaryFile(/tmp/multipartBody5789411402664946586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279413378,"filename":"image_10042025_08_30_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351128501","file1":"1351128491","file0":"1351128485","file4":"1351128543","file5":"1351128606","file3":"1351128528"},"map_files_photo_id_array":[{"photo_id":"1351128606","filename":"file5"},{"photo_id":"1351128501","filename":"file2"},{"photo_id":"1351128543","filename":"file4"},{"photo_id":"1351128491","filename":"file1"},{"photo_id":"1351128485","filename":"file0"},{"photo_id":"1351128528","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351128543":["hashtag1","hashtag2"]},{"1351128606":["hashtag1","hashtag2"]},{"1351128528":["hashtag1","hashtag2"]},{"1351128501":["hashtag1","hashtag2"]},{"1351128491":["hashtag1","hashtag2"]},{"1351128485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351128543, 1351128606, 1351128528, 1351128501, 1351128491, 1351128485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25747585296631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:03:33.049684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_45_10419.jpg', '/home/pi/Desktop/images/10042025/08/31/image_10042025_08_32_05_9371.jpg', '/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_15_10345.jpg', '/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_24_9353.jpg', '/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_45_10463.jpg', '/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/31/image_10042025_08_31_45_10419.jpg
/home/pi/Desktop/images/10042025/08/31/image_10042025_08_32_05_9371.jpg
/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_15_10345.jpg
/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_24_9353.jpg
/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_45_10463.jpg
/home/pi/Desktop/images/10042025/08/32/image_10042025_08_32_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351129150","1351129006","1351129062","1351129235","1351129022","1351129186"],"photo_ids_order":["1351129006","1351129022","1351129062","1351129150","1351129186","1351129235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6658627c0230b405ceb06ebdfeca77ae.jpg","text":"TemporaryFile(/tmp/multipartBody6931323935239358571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_32_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53ca2adf43b9e8bb5b683ebc64d18278.jpg","text":"TemporaryFile(/tmp/multipartBody7504868952113106147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_31_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b4239813ee9189a61e6c4c48d023c84.jpg","text":"TemporaryFile(/tmp/multipartBody4206570990025868844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_32_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2031365d91cf0faac10f50292c355168.jpg","text":"TemporaryFile(/tmp/multipartBody6253878717339498512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_32_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/501cb01a2ffbdf18be22fa030183f5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7533324999587144815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_32_05_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59bcbec758a0f5868ddd2de71d8f71e0.jpg","text":"TemporaryFile(/tmp/multipartBody8523506163265128321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279473519,"filename":"image_10042025_08_32_45_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351129062","file1":"1351129022","file0":"1351129006","file4":"1351129186","file5":"1351129235","file3":"1351129150"},"map_files_photo_id_array":[{"photo_id":"1351129235","filename":"file5"},{"photo_id":"1351129062","filename":"file2"},{"photo_id":"1351129186","filename":"file4"},{"photo_id":"1351129022","filename":"file1"},{"photo_id":"1351129006","filename":"file0"},{"photo_id":"1351129150","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351129150":["hashtag1","hashtag2"]},{"1351129006":["hashtag1","hashtag2"]},{"1351129062":["hashtag1","hashtag2"]},{"1351129235":["hashtag1","hashtag2"]},{"1351129022":["hashtag1","hashtag2"]},{"1351129186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351129150, 1351129006, 1351129062, 1351129235, 1351129022, 1351129186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.315366983413696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:04:32.220919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_14_9358.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_25_10379.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_35_10462.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_45_9446.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_55_10367.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_34_04_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_14_9358.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_25_10379.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_35_10462.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_45_9446.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_55_10367.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_34_04_9431.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41875147819519043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:04:42.245578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_14_9358.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_25_10379.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_35_10462.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_45_9446.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_55_10367.jpg', '/home/pi/Desktop/images/10042025/08/33/image_10042025_08_34_04_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_14_9358.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_25_10379.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_35_10462.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_45_9446.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_33_55_10367.jpg
/home/pi/Desktop/images/10042025/08/33/image_10042025_08_34_04_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351129479","1351129512","1351129489","1351129438","1351129468","1351129453"],"photo_ids_order":["1351129438","1351129453","1351129468","1351129479","1351129489","1351129512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9713b3bd54e8ee223b411425db07e26.jpg","text":"TemporaryFile(/tmp/multipartBody9056550101124048044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_33_45_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffb75e80ad5364a881b9679373c978ab.jpg","text":"TemporaryFile(/tmp/multipartBody6229664649371067120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_34_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9268f1bbf38ef41004210f3fcd186ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2000091275523922287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_33_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0ec4c06add49e71fd4c5fd37d7f3632.jpg","text":"TemporaryFile(/tmp/multipartBody1891344918631479308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_33_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e58dae919eac01549d247ada572e69b9.jpg","text":"TemporaryFile(/tmp/multipartBody6778038427447247671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_33_35_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16abf3c47d73183a7b474fe4185fe78d.jpg","text":"TemporaryFile(/tmp/multipartBody9158334226184714407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279542700,"filename":"image_10042025_08_33_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351129468","file1":"1351129453","file0":"1351129438","file4":"1351129489","file5":"1351129512","file3":"1351129479"},"map_files_photo_id_array":[{"photo_id":"1351129512","filename":"file5"},{"photo_id":"1351129468","filename":"file2"},{"photo_id":"1351129489","filename":"file4"},{"photo_id":"1351129453","filename":"file1"},{"photo_id":"1351129438","filename":"file0"},{"photo_id":"1351129479","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351129479":["hashtag1","hashtag2"]},{"1351129512":["hashtag1","hashtag2"]},{"1351129489":["hashtag1","hashtag2"]},{"1351129438":["hashtag1","hashtag2"]},{"1351129468":["hashtag1","hashtag2"]},{"1351129453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351129479, 1351129512, 1351129489, 1351129438, 1351129468, 1351129453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20234560966492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:05:32.386395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_15_10367.jpg', '/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_25_10404.jpg', '/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_34_9415.jpg', '/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_45_10343.jpg', '/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_55_10362.jpg', '/home/pi/Desktop/images/10042025/08/34/image_10042025_08_35_05_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_15_10367.jpg
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_25_10404.jpg
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_34_9415.jpg
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_45_10343.jpg
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_34_55_10362.jpg
/home/pi/Desktop/images/10042025/08/34/image_10042025_08_35_05_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351129603","1351129680","1351129641","1351129617","1351129632","1351129655"],"photo_ids_order":["1351129603","1351129617","1351129632","1351129641","1351129655","1351129680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbde76c5e3ae261d9c3d6be9b9f55145.jpg","text":"TemporaryFile(/tmp/multipartBody7089646120818458552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_34_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc5b23942aa40dfc8e98b0e40b8a9452.jpg","text":"TemporaryFile(/tmp/multipartBody6681878848555724266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_35_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a54c1cdfda2c88a0790f2d62c6e78af4.jpg","text":"TemporaryFile(/tmp/multipartBody6496414585986202204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_34_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fccb3e75beec67a3f11322ef5c07209.jpg","text":"TemporaryFile(/tmp/multipartBody1958147884051200060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_34_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d41f1cd9e0c3ba450ec6d0d5e1745ce.jpg","text":"TemporaryFile(/tmp/multipartBody2498665626094433594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_34_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d691e831a70cf333fab0ecb5216aceac.jpg","text":"TemporaryFile(/tmp/multipartBody710335855590645789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279592844,"filename":"image_10042025_08_34_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351129632","file1":"1351129617","file0":"1351129603","file4":"1351129655","file5":"1351129680","file3":"1351129641"},"map_files_photo_id_array":[{"photo_id":"1351129680","filename":"file5"},{"photo_id":"1351129632","filename":"file2"},{"photo_id":"1351129655","filename":"file4"},{"photo_id":"1351129617","filename":"file1"},{"photo_id":"1351129603","filename":"file0"},{"photo_id":"1351129641","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351129603":["hashtag1","hashtag2"]},{"1351129680":["hashtag1","hashtag2"]},{"1351129641":["hashtag1","hashtag2"]},{"1351129617":["hashtag1","hashtag2"]},{"1351129632":["hashtag1","hashtag2"]},{"1351129655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351129603, 1351129680, 1351129641, 1351129617, 1351129632, 1351129655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47649335861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:06:32.493516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_15_10375.jpg', '/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_24_9481.jpg', '/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_35_10357.jpg', '/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_44_9437.jpg', '/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_55_10372.jpg', '/home/pi/Desktop/images/10042025/08/35/image_10042025_08_36_05_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_15_10375.jpg
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_24_9481.jpg
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_35_10357.jpg
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_44_9437.jpg
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_35_55_10372.jpg
/home/pi/Desktop/images/10042025/08/35/image_10042025_08_36_05_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351129881","1351129956","1351129862","1351130004","1351129984","1351129885"],"photo_ids_order":["1351129862","1351129881","1351129885","1351129956","1351129984","1351130004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39513cae979b3ab5d83e24d067a6554d.jpg","text":"TemporaryFile(/tmp/multipartBody451379242822558920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_35_24_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11149584e3cdbd0d01d774914dc0c36b.jpg","text":"TemporaryFile(/tmp/multipartBody4650242366905315412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_35_44_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd622e29a8b47352611a8b54dac74859.jpg","text":"TemporaryFile(/tmp/multipartBody7944140240186412172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_35_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56c9386af87d153e39c95214b278d072.jpg","text":"TemporaryFile(/tmp/multipartBody9128025097038100611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_36_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e279372b92ec86821035a3e767f0022.jpg","text":"TemporaryFile(/tmp/multipartBody7527230729924581314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_35_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20c4ef861016e759fb91124cbd6a5962.jpg","text":"TemporaryFile(/tmp/multipartBody2165936740184897304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279652952,"filename":"image_10042025_08_35_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351129885","file1":"1351129881","file0":"1351129862","file4":"1351129984","file5":"1351130004","file3":"1351129956"},"map_files_photo_id_array":[{"photo_id":"1351130004","filename":"file5"},{"photo_id":"1351129885","filename":"file2"},{"photo_id":"1351129984","filename":"file4"},{"photo_id":"1351129881","filename":"file1"},{"photo_id":"1351129862","filename":"file0"},{"photo_id":"1351129956","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351129881":["hashtag1","hashtag2"]},{"1351129956":["hashtag1","hashtag2"]},{"1351129862":["hashtag1","hashtag2"]},{"1351130004":["hashtag1","hashtag2"]},{"1351129984":["hashtag1","hashtag2"]},{"1351129885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351129881, 1351129956, 1351129862, 1351130004, 1351129984, 1351129885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21734380722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:07:32.693740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_14_9459.jpg', '/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_25_10353.jpg', '/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_34_9443.jpg', '/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_45_10418.jpg', '/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_55_10450.jpg', '/home/pi/Desktop/images/10042025/08/36/image_10042025_08_37_05_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_14_9459.jpg
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_25_10353.jpg
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_34_9443.jpg
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_45_10418.jpg
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_36_55_10450.jpg
/home/pi/Desktop/images/10042025/08/36/image_10042025_08_37_05_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351130074","1351130068","1351130061","1351130070","1351130098","1351130083"],"photo_ids_order":["1351130061","1351130068","1351130070","1351130074","1351130083","1351130098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36d351190ecac4556bd248e5dfe079be.jpg","text":"TemporaryFile(/tmp/multipartBody8710403655948731250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_36_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e24974459472da4c989faecd2da779c.jpg","text":"TemporaryFile(/tmp/multipartBody9095295919205195412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_36_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aebd6656024bf4df44151dfbcee78120.jpg","text":"TemporaryFile(/tmp/multipartBody6602059739660536836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_36_14_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0ca946379f0f1284da40adf92382ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5757531436466554579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_36_34_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09e34da0ff95272fba2a7b28d1e8a141.jpg","text":"TemporaryFile(/tmp/multipartBody694204038595433901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_37_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9adac6878a63eefa6e8ef90c9d83ff06.jpg","text":"TemporaryFile(/tmp/multipartBody6798724960386895571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279713161,"filename":"image_10042025_08_36_55_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130070","file1":"1351130068","file0":"1351130061","file4":"1351130083","file5":"1351130098","file3":"1351130074"},"map_files_photo_id_array":[{"photo_id":"1351130098","filename":"file5"},{"photo_id":"1351130070","filename":"file2"},{"photo_id":"1351130083","filename":"file4"},{"photo_id":"1351130068","filename":"file1"},{"photo_id":"1351130061","filename":"file0"},{"photo_id":"1351130074","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351130074":["hashtag1","hashtag2"]},{"1351130068":["hashtag1","hashtag2"]},{"1351130061":["hashtag1","hashtag2"]},{"1351130070":["hashtag1","hashtag2"]},{"1351130098":["hashtag1","hashtag2"]},{"1351130083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351130074, 1351130068, 1351130061, 1351130070, 1351130098, 1351130083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.550161600112915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:08:32.901877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_15_10420.jpg', '/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_25_9551.jpg', '/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_35_10397.jpg', '/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_44_9403.jpg', '/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_55_10353.jpg', '/home/pi/Desktop/images/10042025/08/37/image_10042025_08_38_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_15_10420.jpg
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_25_9551.jpg
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_35_10397.jpg
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_44_9403.jpg
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_37_55_10353.jpg
/home/pi/Desktop/images/10042025/08/37/image_10042025_08_38_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351130173","1351130227","1351130215","1351130206","1351130196","1351130184"],"photo_ids_order":["1351130173","1351130184","1351130196","1351130206","1351130215","1351130227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56bc78bcae2dd07a2b6c9f3203058993.jpg","text":"TemporaryFile(/tmp/multipartBody5283717079060045965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_37_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ce68817104592290a64627fbd30d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5999738219230914395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_38_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b01b3b1f45b5859760f773ec48d87ca5.jpg","text":"TemporaryFile(/tmp/multipartBody7278697235693928209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_37_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/993489d13021a9dc8eed3956f742d519.jpg","text":"TemporaryFile(/tmp/multipartBody3231877169704905678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_37_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f729bddd19395bedf742ef24d30392a2.jpg","text":"TemporaryFile(/tmp/multipartBody589852123420470156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_37_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb148caeac7c3b06a3cc038537f28c20.jpg","text":"TemporaryFile(/tmp/multipartBody6507716951422318278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279773429,"filename":"image_10042025_08_37_25_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130196","file1":"1351130184","file0":"1351130173","file4":"1351130215","file5":"1351130227","file3":"1351130206"},"map_files_photo_id_array":[{"photo_id":"1351130227","filename":"file5"},{"photo_id":"1351130196","filename":"file2"},{"photo_id":"1351130215","filename":"file4"},{"photo_id":"1351130184","filename":"file1"},{"photo_id":"1351130173","filename":"file0"},{"photo_id":"1351130206","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351130173":["hashtag1","hashtag2"]},{"1351130227":["hashtag1","hashtag2"]},{"1351130215":["hashtag1","hashtag2"]},{"1351130206":["hashtag1","hashtag2"]},{"1351130196":["hashtag1","hashtag2"]},{"1351130184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351130173, 1351130227, 1351130215, 1351130206, 1351130196, 1351130184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13522171974182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:09:32.927071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_14_9321.jpg', '/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_25_10393.jpg', '/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_35_10419.jpg', '/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_45_9347.jpg', '/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_55_10379.jpg', '/home/pi/Desktop/images/10042025/08/38/image_10042025_08_39_04_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_14_9321.jpg
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_25_10393.jpg
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_35_10419.jpg
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_45_9347.jpg
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_38_55_10379.jpg
/home/pi/Desktop/images/10042025/08/38/image_10042025_08_39_04_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351130398","1351130263","1351130359","1351130287","1351130394","1351130390"],"photo_ids_order":["1351130263","1351130287","1351130359","1351130390","1351130394","1351130398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb6c13025b065d1a9e70c1dcde5f0924.jpg","text":"TemporaryFile(/tmp/multipartBody6093093690624050363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_39_04_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d4e9c7b13b9c384d1d042e58e651758.jpg","text":"TemporaryFile(/tmp/multipartBody3104291215109405846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_38_14_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcfe9d8c97235bae7e3570ec53ddbc2a.jpg","text":"TemporaryFile(/tmp/multipartBody3628206335255242172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_38_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82ef01d87f14ae55259bde4d8dd88c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4929533093487990561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_38_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09f83654d4babf4297217e26f5c2041c.jpg","text":"TemporaryFile(/tmp/multipartBody3322639413821204339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_38_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffc0a8070687d68731a35b6428d2a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6742211474856247560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279833383,"filename":"image_10042025_08_38_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130359","file1":"1351130287","file0":"1351130263","file4":"1351130394","file5":"1351130398","file3":"1351130390"},"map_files_photo_id_array":[{"photo_id":"1351130398","filename":"file5"},{"photo_id":"1351130359","filename":"file2"},{"photo_id":"1351130394","filename":"file4"},{"photo_id":"1351130287","filename":"file1"},{"photo_id":"1351130263","filename":"file0"},{"photo_id":"1351130390","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351130398":["hashtag1","hashtag2"]},{"1351130263":["hashtag1","hashtag2"]},{"1351130359":["hashtag1","hashtag2"]},{"1351130287":["hashtag1","hashtag2"]},{"1351130394":["hashtag1","hashtag2"]},{"1351130390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351130398, 1351130263, 1351130359, 1351130287, 1351130394, 1351130390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.103800773620605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:10:33.198732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_15_10338.jpg', '/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_35_9421.jpg', '/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_45_10395.jpg', '/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_54_9418.jpg', '/home/pi/Desktop/images/10042025/08/39/image_10042025_08_40_05_10351.jpg', '/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_25_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_15_10338.jpg
/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_35_9421.jpg
/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_45_10395.jpg
/home/pi/Desktop/images/10042025/08/39/image_10042025_08_39_54_9418.jpg
/home/pi/Desktop/images/10042025/08/39/image_10042025_08_40_05_10351.jpg
/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_25_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351130796","1351130715","1351130802","1351130789","1351130768","1351130747"],"photo_ids_order":["1351130715","1351130747","1351130768","1351130789","1351130796","1351130802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/845d8eac9ccde030126929642181ed94.jpg","text":"TemporaryFile(/tmp/multipartBody2812344811117781981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_40_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2462e4a51bdb34f36399b26e9818795.jpg","text":"TemporaryFile(/tmp/multipartBody2172206863449406093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_39_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce1b387cea462d6f02923c2d79545727.jpg","text":"TemporaryFile(/tmp/multipartBody8580612185426735539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_40_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57570a6400d17914cc954233ee898c00.jpg","text":"TemporaryFile(/tmp/multipartBody7602195298700022547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_39_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9088797cab6fea19bc21988f424f95f3.jpg","text":"TemporaryFile(/tmp/multipartBody4275262080777832239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_39_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/153577591150c3e9b6b11c3b58954d9d.jpg","text":"TemporaryFile(/tmp/multipartBody949835846361097933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279893658,"filename":"image_10042025_08_39_35_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130768","file1":"1351130747","file0":"1351130715","file4":"1351130796","file5":"1351130802","file3":"1351130789"},"map_files_photo_id_array":[{"photo_id":"1351130802","filename":"file5"},{"photo_id":"1351130768","filename":"file2"},{"photo_id":"1351130796","filename":"file4"},{"photo_id":"1351130747","filename":"file1"},{"photo_id":"1351130715","filename":"file0"},{"photo_id":"1351130789","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351130796":["hashtag1","hashtag2"]},{"1351130715":["hashtag1","hashtag2"]},{"1351130802":["hashtag1","hashtag2"]},{"1351130789":["hashtag1","hashtag2"]},{"1351130768":["hashtag1","hashtag2"]},{"1351130747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351130796, 1351130715, 1351130802, 1351130789, 1351130768, 1351130747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.13716959953308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:11:32.301219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_35_10403.jpg', '/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_44_9420.jpg', '/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_55_10352.jpg', '/home/pi/Desktop/images/10042025/08/40/image_10042025_08_41_05_10394.jpg', '/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_15_9428.jpg', '/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_35_10403.jpg
/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_44_9420.jpg
/home/pi/Desktop/images/10042025/08/40/image_10042025_08_40_55_10352.jpg
/home/pi/Desktop/images/10042025/08/40/image_10042025_08_41_05_10394.jpg
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_15_9428.jpg
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_25_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351130821","1351130815","1351130839","1351130826","1351130817","1351130831"],"photo_ids_order":["1351130815","1351130817","1351130821","1351130826","1351130831","1351130839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59b3bd07848d7a3ebb0abce680d16a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1993680386737279214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_40_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1180e8bec51ae1c953631ced24aee5c0.jpg","text":"TemporaryFile(/tmp/multipartBody5277914143562927222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_40_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a69c51412d9cf3e6f141236080baedf.jpg","text":"TemporaryFile(/tmp/multipartBody4659908413018956221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_41_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66793a8f51c6dfc4b2d03655bcd7c1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5255926382019570690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_41_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38cb25c10ff5a1c9a566fa0ee30c4912.jpg","text":"TemporaryFile(/tmp/multipartBody4024592692614851525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_40_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f224173a0d0eb57897a8693f765847c8.jpg","text":"TemporaryFile(/tmp/multipartBody2233982496140147106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744279952773,"filename":"image_10042025_08_41_15_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130821","file1":"1351130817","file0":"1351130815","file4":"1351130831","file5":"1351130839","file3":"1351130826"},"map_files_photo_id_array":[{"photo_id":"1351130839","filename":"file5"},{"photo_id":"1351130821","filename":"file2"},{"photo_id":"1351130831","filename":"file4"},{"photo_id":"1351130817","filename":"file1"},{"photo_id":"1351130815","filename":"file0"},{"photo_id":"1351130826","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351130821":["hashtag1","hashtag2"]},{"1351130815":["hashtag1","hashtag2"]},{"1351130839":["hashtag1","hashtag2"]},{"1351130826":["hashtag1","hashtag2"]},{"1351130817":["hashtag1","hashtag2"]},{"1351130831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351130821, 1351130815, 1351130839, 1351130826, 1351130817, 1351130831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.573121309280396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:12:32.496234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_34_9464.jpg', '/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_45_10371.jpg', '/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_55_10407.jpg', '/home/pi/Desktop/images/10042025/08/41/image_10042025_08_42_05_9421.jpg', '/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_15_10369.jpg', '/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_24_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_34_9464.jpg
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_45_10371.jpg
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_41_55_10407.jpg
/home/pi/Desktop/images/10042025/08/41/image_10042025_08_42_05_9421.jpg
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_15_10369.jpg
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_24_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131007","1351130914","1351130943","1351130990","1351130966","1351130927"],"photo_ids_order":["1351130914","1351130927","1351130943","1351130966","1351130990","1351131007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da62d9252e69d232936bf689c5f06da2.jpg","text":"TemporaryFile(/tmp/multipartBody3077299498011949879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_42_24_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb1360ac0154510208a023d78c831901.jpg","text":"TemporaryFile(/tmp/multipartBody569928589889467921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_41_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a60b1b3fe479a28356e8b040bf6f9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1588057443192175627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_41_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e66b4ee2c2bbbbb1d928a83e5a843e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5093890184264993835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_42_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49a6df36e6274acf823f73ade78ab0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1601770338587251120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_42_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38e3100d23a12eb9d5015179004351ef.jpg","text":"TemporaryFile(/tmp/multipartBody7735980846773937672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280012961,"filename":"image_10042025_08_41_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351130943","file1":"1351130927","file0":"1351130914","file4":"1351130990","file5":"1351131007","file3":"1351130966"},"map_files_photo_id_array":[{"photo_id":"1351131007","filename":"file5"},{"photo_id":"1351130943","filename":"file2"},{"photo_id":"1351130990","filename":"file4"},{"photo_id":"1351130927","filename":"file1"},{"photo_id":"1351130914","filename":"file0"},{"photo_id":"1351130966","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131007":["hashtag1","hashtag2"]},{"1351130914":["hashtag1","hashtag2"]},{"1351130943":["hashtag1","hashtag2"]},{"1351130990":["hashtag1","hashtag2"]},{"1351130966":["hashtag1","hashtag2"]},{"1351130927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131007, 1351130914, 1351130943, 1351130990, 1351130966, 1351130927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87713670730591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:13:32.655081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_35_10404.jpg', '/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_45_10401.jpg', '/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_55_9355.jpg', '/home/pi/Desktop/images/10042025/08/42/image_10042025_08_43_05_10341.jpg', '/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_14_9452.jpg', '/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_25_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_35_10404.jpg
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_45_10401.jpg
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_42_55_9355.jpg
/home/pi/Desktop/images/10042025/08/42/image_10042025_08_43_05_10341.jpg
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_14_9452.jpg
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_25_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131090","1351131108","1351131077","1351131071","1351131062","1351131056"],"photo_ids_order":["1351131056","1351131062","1351131071","1351131077","1351131090","1351131108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13101952226ec3cfe8aec35db1cb369a.jpg","text":"TemporaryFile(/tmp/multipartBody2369961566928256137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_43_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1504ebb883fc91262bd9bdb1e2742899.jpg","text":"TemporaryFile(/tmp/multipartBody6068691713796309532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_43_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/015837386aca27163907d976e4aedb22.jpg","text":"TemporaryFile(/tmp/multipartBody8245783877150103127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_43_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b99eb86078b26cf535af0769a1c4c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2050941034180415388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_42_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaa5310e3ddb9f6a5ac05c0b9366773f.jpg","text":"TemporaryFile(/tmp/multipartBody6632926520311208176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_42_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab5d50af298ad514893d304b5bbf8744.jpg","text":"TemporaryFile(/tmp/multipartBody1419647511638910902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280073116,"filename":"image_10042025_08_42_35_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131071","file1":"1351131062","file0":"1351131056","file4":"1351131090","file5":"1351131108","file3":"1351131077"},"map_files_photo_id_array":[{"photo_id":"1351131108","filename":"file5"},{"photo_id":"1351131071","filename":"file2"},{"photo_id":"1351131090","filename":"file4"},{"photo_id":"1351131062","filename":"file1"},{"photo_id":"1351131056","filename":"file0"},{"photo_id":"1351131077","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131090":["hashtag1","hashtag2"]},{"1351131108":["hashtag1","hashtag2"]},{"1351131077":["hashtag1","hashtag2"]},{"1351131071":["hashtag1","hashtag2"]},{"1351131062":["hashtag1","hashtag2"]},{"1351131056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131090, 1351131108, 1351131077, 1351131071, 1351131062, 1351131056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.407902002334595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:14:32.830147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_35_10351.jpg', '/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_45_9418.jpg', '/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_55_10365.jpg', '/home/pi/Desktop/images/10042025/08/43/image_10042025_08_44_04_9465.jpg', '/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_15_10377.jpg', '/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_25_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_35_10351.jpg
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_45_9418.jpg
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_43_55_10365.jpg
/home/pi/Desktop/images/10042025/08/43/image_10042025_08_44_04_9465.jpg
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_15_10377.jpg
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_25_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131406","1351131291","1351131347","1351131320","1351131379","1351131370"],"photo_ids_order":["1351131291","1351131320","1351131347","1351131370","1351131379","1351131406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/795835355c5a9896f0fe5d6a97f52ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4469947869677173827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_44_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7651383810385c4ba1f3632e3c5579b1.jpg","text":"TemporaryFile(/tmp/multipartBody837027060089925847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_43_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a523cb5f91345263e6a9caec5b341f7.jpg","text":"TemporaryFile(/tmp/multipartBody3843000348043467535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_43_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d175db9ab3217ce9a963ee727b0b884.jpg","text":"TemporaryFile(/tmp/multipartBody6785160182359926786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_43_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d155922495dd2e77aafeb4dbc77c124b.jpg","text":"TemporaryFile(/tmp/multipartBody7771652437027474703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_44_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab74f47ad6c1682c4ce4ee362d686f74.jpg","text":"TemporaryFile(/tmp/multipartBody4194107897926288202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280133294,"filename":"image_10042025_08_44_04_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131347","file1":"1351131320","file0":"1351131291","file4":"1351131379","file5":"1351131406","file3":"1351131370"},"map_files_photo_id_array":[{"photo_id":"1351131406","filename":"file5"},{"photo_id":"1351131347","filename":"file2"},{"photo_id":"1351131379","filename":"file4"},{"photo_id":"1351131320","filename":"file1"},{"photo_id":"1351131291","filename":"file0"},{"photo_id":"1351131370","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131406":["hashtag1","hashtag2"]},{"1351131291":["hashtag1","hashtag2"]},{"1351131347":["hashtag1","hashtag2"]},{"1351131320":["hashtag1","hashtag2"]},{"1351131379":["hashtag1","hashtag2"]},{"1351131370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131406, 1351131291, 1351131347, 1351131320, 1351131379, 1351131370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.865617513656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:15:33.024104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_35_9422.jpg', '/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_45_10400.jpg', '/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_54_9446.jpg', '/home/pi/Desktop/images/10042025/08/44/image_10042025_08_45_05_10379.jpg', '/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_15_10411.jpg', '/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_35_9422.jpg
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_45_10400.jpg
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_44_54_9446.jpg
/home/pi/Desktop/images/10042025/08/44/image_10042025_08_45_05_10379.jpg
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_15_10411.jpg
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131489","1351131485","1351131494","1351131482","1351131479","1351131506"],"photo_ids_order":["1351131479","1351131482","1351131485","1351131489","1351131494","1351131506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77e3a324d0c1da40ba4246db32489d4e.jpg","text":"TemporaryFile(/tmp/multipartBody4317886280686650344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_45_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35d6c9e8b1ea671f323650eebd03e9e3.jpg","text":"TemporaryFile(/tmp/multipartBody265414919415563585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_44_54_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77b3e4c5b524e387fb7eda61020e5a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3974794842554900866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_45_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98cc75322211827c7b22346cf7ccda50.jpg","text":"TemporaryFile(/tmp/multipartBody2924571378593155871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_44_45_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e83c24f062b8330b9ab96b618c855a6.jpg","text":"TemporaryFile(/tmp/multipartBody8211838300460496560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_44_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c4fa3d6cfef48e56739f8b70e2a8779.jpg","text":"TemporaryFile(/tmp/multipartBody8408055980955865691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280193502,"filename":"image_10042025_08_45_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131485","file1":"1351131482","file0":"1351131479","file4":"1351131494","file5":"1351131506","file3":"1351131489"},"map_files_photo_id_array":[{"photo_id":"1351131506","filename":"file5"},{"photo_id":"1351131485","filename":"file2"},{"photo_id":"1351131494","filename":"file4"},{"photo_id":"1351131482","filename":"file1"},{"photo_id":"1351131479","filename":"file0"},{"photo_id":"1351131489","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131489":["hashtag1","hashtag2"]},{"1351131485":["hashtag1","hashtag2"]},{"1351131494":["hashtag1","hashtag2"]},{"1351131482":["hashtag1","hashtag2"]},{"1351131479":["hashtag1","hashtag2"]},{"1351131506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131489, 1351131485, 1351131494, 1351131482, 1351131479, 1351131506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11808681488037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:16:33.185254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_35_10342.jpg', '/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_44_9341.jpg', '/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_55_10369.jpg', '/home/pi/Desktop/images/10042025/08/45/image_10042025_08_46_05_10401.jpg', '/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_14_9397.jpg', '/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_25_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_35_10342.jpg
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_44_9341.jpg
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_45_55_10369.jpg
/home/pi/Desktop/images/10042025/08/45/image_10042025_08_46_05_10401.jpg
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_14_9397.jpg
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_25_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131544","1351131538","1351131531","1351131534","1351131522","1351131527"],"photo_ids_order":["1351131522","1351131527","1351131531","1351131534","1351131538","1351131544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18656dfad1133914eb313db050a25b6e.jpg","text":"TemporaryFile(/tmp/multipartBody1336183598592262291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_46_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d01133e0004397fbbd383984910bdef0.jpg","text":"TemporaryFile(/tmp/multipartBody4796583519558588884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_46_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30fbf63bbfe60089caccec2397c4c5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4629155052265854084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_45_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e3592216f1917d4edfd63df0bda6e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2205633091622940884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_46_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8403e6aaa03f0ba97f43815692478680.jpg","text":"TemporaryFile(/tmp/multipartBody2209208245264214727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_45_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ee13befb7fe8066f7c82f1a3586143e.jpg","text":"TemporaryFile(/tmp/multipartBody7733784253844127704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280253652,"filename":"image_10042025_08_45_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131531","file1":"1351131527","file0":"1351131522","file4":"1351131538","file5":"1351131544","file3":"1351131534"},"map_files_photo_id_array":[{"photo_id":"1351131544","filename":"file5"},{"photo_id":"1351131531","filename":"file2"},{"photo_id":"1351131538","filename":"file4"},{"photo_id":"1351131527","filename":"file1"},{"photo_id":"1351131522","filename":"file0"},{"photo_id":"1351131534","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131544":["hashtag1","hashtag2"]},{"1351131538":["hashtag1","hashtag2"]},{"1351131531":["hashtag1","hashtag2"]},{"1351131534":["hashtag1","hashtag2"]},{"1351131522":["hashtag1","hashtag2"]},{"1351131527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131544, 1351131538, 1351131531, 1351131534, 1351131522, 1351131527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69119620323181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:17:32.256329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_35_10214.jpg', '/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_44_9409.jpg', '/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_55_10371.jpg', '/home/pi/Desktop/images/10042025/08/46/image_10042025_08_47_05_10356.jpg', '/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_15_9428.jpg', '/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_35_10214.jpg
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_44_9409.jpg
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_46_55_10371.jpg
/home/pi/Desktop/images/10042025/08/46/image_10042025_08_47_05_10356.jpg
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_15_9428.jpg
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131564","1351131573","1351131566","1351131571","1351131568","1351131562"],"photo_ids_order":["1351131562","1351131564","1351131566","1351131568","1351131571","1351131573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a68cb4a3747e5ef6a30421f306667b90.jpg","text":"TemporaryFile(/tmp/multipartBody3724251357014648679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_46_44_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93ea5c5e949d69a07f88c6f14d57c515.jpg","text":"TemporaryFile(/tmp/multipartBody7950915844040481112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_47_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6174b5d647aa3a69a8631d491f0a132a.jpg","text":"TemporaryFile(/tmp/multipartBody1613719246865951230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_46_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16df1ccf8fa251506c15d3dd81bd0637.jpg","text":"TemporaryFile(/tmp/multipartBody6461880270461284820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_47_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a03fc5c5c3a113bbe9c1cddcf7da3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody998648532081696555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_47_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3615b503c65a7b1f7605d2f584959fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6258540551901626027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280312713,"filename":"image_10042025_08_46_35_10214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131566","file1":"1351131564","file0":"1351131562","file4":"1351131571","file5":"1351131573","file3":"1351131568"},"map_files_photo_id_array":[{"photo_id":"1351131573","filename":"file5"},{"photo_id":"1351131566","filename":"file2"},{"photo_id":"1351131571","filename":"file4"},{"photo_id":"1351131564","filename":"file1"},{"photo_id":"1351131562","filename":"file0"},{"photo_id":"1351131568","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131564":["hashtag1","hashtag2"]},{"1351131573":["hashtag1","hashtag2"]},{"1351131566":["hashtag1","hashtag2"]},{"1351131571":["hashtag1","hashtag2"]},{"1351131568":["hashtag1","hashtag2"]},{"1351131562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131564, 1351131573, 1351131566, 1351131571, 1351131568, 1351131562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49119424819946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:18:32.457801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_34_9493.jpg', '/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_45_10364.jpg', '/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_54_9519.jpg', '/home/pi/Desktop/images/10042025/08/47/image_10042025_08_48_05_10426.jpg', '/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_15_10413.jpg', '/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_25_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_34_9493.jpg
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_45_10364.jpg
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_47_54_9519.jpg
/home/pi/Desktop/images/10042025/08/47/image_10042025_08_48_05_10426.jpg
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_15_10413.jpg
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_25_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351131636","1351131843","1351131738","1351131705","1351131776","1351131787"],"photo_ids_order":["1351131636","1351131705","1351131738","1351131776","1351131787","1351131843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad9e631b459c58409912406c84cb3f57.jpg","text":"TemporaryFile(/tmp/multipartBody5314149086508003032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_47_34_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69a00465599907e96c3adf92326358cb.jpg","text":"TemporaryFile(/tmp/multipartBody7772252108801612909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_48_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff0f86f787b3eab250034f776e001f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8203782716533092936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_47_54_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e3123caebc6af1d5ea7c78de16a0303.jpg","text":"TemporaryFile(/tmp/multipartBody7106828169026977522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_47_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6129459d1da83efb8e74ddb39523af4.jpg","text":"TemporaryFile(/tmp/multipartBody1095070340952070680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_48_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1b91aac1d4553019a73a9237b2b739f.jpg","text":"TemporaryFile(/tmp/multipartBody2062337860416083903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280372916,"filename":"image_10042025_08_48_15_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351131738","file1":"1351131705","file0":"1351131636","file4":"1351131787","file5":"1351131843","file3":"1351131776"},"map_files_photo_id_array":[{"photo_id":"1351131843","filename":"file5"},{"photo_id":"1351131738","filename":"file2"},{"photo_id":"1351131787","filename":"file4"},{"photo_id":"1351131705","filename":"file1"},{"photo_id":"1351131636","filename":"file0"},{"photo_id":"1351131776","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351131636":["hashtag1","hashtag2"]},{"1351131843":["hashtag1","hashtag2"]},{"1351131738":["hashtag1","hashtag2"]},{"1351131705":["hashtag1","hashtag2"]},{"1351131776":["hashtag1","hashtag2"]},{"1351131787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351131636, 1351131843, 1351131738, 1351131705, 1351131776, 1351131787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47883582115173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:19:32.546222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_35_10345.jpg', '/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_44_9404.jpg', '/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_55_10346.jpg', '/home/pi/Desktop/images/10042025/08/48/image_10042025_08_49_05_10343.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_14_9396.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_35_10345.jpg
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_44_9404.jpg
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_48_55_10346.jpg
/home/pi/Desktop/images/10042025/08/48/image_10042025_08_49_05_10343.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_14_9396.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_25_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351132071","1351132065","1351132154","1351132052","1351131998","1351132106"],"photo_ids_order":["1351131998","1351132052","1351132065","1351132071","1351132106","1351132154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e60cf07f2907b281d34a41929554ea94.jpg","text":"TemporaryFile(/tmp/multipartBody1589566331853781592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_49_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ed1a7d413d1d2b0320900df50fb2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4786970783720971368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_48_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/088e570401c0686fd32ffbd981f91429.jpg","text":"TemporaryFile(/tmp/multipartBody2124438743098792773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_49_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f1d49727de6c4cb38f26b9793d9fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody1465320466478566972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_48_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdd3b432d2d64ea87fcdf4ef6e2b6058.jpg","text":"TemporaryFile(/tmp/multipartBody8326216956029479934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_48_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cdc59f8a7a5c4f76a6ea49ccf4bd3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2640860727800452703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280433007,"filename":"image_10042025_08_49_14_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351132065","file1":"1351132052","file0":"1351131998","file4":"1351132106","file5":"1351132154","file3":"1351132071"},"map_files_photo_id_array":[{"photo_id":"1351132154","filename":"file5"},{"photo_id":"1351132065","filename":"file2"},{"photo_id":"1351132106","filename":"file4"},{"photo_id":"1351132052","filename":"file1"},{"photo_id":"1351131998","filename":"file0"},{"photo_id":"1351132071","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351132071":["hashtag1","hashtag2"]},{"1351132065":["hashtag1","hashtag2"]},{"1351132154":["hashtag1","hashtag2"]},{"1351132052":["hashtag1","hashtag2"]},{"1351131998":["hashtag1","hashtag2"]},{"1351132106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351132071, 1351132065, 1351132154, 1351132052, 1351131998, 1351132106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84000587463379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:20:32.808025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_34_9506.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_45_10360.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_55_10424.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_50_04_9338.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_15_10401.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_34_9506.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_45_10360.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_55_10424.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_50_04_9338.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_15_10401.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_35_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3717639446258545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:20:42.793286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_34_9506.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_45_10360.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_55_10424.jpg', '/home/pi/Desktop/images/10042025/08/49/image_10042025_08_50_04_9338.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_15_10401.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_34_9506.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_45_10360.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_49_55_10424.jpg
/home/pi/Desktop/images/10042025/08/49/image_10042025_08_50_04_9338.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_15_10401.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351132289","1351132283","1351132291","1351132342","1351132324","1351132287"],"photo_ids_order":["1351132283","1351132287","1351132289","1351132291","1351132324","1351132342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e73828619be22ef20eb70690fdef3519.jpg","text":"TemporaryFile(/tmp/multipartBody4642246145901827286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_49_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/146b4661fd034bb6dd322fefc1045046.jpg","text":"TemporaryFile(/tmp/multipartBody1107585945275279684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_49_34_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be38e42477acc20c8bae44ef0b62cb36.jpg","text":"TemporaryFile(/tmp/multipartBody4153609383020875954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_50_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3f4587bf9f8ba88f72ee4ca58fd1ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6937716368150334917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_50_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63fd1fcbfb869f58fae6fceaa65e08e7.jpg","text":"TemporaryFile(/tmp/multipartBody1935935752794285374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_50_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12bfb091dc56a6798d9b8c2a09db88da.jpg","text":"TemporaryFile(/tmp/multipartBody3588793415735139768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280503263,"filename":"image_10042025_08_49_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351132289","file1":"1351132287","file0":"1351132283","file4":"1351132324","file5":"1351132342","file3":"1351132291"},"map_files_photo_id_array":[{"photo_id":"1351132342","filename":"file5"},{"photo_id":"1351132289","filename":"file2"},{"photo_id":"1351132324","filename":"file4"},{"photo_id":"1351132287","filename":"file1"},{"photo_id":"1351132283","filename":"file0"},{"photo_id":"1351132291","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351132289":["hashtag1","hashtag2"]},{"1351132283":["hashtag1","hashtag2"]},{"1351132291":["hashtag1","hashtag2"]},{"1351132342":["hashtag1","hashtag2"]},{"1351132324":["hashtag1","hashtag2"]},{"1351132287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351132289, 1351132283, 1351132291, 1351132342, 1351132324, 1351132287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.86894750595093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:21:33.046611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_45_10372.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_54_9420.jpg', '/home/pi/Desktop/images/10042025/08/50/image_10042025_08_51_05_10361.jpg', '/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_14_9379.jpg', '/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_25_10349.jpg', '/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_45_10372.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_50_54_9420.jpg
/home/pi/Desktop/images/10042025/08/50/image_10042025_08_51_05_10361.jpg
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_14_9379.jpg
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_25_10349.jpg
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351132398","1351132401","1351132376","1351132393","1351132441","1351132420"],"photo_ids_order":["1351132376","1351132393","1351132398","1351132401","1351132420","1351132441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/755a17a0a578ca494c732cb3312816d8.jpg","text":"TemporaryFile(/tmp/multipartBody7201698250940054584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_51_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/775a266ae4c5f873fb4a67ead9405cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8370765814695819534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_51_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f32d7127e1562a3cb132191407ee90e5.jpg","text":"TemporaryFile(/tmp/multipartBody2860665278028421786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_50_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86675373c40d9b32ad6707d9396f7155.jpg","text":"TemporaryFile(/tmp/multipartBody384821215927118330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_50_54_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/185bbd4f2085d1756f77876497914d69.jpg","text":"TemporaryFile(/tmp/multipartBody2162503500056842088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_51_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0641811c6df7de92ad32da3f0bdcb20e.jpg","text":"TemporaryFile(/tmp/multipartBody7594305377121736687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280553509,"filename":"image_10042025_08_51_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351132398","file1":"1351132393","file0":"1351132376","file4":"1351132420","file5":"1351132441","file3":"1351132401"},"map_files_photo_id_array":[{"photo_id":"1351132441","filename":"file5"},{"photo_id":"1351132398","filename":"file2"},{"photo_id":"1351132420","filename":"file4"},{"photo_id":"1351132393","filename":"file1"},{"photo_id":"1351132376","filename":"file0"},{"photo_id":"1351132401","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351132398":["hashtag1","hashtag2"]},{"1351132401":["hashtag1","hashtag2"]},{"1351132376":["hashtag1","hashtag2"]},{"1351132393":["hashtag1","hashtag2"]},{"1351132441":["hashtag1","hashtag2"]},{"1351132420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351132398, 1351132401, 1351132376, 1351132393, 1351132441, 1351132420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.972161531448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:22:32.210810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_44_9440.jpg', '/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_55_10393.jpg', '/home/pi/Desktop/images/10042025/08/51/image_10042025_08_52_05_10360.jpg', '/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_15_9405.jpg', '/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_25_10366.jpg', '/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_34_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_44_9440.jpg
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_51_55_10393.jpg
/home/pi/Desktop/images/10042025/08/51/image_10042025_08_52_05_10360.jpg
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_15_9405.jpg
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_25_10366.jpg
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_34_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351132542","1351132532","1351132613","1351132525","1351132528","1351132504"],"photo_ids_order":["1351132504","1351132525","1351132528","1351132532","1351132542","1351132613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07b3346315fc035cdd9f39478af6de1b.jpg","text":"TemporaryFile(/tmp/multipartBody3883170318061801277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_52_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a4a50466173d0489ce2bafb5ce5e8f9.jpg","text":"TemporaryFile(/tmp/multipartBody3181924301880858715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_52_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1febf73c302df0d9c1955dee3cae6b89.jpg","text":"TemporaryFile(/tmp/multipartBody6326097993349597813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_52_34_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67811148ed24281db93421897b13d32e.jpg","text":"TemporaryFile(/tmp/multipartBody600842626607242012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_51_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a83d04e5c8dcf0f9811ec90a6b65dcf4.jpg","text":"TemporaryFile(/tmp/multipartBody5486798879994939492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_52_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0c16dd573d72190abc4e449a91404b3.jpg","text":"TemporaryFile(/tmp/multipartBody1500817281385506438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280612672,"filename":"image_10042025_08_51_44_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351132528","file1":"1351132525","file0":"1351132504","file4":"1351132542","file5":"1351132613","file3":"1351132532"},"map_files_photo_id_array":[{"photo_id":"1351132613","filename":"file5"},{"photo_id":"1351132528","filename":"file2"},{"photo_id":"1351132542","filename":"file4"},{"photo_id":"1351132525","filename":"file1"},{"photo_id":"1351132504","filename":"file0"},{"photo_id":"1351132532","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351132542":["hashtag1","hashtag2"]},{"1351132532":["hashtag1","hashtag2"]},{"1351132613":["hashtag1","hashtag2"]},{"1351132525":["hashtag1","hashtag2"]},{"1351132528":["hashtag1","hashtag2"]},{"1351132504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351132542, 1351132532, 1351132613, 1351132525, 1351132528, 1351132504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17795658111572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:23:32.418046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_45_10414.jpg', '/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_55_10353.jpg', '/home/pi/Desktop/images/10042025/08/52/image_10042025_08_53_04_9339.jpg', '/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_15_10347.jpg', '/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_25_10350.jpg', '/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_55_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_45_10414.jpg
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_52_55_10353.jpg
/home/pi/Desktop/images/10042025/08/52/image_10042025_08_53_04_9339.jpg
/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_15_10347.jpg
/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_25_10350.jpg
/home/pi/Desktop/images/10042025/08/53/image_10042025_08_53_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351132944","1351132833","1351132935","1351132787","1351132867","1351132837"],"photo_ids_order":["1351132787","1351132833","1351132837","1351132867","1351132935","1351132944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45d6dfebd4d65379c7f4cf625d38436f.jpg","text":"TemporaryFile(/tmp/multipartBody3625236653248394328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_53_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eed000ce28d7690a08a0c38b1a9c68c4.jpg","text":"TemporaryFile(/tmp/multipartBody2824458275111535623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_52_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02fe8f1f3f98bad12a89be56bff2311f.jpg","text":"TemporaryFile(/tmp/multipartBody7248552865142081217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_53_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a030c007f9dce0ae1d539ddbb15dc52d.jpg","text":"TemporaryFile(/tmp/multipartBody885881508401827794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_52_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7160a8760238ed6c091cf23c9d835f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7677293613397752074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_53_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c7b5d92d2e844f5e7ca2ab9dd166d83.jpg","text":"TemporaryFile(/tmp/multipartBody5813729146545474662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280672887,"filename":"image_10042025_08_53_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351132837","file1":"1351132833","file0":"1351132787","file4":"1351132935","file5":"1351132944","file3":"1351132867"},"map_files_photo_id_array":[{"photo_id":"1351132944","filename":"file5"},{"photo_id":"1351132837","filename":"file2"},{"photo_id":"1351132935","filename":"file4"},{"photo_id":"1351132833","filename":"file1"},{"photo_id":"1351132787","filename":"file0"},{"photo_id":"1351132867","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351132944":["hashtag1","hashtag2"]},{"1351132833":["hashtag1","hashtag2"]},{"1351132935":["hashtag1","hashtag2"]},{"1351132787":["hashtag1","hashtag2"]},{"1351132867":["hashtag1","hashtag2"]},{"1351132837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351132944, 1351132833, 1351132935, 1351132787, 1351132867, 1351132837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.951493978500366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:24:32.652157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/53/image_10042025_08_54_05_9347.jpg', '/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_15_10415.jpg', '/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_35_10353.jpg', '/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_55_9447.jpg', '/home/pi/Desktop/images/10042025/08/54/image_10042025_08_55_05_10430.jpg', '/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_14_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/53/image_10042025_08_54_05_9347.jpg
/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_15_10415.jpg
/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_35_10353.jpg
/home/pi/Desktop/images/10042025/08/54/image_10042025_08_54_55_9447.jpg
/home/pi/Desktop/images/10042025/08/54/image_10042025_08_55_05_10430.jpg
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_14_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133198","1351133138","1351133194","1351133176","1351133083","1351133179"],"photo_ids_order":["1351133083","1351133138","1351133176","1351133179","1351133194","1351133198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4df33557e73bf4b6550fce489596a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3993065049378744808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_55_14_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0513d20f2d49c549cbb02baa541031f.jpg","text":"TemporaryFile(/tmp/multipartBody8986373953139551664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_54_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e77ec5300ef2767cb5e3fafcf277dcba.jpg","text":"TemporaryFile(/tmp/multipartBody4085576089270904535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_55_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f06c7ebf4ac9601489cbe59b1bc4be8.jpg","text":"TemporaryFile(/tmp/multipartBody6989281886001232213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_54_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c1b01c972e900b38aaeaaa63ad805e6.jpg","text":"TemporaryFile(/tmp/multipartBody4588287713745520295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_54_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3877a7b5b392b7645e922867b148f6c8.jpg","text":"TemporaryFile(/tmp/multipartBody8500405931538136195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280733151,"filename":"image_10042025_08_54_55_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133176","file1":"1351133138","file0":"1351133083","file4":"1351133194","file5":"1351133198","file3":"1351133179"},"map_files_photo_id_array":[{"photo_id":"1351133198","filename":"file5"},{"photo_id":"1351133176","filename":"file2"},{"photo_id":"1351133194","filename":"file4"},{"photo_id":"1351133138","filename":"file1"},{"photo_id":"1351133083","filename":"file0"},{"photo_id":"1351133179","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133198":["hashtag1","hashtag2"]},{"1351133138":["hashtag1","hashtag2"]},{"1351133194":["hashtag1","hashtag2"]},{"1351133176":["hashtag1","hashtag2"]},{"1351133083":["hashtag1","hashtag2"]},{"1351133179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133198, 1351133138, 1351133194, 1351133176, 1351133083, 1351133179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.939788818359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:25:32.842078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_25_10362.jpg', '/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_35_10363.jpg', '/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_45_9398.jpg', '/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_55_10351.jpg', '/home/pi/Desktop/images/10042025/08/55/image_10042025_08_56_04_9452.jpg', '/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_15_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_25_10362.jpg
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_35_10363.jpg
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_45_9398.jpg
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_55_55_10351.jpg
/home/pi/Desktop/images/10042025/08/55/image_10042025_08_56_04_9452.jpg
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_15_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133226","1351133220","1351133231","1351133224","1351133215","1351133235"],"photo_ids_order":["1351133215","1351133220","1351133224","1351133226","1351133231","1351133235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f50e2deb15b33f7201b2dacbe8335d47.jpg","text":"TemporaryFile(/tmp/multipartBody7716634469322066201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_55_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b5b08b4c93b94c4b8905b755d750fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7016980803783084283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_55_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c569b0c5a6ca08bf9e2001627fe7bb19.jpg","text":"TemporaryFile(/tmp/multipartBody6641700128477973562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_56_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40d14feeee5e101638ccea35b4563012.jpg","text":"TemporaryFile(/tmp/multipartBody2348951618343594933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_55_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c87e573dc0972d5de4d9be6dc928790a.jpg","text":"TemporaryFile(/tmp/multipartBody2057672246657901945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_55_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b8b5ba840d9929de2ad1a0a1c311973.jpg","text":"TemporaryFile(/tmp/multipartBody748390499206075397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280793329,"filename":"image_10042025_08_56_15_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133224","file1":"1351133220","file0":"1351133215","file4":"1351133231","file5":"1351133235","file3":"1351133226"},"map_files_photo_id_array":[{"photo_id":"1351133235","filename":"file5"},{"photo_id":"1351133224","filename":"file2"},{"photo_id":"1351133231","filename":"file4"},{"photo_id":"1351133220","filename":"file1"},{"photo_id":"1351133215","filename":"file0"},{"photo_id":"1351133226","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133226":["hashtag1","hashtag2"]},{"1351133220":["hashtag1","hashtag2"]},{"1351133231":["hashtag1","hashtag2"]},{"1351133224":["hashtag1","hashtag2"]},{"1351133215":["hashtag1","hashtag2"]},{"1351133235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133226, 1351133220, 1351133231, 1351133224, 1351133215, 1351133235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12989664077759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:26:33.093639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_25_10356.jpg', '/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_34_9364.jpg', '/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_45_10371.jpg', '/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_55_10407.jpg', '/home/pi/Desktop/images/10042025/08/56/image_10042025_08_57_05_9377.jpg', '/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_25_10356.jpg
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_34_9364.jpg
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_45_10371.jpg
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_56_55_10407.jpg
/home/pi/Desktop/images/10042025/08/56/image_10042025_08_57_05_9377.jpg
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_15_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133310","1351133313","1351133301","1351133306","1351133281","1351133308"],"photo_ids_order":["1351133281","1351133301","1351133306","1351133308","1351133310","1351133313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8e788de2dcfcf0c6bf70118413efc9d.jpg","text":"TemporaryFile(/tmp/multipartBody703541611925950218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_57_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3500ab5c150be949f88c8f2355f2701e.jpg","text":"TemporaryFile(/tmp/multipartBody6223594136119394009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_57_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22f5ad54c656759d93abe7fea384953d.jpg","text":"TemporaryFile(/tmp/multipartBody4932413332774348331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_56_34_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eb02b8b335d15a3f1ca55e96eaa971f.jpg","text":"TemporaryFile(/tmp/multipartBody3618736168978363565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_56_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39037748b709bc09cdd00380cf42826e.jpg","text":"TemporaryFile(/tmp/multipartBody4565772406942105334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_56_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41269d7e7ee22fcb2d244e2cbc83f963.jpg","text":"TemporaryFile(/tmp/multipartBody2812507964551164577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280853557,"filename":"image_10042025_08_56_55_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133306","file1":"1351133301","file0":"1351133281","file4":"1351133310","file5":"1351133313","file3":"1351133308"},"map_files_photo_id_array":[{"photo_id":"1351133313","filename":"file5"},{"photo_id":"1351133306","filename":"file2"},{"photo_id":"1351133310","filename":"file4"},{"photo_id":"1351133301","filename":"file1"},{"photo_id":"1351133281","filename":"file0"},{"photo_id":"1351133308","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133310":["hashtag1","hashtag2"]},{"1351133313":["hashtag1","hashtag2"]},{"1351133301":["hashtag1","hashtag2"]},{"1351133306":["hashtag1","hashtag2"]},{"1351133281":["hashtag1","hashtag2"]},{"1351133308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133310, 1351133313, 1351133301, 1351133306, 1351133281, 1351133308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19167733192444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:27:32.387736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_24_9443.jpg', '/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_35_10401.jpg', '/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_45_10351.jpg', '/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_55_9392.jpg', '/home/pi/Desktop/images/10042025/08/57/image_10042025_08_58_05_10395.jpg', '/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_14_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_24_9443.jpg
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_35_10401.jpg
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_45_10351.jpg
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_57_55_9392.jpg
/home/pi/Desktop/images/10042025/08/57/image_10042025_08_58_05_10395.jpg
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_14_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133346","1351133330","1351133341","1351133344","1351133338","1351133335"],"photo_ids_order":["1351133330","1351133335","1351133338","1351133341","1351133344","1351133346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b3a93d6ef577e1f83589085d8ffe5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7408804762455225140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_58_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f88c4ec4fc4fd8e0edf9a0eed03cf76.jpg","text":"TemporaryFile(/tmp/multipartBody7113519804798621407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_57_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cf7454543396305225cdce0024ce2e8.jpg","text":"TemporaryFile(/tmp/multipartBody13571406089374817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_57_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9671d4553b023e669028fc529bb7cf7a.jpg","text":"TemporaryFile(/tmp/multipartBody3210623406279041787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_58_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3641c8ea853e6253cdbce7e3f4969e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3270498603714310942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_57_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14768ad7f7f996c4e1609acbe08c3cea.jpg","text":"TemporaryFile(/tmp/multipartBody1703211262240980836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280912864,"filename":"image_10042025_08_57_35_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133338","file1":"1351133335","file0":"1351133330","file4":"1351133344","file5":"1351133346","file3":"1351133341"},"map_files_photo_id_array":[{"photo_id":"1351133346","filename":"file5"},{"photo_id":"1351133338","filename":"file2"},{"photo_id":"1351133344","filename":"file4"},{"photo_id":"1351133335","filename":"file1"},{"photo_id":"1351133330","filename":"file0"},{"photo_id":"1351133341","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133346":["hashtag1","hashtag2"]},{"1351133330":["hashtag1","hashtag2"]},{"1351133341":["hashtag1","hashtag2"]},{"1351133344":["hashtag1","hashtag2"]},{"1351133338":["hashtag1","hashtag2"]},{"1351133335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133346, 1351133330, 1351133341, 1351133344, 1351133338, 1351133335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71061944961548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:28:32.575421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_25_10369.jpg', '/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_44_9349.jpg', '/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_55_10424.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_15_10410.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_34_9351.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_25_10369.jpg
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_44_9349.jpg
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_55_10424.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_15_10410.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_34_9351.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_45_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3781607151031494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:28:42.549539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_25_10369.jpg', '/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_44_9349.jpg', '/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_55_10424.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_15_10410.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_34_9351.jpg', '/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_25_10369.jpg
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_44_9349.jpg
/home/pi/Desktop/images/10042025/08/58/image_10042025_08_58_55_10424.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_15_10410.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_34_9351.jpg
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_45_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133471","1351133459","1351133467","1351133443","1351133469","1351133433"],"photo_ids_order":["1351133433","1351133443","1351133459","1351133467","1351133469","1351133471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c757d6e448f0b4566aa931ce680d24d4.jpg","text":"TemporaryFile(/tmp/multipartBody4648661129435282872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_59_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24ff8ee29eddef442de1deed2e2d9485.jpg","text":"TemporaryFile(/tmp/multipartBody8876594909102832461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_58_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6bead153c66e1ee16dc633096697293.jpg","text":"TemporaryFile(/tmp/multipartBody1158119545884523721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_59_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36fb6d62999a9a277380848759944069.jpg","text":"TemporaryFile(/tmp/multipartBody222520370015625752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_58_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67a33c39f098301714d8c1b8f0abe43c.jpg","text":"TemporaryFile(/tmp/multipartBody542378796148670024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_59_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8a312633993f1c77ebb7266e6f92bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6229192663238881743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744280983011,"filename":"image_10042025_08_58_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133459","file1":"1351133443","file0":"1351133433","file4":"1351133469","file5":"1351133471","file3":"1351133467"},"map_files_photo_id_array":[{"photo_id":"1351133471","filename":"file5"},{"photo_id":"1351133459","filename":"file2"},{"photo_id":"1351133469","filename":"file4"},{"photo_id":"1351133443","filename":"file1"},{"photo_id":"1351133433","filename":"file0"},{"photo_id":"1351133467","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133471":["hashtag1","hashtag2"]},{"1351133459":["hashtag1","hashtag2"]},{"1351133467":["hashtag1","hashtag2"]},{"1351133443":["hashtag1","hashtag2"]},{"1351133469":["hashtag1","hashtag2"]},{"1351133433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133471, 1351133459, 1351133467, 1351133443, 1351133469, 1351133433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.231980323791504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:29:32.799795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_55_10347.jpg', '/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_16_10075.jpg', '/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_37_10355.jpg', '/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_46_9334.jpg', '/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_57_10430.jpg', '/home/pi/Desktop/images/10042025/09/00/image_10042025_09_01_07_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/08/59/image_10042025_08_59_55_10347.jpg
/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_16_10075.jpg
/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_37_10355.jpg
/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_46_9334.jpg
/home/pi/Desktop/images/10042025/09/00/image_10042025_09_00_57_10430.jpg
/home/pi/Desktop/images/10042025/09/00/image_10042025_09_01_07_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133604","1351133537","1351133518","1351133608","1351133565","1351133607"],"photo_ids_order":["1351133518","1351133537","1351133565","1351133604","1351133607","1351133608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45f2f8549e9705bb8d252543a6ffe62c.jpg","text":"TemporaryFile(/tmp/multipartBody4959352088100531780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_09_00_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a68ddff0b99f6128ff59e1ac4ac00f59.jpg","text":"TemporaryFile(/tmp/multipartBody7713110588728710902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_09_00_16_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bc81432bbed205e92ba1b8278d4994c.jpg","text":"TemporaryFile(/tmp/multipartBody4538590092970520463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_08_59_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9524e106bccfeb2bda49c65884aa400.jpg","text":"TemporaryFile(/tmp/multipartBody5158930554850698501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_09_01_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7161653feb06d26a4cfa87c22dc19eb9.jpg","text":"TemporaryFile(/tmp/multipartBody6342455147170535970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_09_00_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b76cdf028a613b915ecd949465cfea09.jpg","text":"TemporaryFile(/tmp/multipartBody4223521492855164958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281033268,"filename":"image_10042025_09_00_57_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133565","file1":"1351133537","file0":"1351133518","file4":"1351133607","file5":"1351133608","file3":"1351133604"},"map_files_photo_id_array":[{"photo_id":"1351133608","filename":"file5"},{"photo_id":"1351133565","filename":"file2"},{"photo_id":"1351133607","filename":"file4"},{"photo_id":"1351133537","filename":"file1"},{"photo_id":"1351133518","filename":"file0"},{"photo_id":"1351133604","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133604":["hashtag1","hashtag2"]},{"1351133537":["hashtag1","hashtag2"]},{"1351133518":["hashtag1","hashtag2"]},{"1351133608":["hashtag1","hashtag2"]},{"1351133565":["hashtag1","hashtag2"]},{"1351133607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133604, 1351133537, 1351133518, 1351133608, 1351133565, 1351133607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894225120544434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:30:33.012563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_16_9423.jpg', '/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_27_10387.jpg', '/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_36_9346.jpg', '/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_46_10342.jpg', '/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_57_10362.jpg', '/home/pi/Desktop/images/10042025/09/01/image_10042025_09_02_06_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_16_9423.jpg
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_27_10387.jpg
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_36_9346.jpg
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_46_10342.jpg
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_01_57_10362.jpg
/home/pi/Desktop/images/10042025/09/01/image_10042025_09_02_06_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133642","1351133630","1351133665","1351133644","1351133626","1351133646"],"photo_ids_order":["1351133626","1351133630","1351133642","1351133644","1351133646","1351133665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b171af9378d3ff38489c8018b5a5a04c.jpg","text":"TemporaryFile(/tmp/multipartBody5660487233654567301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_01_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dee447de610d2211da6b5f04dfc917a.jpg","text":"TemporaryFile(/tmp/multipartBody1752253717915486467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_01_27_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edcbb20e7b355241a40c467df7981381.jpg","text":"TemporaryFile(/tmp/multipartBody1177006233212111845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_02_06_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a429c5dd9a75059a8922c5e638ce49b.jpg","text":"TemporaryFile(/tmp/multipartBody2304043671054281743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_01_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e270627c000682de4c3e021bbfa638e.jpg","text":"TemporaryFile(/tmp/multipartBody6252100453542940547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_01_16_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08a6eab7bb7702404ec56dd10a05a445.jpg","text":"TemporaryFile(/tmp/multipartBody3110274151763769593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281093494,"filename":"image_10042025_09_01_57_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133642","file1":"1351133630","file0":"1351133626","file4":"1351133646","file5":"1351133665","file3":"1351133644"},"map_files_photo_id_array":[{"photo_id":"1351133665","filename":"file5"},{"photo_id":"1351133642","filename":"file2"},{"photo_id":"1351133646","filename":"file4"},{"photo_id":"1351133630","filename":"file1"},{"photo_id":"1351133626","filename":"file0"},{"photo_id":"1351133644","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133642":["hashtag1","hashtag2"]},{"1351133630":["hashtag1","hashtag2"]},{"1351133665":["hashtag1","hashtag2"]},{"1351133644":["hashtag1","hashtag2"]},{"1351133626":["hashtag1","hashtag2"]},{"1351133646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133642, 1351133630, 1351133665, 1351133644, 1351133626, 1351133646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33818197250366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:31:33.076364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_17_10431.jpg', '/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_26_9338.jpg', '/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_36_10426.jpg', '/home/pi/Desktop/images/10042025/09/03/image_10042025_09_03_26_10374.jpg', '/home/pi/Desktop/images/10042025/09/03/image_10042025_09_03_37_10426.jpg', '/home/pi/Desktop/images/10042025/09/03/image_10042025_09_04_06_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_17_10431.jpg
/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_26_9338.jpg
/home/pi/Desktop/images/10042025/09/02/image_10042025_09_02_36_10426.jpg
/home/pi/Desktop/images/10042025/09/03/image_10042025_09_03_26_10374.jpg
/home/pi/Desktop/images/10042025/09/03/image_10042025_09_03_37_10426.jpg
/home/pi/Desktop/images/10042025/09/03/image_10042025_09_04_06_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351133913","1351133907","1351133942","1351133950","1351133947","1351133952"],"photo_ids_order":["1351133907","1351133913","1351133942","1351133947","1351133950","1351133952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e24772078bbae51c76a7a4fefee185b1.jpg","text":"TemporaryFile(/tmp/multipartBody117803130422970236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_02_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faba33f10e32d31829a6107d9f9e693e.jpg","text":"TemporaryFile(/tmp/multipartBody4025898240030258492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_02_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88f4fc966a236b13ec1a9b95a1e95078.jpg","text":"TemporaryFile(/tmp/multipartBody3893588168982939369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_02_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58ed199a2140ac5a924b8ae95e53d954.jpg","text":"TemporaryFile(/tmp/multipartBody7198902019437038963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_03_37_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc52198031bf6ed179085979e8c0394a.jpg","text":"TemporaryFile(/tmp/multipartBody4417668714613247045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_03_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1da006b8b9580101913dd50a309408c6.jpg","text":"TemporaryFile(/tmp/multipartBody6739145073159480448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281153542,"filename":"image_10042025_09_04_06_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351133942","file1":"1351133913","file0":"1351133907","file4":"1351133950","file5":"1351133952","file3":"1351133947"},"map_files_photo_id_array":[{"photo_id":"1351133952","filename":"file5"},{"photo_id":"1351133942","filename":"file2"},{"photo_id":"1351133950","filename":"file4"},{"photo_id":"1351133913","filename":"file1"},{"photo_id":"1351133907","filename":"file0"},{"photo_id":"1351133947","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351133913":["hashtag1","hashtag2"]},{"1351133907":["hashtag1","hashtag2"]},{"1351133942":["hashtag1","hashtag2"]},{"1351133950":["hashtag1","hashtag2"]},{"1351133947":["hashtag1","hashtag2"]},{"1351133952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351133913, 1351133907, 1351133942, 1351133950, 1351133947, 1351133952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98257875442505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:32:32.239280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_16_10387.jpg', '/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_27_10367.jpg', '/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_36_9348.jpg', '/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_47_10442.jpg', '/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_17_10350.jpg', '/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_26_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_16_10387.jpg
/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_27_10367.jpg
/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_36_9348.jpg
/home/pi/Desktop/images/10042025/09/04/image_10042025_09_04_47_10442.jpg
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_17_10350.jpg
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_26_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351134259","1351134052","1351134075","1351134312","1351134120","1351134216"],"photo_ids_order":["1351134052","1351134075","1351134120","1351134216","1351134259","1351134312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a0c25bed72179ce75b7f01f78dda59a.jpg","text":"TemporaryFile(/tmp/multipartBody6737787106794370296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_05_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/806c9d97e689043c9ab2c99072ac6624.jpg","text":"TemporaryFile(/tmp/multipartBody9132106211964829731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_04_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41afe9999385ce3e7ff4717d38aa82bb.jpg","text":"TemporaryFile(/tmp/multipartBody7826649603247555143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_04_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cadc43f6565026cfa4a1d21858a603cb.jpg","text":"TemporaryFile(/tmp/multipartBody1304450432871564002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_05_26_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae165cb4645543ff008a423859d0647c.jpg","text":"TemporaryFile(/tmp/multipartBody170450589929750482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_04_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24bb1a676b2cec25ca0a8d025c2bc3d5.jpg","text":"TemporaryFile(/tmp/multipartBody137263009349271706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281212713,"filename":"image_10042025_09_04_47_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351134120","file1":"1351134075","file0":"1351134052","file4":"1351134259","file5":"1351134312","file3":"1351134216"},"map_files_photo_id_array":[{"photo_id":"1351134312","filename":"file5"},{"photo_id":"1351134120","filename":"file2"},{"photo_id":"1351134259","filename":"file4"},{"photo_id":"1351134075","filename":"file1"},{"photo_id":"1351134052","filename":"file0"},{"photo_id":"1351134216","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351134259":["hashtag1","hashtag2"]},{"1351134052":["hashtag1","hashtag2"]},{"1351134075":["hashtag1","hashtag2"]},{"1351134312":["hashtag1","hashtag2"]},{"1351134120":["hashtag1","hashtag2"]},{"1351134216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351134259, 1351134052, 1351134075, 1351134312, 1351134120, 1351134216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.541850328445435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:33:32.428031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_36_10339.jpg', '/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_47_10397.jpg', '/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_56_9394.jpg', '/home/pi/Desktop/images/10042025/09/05/image_10042025_09_06_07_10390.jpg', '/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_17_10342.jpg', '/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_26_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_36_10339.jpg
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_47_10397.jpg
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_05_56_9394.jpg
/home/pi/Desktop/images/10042025/09/05/image_10042025_09_06_07_10390.jpg
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_17_10342.jpg
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_26_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351134506","1351134509","1351134532","1351134648","1351134528","1351134650"],"photo_ids_order":["1351134506","1351134509","1351134528","1351134532","1351134648","1351134650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b603dad63aac9267c05af1081f48813.jpg","text":"TemporaryFile(/tmp/multipartBody8077625479601215754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_05_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e52c5868c813dbb27cb3199f3ffabf79.jpg","text":"TemporaryFile(/tmp/multipartBody1933509842532143013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_05_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5d57b26e22b8a3151dc5be990533c90.jpg","text":"TemporaryFile(/tmp/multipartBody6169330120567029365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_06_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b01a6569b6b92e8636a6da8d9014ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3796009110115260390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_06_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff501a23176ffeed5e1632ee6d93bbb3.jpg","text":"TemporaryFile(/tmp/multipartBody2228307346356320493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_05_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2c3ed785263ed7cdf82e615e8968cef.jpg","text":"TemporaryFile(/tmp/multipartBody6595615059104373950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281272887,"filename":"image_10042025_09_06_26_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351134528","file1":"1351134509","file0":"1351134506","file4":"1351134648","file5":"1351134650","file3":"1351134532"},"map_files_photo_id_array":[{"photo_id":"1351134650","filename":"file5"},{"photo_id":"1351134528","filename":"file2"},{"photo_id":"1351134648","filename":"file4"},{"photo_id":"1351134509","filename":"file1"},{"photo_id":"1351134506","filename":"file0"},{"photo_id":"1351134532","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351134506":["hashtag1","hashtag2"]},{"1351134509":["hashtag1","hashtag2"]},{"1351134532":["hashtag1","hashtag2"]},{"1351134648":["hashtag1","hashtag2"]},{"1351134528":["hashtag1","hashtag2"]},{"1351134650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351134506, 1351134509, 1351134532, 1351134648, 1351134528, 1351134650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.263543367385864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:34:32.604257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_37_10444.jpg', '/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_46_9356.jpg', '/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_57_10450.jpg', '/home/pi/Desktop/images/10042025/09/06/image_10042025_09_07_06_9354.jpg', '/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_16_10420.jpg', '/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_27_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_37_10444.jpg
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_46_9356.jpg
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_06_57_10450.jpg
/home/pi/Desktop/images/10042025/09/06/image_10042025_09_07_06_9354.jpg
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_16_10420.jpg
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_27_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351134836","1351134886","1351134880","1351134879","1351134888","1351134884"],"photo_ids_order":["1351134836","1351134879","1351134880","1351134884","1351134886","1351134888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cf1e54e5d06b178e87588a7ac31eb3d.jpg","text":"TemporaryFile(/tmp/multipartBody5872703465164380967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_06_37_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a390ce1dac768e55bbdd87046b246c76.jpg","text":"TemporaryFile(/tmp/multipartBody3923532316427299800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_07_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b46571dc346a8825feb3dc0b35a5e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7285336781539876176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_06_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40f69d672dbf1a5204d5950b8387da83.jpg","text":"TemporaryFile(/tmp/multipartBody7819089182629592092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_06_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0847bd196aae36562da178facdb83875.jpg","text":"TemporaryFile(/tmp/multipartBody1925598594019134540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_07_27_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efc7db85ade5e7b0c86c91eb046e0ed8.jpg","text":"TemporaryFile(/tmp/multipartBody8549253737513954230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281333074,"filename":"image_10042025_09_07_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351134880","file1":"1351134879","file0":"1351134836","file4":"1351134886","file5":"1351134888","file3":"1351134884"},"map_files_photo_id_array":[{"photo_id":"1351134888","filename":"file5"},{"photo_id":"1351134880","filename":"file2"},{"photo_id":"1351134886","filename":"file4"},{"photo_id":"1351134879","filename":"file1"},{"photo_id":"1351134836","filename":"file0"},{"photo_id":"1351134884","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351134836":["hashtag1","hashtag2"]},{"1351134886":["hashtag1","hashtag2"]},{"1351134880":["hashtag1","hashtag2"]},{"1351134879":["hashtag1","hashtag2"]},{"1351134888":["hashtag1","hashtag2"]},{"1351134884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351134836, 1351134886, 1351134880, 1351134879, 1351134888, 1351134884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.23918581008911 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:35:42.871658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_36_9362.jpg', '/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_47_10405.jpg', '/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_56_9355.jpg', '/home/pi/Desktop/images/10042025/09/07/image_10042025_09_08_06_10451.jpg', '/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_17_10346.jpg', '/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_26_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_36_9362.jpg
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_47_10405.jpg
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_07_56_9355.jpg
/home/pi/Desktop/images/10042025/09/07/image_10042025_09_08_06_10451.jpg
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_17_10346.jpg
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_26_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351134938","1351134923","1351134961","1351134904","1351134934","1351134945"],"photo_ids_order":["1351134904","1351134923","1351134934","1351134938","1351134945","1351134961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b07fda5d859684c316e55a5bb31485a6.jpg","text":"TemporaryFile(/tmp/multipartBody5286559792045200769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_08_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b323bb311c0d1fbea5e5389f254ea65.jpg","text":"TemporaryFile(/tmp/multipartBody8410462937509370641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_07_47_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ade43b7d31620489d6159adabeede519.jpg","text":"TemporaryFile(/tmp/multipartBody8762448804026367473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_08_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f607ad49812766de44290866ee6fba3f.jpg","text":"TemporaryFile(/tmp/multipartBody2856870821025835801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_07_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf0e4126fd6f2a8440ff730ce45c624f.jpg","text":"TemporaryFile(/tmp/multipartBody1285955030246774753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_07_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6a61d54cfa691d9344c309cd5b60ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1518163099713179933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281403342,"filename":"image_10042025_09_08_17_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351134934","file1":"1351134923","file0":"1351134904","file4":"1351134945","file5":"1351134961","file3":"1351134938"},"map_files_photo_id_array":[{"photo_id":"1351134961","filename":"file5"},{"photo_id":"1351134934","filename":"file2"},{"photo_id":"1351134945","filename":"file4"},{"photo_id":"1351134923","filename":"file1"},{"photo_id":"1351134904","filename":"file0"},{"photo_id":"1351134938","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351134938":["hashtag1","hashtag2"]},{"1351134923":["hashtag1","hashtag2"]},{"1351134961":["hashtag1","hashtag2"]},{"1351134904":["hashtag1","hashtag2"]},{"1351134934":["hashtag1","hashtag2"]},{"1351134945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351134938, 1351134923, 1351134961, 1351134904, 1351134934, 1351134945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08996820449829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:36:33.000481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_37_10431.jpg', '/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_47_10359.jpg', '/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_56_9417.jpg', '/home/pi/Desktop/images/10042025/09/08/image_10042025_09_09_07_10375.jpg', '/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_16_9337.jpg', '/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_26_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_37_10431.jpg
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_47_10359.jpg
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_08_56_9417.jpg
/home/pi/Desktop/images/10042025/09/08/image_10042025_09_09_07_10375.jpg
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_16_9337.jpg
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_26_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135016","1351134985","1351135051","1351135003","1351135061","1351135064"],"photo_ids_order":["1351134985","1351135003","1351135016","1351135051","1351135061","1351135064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db958f644205e7104bc207c396e359d9.jpg","text":"TemporaryFile(/tmp/multipartBody7116005361831638907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_08_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f617ca4e4bcabf8a8c74b13654b0ea32.jpg","text":"TemporaryFile(/tmp/multipartBody1019662759800041434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_08_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1db9b2d074b5e6b88faec02dca9b2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1825243953906388638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_09_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ea85a949d3d089ede8ec49037950335.jpg","text":"TemporaryFile(/tmp/multipartBody3787786165741604387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_08_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c7db985eb3b75543c8cfd57b45f1edd.jpg","text":"TemporaryFile(/tmp/multipartBody7674287195060709304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_09_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93f5056320717a2f95aeb3723aa42cca.jpg","text":"TemporaryFile(/tmp/multipartBody9110756860331420704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281453479,"filename":"image_10042025_09_09_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135016","file1":"1351135003","file0":"1351134985","file4":"1351135061","file5":"1351135064","file3":"1351135051"},"map_files_photo_id_array":[{"photo_id":"1351135064","filename":"file5"},{"photo_id":"1351135016","filename":"file2"},{"photo_id":"1351135061","filename":"file4"},{"photo_id":"1351135003","filename":"file1"},{"photo_id":"1351134985","filename":"file0"},{"photo_id":"1351135051","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135016":["hashtag1","hashtag2"]},{"1351134985":["hashtag1","hashtag2"]},{"1351135051":["hashtag1","hashtag2"]},{"1351135003":["hashtag1","hashtag2"]},{"1351135061":["hashtag1","hashtag2"]},{"1351135064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135016, 1351134985, 1351135051, 1351135003, 1351135061, 1351135064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.987462282180786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:37:32.178324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_37_10433.jpg', '/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_46_9403.jpg', '/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_57_10371.jpg', '/home/pi/Desktop/images/10042025/09/09/image_10042025_09_10_06_9347.jpg', '/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_16_10360.jpg', '/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_27_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_37_10433.jpg
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_46_9403.jpg
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_09_57_10371.jpg
/home/pi/Desktop/images/10042025/09/09/image_10042025_09_10_06_9347.jpg
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_16_10360.jpg
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_27_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135208","1351135264","1351135339","1351135298","1351135196","1351135376"],"photo_ids_order":["1351135196","1351135208","1351135264","1351135298","1351135339","1351135376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc00238b661c95676c09e2b3b3dd67b4.jpg","text":"TemporaryFile(/tmp/multipartBody4833351085298575760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_09_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/111e2e11922052a0ee56875be4ad971d.jpg","text":"TemporaryFile(/tmp/multipartBody3096460188527104335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_09_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff64800d157d61a5d514e6cffd6dd2c1.jpg","text":"TemporaryFile(/tmp/multipartBody833647128252920966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_10_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/290d6cf2188ea145262ac5fa97adb092.jpg","text":"TemporaryFile(/tmp/multipartBody4688904691502036635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_10_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee898048927a023ecdd6b862019601dd.jpg","text":"TemporaryFile(/tmp/multipartBody2125125097944008454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_09_37_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b42ac768fb18bd2e15209fde8545426.jpg","text":"TemporaryFile(/tmp/multipartBody2128958667493589527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281512639,"filename":"image_10042025_09_10_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135264","file1":"1351135208","file0":"1351135196","file4":"1351135339","file5":"1351135376","file3":"1351135298"},"map_files_photo_id_array":[{"photo_id":"1351135376","filename":"file5"},{"photo_id":"1351135264","filename":"file2"},{"photo_id":"1351135339","filename":"file4"},{"photo_id":"1351135208","filename":"file1"},{"photo_id":"1351135196","filename":"file0"},{"photo_id":"1351135298","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135208":["hashtag1","hashtag2"]},{"1351135264":["hashtag1","hashtag2"]},{"1351135339":["hashtag1","hashtag2"]},{"1351135298":["hashtag1","hashtag2"]},{"1351135196":["hashtag1","hashtag2"]},{"1351135376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135208, 1351135264, 1351135339, 1351135298, 1351135196, 1351135376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.35766363143921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:38:32.493919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_36_9353.jpg', '/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_47_10464.jpg', '/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_56_9469.jpg', '/home/pi/Desktop/images/10042025/09/10/image_10042025_09_11_06_10372.jpg', '/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_17_10387.jpg', '/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_26_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_36_9353.jpg
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_47_10464.jpg
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_10_56_9469.jpg
/home/pi/Desktop/images/10042025/09/10/image_10042025_09_11_06_10372.jpg
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_17_10387.jpg
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_26_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135495","1351135474","1351135462","1351135453","1351135494","1351135500"],"photo_ids_order":["1351135453","1351135462","1351135474","1351135494","1351135495","1351135500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01e141bd1261857082b19ff860c5cf57.jpg","text":"TemporaryFile(/tmp/multipartBody7458333715846609361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_11_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cedeb3f297e1d36afdf0d23b9f665d21.jpg","text":"TemporaryFile(/tmp/multipartBody6864240066983389513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_10_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/761c3984ba7e614a8f40554a69e8a54e.jpg","text":"TemporaryFile(/tmp/multipartBody5503187715168185534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_10_47_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89ad8ca5ce3a751ca1d7f5a6c862bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody3819313653323482907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_10_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6d34a2f0700c3f8103b3b930b9f0844.jpg","text":"TemporaryFile(/tmp/multipartBody6132884233393554911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_11_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6350380563a855993c0240b474fdf4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7430605341485945455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281572953,"filename":"image_10042025_09_11_26_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135474","file1":"1351135462","file0":"1351135453","file4":"1351135495","file5":"1351135500","file3":"1351135494"},"map_files_photo_id_array":[{"photo_id":"1351135500","filename":"file5"},{"photo_id":"1351135474","filename":"file2"},{"photo_id":"1351135495","filename":"file4"},{"photo_id":"1351135462","filename":"file1"},{"photo_id":"1351135453","filename":"file0"},{"photo_id":"1351135494","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135495":["hashtag1","hashtag2"]},{"1351135474":["hashtag1","hashtag2"]},{"1351135462":["hashtag1","hashtag2"]},{"1351135453":["hashtag1","hashtag2"]},{"1351135494":["hashtag1","hashtag2"]},{"1351135500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135495, 1351135474, 1351135462, 1351135453, 1351135494, 1351135500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.81704878807068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:39:42.617330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_37_10348.jpg', '/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_46_9351.jpg', '/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_56_10512.jpg', '/home/pi/Desktop/images/10042025/09/11/image_10042025_09_12_07_10339.jpg', '/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_17_9677.jpg', '/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_36_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_37_10348.jpg
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_46_9351.jpg
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_11_56_10512.jpg
/home/pi/Desktop/images/10042025/09/11/image_10042025_09_12_07_10339.jpg
/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_17_9677.jpg
/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_36_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135829","1351135831","1351135827","1351135818","1351135806","1351135796"],"photo_ids_order":["1351135796","1351135806","1351135818","1351135827","1351135829","1351135831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a7ce73b5e42425d8ad6ad750ffc0490.jpg","text":"TemporaryFile(/tmp/multipartBody4916120884144536846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_12_17_9677.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57ed64a08ef86d1d67fc8bc22866399c.jpg","text":"TemporaryFile(/tmp/multipartBody5605209137899583465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_12_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6193da1b9fc6fd6ab46d95090d39a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3198449732719956707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_12_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7f284f70a96d76a5d32c3853a0ef70d.jpg","text":"TemporaryFile(/tmp/multipartBody4373129586389190275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_11_56_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a4063640f254af98a977476a00b9a69.jpg","text":"TemporaryFile(/tmp/multipartBody4789716660288120946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_11_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d364d9360020414334c68d6e8f3e7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2074742163698887006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281643079,"filename":"image_10042025_09_11_37_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135818","file1":"1351135806","file0":"1351135796","file4":"1351135829","file5":"1351135831","file3":"1351135827"},"map_files_photo_id_array":[{"photo_id":"1351135831","filename":"file5"},{"photo_id":"1351135818","filename":"file2"},{"photo_id":"1351135829","filename":"file4"},{"photo_id":"1351135806","filename":"file1"},{"photo_id":"1351135796","filename":"file0"},{"photo_id":"1351135827","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135829":["hashtag1","hashtag2"]},{"1351135831":["hashtag1","hashtag2"]},{"1351135827":["hashtag1","hashtag2"]},{"1351135818":["hashtag1","hashtag2"]},{"1351135806":["hashtag1","hashtag2"]},{"1351135796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135829, 1351135831, 1351135827, 1351135818, 1351135806, 1351135796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.622023582458496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:40:32.753983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_47_10452.jpg', '/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_56_9349.jpg', '/home/pi/Desktop/images/10042025/09/12/image_10042025_09_13_06_10355.jpg', '/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_17_10395.jpg', '/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_26_9369.jpg', '/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_47_10452.jpg
/home/pi/Desktop/images/10042025/09/12/image_10042025_09_12_56_9349.jpg
/home/pi/Desktop/images/10042025/09/12/image_10042025_09_13_06_10355.jpg
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_17_10395.jpg
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_26_9369.jpg
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135873","1351135858","1351135881","1351135878","1351135868","1351135862"],"photo_ids_order":["1351135858","1351135862","1351135868","1351135873","1351135878","1351135881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26c889bb381f7aef1022d8ade4790e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8006274964780375942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_13_17_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a75919ac38ffcd398f2df3a1972f11e0.jpg","text":"TemporaryFile(/tmp/multipartBody5461384179868553444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_12_47_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7f9c4d096f45ae63e4309ca3ec83dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7960145695575293182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_13_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/962e4f596577bbe42808c7c0e53955ca.jpg","text":"TemporaryFile(/tmp/multipartBody3415314956508527439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_13_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/114b5130ef8f34c31003b6f1c714cef8.jpg","text":"TemporaryFile(/tmp/multipartBody663604288194181581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_13_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6adb98c65cfc4a45fb837a1864cd0ef9.jpg","text":"TemporaryFile(/tmp/multipartBody303847501141063511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281693217,"filename":"image_10042025_09_12_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135868","file1":"1351135862","file0":"1351135858","file4":"1351135878","file5":"1351135881","file3":"1351135873"},"map_files_photo_id_array":[{"photo_id":"1351135881","filename":"file5"},{"photo_id":"1351135868","filename":"file2"},{"photo_id":"1351135878","filename":"file4"},{"photo_id":"1351135862","filename":"file1"},{"photo_id":"1351135858","filename":"file0"},{"photo_id":"1351135873","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135873":["hashtag1","hashtag2"]},{"1351135858":["hashtag1","hashtag2"]},{"1351135881":["hashtag1","hashtag2"]},{"1351135878":["hashtag1","hashtag2"]},{"1351135868":["hashtag1","hashtag2"]},{"1351135862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135873, 1351135858, 1351135881, 1351135878, 1351135868, 1351135862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01566767692566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:41:32.862685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_47_10371.jpg', '/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_56_9417.jpg', '/home/pi/Desktop/images/10042025/09/13/image_10042025_09_14_07_10335.jpg', '/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_16_9353.jpg', '/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_26_10479.jpg', '/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_37_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_47_10371.jpg
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_13_56_9417.jpg
/home/pi/Desktop/images/10042025/09/13/image_10042025_09_14_07_10335.jpg
/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_16_9353.jpg
/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_26_10479.jpg
/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_37_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351135907","1351135891","1351135894","1351135903","1351135911","1351135898"],"photo_ids_order":["1351135891","1351135894","1351135898","1351135903","1351135907","1351135911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edccf4efd6089706debd8b2bc961b8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1786913640153511393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_14_26_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97f73250084b53d3f41a77afd3dff1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1866390390663721147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_13_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85d8a60282dca5411a1b367ab469b06c.jpg","text":"TemporaryFile(/tmp/multipartBody7726886945147699263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_13_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec914bc054d0f81ff702cf050d33d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5515846430620649404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_14_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/923bf66a2016a253a0971cb36cbbd312.jpg","text":"TemporaryFile(/tmp/multipartBody3562536364565786066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_14_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86d8fae6a03cb5e044befcefdfdc69b3.jpg","text":"TemporaryFile(/tmp/multipartBody5215840205116398765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281753320,"filename":"image_10042025_09_14_07_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135898","file1":"1351135894","file0":"1351135891","file4":"1351135907","file5":"1351135911","file3":"1351135903"},"map_files_photo_id_array":[{"photo_id":"1351135911","filename":"file5"},{"photo_id":"1351135898","filename":"file2"},{"photo_id":"1351135907","filename":"file4"},{"photo_id":"1351135894","filename":"file1"},{"photo_id":"1351135891","filename":"file0"},{"photo_id":"1351135903","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351135907":["hashtag1","hashtag2"]},{"1351135891":["hashtag1","hashtag2"]},{"1351135894":["hashtag1","hashtag2"]},{"1351135903":["hashtag1","hashtag2"]},{"1351135911":["hashtag1","hashtag2"]},{"1351135898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351135907, 1351135891, 1351135894, 1351135903, 1351135911, 1351135898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33855891227722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:42:33.039417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_57_10413.jpg', '/home/pi/Desktop/images/10042025/09/14/image_10042025_09_15_07_10351.jpg', '/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_16_9436.jpg', '/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_27_10355.jpg', '/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_36_9357.jpg', '/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/14/image_10042025_09_14_57_10413.jpg
/home/pi/Desktop/images/10042025/09/14/image_10042025_09_15_07_10351.jpg
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_16_9436.jpg
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_27_10355.jpg
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_36_9357.jpg
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351136038","1351135948","1351136005","1351136001","1351135952","1351135982"],"photo_ids_order":["1351135948","1351135952","1351135982","1351136001","1351136005","1351136038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e7b1021e959a7081435beee4f23c63b.jpg","text":"TemporaryFile(/tmp/multipartBody7964137193262825139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_15_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a03c9f065e0f9c1d708f2b7f8b24979.jpg","text":"TemporaryFile(/tmp/multipartBody5919075675658905967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_14_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/701a1d82be62bd077d1c4e411215a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5656652795425262917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_15_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a682ebb9575f2a546b7ad7778c3700c.jpg","text":"TemporaryFile(/tmp/multipartBody3583951199227293276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_15_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/980bb5426e697bb27e39b4b6a78cd0ac.jpg","text":"TemporaryFile(/tmp/multipartBody8331205869364584916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_15_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/389069387872b92d883a12483b605dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6130135833497277274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281813517,"filename":"image_10042025_09_15_16_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351135982","file1":"1351135952","file0":"1351135948","file4":"1351136005","file5":"1351136038","file3":"1351136001"},"map_files_photo_id_array":[{"photo_id":"1351136038","filename":"file5"},{"photo_id":"1351135982","filename":"file2"},{"photo_id":"1351136005","filename":"file4"},{"photo_id":"1351135952","filename":"file1"},{"photo_id":"1351135948","filename":"file0"},{"photo_id":"1351136001","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351136038":["hashtag1","hashtag2"]},{"1351135948":["hashtag1","hashtag2"]},{"1351136005":["hashtag1","hashtag2"]},{"1351136001":["hashtag1","hashtag2"]},{"1351135952":["hashtag1","hashtag2"]},{"1351135982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351136038, 1351135948, 1351136005, 1351136001, 1351135952, 1351135982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.63347792625427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:43:32.320824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_57_10353.jpg', '/home/pi/Desktop/images/10042025/09/15/image_10042025_09_16_06_9346.jpg', '/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_17_10460.jpg', '/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_26_9361.jpg', '/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_36_10497.jpg', '/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_47_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_15_57_10353.jpg
/home/pi/Desktop/images/10042025/09/15/image_10042025_09_16_06_9346.jpg
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_17_10460.jpg
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_26_9361.jpg
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_36_10497.jpg
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_47_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351136416","1351136248","1351136227","1351136297","1351136273","1351136348"],"photo_ids_order":["1351136227","1351136248","1351136273","1351136297","1351136348","1351136416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da38d2a2284bfeb61edd60a98ff18ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6895993924788904838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_16_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/030c2b818e752f81bc7777bc83a74055.jpg","text":"TemporaryFile(/tmp/multipartBody2938041197767101546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_16_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea3d40793e42a41f9d375f77da8919db.jpg","text":"TemporaryFile(/tmp/multipartBody3704021119795909275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_15_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bec5ff6a3cc15eb5366064daaa29d84f.jpg","text":"TemporaryFile(/tmp/multipartBody77833871874714872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_16_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d5e8f5421c6482e88fbc9a832b31260.jpg","text":"TemporaryFile(/tmp/multipartBody5315500833699260676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_16_17_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0035a31ea99b834922b9bc37abceb43.jpg","text":"TemporaryFile(/tmp/multipartBody4216022957141780984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281872782,"filename":"image_10042025_09_16_36_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351136273","file1":"1351136248","file0":"1351136227","file4":"1351136348","file5":"1351136416","file3":"1351136297"},"map_files_photo_id_array":[{"photo_id":"1351136416","filename":"file5"},{"photo_id":"1351136273","filename":"file2"},{"photo_id":"1351136348","filename":"file4"},{"photo_id":"1351136248","filename":"file1"},{"photo_id":"1351136227","filename":"file0"},{"photo_id":"1351136297","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351136416":["hashtag1","hashtag2"]},{"1351136248":["hashtag1","hashtag2"]},{"1351136227":["hashtag1","hashtag2"]},{"1351136297":["hashtag1","hashtag2"]},{"1351136273":["hashtag1","hashtag2"]},{"1351136348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351136416, 1351136248, 1351136227, 1351136297, 1351136273, 1351136348)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351136273 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_17_10460.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.02821183204651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:44:32.515959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_56_9359.jpg', '/home/pi/Desktop/images/10042025/09/16/image_10042025_09_17_07_10437.jpg', '/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_16_9346.jpg', '/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_26_10389.jpg', '/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_37_10344.jpg', '/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_46_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_16_56_9359.jpg
/home/pi/Desktop/images/10042025/09/16/image_10042025_09_17_07_10437.jpg
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_16_9346.jpg
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_26_10389.jpg
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_37_10344.jpg
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_46_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351137093","1351137008","1351137209","1351136930","1351137151","1351137052"],"photo_ids_order":["1351136930","1351137008","1351137052","1351137093","1351137151","1351137209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a358a19069f53d67e07e712898000c81.jpg","text":"TemporaryFile(/tmp/multipartBody2044407075139124554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_17_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d921af7aa86f93279b99c8b722922b2.jpg","text":"TemporaryFile(/tmp/multipartBody5297878072581229639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_17_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/333339c4089ccc51689d4cf4df5b93d3.jpg","text":"TemporaryFile(/tmp/multipartBody5784680588952003561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_17_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45ee2163e8be36761e553921c73446bd.jpg","text":"TemporaryFile(/tmp/multipartBody1330780844420670004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_16_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4d087d1e5b711d2ae85237d12229e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4952256332631814036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_17_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eb2a97e3f30967aca0a686e7984dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody7356450250965330148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281932973,"filename":"image_10042025_09_17_16_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351137052","file1":"1351137008","file0":"1351136930","file4":"1351137151","file5":"1351137209","file3":"1351137093"},"map_files_photo_id_array":[{"photo_id":"1351137209","filename":"file5"},{"photo_id":"1351137052","filename":"file2"},{"photo_id":"1351137151","filename":"file4"},{"photo_id":"1351137008","filename":"file1"},{"photo_id":"1351136930","filename":"file0"},{"photo_id":"1351137093","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351137093":["hashtag1","hashtag2"]},{"1351137008":["hashtag1","hashtag2"]},{"1351137209":["hashtag1","hashtag2"]},{"1351136930":["hashtag1","hashtag2"]},{"1351137151":["hashtag1","hashtag2"]},{"1351137052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351137093, 1351137008, 1351137209, 1351136930, 1351137151, 1351137052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.434889793395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:45:32.730201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_56_10378.jpg', '/home/pi/Desktop/images/10042025/09/17/image_10042025_09_18_07_10344.jpg', '/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_16_9327.jpg', '/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_26_10355.jpg', '/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_37_10353.jpg', '/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_46_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_17_56_10378.jpg
/home/pi/Desktop/images/10042025/09/17/image_10042025_09_18_07_10344.jpg
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_16_9327.jpg
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_26_10355.jpg
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_37_10353.jpg
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_46_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351137377","1351137365","1351137370","1351137373","1351137367","1351137376"],"photo_ids_order":["1351137365","1351137367","1351137370","1351137373","1351137376","1351137377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88bfd18c2f69930e46ce5eda2df22324.jpg","text":"TemporaryFile(/tmp/multipartBody3346583568893461012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_18_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60f20d5942e4875d2a8a62a6eb49a606.jpg","text":"TemporaryFile(/tmp/multipartBody8435228427932995070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_17_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e96bb8f0097b4e1ed06515c42d2209e.jpg","text":"TemporaryFile(/tmp/multipartBody2880032686345522725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_18_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a254298e4409691971ba67cc2bd4f33.jpg","text":"TemporaryFile(/tmp/multipartBody1283409105240245442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_18_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4989f07ee536caffb06b1cd45ae0481f.jpg","text":"TemporaryFile(/tmp/multipartBody7153946857835818217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_18_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ebcdcfa025b2e6363eea3cd2857646d.jpg","text":"TemporaryFile(/tmp/multipartBody634416436751160969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744281993204,"filename":"image_10042025_09_18_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351137370","file1":"1351137367","file0":"1351137365","file4":"1351137376","file5":"1351137377","file3":"1351137373"},"map_files_photo_id_array":[{"photo_id":"1351137377","filename":"file5"},{"photo_id":"1351137370","filename":"file2"},{"photo_id":"1351137376","filename":"file4"},{"photo_id":"1351137367","filename":"file1"},{"photo_id":"1351137365","filename":"file0"},{"photo_id":"1351137373","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351137377":["hashtag1","hashtag2"]},{"1351137365":["hashtag1","hashtag2"]},{"1351137370":["hashtag1","hashtag2"]},{"1351137373":["hashtag1","hashtag2"]},{"1351137367":["hashtag1","hashtag2"]},{"1351137376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351137377, 1351137365, 1351137370, 1351137373, 1351137367, 1351137376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.639615535736084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:46:32.832818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_57_10420.jpg', '/home/pi/Desktop/images/10042025/09/18/image_10042025_09_19_06_9341.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_16_10456.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_27_10433.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_36_9328.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_47_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_18_57_10420.jpg
/home/pi/Desktop/images/10042025/09/18/image_10042025_09_19_06_9341.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_16_10456.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_27_10433.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_36_9328.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_47_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351137483","1351137462","1351137455","1351137446","1351137478","1351137457"],"photo_ids_order":["1351137446","1351137455","1351137457","1351137462","1351137478","1351137483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d85028096e3003bfae8c7fa1f37cde5d.jpg","text":"TemporaryFile(/tmp/multipartBody1167089485358056404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_19_47_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e38984e11d3d18b822af086f4713e27.jpg","text":"TemporaryFile(/tmp/multipartBody271218855892277199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_19_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49fb6df12172ebf19ede782059049c70.jpg","text":"TemporaryFile(/tmp/multipartBody7941884663879063200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_19_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7aad6de8f32c8143bbffa9e4d600f498.jpg","text":"TemporaryFile(/tmp/multipartBody4327464060032248291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_18_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32aff270b9182015f86e2dbcc69ecda5.jpg","text":"TemporaryFile(/tmp/multipartBody2308741529231518475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_19_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6286d963c19bda97a4b177d96019723a.jpg","text":"TemporaryFile(/tmp/multipartBody6837176111489836350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282053292,"filename":"image_10042025_09_19_16_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351137457","file1":"1351137455","file0":"1351137446","file4":"1351137478","file5":"1351137483","file3":"1351137462"},"map_files_photo_id_array":[{"photo_id":"1351137483","filename":"file5"},{"photo_id":"1351137457","filename":"file2"},{"photo_id":"1351137478","filename":"file4"},{"photo_id":"1351137455","filename":"file1"},{"photo_id":"1351137446","filename":"file0"},{"photo_id":"1351137462","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351137483":["hashtag1","hashtag2"]},{"1351137462":["hashtag1","hashtag2"]},{"1351137455":["hashtag1","hashtag2"]},{"1351137446":["hashtag1","hashtag2"]},{"1351137478":["hashtag1","hashtag2"]},{"1351137457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351137483, 1351137462, 1351137455, 1351137446, 1351137478, 1351137457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.300212144851685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:47:32.325181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_56_9366.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_20_06_10405.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_17_10392.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_26_9358.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_37_10438.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_47_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_56_9366.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_20_06_10405.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_17_10392.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_26_9358.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_37_10438.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_47_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3891119956970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:47:42.219050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_56_9366.jpg', '/home/pi/Desktop/images/10042025/09/19/image_10042025_09_20_06_10405.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_17_10392.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_26_9358.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_37_10438.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_47_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_19_56_9366.jpg
/home/pi/Desktop/images/10042025/09/19/image_10042025_09_20_06_10405.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_17_10392.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_26_9358.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_37_10438.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_47_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351137585","1351137567","1351137582","1351137584","1351137577","1351137571"],"photo_ids_order":["1351137567","1351137571","1351137577","1351137582","1351137584","1351137585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4b43d85bb117f95e4d402047f5ef181.jpg","text":"TemporaryFile(/tmp/multipartBody4065161342624885086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_20_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb85e0b20695793ab222b1b9003b3710.jpg","text":"TemporaryFile(/tmp/multipartBody7620296244964232352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_19_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1755fa4066059b01468f322c8715b513.jpg","text":"TemporaryFile(/tmp/multipartBody6927129219684153756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_20_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41e7dfab9dbcab6b03aa3387f9b423a2.jpg","text":"TemporaryFile(/tmp/multipartBody3145087989040046310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_20_37_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b792b0bbb25cbf220ee967dc4d00d32f.jpg","text":"TemporaryFile(/tmp/multipartBody5330907576022526629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_20_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/238b4a89c7d172f787abd42a0655bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody4066687797120289454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282122673,"filename":"image_10042025_09_20_06_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351137577","file1":"1351137571","file0":"1351137567","file4":"1351137584","file5":"1351137585","file3":"1351137582"},"map_files_photo_id_array":[{"photo_id":"1351137585","filename":"file5"},{"photo_id":"1351137577","filename":"file2"},{"photo_id":"1351137584","filename":"file4"},{"photo_id":"1351137571","filename":"file1"},{"photo_id":"1351137567","filename":"file0"},{"photo_id":"1351137582","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351137585":["hashtag1","hashtag2"]},{"1351137567":["hashtag1","hashtag2"]},{"1351137582":["hashtag1","hashtag2"]},{"1351137584":["hashtag1","hashtag2"]},{"1351137577":["hashtag1","hashtag2"]},{"1351137571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351137585, 1351137567, 1351137582, 1351137584, 1351137577, 1351137571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.568204164505005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:48:32.379885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_56_9400.jpg', '/home/pi/Desktop/images/10042025/09/20/image_10042025_09_21_07_10343.jpg', '/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_16_9340.jpg', '/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_26_10436.jpg', '/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_37_10406.jpg', '/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_46_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_20_56_9400.jpg
/home/pi/Desktop/images/10042025/09/20/image_10042025_09_21_07_10343.jpg
/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_16_9340.jpg
/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_26_10436.jpg
/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_37_10406.jpg
/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_46_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351137709","1351137684","1351137789","1351137681","1351137758","1351137769"],"photo_ids_order":["1351137681","1351137684","1351137709","1351137758","1351137769","1351137789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96e2ef9a13781893769a7640fa554d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7029089990189858989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_21_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af89343f294b78724bf9c383de72edac.jpg","text":"TemporaryFile(/tmp/multipartBody149877392773122051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_21_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2efbe8c309989fc75d0c0f57cd205e95.jpg","text":"TemporaryFile(/tmp/multipartBody2427221483923883203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_21_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6ace18d1f891fbb7e35e86ef00b1ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2928320338270023164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_20_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c0b6e3dbb3086c6bc31cfe41cdfb312.jpg","text":"TemporaryFile(/tmp/multipartBody7460593418980518146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_21_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d14da887af87f1cd5f619cf2a5833eba.jpg","text":"TemporaryFile(/tmp/multipartBody8529374389446884878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282172846,"filename":"image_10042025_09_21_37_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351137709","file1":"1351137684","file0":"1351137681","file4":"1351137769","file5":"1351137789","file3":"1351137758"},"map_files_photo_id_array":[{"photo_id":"1351137789","filename":"file5"},{"photo_id":"1351137709","filename":"file2"},{"photo_id":"1351137769","filename":"file4"},{"photo_id":"1351137684","filename":"file1"},{"photo_id":"1351137681","filename":"file0"},{"photo_id":"1351137758","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351137709":["hashtag1","hashtag2"]},{"1351137684":["hashtag1","hashtag2"]},{"1351137789":["hashtag1","hashtag2"]},{"1351137681":["hashtag1","hashtag2"]},{"1351137758":["hashtag1","hashtag2"]},{"1351137769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351137709, 1351137684, 1351137789, 1351137681, 1351137758, 1351137769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08130621910095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:49:32.555363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_57_10369.jpg', '/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_16_10397.jpg', '/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_36_9345.jpg', '/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_56_9419.jpg', '/home/pi/Desktop/images/10042025/09/22/image_10042025_09_23_06_10355.jpg', '/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_17_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/21/image_10042025_09_21_57_10369.jpg
/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_16_10397.jpg
/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_36_9345.jpg
/home/pi/Desktop/images/10042025/09/22/image_10042025_09_22_56_9419.jpg
/home/pi/Desktop/images/10042025/09/22/image_10042025_09_23_06_10355.jpg
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_17_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351138032","1351138023","1351138002","1351138016","1351138087","1351138069"],"photo_ids_order":["1351138002","1351138016","1351138023","1351138032","1351138069","1351138087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48e82e09203b4f880b514b44851092d5.jpg","text":"TemporaryFile(/tmp/multipartBody7122150660157544765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_22_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3072e039934997e2dd2871d86836b0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1893463947089923546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_22_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97e51ddd0ed33263481a6cad3e9485f2.jpg","text":"TemporaryFile(/tmp/multipartBody2267593720906557010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_21_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e947790c7dae2f4c49a86b4d8fefcbeb.jpg","text":"TemporaryFile(/tmp/multipartBody767444879397075509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_22_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb7bfd3a479eac432d6565c3685347e6.jpg","text":"TemporaryFile(/tmp/multipartBody7063355387420874570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_23_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e491e32b75237adfff187355b2977a6.jpg","text":"TemporaryFile(/tmp/multipartBody1165950581737721632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282233023,"filename":"image_10042025_09_23_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351138023","file1":"1351138016","file0":"1351138002","file4":"1351138069","file5":"1351138087","file3":"1351138032"},"map_files_photo_id_array":[{"photo_id":"1351138087","filename":"file5"},{"photo_id":"1351138023","filename":"file2"},{"photo_id":"1351138069","filename":"file4"},{"photo_id":"1351138016","filename":"file1"},{"photo_id":"1351138002","filename":"file0"},{"photo_id":"1351138032","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351138032":["hashtag1","hashtag2"]},{"1351138023":["hashtag1","hashtag2"]},{"1351138002":["hashtag1","hashtag2"]},{"1351138016":["hashtag1","hashtag2"]},{"1351138087":["hashtag1","hashtag2"]},{"1351138069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351138032, 1351138023, 1351138002, 1351138016, 1351138087, 1351138069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43255925178528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:50:32.758324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_26_9410.jpg', '/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_37_10458.jpg', '/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_46_9360.jpg', '/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_56_10450.jpg', '/home/pi/Desktop/images/10042025/09/23/image_10042025_09_24_07_10355.jpg', '/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_16_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_26_9410.jpg
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_37_10458.jpg
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_46_9360.jpg
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_23_56_10450.jpg
/home/pi/Desktop/images/10042025/09/23/image_10042025_09_24_07_10355.jpg
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_16_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351138341","1351138314","1351138328","1351138307","1351138339","1351138336"],"photo_ids_order":["1351138307","1351138314","1351138328","1351138336","1351138339","1351138341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e06af8965b3cf3f2e2281a63b116ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6534883054910870102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_24_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f649fe1a50222e3a922947424d05caeb.jpg","text":"TemporaryFile(/tmp/multipartBody6920536424886006415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_23_37_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4377720ee1da5206d37a62692beae5fa.jpg","text":"TemporaryFile(/tmp/multipartBody4038657995176400235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_23_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f6952d556891bb5b762ebd8049688a1.jpg","text":"TemporaryFile(/tmp/multipartBody2057901089943877023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_23_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e07ddd3d78b7a9b2f6384537670f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2770587434016594970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_24_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e696ef555c6005d7e4bbdef2ddf4f954.jpg","text":"TemporaryFile(/tmp/multipartBody3607464419661751356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282293216,"filename":"image_10042025_09_23_56_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351138328","file1":"1351138314","file0":"1351138307","file4":"1351138339","file5":"1351138341","file3":"1351138336"},"map_files_photo_id_array":[{"photo_id":"1351138341","filename":"file5"},{"photo_id":"1351138328","filename":"file2"},{"photo_id":"1351138339","filename":"file4"},{"photo_id":"1351138314","filename":"file1"},{"photo_id":"1351138307","filename":"file0"},{"photo_id":"1351138336","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351138341":["hashtag1","hashtag2"]},{"1351138314":["hashtag1","hashtag2"]},{"1351138328":["hashtag1","hashtag2"]},{"1351138307":["hashtag1","hashtag2"]},{"1351138339":["hashtag1","hashtag2"]},{"1351138336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351138341, 1351138314, 1351138328, 1351138307, 1351138339, 1351138336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71594309806824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:51:32.984904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_27_10455.jpg', '/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_36_9433.jpg', '/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_46_10443.jpg', '/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_57_10358.jpg', '/home/pi/Desktop/images/10042025/09/24/image_10042025_09_25_06_9346.jpg', '/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_27_10455.jpg
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_36_9433.jpg
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_46_10443.jpg
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_24_57_10358.jpg
/home/pi/Desktop/images/10042025/09/24/image_10042025_09_25_06_9346.jpg
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351138437","1351138404","1351138407","1351138463","1351138421","1351138395"],"photo_ids_order":["1351138395","1351138404","1351138407","1351138421","1351138437","1351138463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e1c779d7d5f2eb18ffacb75c438e72d.jpg","text":"TemporaryFile(/tmp/multipartBody2101846060315772421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_25_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4464a50b00e7091a0cab98aecf698d96.jpg","text":"TemporaryFile(/tmp/multipartBody8439874079413073350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_24_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2544c3ae21d065cccddbd91b2de073fc.jpg","text":"TemporaryFile(/tmp/multipartBody3879429038037568607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_24_46_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf8f10157fa935b9380bfb4e505268dd.jpg","text":"TemporaryFile(/tmp/multipartBody1247726393996225373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_25_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13fc86887c048f8cb55f196f6cbee660.jpg","text":"TemporaryFile(/tmp/multipartBody1079469141527174773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_24_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2669cf7f1804b5addc4258c1aecca388.jpg","text":"TemporaryFile(/tmp/multipartBody4815278404703713683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282353452,"filename":"image_10042025_09_24_27_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351138407","file1":"1351138404","file0":"1351138395","file4":"1351138437","file5":"1351138463","file3":"1351138421"},"map_files_photo_id_array":[{"photo_id":"1351138463","filename":"file5"},{"photo_id":"1351138407","filename":"file2"},{"photo_id":"1351138437","filename":"file4"},{"photo_id":"1351138404","filename":"file1"},{"photo_id":"1351138395","filename":"file0"},{"photo_id":"1351138421","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351138437":["hashtag1","hashtag2"]},{"1351138404":["hashtag1","hashtag2"]},{"1351138407":["hashtag1","hashtag2"]},{"1351138463":["hashtag1","hashtag2"]},{"1351138421":["hashtag1","hashtag2"]},{"1351138395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351138437, 1351138404, 1351138407, 1351138463, 1351138421, 1351138395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08630681037903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:52:32.191023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_27_10376.jpg', '/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_36_9387.jpg', '/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_47_10372.jpg', '/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_56_9352.jpg', '/home/pi/Desktop/images/10042025/09/25/image_10042025_09_26_06_10356.jpg', '/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_26_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_27_10376.jpg
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_36_9387.jpg
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_47_10372.jpg
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_25_56_9352.jpg
/home/pi/Desktop/images/10042025/09/25/image_10042025_09_26_06_10356.jpg
/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_26_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351138548","1351138542","1351138518","1351138586","1351138649","1351138529"],"photo_ids_order":["1351138518","1351138529","1351138542","1351138548","1351138586","1351138649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa6182a929f8f5b6f6682450f301b8aa.jpg","text":"TemporaryFile(/tmp/multipartBody7707209875067389248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_25_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3ecdbeb3ce66e8e22eb6190764bf222.jpg","text":"TemporaryFile(/tmp/multipartBody2493432991739222613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_25_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/064c881af3c0093a112c7487cdf2b044.jpg","text":"TemporaryFile(/tmp/multipartBody2838210308859355587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_25_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9962d4154fd6f6aad82c16113290e75c.jpg","text":"TemporaryFile(/tmp/multipartBody8395604534963357248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_26_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b015822cf4836ae9ee93ae4bb06aa27.jpg","text":"TemporaryFile(/tmp/multipartBody5518484535642225855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_26_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56a394d74a51e2a79c037627dd2c80a8.jpg","text":"TemporaryFile(/tmp/multipartBody8548080452587544829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282412653,"filename":"image_10042025_09_25_36_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351138542","file1":"1351138529","file0":"1351138518","file4":"1351138586","file5":"1351138649","file3":"1351138548"},"map_files_photo_id_array":[{"photo_id":"1351138649","filename":"file5"},{"photo_id":"1351138542","filename":"file2"},{"photo_id":"1351138586","filename":"file4"},{"photo_id":"1351138529","filename":"file1"},{"photo_id":"1351138518","filename":"file0"},{"photo_id":"1351138548","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351138548":["hashtag1","hashtag2"]},{"1351138542":["hashtag1","hashtag2"]},{"1351138518":["hashtag1","hashtag2"]},{"1351138586":["hashtag1","hashtag2"]},{"1351138649":["hashtag1","hashtag2"]},{"1351138529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351138548, 1351138542, 1351138518, 1351138586, 1351138649, 1351138529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.954914808273315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:53:32.297932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_47_10382.jpg', '/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_56_9437.jpg', '/home/pi/Desktop/images/10042025/09/26/image_10042025_09_27_07_10358.jpg', '/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_16_9366.jpg', '/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_26_10404.jpg', '/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_37_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_47_10382.jpg
/home/pi/Desktop/images/10042025/09/26/image_10042025_09_26_56_9437.jpg
/home/pi/Desktop/images/10042025/09/26/image_10042025_09_27_07_10358.jpg
/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_16_9366.jpg
/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_26_10404.jpg
/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_37_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351138944","1351138897","1351138808","1351138864","1351138837","1351139049"],"photo_ids_order":["1351138808","1351138837","1351138864","1351138897","1351138944","1351139049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/836700d407d463fe780083a0654df6f3.jpg","text":"TemporaryFile(/tmp/multipartBody649936741545375238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_27_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1a3ef018146eadcda8dd0640145484a.jpg","text":"TemporaryFile(/tmp/multipartBody5241321054184503319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_27_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5cbec1c8e92076b97164a152a5e5b91.jpg","text":"TemporaryFile(/tmp/multipartBody1421909198262415081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_26_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d6f93a5c2a721ed6143c1cc964805ff.jpg","text":"TemporaryFile(/tmp/multipartBody1012386230155670306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_27_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cb57a5eb0db473ae44620aba3b32b54.jpg","text":"TemporaryFile(/tmp/multipartBody5128393499320263418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_26_56_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f350b7097f1da04d825203e0b53fd681.jpg","text":"TemporaryFile(/tmp/multipartBody6957254095149796901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282472758,"filename":"image_10042025_09_27_37_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351138864","file1":"1351138837","file0":"1351138808","file4":"1351138944","file5":"1351139049","file3":"1351138897"},"map_files_photo_id_array":[{"photo_id":"1351139049","filename":"file5"},{"photo_id":"1351138864","filename":"file2"},{"photo_id":"1351138944","filename":"file4"},{"photo_id":"1351138837","filename":"file1"},{"photo_id":"1351138808","filename":"file0"},{"photo_id":"1351138897","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351138944":["hashtag1","hashtag2"]},{"1351138897":["hashtag1","hashtag2"]},{"1351138808":["hashtag1","hashtag2"]},{"1351138864":["hashtag1","hashtag2"]},{"1351138837":["hashtag1","hashtag2"]},{"1351139049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351138944, 1351138897, 1351138808, 1351138864, 1351138837, 1351139049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33937668800354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:54:32.657096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_57_10442.jpg', '/home/pi/Desktop/images/10042025/09/27/image_10042025_09_28_06_9405.jpg', '/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_16_10340.jpg', '/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_27_10408.jpg', '/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_36_9399.jpg', '/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_57_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/27/image_10042025_09_27_57_10442.jpg
/home/pi/Desktop/images/10042025/09/27/image_10042025_09_28_06_9405.jpg
/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_16_10340.jpg
/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_27_10408.jpg
/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_36_9399.jpg
/home/pi/Desktop/images/10042025/09/28/image_10042025_09_28_57_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351139483","1351139279","1351139372","1351139528","1351139524","1351139427"],"photo_ids_order":["1351139279","1351139372","1351139427","1351139483","1351139524","1351139528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3c742b7a9be43c9a4768d6d6957a984.jpg","text":"TemporaryFile(/tmp/multipartBody5439623779771605820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_28_27_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9367f4925693ffde9fec33f26b92e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody2061402456008708612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_27_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e07728d9e306c0e0fd896d57c005f68c.jpg","text":"TemporaryFile(/tmp/multipartBody1247250179570274212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_28_06_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0a6b507c65f05d2b79558fa19c27bab.jpg","text":"TemporaryFile(/tmp/multipartBody2627163814480755582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_28_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23ff74c86cc76a3e97347de8b0a888a0.jpg","text":"TemporaryFile(/tmp/multipartBody2368858448781639139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_28_36_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cf85f8df501c8703a08647d77035c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5828380833503237654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282533113,"filename":"image_10042025_09_28_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351139427","file1":"1351139372","file0":"1351139279","file4":"1351139524","file5":"1351139528","file3":"1351139483"},"map_files_photo_id_array":[{"photo_id":"1351139528","filename":"file5"},{"photo_id":"1351139427","filename":"file2"},{"photo_id":"1351139524","filename":"file4"},{"photo_id":"1351139372","filename":"file1"},{"photo_id":"1351139279","filename":"file0"},{"photo_id":"1351139483","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351139483":["hashtag1","hashtag2"]},{"1351139279":["hashtag1","hashtag2"]},{"1351139372":["hashtag1","hashtag2"]},{"1351139528":["hashtag1","hashtag2"]},{"1351139524":["hashtag1","hashtag2"]},{"1351139427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351139483, 1351139279, 1351139372, 1351139528, 1351139524, 1351139427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.247966289520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:55:32.842569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/28/image_10042025_09_29_06_9337.jpg', '/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_36_9445.jpg', '/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_47_10357.jpg', '/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_56_9341.jpg', '/home/pi/Desktop/images/10042025/09/29/image_10042025_09_30_06_10442.jpg', '/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_17_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/28/image_10042025_09_29_06_9337.jpg
/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_36_9445.jpg
/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_47_10357.jpg
/home/pi/Desktop/images/10042025/09/29/image_10042025_09_29_56_9341.jpg
/home/pi/Desktop/images/10042025/09/29/image_10042025_09_30_06_10442.jpg
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_17_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351139703","1351139642","1351139636","1351139711","1351139707","1351139655"],"photo_ids_order":["1351139636","1351139642","1351139655","1351139703","1351139707","1351139711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e1a7560d4e381bede43f53ae07789e7.jpg","text":"TemporaryFile(/tmp/multipartBody8214408922856135697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_29_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d9553b4e1fd8e3485c934b8d067f011.jpg","text":"TemporaryFile(/tmp/multipartBody5602654258013484035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_29_36_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88f93b3dc3b4e59d199ea87788c00320.jpg","text":"TemporaryFile(/tmp/multipartBody3446688904886109346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_29_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaea48e4b3041396ad6caa4342d7c396.jpg","text":"TemporaryFile(/tmp/multipartBody6595924879592143076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_30_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3231845843484dc4fb65f68e0d7da7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5824468621246482539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_30_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49bc92ebc6f49a378727d6c8e6c7c50f.jpg","text":"TemporaryFile(/tmp/multipartBody6860244238355017863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282593301,"filename":"image_10042025_09_29_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351139655","file1":"1351139642","file0":"1351139636","file4":"1351139707","file5":"1351139711","file3":"1351139703"},"map_files_photo_id_array":[{"photo_id":"1351139711","filename":"file5"},{"photo_id":"1351139655","filename":"file2"},{"photo_id":"1351139707","filename":"file4"},{"photo_id":"1351139642","filename":"file1"},{"photo_id":"1351139636","filename":"file0"},{"photo_id":"1351139703","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351139703":["hashtag1","hashtag2"]},{"1351139642":["hashtag1","hashtag2"]},{"1351139636":["hashtag1","hashtag2"]},{"1351139711":["hashtag1","hashtag2"]},{"1351139707":["hashtag1","hashtag2"]},{"1351139655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351139703, 1351139642, 1351139636, 1351139711, 1351139707, 1351139655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12322473526001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:56:33.065907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_26_9352.jpg', '/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_37_10388.jpg', '/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_46_9434.jpg', '/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_57_10504.jpg', '/home/pi/Desktop/images/10042025/09/30/image_10042025_09_31_07_10329.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_16_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_26_9352.jpg
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_37_10388.jpg
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_46_9434.jpg
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_30_57_10504.jpg
/home/pi/Desktop/images/10042025/09/30/image_10042025_09_31_07_10329.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_16_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351139750","1351139753","1351139747","1351139756","1351139760","1351139763"],"photo_ids_order":["1351139747","1351139750","1351139753","1351139756","1351139760","1351139763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/416d3e711b2ca761ddf6b294168033f7.jpg","text":"TemporaryFile(/tmp/multipartBody4957396413143735924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_30_37_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d2c97292cba8f813ad53de59bd94d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8848648679854500401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_30_46_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fe5f4501a9d77a84e9e6be6150cfd3d.jpg","text":"TemporaryFile(/tmp/multipartBody5628251261934425585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_30_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae1ed786c0ae4bb38a8c2198a506262b.jpg","text":"TemporaryFile(/tmp/multipartBody5935478155976664351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_30_57_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c34711774d9f2437e371dce815f1f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1418499653668018669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_31_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/180f3197e5e50f056816edc0a45990c3.jpg","text":"TemporaryFile(/tmp/multipartBody1319779805124918651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282653536,"filename":"image_10042025_09_31_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351139753","file1":"1351139750","file0":"1351139747","file4":"1351139760","file5":"1351139763","file3":"1351139756"},"map_files_photo_id_array":[{"photo_id":"1351139763","filename":"file5"},{"photo_id":"1351139753","filename":"file2"},{"photo_id":"1351139760","filename":"file4"},{"photo_id":"1351139750","filename":"file1"},{"photo_id":"1351139747","filename":"file0"},{"photo_id":"1351139756","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351139750":["hashtag1","hashtag2"]},{"1351139753":["hashtag1","hashtag2"]},{"1351139747":["hashtag1","hashtag2"]},{"1351139756":["hashtag1","hashtag2"]},{"1351139760":["hashtag1","hashtag2"]},{"1351139763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351139750, 1351139753, 1351139747, 1351139756, 1351139760, 1351139763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13390922546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:57:32.297747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_27_10366.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_37_10359.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_46_9407.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_57_10347.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_16_10397.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_27_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_27_10366.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_37_10359.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_46_9407.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_57_10347.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_16_10397.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_27_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 12:59:04.203290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_27_10366.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_37_10359.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_46_9407.jpg', '/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_57_10347.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_16_10397.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_27_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_27_10366.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_37_10359.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_46_9407.jpg
/home/pi/Desktop/images/10042025/09/31/image_10042025_09_31_57_10347.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_16_10397.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_27_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351140147","1351140156","1351140237","1351140166","1351140151","1351140195"],"photo_ids_order":["1351140147","1351140151","1351140156","1351140166","1351140195","1351140237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93720dc04f9d182f6f84db0a7650ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody8669969522426718943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_31_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f32a9a1cde792a58c2748daafcab88f0.jpg","text":"TemporaryFile(/tmp/multipartBody7489179168881131785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_31_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/370915faae8c208cb767138b1f20c976.jpg","text":"TemporaryFile(/tmp/multipartBody420978561152188160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_32_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64e5fd48b94827fe8519e07754ab4275.jpg","text":"TemporaryFile(/tmp/multipartBody6375799411219908371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_31_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22c2c2d8c5605a125af28dd9307a9d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3315834053505737097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_31_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cdd1c3d02f407b3035244753246ad77.jpg","text":"TemporaryFile(/tmp/multipartBody8125080405357131820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282804791,"filename":"image_10042025_09_32_16_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351140156","file1":"1351140151","file0":"1351140147","file4":"1351140195","file5":"1351140237","file3":"1351140166"},"map_files_photo_id_array":[{"photo_id":"1351140237","filename":"file5"},{"photo_id":"1351140156","filename":"file2"},{"photo_id":"1351140195","filename":"file4"},{"photo_id":"1351140151","filename":"file1"},{"photo_id":"1351140147","filename":"file0"},{"photo_id":"1351140166","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351140147":["hashtag1","hashtag2"]},{"1351140156":["hashtag1","hashtag2"]},{"1351140237":["hashtag1","hashtag2"]},{"1351140166":["hashtag1","hashtag2"]},{"1351140151":["hashtag1","hashtag2"]},{"1351140195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351140147, 1351140156, 1351140237, 1351140166, 1351140151, 1351140195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87612771987915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 12:59:52.581278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_36_9441.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_47_10349.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_57_10361.jpg', '/home/pi/Desktop/images/10042025/09/32/image_10042025_09_33_06_9447.jpg', '/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_17_10416.jpg', '/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_37_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_36_9441.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_47_10349.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_32_57_10361.jpg
/home/pi/Desktop/images/10042025/09/32/image_10042025_09_33_06_9447.jpg
/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_17_10416.jpg
/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_37_10431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351140327","1351140318","1351140350","1351140332","1351140329","1351140346"],"photo_ids_order":["1351140318","1351140327","1351140329","1351140332","1351140346","1351140350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/709b7d38fce51390610b1ebfc04d619d.jpg","text":"TemporaryFile(/tmp/multipartBody5119440020167965729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_32_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92f3a5513087c473e4fe1b0fba2f1b04.jpg","text":"TemporaryFile(/tmp/multipartBody5071817265012575554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_32_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21f921b1b3e54220280632033c947d39.jpg","text":"TemporaryFile(/tmp/multipartBody5513399875584267498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_33_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33b74ff2d239d600729c0f69aada9b62.jpg","text":"TemporaryFile(/tmp/multipartBody5426998109305489677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_33_06_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6326c8d1cadb8b4f53d55a14d6ea8099.jpg","text":"TemporaryFile(/tmp/multipartBody4252826416467084372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_32_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ba64dfd1cecce927b1e94bc748ae86f.jpg","text":"TemporaryFile(/tmp/multipartBody71761275987111379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282853033,"filename":"image_10042025_09_33_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351140329","file1":"1351140327","file0":"1351140318","file4":"1351140346","file5":"1351140350","file3":"1351140332"},"map_files_photo_id_array":[{"photo_id":"1351140350","filename":"file5"},{"photo_id":"1351140329","filename":"file2"},{"photo_id":"1351140346","filename":"file4"},{"photo_id":"1351140327","filename":"file1"},{"photo_id":"1351140318","filename":"file0"},{"photo_id":"1351140332","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351140327":["hashtag1","hashtag2"]},{"1351140318":["hashtag1","hashtag2"]},{"1351140350":["hashtag1","hashtag2"]},{"1351140332":["hashtag1","hashtag2"]},{"1351140329":["hashtag1","hashtag2"]},{"1351140346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351140327, 1351140318, 1351140350, 1351140332, 1351140329, 1351140346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62083172798157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:00:32.791658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_47_10373.jpg', '/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_56_9482.jpg', '/home/pi/Desktop/images/10042025/09/33/image_10042025_09_34_07_10356.jpg', '/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_16_9346.jpg', '/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_27_10463.jpg', '/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_36_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_47_10373.jpg
/home/pi/Desktop/images/10042025/09/33/image_10042025_09_33_56_9482.jpg
/home/pi/Desktop/images/10042025/09/33/image_10042025_09_34_07_10356.jpg
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_16_9346.jpg
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_27_10463.jpg
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_36_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351140371","1351140383","1351140373","1351140367","1351140376","1351140378"],"photo_ids_order":["1351140367","1351140371","1351140373","1351140376","1351140378","1351140383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be646a28b00784b8c426b6f77f6ae8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6926433341786934994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_33_56_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deb21a7f684cfd0e89d0879e88a0867e.jpg","text":"TemporaryFile(/tmp/multipartBody7270924957737789158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_34_36_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8bffc09f18bdc384f180f39a3110f10.jpg","text":"TemporaryFile(/tmp/multipartBody3891148545612399994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_34_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9db405b022f25f9163409bf1a62822c.jpg","text":"TemporaryFile(/tmp/multipartBody4534408365252225128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_33_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63e2ee130892c4a7dc4d3ca9cd780745.jpg","text":"TemporaryFile(/tmp/multipartBody3157469223247099750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_34_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71a3efb9355f1b965433245fb9a219ba.jpg","text":"TemporaryFile(/tmp/multipartBody41395333480604346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282893255,"filename":"image_10042025_09_34_27_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351140373","file1":"1351140371","file0":"1351140367","file4":"1351140378","file5":"1351140383","file3":"1351140376"},"map_files_photo_id_array":[{"photo_id":"1351140383","filename":"file5"},{"photo_id":"1351140373","filename":"file2"},{"photo_id":"1351140378","filename":"file4"},{"photo_id":"1351140371","filename":"file1"},{"photo_id":"1351140367","filename":"file0"},{"photo_id":"1351140376","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351140371":["hashtag1","hashtag2"]},{"1351140383":["hashtag1","hashtag2"]},{"1351140373":["hashtag1","hashtag2"]},{"1351140367":["hashtag1","hashtag2"]},{"1351140376":["hashtag1","hashtag2"]},{"1351140378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351140371, 1351140383, 1351140373, 1351140367, 1351140376, 1351140378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.817057609558105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:01:33.005954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_46_10435.jpg', '/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_57_10349.jpg', '/home/pi/Desktop/images/10042025/09/34/image_10042025_09_35_06_9377.jpg', '/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_17_10411.jpg', '/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_27_10356.jpg', '/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_36_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_46_10435.jpg
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_34_57_10349.jpg
/home/pi/Desktop/images/10042025/09/34/image_10042025_09_35_06_9377.jpg
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_17_10411.jpg
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_27_10356.jpg
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_36_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351140741","1351140683","1351140851","1351140710","1351140778","1351140727"],"photo_ids_order":["1351140683","1351140710","1351140727","1351140741","1351140778","1351140851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e88ab53c920c1790d1b23002bcc1b11.jpg","text":"TemporaryFile(/tmp/multipartBody3113630217931900176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_35_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc536b44fe983feecd0b4a52071473e5.jpg","text":"TemporaryFile(/tmp/multipartBody2361612993424162728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_34_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0f9747eb2fbd5f539d2270f4f8421a1.jpg","text":"TemporaryFile(/tmp/multipartBody6867486187198696558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_35_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dffc23dcf24deba08859ded57a5e65b1.jpg","text":"TemporaryFile(/tmp/multipartBody7475894509643892126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_34_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b0702f34963a2228ba9ae64be6daa5c.jpg","text":"TemporaryFile(/tmp/multipartBody7685187366019392079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_35_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8beac229feaa8cdc748da5bf86f8f7f7.jpg","text":"TemporaryFile(/tmp/multipartBody4790324600684289022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744282953459,"filename":"image_10042025_09_35_06_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351140727","file1":"1351140710","file0":"1351140683","file4":"1351140778","file5":"1351140851","file3":"1351140741"},"map_files_photo_id_array":[{"photo_id":"1351140851","filename":"file5"},{"photo_id":"1351140727","filename":"file2"},{"photo_id":"1351140778","filename":"file4"},{"photo_id":"1351140710","filename":"file1"},{"photo_id":"1351140683","filename":"file0"},{"photo_id":"1351140741","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351140741":["hashtag1","hashtag2"]},{"1351140683":["hashtag1","hashtag2"]},{"1351140851":["hashtag1","hashtag2"]},{"1351140710":["hashtag1","hashtag2"]},{"1351140778":["hashtag1","hashtag2"]},{"1351140727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351140741, 1351140683, 1351140851, 1351140710, 1351140778, 1351140727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.720494985580444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:02:33.090345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_47_10367.jpg', '/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_56_9381.jpg', '/home/pi/Desktop/images/10042025/09/35/image_10042025_09_36_07_10454.jpg', '/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_17_10344.jpg', '/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_26_9422.jpg', '/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_37_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_47_10367.jpg
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_35_56_9381.jpg
/home/pi/Desktop/images/10042025/09/35/image_10042025_09_36_07_10454.jpg
/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_17_10344.jpg
/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_26_9422.jpg
/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_37_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351141994","1351141943","1351141727","1351141899","1351141851","1351141800"],"photo_ids_order":["1351141727","1351141800","1351141851","1351141899","1351141943","1351141994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bf0419ef61e85e26fb03bdde68147ac.jpg","text":"TemporaryFile(/tmp/multipartBody2512319051525711258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_36_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6bdc38a123ba0a55dba60d1c0c86c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody8156910434419798056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_36_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db99f08684efd794e7eeb78b3ca468bd.jpg","text":"TemporaryFile(/tmp/multipartBody6740897457858408199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_35_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4036ce222c617e819e0ef0a9cbf23e44.jpg","text":"TemporaryFile(/tmp/multipartBody4497947715705956966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_36_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d380457975a7a12a4ad46c1b9f3db868.jpg","text":"TemporaryFile(/tmp/multipartBody4884451411891724591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_36_07_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8222df4ce363767209b340b14faf0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5116644833828197344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283013539,"filename":"image_10042025_09_35_56_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351141851","file1":"1351141800","file0":"1351141727","file4":"1351141943","file5":"1351141994","file3":"1351141899"},"map_files_photo_id_array":[{"photo_id":"1351141994","filename":"file5"},{"photo_id":"1351141851","filename":"file2"},{"photo_id":"1351141943","filename":"file4"},{"photo_id":"1351141800","filename":"file1"},{"photo_id":"1351141727","filename":"file0"},{"photo_id":"1351141899","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351141994":["hashtag1","hashtag2"]},{"1351141943":["hashtag1","hashtag2"]},{"1351141727":["hashtag1","hashtag2"]},{"1351141899":["hashtag1","hashtag2"]},{"1351141851":["hashtag1","hashtag2"]},{"1351141800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351141994, 1351141943, 1351141727, 1351141899, 1351141851, 1351141800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47431445121765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:03:32.509505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_56_10412.jpg', '/home/pi/Desktop/images/10042025/09/36/image_10042025_09_37_07_10376.jpg', '/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_27_10442.jpg', '/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_37_10352.jpg', '/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_46_9401.jpg', '/home/pi/Desktop/images/10042025/09/37/image_10042025_09_38_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/36/image_10042025_09_36_56_10412.jpg
/home/pi/Desktop/images/10042025/09/36/image_10042025_09_37_07_10376.jpg
/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_27_10442.jpg
/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_37_10352.jpg
/home/pi/Desktop/images/10042025/09/37/image_10042025_09_37_46_9401.jpg
/home/pi/Desktop/images/10042025/09/37/image_10042025_09_38_06_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351142726","1351142521","1351142691","1351142496","1351142631","1351142607"],"photo_ids_order":["1351142496","1351142521","1351142607","1351142631","1351142691","1351142726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b86934eae13273656d1a0dd1a47b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4043430154228363335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_38_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2eea01a3e3845bc354d37409d78496b5.jpg","text":"TemporaryFile(/tmp/multipartBody1235517759956000731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_37_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d22d9f9585d27cb4ee23f257abec5c5.jpg","text":"TemporaryFile(/tmp/multipartBody223978699092488694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_37_46_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b40469a0fe16350aa3334cccdb1ac472.jpg","text":"TemporaryFile(/tmp/multipartBody1858250403972208083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_36_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f8bd1b5a183af9cc17f59c4008f88ed.jpg","text":"TemporaryFile(/tmp/multipartBody1093716367181434406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_37_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53940aeb78c8e77b5d1c23bd6f80e045.jpg","text":"TemporaryFile(/tmp/multipartBody2382406264210605190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283072964,"filename":"image_10042025_09_37_27_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351142607","file1":"1351142521","file0":"1351142496","file4":"1351142691","file5":"1351142726","file3":"1351142631"},"map_files_photo_id_array":[{"photo_id":"1351142726","filename":"file5"},{"photo_id":"1351142607","filename":"file2"},{"photo_id":"1351142691","filename":"file4"},{"photo_id":"1351142521","filename":"file1"},{"photo_id":"1351142496","filename":"file0"},{"photo_id":"1351142631","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351142726":["hashtag1","hashtag2"]},{"1351142521":["hashtag1","hashtag2"]},{"1351142691":["hashtag1","hashtag2"]},{"1351142496":["hashtag1","hashtag2"]},{"1351142631":["hashtag1","hashtag2"]},{"1351142607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351142726, 1351142521, 1351142691, 1351142496, 1351142631, 1351142607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79340720176697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:04:32.705840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_16_10413.jpg', '/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_27_10427.jpg', '/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_36_9468.jpg', '/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_47_10348.jpg', '/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_56_9362.jpg', '/home/pi/Desktop/images/10042025/09/38/image_10042025_09_39_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_16_10413.jpg
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_27_10427.jpg
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_36_9468.jpg
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_47_10348.jpg
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_38_56_9362.jpg
/home/pi/Desktop/images/10042025/09/38/image_10042025_09_39_06_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351143010","1351142962","1351143087","1351143114","1351143056","1351143146"],"photo_ids_order":["1351142962","1351143010","1351143056","1351143087","1351143114","1351143146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19be3025a5f95f6191fb2185417ced43.jpg","text":"TemporaryFile(/tmp/multipartBody708848387370555515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_38_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc9d7578adf10dae19a67ffc4df40211.jpg","text":"TemporaryFile(/tmp/multipartBody6181162861298310063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_38_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5114d8a4a79453b73e0acb7d91f98293.jpg","text":"TemporaryFile(/tmp/multipartBody7992299218698016714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_38_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cf913e758fe083fd5587c9c1266a7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1439849504365246451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_38_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8ee7d67b5047caffb0feb798991acfd.jpg","text":"TemporaryFile(/tmp/multipartBody4932581998942181113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_38_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c83ca99680d0d0a7e9432ae6f4431b0.jpg","text":"TemporaryFile(/tmp/multipartBody2844477727235728982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283133164,"filename":"image_10042025_09_39_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351143056","file1":"1351143010","file0":"1351142962","file4":"1351143114","file5":"1351143146","file3":"1351143087"},"map_files_photo_id_array":[{"photo_id":"1351143146","filename":"file5"},{"photo_id":"1351143056","filename":"file2"},{"photo_id":"1351143114","filename":"file4"},{"photo_id":"1351143010","filename":"file1"},{"photo_id":"1351142962","filename":"file0"},{"photo_id":"1351143087","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351143010":["hashtag1","hashtag2"]},{"1351142962":["hashtag1","hashtag2"]},{"1351143087":["hashtag1","hashtag2"]},{"1351143114":["hashtag1","hashtag2"]},{"1351143056":["hashtag1","hashtag2"]},{"1351143146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351143010, 1351142962, 1351143087, 1351143114, 1351143056, 1351143146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21864438056946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:05:32.888510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_17_10342.jpg', '/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_26_9354.jpg', '/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_36_10363.jpg', '/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_47_10381.jpg', '/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_56_9522.jpg', '/home/pi/Desktop/images/10042025/09/39/image_10042025_09_40_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_17_10342.jpg
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_26_9354.jpg
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_36_10363.jpg
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_47_10381.jpg
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_39_56_9522.jpg
/home/pi/Desktop/images/10042025/09/39/image_10042025_09_40_07_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351143481","1351143451","1351143381","1351143537","1351143432","1351143411"],"photo_ids_order":["1351143381","1351143411","1351143432","1351143451","1351143481","1351143537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8295a8c078f99b9448369531c944c2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2842257396153512648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_39_56_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/801068c030045aa11130048460f7e6b6.jpg","text":"TemporaryFile(/tmp/multipartBody1783683250870432980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_39_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bf69cbfc7febc1b1ac4190b29c5e4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5519602682916009679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_39_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/279466f81150bc10c771db2682166d76.jpg","text":"TemporaryFile(/tmp/multipartBody2122616539723669228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_40_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d6bd44cf8ad6577fbb00f987cc49197.jpg","text":"TemporaryFile(/tmp/multipartBody3483696158548674320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_39_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06aed497b0821e368d420674619c392b.jpg","text":"TemporaryFile(/tmp/multipartBody1602928712737532432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283193343,"filename":"image_10042025_09_39_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351143432","file1":"1351143411","file0":"1351143381","file4":"1351143481","file5":"1351143537","file3":"1351143451"},"map_files_photo_id_array":[{"photo_id":"1351143537","filename":"file5"},{"photo_id":"1351143432","filename":"file2"},{"photo_id":"1351143481","filename":"file4"},{"photo_id":"1351143411","filename":"file1"},{"photo_id":"1351143381","filename":"file0"},{"photo_id":"1351143451","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351143481":["hashtag1","hashtag2"]},{"1351143451":["hashtag1","hashtag2"]},{"1351143381":["hashtag1","hashtag2"]},{"1351143537":["hashtag1","hashtag2"]},{"1351143432":["hashtag1","hashtag2"]},{"1351143411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351143481, 1351143451, 1351143381, 1351143537, 1351143432, 1351143411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5220673084259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:06:33.174491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_16_9333.jpg', '/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_26_10449.jpg', '/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_37_10341.jpg', '/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_46_9349.jpg', '/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_57_10358.jpg', '/home/pi/Desktop/images/10042025/09/40/image_10042025_09_41_07_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_16_9333.jpg
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_26_10449.jpg
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_37_10341.jpg
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_46_9349.jpg
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_40_57_10358.jpg
/home/pi/Desktop/images/10042025/09/40/image_10042025_09_41_07_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351143803","1351143880","1351143825","1351143905","1351143854","1351143935"],"photo_ids_order":["1351143803","1351143825","1351143854","1351143880","1351143905","1351143935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f320753e266aaec181b1d4aa7c6bf35.jpg","text":"TemporaryFile(/tmp/multipartBody1671315010636932647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_40_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6a8a185fca8c4855d9acea00caa7e0f.jpg","text":"TemporaryFile(/tmp/multipartBody240717122421225003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_40_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f1dadf29f71ee8fc625b4c43357c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody9032931270358605690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_40_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2568e6c5c3118a17f2bfb6b98a5c30c.jpg","text":"TemporaryFile(/tmp/multipartBody8015724946862425774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_40_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c301d03d8c6e24fc05ad6b42360da025.jpg","text":"TemporaryFile(/tmp/multipartBody6308561432818774166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_40_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d2b8d0fa407571a83677d5557c53092.jpg","text":"TemporaryFile(/tmp/multipartBody7430416711938002804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283253628,"filename":"image_10042025_09_41_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351143854","file1":"1351143825","file0":"1351143803","file4":"1351143905","file5":"1351143935","file3":"1351143880"},"map_files_photo_id_array":[{"photo_id":"1351143935","filename":"file5"},{"photo_id":"1351143854","filename":"file2"},{"photo_id":"1351143905","filename":"file4"},{"photo_id":"1351143825","filename":"file1"},{"photo_id":"1351143803","filename":"file0"},{"photo_id":"1351143880","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351143803":["hashtag1","hashtag2"]},{"1351143880":["hashtag1","hashtag2"]},{"1351143825":["hashtag1","hashtag2"]},{"1351143905":["hashtag1","hashtag2"]},{"1351143854":["hashtag1","hashtag2"]},{"1351143935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351143803, 1351143880, 1351143825, 1351143905, 1351143854, 1351143935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85439586639404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:07:32.344292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_16_9449.jpg', '/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_27_10382.jpg', '/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_36_9336.jpg', '/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_46_10355.jpg', '/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_57_10435.jpg', '/home/pi/Desktop/images/10042025/09/41/image_10042025_09_42_06_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_16_9449.jpg
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_27_10382.jpg
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_36_9336.jpg
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_46_10355.jpg
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_41_57_10435.jpg
/home/pi/Desktop/images/10042025/09/41/image_10042025_09_42_06_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144060","1351144012","1351144053","1351144043","1351144034","1351144063"],"photo_ids_order":["1351144012","1351144034","1351144043","1351144053","1351144060","1351144063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40cda948b62e0fb10e57d35cb2300607.jpg","text":"TemporaryFile(/tmp/multipartBody3274592562047483764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_41_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3cdc2cd178f3eb2d77a2a2e8b75225c.jpg","text":"TemporaryFile(/tmp/multipartBody8770248614082835556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_41_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13e1f7e36c421e4797f4188e900affe5.jpg","text":"TemporaryFile(/tmp/multipartBody7236526022003208332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_41_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ba3a6160b63ee844db372e08a4ed899.jpg","text":"TemporaryFile(/tmp/multipartBody748500293732486581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_41_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/afa064c5ff22a7ebedb1b1e4f0d35840.jpg","text":"TemporaryFile(/tmp/multipartBody5452497493507971934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_41_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb4013e8f50b7a3d764ccbc9863712e7.jpg","text":"TemporaryFile(/tmp/multipartBody5866592777255545066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283312801,"filename":"image_10042025_09_42_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144043","file1":"1351144034","file0":"1351144012","file4":"1351144060","file5":"1351144063","file3":"1351144053"},"map_files_photo_id_array":[{"photo_id":"1351144063","filename":"file5"},{"photo_id":"1351144043","filename":"file2"},{"photo_id":"1351144060","filename":"file4"},{"photo_id":"1351144034","filename":"file1"},{"photo_id":"1351144012","filename":"file0"},{"photo_id":"1351144053","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144060":["hashtag1","hashtag2"]},{"1351144012":["hashtag1","hashtag2"]},{"1351144053":["hashtag1","hashtag2"]},{"1351144043":["hashtag1","hashtag2"]},{"1351144034":["hashtag1","hashtag2"]},{"1351144063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144060, 1351144012, 1351144053, 1351144043, 1351144034, 1351144063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58893918991089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:08:32.538707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_17_10391.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_26_9500.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_37_10451.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_47_10365.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_56_9407.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_43_07_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_17_10391.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_26_9500.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_37_10451.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_47_10365.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_56_9407.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_43_07_10342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37264347076416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 13:08:42.459162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_17_10391.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_26_9500.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_37_10451.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_47_10365.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_56_9407.jpg', '/home/pi/Desktop/images/10042025/09/42/image_10042025_09_43_07_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_17_10391.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_26_9500.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_37_10451.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_47_10365.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_42_56_9407.jpg
/home/pi/Desktop/images/10042025/09/42/image_10042025_09_43_07_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144153","1351144255","1351144283","1351144262","1351144337","1351144103"],"photo_ids_order":["1351144103","1351144153","1351144255","1351144262","1351144283","1351144337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f99905d1b98c442dae9da08631d901e.jpg","text":"TemporaryFile(/tmp/multipartBody4894438168739439297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_42_26_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebb2dab691b67f9c02d01e1414ce0749.jpg","text":"TemporaryFile(/tmp/multipartBody1521082058575439949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_42_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7b78c96aba0038466f46297a7cef13a.jpg","text":"TemporaryFile(/tmp/multipartBody6076571249312833759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_42_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/039181d334a3d80048bb0b8579629de3.jpg","text":"TemporaryFile(/tmp/multipartBody27043487406523603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_42_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55d8541b871fc64a80c28b3a6c3f4ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6113314289932707582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_43_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21469e7e5f83bc1b5fdb9d7b6a8e6929.jpg","text":"TemporaryFile(/tmp/multipartBody7869116179308700677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283382928,"filename":"image_10042025_09_42_17_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144255","file1":"1351144153","file0":"1351144103","file4":"1351144283","file5":"1351144337","file3":"1351144262"},"map_files_photo_id_array":[{"photo_id":"1351144337","filename":"file5"},{"photo_id":"1351144255","filename":"file2"},{"photo_id":"1351144283","filename":"file4"},{"photo_id":"1351144153","filename":"file1"},{"photo_id":"1351144103","filename":"file0"},{"photo_id":"1351144262","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144153":["hashtag1","hashtag2"]},{"1351144255":["hashtag1","hashtag2"]},{"1351144283":["hashtag1","hashtag2"]},{"1351144262":["hashtag1","hashtag2"]},{"1351144337":["hashtag1","hashtag2"]},{"1351144103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144153, 1351144255, 1351144283, 1351144262, 1351144337, 1351144103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.010146379470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:09:32.793284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_16_9338.jpg', '/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_37_10359.jpg', '/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_46_9330.jpg', '/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_57_10411.jpg', '/home/pi/Desktop/images/10042025/09/43/image_10042025_09_44_07_10345.jpg', '/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_16_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_16_9338.jpg
/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_37_10359.jpg
/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_46_9330.jpg
/home/pi/Desktop/images/10042025/09/43/image_10042025_09_43_57_10411.jpg
/home/pi/Desktop/images/10042025/09/43/image_10042025_09_44_07_10345.jpg
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_16_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144510","1351144584","1351144434","1351144619","1351144597","1351144540"],"photo_ids_order":["1351144434","1351144510","1351144540","1351144584","1351144597","1351144619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98fb4086ef2fecc970a16066c73955b5.jpg","text":"TemporaryFile(/tmp/multipartBody2838029568509112801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_43_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e52ea78a47b73878ec25abb23e936e36.jpg","text":"TemporaryFile(/tmp/multipartBody2665216013014656898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_43_57_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0eb26569f44bafcd75d73840b65ee4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5722255970609279652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_43_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eddc79c56919a472e1070ed89d5edf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3665249943095609224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_44_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56ad91b103b5d7415d10c71e727a1253.jpg","text":"TemporaryFile(/tmp/multipartBody1851227840714597201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_44_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc456e7736988e70420b4f2e66b095eb.jpg","text":"TemporaryFile(/tmp/multipartBody2130999657792438537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283433261,"filename":"image_10042025_09_43_46_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144540","file1":"1351144510","file0":"1351144434","file4":"1351144597","file5":"1351144619","file3":"1351144584"},"map_files_photo_id_array":[{"photo_id":"1351144619","filename":"file5"},{"photo_id":"1351144540","filename":"file2"},{"photo_id":"1351144597","filename":"file4"},{"photo_id":"1351144510","filename":"file1"},{"photo_id":"1351144434","filename":"file0"},{"photo_id":"1351144584","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144510":["hashtag1","hashtag2"]},{"1351144584":["hashtag1","hashtag2"]},{"1351144434":["hashtag1","hashtag2"]},{"1351144619":["hashtag1","hashtag2"]},{"1351144597":["hashtag1","hashtag2"]},{"1351144540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144510, 1351144584, 1351144434, 1351144619, 1351144597, 1351144540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57776594161987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:10:32.843717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_27_10351.jpg', '/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_36_9351.jpg', '/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_46_10346.jpg', '/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_57_10359.jpg', '/home/pi/Desktop/images/10042025/09/44/image_10042025_09_45_06_9385.jpg', '/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_17_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_27_10351.jpg
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_36_9351.jpg
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_46_10346.jpg
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_44_57_10359.jpg
/home/pi/Desktop/images/10042025/09/44/image_10042025_09_45_06_9385.jpg
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_17_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144752","1351144734","1351144713","1351144694","1351144721","1351144747"],"photo_ids_order":["1351144694","1351144713","1351144721","1351144734","1351144747","1351144752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0155d84c613a3b044a06df178d9bb42d.jpg","text":"TemporaryFile(/tmp/multipartBody3510041759719934342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_45_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36d6a68bdaf6ac53f0abe7510d36bf94.jpg","text":"TemporaryFile(/tmp/multipartBody7766757147027813879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_44_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7657a10d765011d7bb44d53caad956d4.jpg","text":"TemporaryFile(/tmp/multipartBody7182609709497411562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_44_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6633263e6b8fbef348f788811a42f0e.jpg","text":"TemporaryFile(/tmp/multipartBody155787121746642308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_44_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67e9132623b11c36a6b1ce2e4dcfab2a.jpg","text":"TemporaryFile(/tmp/multipartBody6825740461679227933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_44_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6973234a863ac8b47c8ce0977d869863.jpg","text":"TemporaryFile(/tmp/multipartBody20362226467402658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283493364,"filename":"image_10042025_09_45_06_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144721","file1":"1351144713","file0":"1351144694","file4":"1351144747","file5":"1351144752","file3":"1351144734"},"map_files_photo_id_array":[{"photo_id":"1351144752","filename":"file5"},{"photo_id":"1351144721","filename":"file2"},{"photo_id":"1351144747","filename":"file4"},{"photo_id":"1351144713","filename":"file1"},{"photo_id":"1351144694","filename":"file0"},{"photo_id":"1351144734","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144752":["hashtag1","hashtag2"]},{"1351144734":["hashtag1","hashtag2"]},{"1351144713":["hashtag1","hashtag2"]},{"1351144694":["hashtag1","hashtag2"]},{"1351144721":["hashtag1","hashtag2"]},{"1351144747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144752, 1351144734, 1351144713, 1351144694, 1351144721, 1351144747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14454388618469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:11:33.135159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_27_10357.jpg', '/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_36_9333.jpg', '/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_47_10373.jpg', '/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_57_10378.jpg', '/home/pi/Desktop/images/10042025/09/45/image_10042025_09_46_06_9400.jpg', '/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_17_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_27_10357.jpg
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_36_9333.jpg
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_47_10373.jpg
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_45_57_10378.jpg
/home/pi/Desktop/images/10042025/09/45/image_10042025_09_46_06_9400.jpg
/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_17_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144788","1351144782","1351144778","1351144786","1351144774","1351144768"],"photo_ids_order":["1351144768","1351144774","1351144778","1351144782","1351144786","1351144788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1580d2c2cc2afc77dc038acf27b8feb9.jpg","text":"TemporaryFile(/tmp/multipartBody2188334741951289792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_46_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0f2c5e37ee17656311286b8b11d91c9.jpg","text":"TemporaryFile(/tmp/multipartBody4393356121193222616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_45_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/147fb48ff551dda94161757d18c27ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2457364614048465401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_45_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8f58e45545ea3842eb608c51dd17300.jpg","text":"TemporaryFile(/tmp/multipartBody3026445285475625284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_46_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c88e48ce2abbd201a3a3948585203a0.jpg","text":"TemporaryFile(/tmp/multipartBody5813342106201123161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_45_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c33d49ce3ffcd04cc791a56da40f8077.jpg","text":"TemporaryFile(/tmp/multipartBody2081078966250518386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283553590,"filename":"image_10042025_09_45_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144778","file1":"1351144774","file0":"1351144768","file4":"1351144786","file5":"1351144788","file3":"1351144782"},"map_files_photo_id_array":[{"photo_id":"1351144788","filename":"file5"},{"photo_id":"1351144778","filename":"file2"},{"photo_id":"1351144786","filename":"file4"},{"photo_id":"1351144774","filename":"file1"},{"photo_id":"1351144768","filename":"file0"},{"photo_id":"1351144782","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144788":["hashtag1","hashtag2"]},{"1351144782":["hashtag1","hashtag2"]},{"1351144778":["hashtag1","hashtag2"]},{"1351144786":["hashtag1","hashtag2"]},{"1351144774":["hashtag1","hashtag2"]},{"1351144768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144788, 1351144782, 1351144778, 1351144786, 1351144774, 1351144768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.237252712249756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:12:32.267674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_26_9380.jpg', '/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_47_10366.jpg', '/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_56_9473.jpg', '/home/pi/Desktop/images/10042025/09/46/image_10042025_09_47_07_10353.jpg', '/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_26_10399.jpg', '/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_37_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_26_9380.jpg
/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_47_10366.jpg
/home/pi/Desktop/images/10042025/09/46/image_10042025_09_46_56_9473.jpg
/home/pi/Desktop/images/10042025/09/46/image_10042025_09_47_07_10353.jpg
/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_26_10399.jpg
/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_37_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144827","1351144841","1351144835","1351144838","1351144823","1351144831"],"photo_ids_order":["1351144823","1351144827","1351144831","1351144835","1351144838","1351144841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bcdc197aeeaf917c9d2e3290b2c0a8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3536681383352255474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_46_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/286f999123fb4fde7fce392a3c98ccdc.jpg","text":"TemporaryFile(/tmp/multipartBody3492701771233013341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_47_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16f916d37a12eed0a850f76c18ee6020.jpg","text":"TemporaryFile(/tmp/multipartBody3038387427232277541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_47_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecb70cfcd9a7e50b908b75d7d7563b61.jpg","text":"TemporaryFile(/tmp/multipartBody3808290933883172736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_47_26_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7a9044f96eafd60c32d8e972bcb9fad.jpg","text":"TemporaryFile(/tmp/multipartBody253644671416513576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_46_26_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b900544102685c8e59a1b6aeeaa324f4.jpg","text":"TemporaryFile(/tmp/multipartBody9004753257051402071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283612716,"filename":"image_10042025_09_46_56_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144831","file1":"1351144827","file0":"1351144823","file4":"1351144838","file5":"1351144841","file3":"1351144835"},"map_files_photo_id_array":[{"photo_id":"1351144841","filename":"file5"},{"photo_id":"1351144831","filename":"file2"},{"photo_id":"1351144838","filename":"file4"},{"photo_id":"1351144827","filename":"file1"},{"photo_id":"1351144823","filename":"file0"},{"photo_id":"1351144835","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144827":["hashtag1","hashtag2"]},{"1351144841":["hashtag1","hashtag2"]},{"1351144835":["hashtag1","hashtag2"]},{"1351144838":["hashtag1","hashtag2"]},{"1351144823":["hashtag1","hashtag2"]},{"1351144831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144827, 1351144841, 1351144835, 1351144838, 1351144823, 1351144831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.255746126174927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:13:32.496705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_46_9347.jpg', '/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_57_10472.jpg', '/home/pi/Desktop/images/10042025/09/47/image_10042025_09_48_07_10351.jpg', '/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_16_9442.jpg', '/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_27_10373.jpg', '/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_36_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_46_9347.jpg
/home/pi/Desktop/images/10042025/09/47/image_10042025_09_47_57_10472.jpg
/home/pi/Desktop/images/10042025/09/47/image_10042025_09_48_07_10351.jpg
/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_16_9442.jpg
/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_27_10373.jpg
/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_36_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351144915","1351144928","1351144931","1351144925","1351144919","1351144907"],"photo_ids_order":["1351144907","1351144915","1351144919","1351144925","1351144928","1351144931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f21ef172401e7af0d60a39cd0818df3.jpg","text":"TemporaryFile(/tmp/multipartBody44812563005478709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_47_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65a8b5c35b7900a2815102e69d2231f3.jpg","text":"TemporaryFile(/tmp/multipartBody5781507742157126953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_48_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b647648e196fdefb7cb320d1969b462.jpg","text":"TemporaryFile(/tmp/multipartBody3125434814572678929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_48_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1f1a50bd49b688c5748dfd09e9c73cb.jpg","text":"TemporaryFile(/tmp/multipartBody7063940212424064134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_48_16_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37e5a9a1d5821bb0ace145c84b0e1f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7528463071442751721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_48_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/674de8832386fb7e983866efd9e7eab9.jpg","text":"TemporaryFile(/tmp/multipartBody2437163975566739394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283672949,"filename":"image_10042025_09_47_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351144919","file1":"1351144915","file0":"1351144907","file4":"1351144928","file5":"1351144931","file3":"1351144925"},"map_files_photo_id_array":[{"photo_id":"1351144931","filename":"file5"},{"photo_id":"1351144919","filename":"file2"},{"photo_id":"1351144928","filename":"file4"},{"photo_id":"1351144915","filename":"file1"},{"photo_id":"1351144907","filename":"file0"},{"photo_id":"1351144925","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351144915":["hashtag1","hashtag2"]},{"1351144928":["hashtag1","hashtag2"]},{"1351144931":["hashtag1","hashtag2"]},{"1351144925":["hashtag1","hashtag2"]},{"1351144919":["hashtag1","hashtag2"]},{"1351144907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351144915, 1351144928, 1351144931, 1351144925, 1351144919, 1351144907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5549099445343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:14:32.699875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_47_10426.jpg', '/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_57_10431.jpg', '/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_17_10416.jpg', '/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_37_10364.jpg', '/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_47_10393.jpg', '/home/pi/Desktop/images/10042025/09/49/image_10042025_09_50_07_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_47_10426.jpg
/home/pi/Desktop/images/10042025/09/48/image_10042025_09_48_57_10431.jpg
/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_17_10416.jpg
/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_37_10364.jpg
/home/pi/Desktop/images/10042025/09/49/image_10042025_09_49_47_10393.jpg
/home/pi/Desktop/images/10042025/09/49/image_10042025_09_50_07_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145215","1351145187","1351145211","1351145207","1351145152","1351145097"],"photo_ids_order":["1351145097","1351145152","1351145187","1351145207","1351145211","1351145215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a77b56fbab38e81a87be8bf13af6fc2.jpg","text":"TemporaryFile(/tmp/multipartBody2818106278051638297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_50_07_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33d3a67f51360a72f13ec2f1b4b85f95.jpg","text":"TemporaryFile(/tmp/multipartBody2628559652390602402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_49_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2ef9e4b3cb1121361a6c4413ea90f57.jpg","text":"TemporaryFile(/tmp/multipartBody8622848042841599888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_49_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2479b57663691b81439def1df5a6a572.jpg","text":"TemporaryFile(/tmp/multipartBody518753786243308005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_49_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78c0d880a4a610350fbb42b8d1a13bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1397531277902013356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_48_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/560cc4f14cdadf59ae0b8d0364ab2331.jpg","text":"TemporaryFile(/tmp/multipartBody2791487898514634765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283733160,"filename":"image_10042025_09_48_47_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145187","file1":"1351145152","file0":"1351145097","file4":"1351145211","file5":"1351145215","file3":"1351145207"},"map_files_photo_id_array":[{"photo_id":"1351145215","filename":"file5"},{"photo_id":"1351145187","filename":"file2"},{"photo_id":"1351145211","filename":"file4"},{"photo_id":"1351145152","filename":"file1"},{"photo_id":"1351145097","filename":"file0"},{"photo_id":"1351145207","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145215":["hashtag1","hashtag2"]},{"1351145187":["hashtag1","hashtag2"]},{"1351145211":["hashtag1","hashtag2"]},{"1351145207":["hashtag1","hashtag2"]},{"1351145152":["hashtag1","hashtag2"]},{"1351145097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145215, 1351145187, 1351145211, 1351145207, 1351145152, 1351145097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67081356048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:15:32.826976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_16_9662.jpg', '/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_27_10359.jpg', '/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_36_9339.jpg', '/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_47_10368.jpg', '/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_57_10362.jpg', '/home/pi/Desktop/images/10042025/09/50/image_10042025_09_51_06_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_16_9662.jpg
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_27_10359.jpg
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_36_9339.jpg
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_47_10368.jpg
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_50_57_10362.jpg
/home/pi/Desktop/images/10042025/09/50/image_10042025_09_51_06_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145223","1351145236","1351145239","1351145230","1351145233","1351145227"],"photo_ids_order":["1351145223","1351145227","1351145230","1351145233","1351145236","1351145239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11c714318ba6c819318e8601c32099ea.jpg","text":"TemporaryFile(/tmp/multipartBody1781262370518142555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_50_16_9662.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/479fda6df598a82676700dbe5281c237.jpg","text":"TemporaryFile(/tmp/multipartBody2525257144142211841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_50_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc6068509efea7b193a935010170ffce.jpg","text":"TemporaryFile(/tmp/multipartBody2410427732378561962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_51_06_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7da392c7a8aa9bfac5689de81afc46d0.jpg","text":"TemporaryFile(/tmp/multipartBody3396046966331236925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_50_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d030b987dfeb79ac1e0b53f3025269b.jpg","text":"TemporaryFile(/tmp/multipartBody6070714681409646317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_50_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e2ccefc2a2fcaa13e2d2d5038801f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3352894970951823156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283793281,"filename":"image_10042025_09_50_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145230","file1":"1351145227","file0":"1351145223","file4":"1351145236","file5":"1351145239","file3":"1351145233"},"map_files_photo_id_array":[{"photo_id":"1351145239","filename":"file5"},{"photo_id":"1351145230","filename":"file2"},{"photo_id":"1351145236","filename":"file4"},{"photo_id":"1351145227","filename":"file1"},{"photo_id":"1351145223","filename":"file0"},{"photo_id":"1351145233","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145223":["hashtag1","hashtag2"]},{"1351145236":["hashtag1","hashtag2"]},{"1351145239":["hashtag1","hashtag2"]},{"1351145230":["hashtag1","hashtag2"]},{"1351145233":["hashtag1","hashtag2"]},{"1351145227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145223, 1351145236, 1351145239, 1351145230, 1351145233, 1351145227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65777397155762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:16:33.001316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_17_10364.jpg', '/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_26_9365.jpg', '/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_36_10355.jpg', '/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_47_10382.jpg', '/home/pi/Desktop/images/10042025/09/51/image_10042025_09_52_07_10406.jpg', '/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_16_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_17_10364.jpg
/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_26_9365.jpg
/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_36_10355.jpg
/home/pi/Desktop/images/10042025/09/51/image_10042025_09_51_47_10382.jpg
/home/pi/Desktop/images/10042025/09/51/image_10042025_09_52_07_10406.jpg
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_16_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145391","1351145292","1351145373","1351145360","1351145330","1351145255"],"photo_ids_order":["1351145255","1351145292","1351145330","1351145360","1351145373","1351145391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c6c802f05ac069e8b2ad0481d0f537e.jpg","text":"TemporaryFile(/tmp/multipartBody9101726091207213963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_52_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7102f191d8d9428d3daa1abe3ecdabfd.jpg","text":"TemporaryFile(/tmp/multipartBody157285537258466370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_51_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04dd6dacd0c106078f87cab981eca0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3374793203953855507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_52_07_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c0bb408c93b5a782d6a2846a72c04af.jpg","text":"TemporaryFile(/tmp/multipartBody5459063699486002428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_51_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06834d7f2627f9708deeeecbc5d3a7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4323417263231824068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_51_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0a9963be5f08c0f19286355c41c756c.jpg","text":"TemporaryFile(/tmp/multipartBody6824016877759033002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283853460,"filename":"image_10042025_09_51_17_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145330","file1":"1351145292","file0":"1351145255","file4":"1351145373","file5":"1351145391","file3":"1351145360"},"map_files_photo_id_array":[{"photo_id":"1351145391","filename":"file5"},{"photo_id":"1351145330","filename":"file2"},{"photo_id":"1351145373","filename":"file4"},{"photo_id":"1351145292","filename":"file1"},{"photo_id":"1351145255","filename":"file0"},{"photo_id":"1351145360","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145391":["hashtag1","hashtag2"]},{"1351145292":["hashtag1","hashtag2"]},{"1351145373":["hashtag1","hashtag2"]},{"1351145360":["hashtag1","hashtag2"]},{"1351145330":["hashtag1","hashtag2"]},{"1351145255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145391, 1351145292, 1351145373, 1351145360, 1351145330, 1351145255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.551467418670654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:17:33.148434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_26_10417.jpg', '/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_37_10404.jpg', '/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_46_9368.jpg', '/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_57_10432.jpg', '/home/pi/Desktop/images/10042025/09/52/image_10042025_09_53_06_9429.jpg', '/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_17_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_26_10417.jpg
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_37_10404.jpg
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_46_9368.jpg
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_52_57_10432.jpg
/home/pi/Desktop/images/10042025/09/52/image_10042025_09_53_06_9429.jpg
/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_17_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145445","1351145526","1351145468","1351145438","1351145432","1351145503"],"photo_ids_order":["1351145432","1351145438","1351145445","1351145468","1351145503","1351145526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52e7ed7765dc65e9873e678671925294.jpg","text":"TemporaryFile(/tmp/multipartBody3237118412749000585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_52_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc29cf7a816dcf1bb786094ced6dd398.jpg","text":"TemporaryFile(/tmp/multipartBody7895984304630394855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_53_17_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94de985a06eede36a8879b0cbaeb84b8.jpg","text":"TemporaryFile(/tmp/multipartBody2933064385830170159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_52_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdc10762e7acd829cc734202cc387284.jpg","text":"TemporaryFile(/tmp/multipartBody5417151801080424573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_52_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36c935bee71beff629aad416fb659e80.jpg","text":"TemporaryFile(/tmp/multipartBody8771669568727522341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_52_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2e79e90c82bd949548882f8eaa28b22.jpg","text":"TemporaryFile(/tmp/multipartBody4488452606904914045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283913603,"filename":"image_10042025_09_53_06_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145445","file1":"1351145438","file0":"1351145432","file4":"1351145503","file5":"1351145526","file3":"1351145468"},"map_files_photo_id_array":[{"photo_id":"1351145526","filename":"file5"},{"photo_id":"1351145445","filename":"file2"},{"photo_id":"1351145503","filename":"file4"},{"photo_id":"1351145438","filename":"file1"},{"photo_id":"1351145432","filename":"file0"},{"photo_id":"1351145468","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145445":["hashtag1","hashtag2"]},{"1351145526":["hashtag1","hashtag2"]},{"1351145468":["hashtag1","hashtag2"]},{"1351145438":["hashtag1","hashtag2"]},{"1351145432":["hashtag1","hashtag2"]},{"1351145503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145445, 1351145526, 1351145468, 1351145438, 1351145432, 1351145503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30750823020935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:18:32.339264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_27_10365.jpg', '/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_47_10371.jpg', '/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_56_9357.jpg', '/home/pi/Desktop/images/10042025/09/53/image_10042025_09_54_06_10359.jpg', '/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_17_10363.jpg', '/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_26_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_27_10365.jpg
/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_47_10371.jpg
/home/pi/Desktop/images/10042025/09/53/image_10042025_09_53_56_9357.jpg
/home/pi/Desktop/images/10042025/09/53/image_10042025_09_54_06_10359.jpg
/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_17_10363.jpg
/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_26_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145640","1351145670","1351145625","1351145660","1351145665","1351145614"],"photo_ids_order":["1351145614","1351145625","1351145640","1351145660","1351145665","1351145670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8475eb79c9b7cdbc88878da4f468801.jpg","text":"TemporaryFile(/tmp/multipartBody6040916442031612805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_53_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5187b676de03c008c3a38511172db6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4085553514224842930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_54_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76e0ed61ebf9816bb6f7780976410d38.jpg","text":"TemporaryFile(/tmp/multipartBody2624947003698230005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_53_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/645e39ade1b1305f12c4279ac7f7488a.jpg","text":"TemporaryFile(/tmp/multipartBody7623068136251440725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_54_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7981637321d8202f501b47b580b33879.jpg","text":"TemporaryFile(/tmp/multipartBody3582916689515531404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_54_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbae96017717f3639234fe289873b4b6.jpg","text":"TemporaryFile(/tmp/multipartBody2168685438566601176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744283972793,"filename":"image_10042025_09_53_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145640","file1":"1351145625","file0":"1351145614","file4":"1351145665","file5":"1351145670","file3":"1351145660"},"map_files_photo_id_array":[{"photo_id":"1351145670","filename":"file5"},{"photo_id":"1351145640","filename":"file2"},{"photo_id":"1351145665","filename":"file4"},{"photo_id":"1351145625","filename":"file1"},{"photo_id":"1351145614","filename":"file0"},{"photo_id":"1351145660","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145640":["hashtag1","hashtag2"]},{"1351145670":["hashtag1","hashtag2"]},{"1351145625":["hashtag1","hashtag2"]},{"1351145660":["hashtag1","hashtag2"]},{"1351145665":["hashtag1","hashtag2"]},{"1351145614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145640, 1351145670, 1351145625, 1351145660, 1351145665, 1351145614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43812847137451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:19:32.512387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_37_10356.jpg', '/home/pi/Desktop/images/10042025/09/54/image_10042025_09_55_07_10369.jpg', '/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_26_10377.jpg', '/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_37_10362.jpg', '/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_46_9337.jpg', '/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_57_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/54/image_10042025_09_54_37_10356.jpg
/home/pi/Desktop/images/10042025/09/54/image_10042025_09_55_07_10369.jpg
/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_26_10377.jpg
/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_37_10362.jpg
/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_46_9337.jpg
/home/pi/Desktop/images/10042025/09/55/image_10042025_09_55_57_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145841","1351145798","1351145759","1351145768","1351145764","1351145734"],"photo_ids_order":["1351145734","1351145759","1351145764","1351145768","1351145798","1351145841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8b752c019b16abb1c78940ef7afaf94.jpg","text":"TemporaryFile(/tmp/multipartBody6890061480622479407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_55_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55df430fb62e3286f4e5b58bd613dad8.jpg","text":"TemporaryFile(/tmp/multipartBody4110455247487056776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_55_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d472a43f680a96ba65e8d64980370ca.jpg","text":"TemporaryFile(/tmp/multipartBody5142074416848297567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_55_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fff5afc83e5847248ae57bbde2515bb.jpg","text":"TemporaryFile(/tmp/multipartBody1051093263926109218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_55_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8d84e0c91b7f1508dee084140893a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5627236181951524469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_55_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dccd97199ec7f9e67c25c2135eebd1d8.jpg","text":"TemporaryFile(/tmp/multipartBody11896481810090239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284032969,"filename":"image_10042025_09_54_37_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145764","file1":"1351145759","file0":"1351145734","file4":"1351145798","file5":"1351145841","file3":"1351145768"},"map_files_photo_id_array":[{"photo_id":"1351145841","filename":"file5"},{"photo_id":"1351145764","filename":"file2"},{"photo_id":"1351145798","filename":"file4"},{"photo_id":"1351145759","filename":"file1"},{"photo_id":"1351145734","filename":"file0"},{"photo_id":"1351145768","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145841":["hashtag1","hashtag2"]},{"1351145798":["hashtag1","hashtag2"]},{"1351145759":["hashtag1","hashtag2"]},{"1351145768":["hashtag1","hashtag2"]},{"1351145764":["hashtag1","hashtag2"]},{"1351145734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145841, 1351145798, 1351145759, 1351145768, 1351145764, 1351145734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35771894454956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:20:32.642773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/55/image_10042025_09_56_07_10341.jpg', '/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_16_9398.jpg', '/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_27_10368.jpg', '/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_36_9362.jpg', '/home/pi/Desktop/images/10042025/09/56/image_10042025_09_57_06_9350.jpg', '/home/pi/Desktop/images/10042025/09/57/image_10042025_09_57_17_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/55/image_10042025_09_56_07_10341.jpg
/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_16_9398.jpg
/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_27_10368.jpg
/home/pi/Desktop/images/10042025/09/56/image_10042025_09_56_36_9362.jpg
/home/pi/Desktop/images/10042025/09/56/image_10042025_09_57_06_9350.jpg
/home/pi/Desktop/images/10042025/09/57/image_10042025_09_57_17_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145892","1351145880","1351145904","1351145888","1351145900","1351145884"],"photo_ids_order":["1351145880","1351145884","1351145888","1351145892","1351145900","1351145904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2237e2a082c87541987a512359981e94.jpg","text":"TemporaryFile(/tmp/multipartBody331051085093437455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_56_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce654e42d25d17c6d7d0f282fd789f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1700305031173428706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_56_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b810ec48dfd4d5d7b5f7a08caf206a0c.jpg","text":"TemporaryFile(/tmp/multipartBody1273723479963840135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_57_17_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e858206632556cb1f48431dce0fd218b.jpg","text":"TemporaryFile(/tmp/multipartBody4246186515178439255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_56_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/547e4bab77962e0181fe1f2fb34ed35c.jpg","text":"TemporaryFile(/tmp/multipartBody3806835650158897430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_57_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/080b7c98a91f6e02c9383c208ba44378.jpg","text":"TemporaryFile(/tmp/multipartBody5764517865490801909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284093094,"filename":"image_10042025_09_56_16_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145888","file1":"1351145884","file0":"1351145880","file4":"1351145900","file5":"1351145904","file3":"1351145892"},"map_files_photo_id_array":[{"photo_id":"1351145904","filename":"file5"},{"photo_id":"1351145888","filename":"file2"},{"photo_id":"1351145900","filename":"file4"},{"photo_id":"1351145884","filename":"file1"},{"photo_id":"1351145880","filename":"file0"},{"photo_id":"1351145892","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145892":["hashtag1","hashtag2"]},{"1351145880":["hashtag1","hashtag2"]},{"1351145904":["hashtag1","hashtag2"]},{"1351145888":["hashtag1","hashtag2"]},{"1351145900":["hashtag1","hashtag2"]},{"1351145884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145892, 1351145880, 1351145904, 1351145888, 1351145900, 1351145884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.869750022888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:21:32.771990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/57/image_10042025_09_57_26_9462.jpg', '/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_17_10356.jpg', '/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_26_9325.jpg', '/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_37_10375.jpg', '/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_56_10382.jpg', '/home/pi/Desktop/images/10042025/09/58/image_10042025_09_59_07_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/57/image_10042025_09_57_26_9462.jpg
/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_17_10356.jpg
/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_26_9325.jpg
/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_37_10375.jpg
/home/pi/Desktop/images/10042025/09/58/image_10042025_09_58_56_10382.jpg
/home/pi/Desktop/images/10042025/09/58/image_10042025_09_59_07_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351145958","1351145969","1351145978","1351145974","1351145962","1351145982"],"photo_ids_order":["1351145958","1351145962","1351145969","1351145974","1351145978","1351145982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dd8955499d4c05496954a00f1812f98.jpg","text":"TemporaryFile(/tmp/multipartBody169310968822909276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_57_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c12c17c6e418b6f6620b8e8658e7ea96.jpg","text":"TemporaryFile(/tmp/multipartBody4727211128945409257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_58_26_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51216aa81e271ea1f4494be1a2847a82.jpg","text":"TemporaryFile(/tmp/multipartBody2541532112472037311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_58_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab926ee64562688a21e38c2e7575828b.jpg","text":"TemporaryFile(/tmp/multipartBody563648524378096421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_58_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59735d8cb472c466afdfcd87f95ec30b.jpg","text":"TemporaryFile(/tmp/multipartBody8954735924083128869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_58_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df773e7255bfc6b0cbe6ddd7ed8bcd8f.jpg","text":"TemporaryFile(/tmp/multipartBody5053085207021237921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284153226,"filename":"image_10042025_09_59_07_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145969","file1":"1351145962","file0":"1351145958","file4":"1351145978","file5":"1351145982","file3":"1351145974"},"map_files_photo_id_array":[{"photo_id":"1351145982","filename":"file5"},{"photo_id":"1351145969","filename":"file2"},{"photo_id":"1351145978","filename":"file4"},{"photo_id":"1351145962","filename":"file1"},{"photo_id":"1351145958","filename":"file0"},{"photo_id":"1351145974","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351145958":["hashtag1","hashtag2"]},{"1351145969":["hashtag1","hashtag2"]},{"1351145978":["hashtag1","hashtag2"]},{"1351145974":["hashtag1","hashtag2"]},{"1351145962":["hashtag1","hashtag2"]},{"1351145982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351145958, 1351145969, 1351145978, 1351145974, 1351145962, 1351145982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70825982093811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:22:32.895013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_27_10472.jpg', '/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_37_10358.jpg', '/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_46_9481.jpg', '/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_57_10373.jpg', '/home/pi/Desktop/images/10042025/10/01/image_10042025_10_01_14_10078.jpg', '/home/pi/Desktop/images/10042025/10/01/image_10042025_10_01_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_27_10472.jpg
/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_37_10358.jpg
/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_46_9481.jpg
/home/pi/Desktop/images/10042025/09/59/image_10042025_09_59_57_10373.jpg
/home/pi/Desktop/images/10042025/10/01/image_10042025_10_01_14_10078.jpg
/home/pi/Desktop/images/10042025/10/01/image_10042025_10_01_35_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146009","1351146003","1351145999","1351146014","1351145992","1351145995"],"photo_ids_order":["1351145992","1351145995","1351145999","1351146003","1351146009","1351146014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3081bf93c7ed57119b4a5d426d40cb55.jpg","text":"TemporaryFile(/tmp/multipartBody3204767453396544881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_10_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c55e4a14ae0b1ea0deb99345f7757677.jpg","text":"TemporaryFile(/tmp/multipartBody6325804592015210343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_09_59_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa31b23a29ad27ec3f9a88d89e1300e1.jpg","text":"TemporaryFile(/tmp/multipartBody8484716834212373936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_09_59_46_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fb0e66acc84973e756050f76f8cc32d.jpg","text":"TemporaryFile(/tmp/multipartBody9093425891596338175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_10_01_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/427b954af801753cc7544bc8b26cc59c.jpg","text":"TemporaryFile(/tmp/multipartBody1737840193361702808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_09_59_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0aa1a4a0b53765f150010521a46ecec7.jpg","text":"TemporaryFile(/tmp/multipartBody8190662295750832271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284213350,"filename":"image_10042025_09_59_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351145999","file1":"1351145995","file0":"1351145992","file4":"1351146009","file5":"1351146014","file3":"1351146003"},"map_files_photo_id_array":[{"photo_id":"1351146014","filename":"file5"},{"photo_id":"1351145999","filename":"file2"},{"photo_id":"1351146009","filename":"file4"},{"photo_id":"1351145995","filename":"file1"},{"photo_id":"1351145992","filename":"file0"},{"photo_id":"1351146003","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146009":["hashtag1","hashtag2"]},{"1351146003":["hashtag1","hashtag2"]},{"1351145999":["hashtag1","hashtag2"]},{"1351146014":["hashtag1","hashtag2"]},{"1351145992":["hashtag1","hashtag2"]},{"1351145995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146009, 1351146003, 1351145999, 1351146014, 1351145992, 1351145995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.366410493850708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:23:33.047897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_25_10357.jpg', '/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_34_9342.jpg', '/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_45_10415.jpg', '/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_55_10363.jpg', '/home/pi/Desktop/images/10042025/10/02/image_10042025_10_03_04_9403.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_15_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_25_10357.jpg
/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_34_9342.jpg
/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_45_10415.jpg
/home/pi/Desktop/images/10042025/10/02/image_10042025_10_02_55_10363.jpg
/home/pi/Desktop/images/10042025/10/02/image_10042025_10_03_04_9403.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_15_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146038","1351146055","1351146034","1351146043","1351146031","1351146028"],"photo_ids_order":["1351146028","1351146031","1351146034","1351146038","1351146043","1351146055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71d7772b64f5acccc3bcba21cfb698b8.jpg","text":"TemporaryFile(/tmp/multipartBody3512447604902616863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_02_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c39d89b9bb0307ad30ea6d8a7548dac8.jpg","text":"TemporaryFile(/tmp/multipartBody9129300436721211858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_03_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef68b6a2ba46e3422e23fc021e8c9066.jpg","text":"TemporaryFile(/tmp/multipartBody8662393103506111603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_02_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e20f4c165c9c13f24f82c91373bbc755.jpg","text":"TemporaryFile(/tmp/multipartBody2049464720983746389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_03_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75c67fd5208c5ac7ea6ff2dc74d25422.jpg","text":"TemporaryFile(/tmp/multipartBody470325167180103676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_02_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bf9da988c245d656a260eddbb3ce833.jpg","text":"TemporaryFile(/tmp/multipartBody1338608512579511962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284273498,"filename":"image_10042025_10_02_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351146034","file1":"1351146031","file0":"1351146028","file4":"1351146043","file5":"1351146055","file3":"1351146038"},"map_files_photo_id_array":[{"photo_id":"1351146055","filename":"file5"},{"photo_id":"1351146034","filename":"file2"},{"photo_id":"1351146043","filename":"file4"},{"photo_id":"1351146031","filename":"file1"},{"photo_id":"1351146028","filename":"file0"},{"photo_id":"1351146038","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146038":["hashtag1","hashtag2"]},{"1351146055":["hashtag1","hashtag2"]},{"1351146034":["hashtag1","hashtag2"]},{"1351146043":["hashtag1","hashtag2"]},{"1351146031":["hashtag1","hashtag2"]},{"1351146028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146038, 1351146055, 1351146034, 1351146043, 1351146031, 1351146028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82228398323059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:24:32.300913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_24_9368.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_34_10370.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_45_10379.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_54_9371.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_04_05_10412.jpg', '/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_14_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_24_9368.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_34_10370.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_45_10379.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_54_9371.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_04_05_10412.jpg
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_14_9399.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37125635147094727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 13:24:42.357926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_24_9368.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_34_10370.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_45_10379.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_54_9371.jpg', '/home/pi/Desktop/images/10042025/10/03/image_10042025_10_04_05_10412.jpg', '/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_14_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_24_9368.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_34_10370.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_45_10379.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_03_54_9371.jpg
/home/pi/Desktop/images/10042025/10/03/image_10042025_10_04_05_10412.jpg
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_14_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146417","1351146318","1351146197","1351146253","1351146396","1351146363"],"photo_ids_order":["1351146197","1351146253","1351146318","1351146363","1351146396","1351146417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/454cb931c3aef285aa3af5fcea36bc37.jpg","text":"TemporaryFile(/tmp/multipartBody2533075297820806992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_04_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6e59224e6e354b5d16a1223b274c32a.jpg","text":"TemporaryFile(/tmp/multipartBody3831784941330750713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_03_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79efda2c375b85581b8383f085a4d952.jpg","text":"TemporaryFile(/tmp/multipartBody6946874929239738428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_03_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e0a89a41dc80f9133e2234f3e397be1.jpg","text":"TemporaryFile(/tmp/multipartBody6726236090144071212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_03_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/851b7980421acc8c1685547dbfeb3251.jpg","text":"TemporaryFile(/tmp/multipartBody8871468346620502400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_04_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56fa95a536ad5c71251f5860e21e44e2.jpg","text":"TemporaryFile(/tmp/multipartBody8930518240414209484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284342819,"filename":"image_10042025_10_03_54_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351146318","file1":"1351146253","file0":"1351146197","file4":"1351146396","file5":"1351146417","file3":"1351146363"},"map_files_photo_id_array":[{"photo_id":"1351146417","filename":"file5"},{"photo_id":"1351146318","filename":"file2"},{"photo_id":"1351146396","filename":"file4"},{"photo_id":"1351146253","filename":"file1"},{"photo_id":"1351146197","filename":"file0"},{"photo_id":"1351146363","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146417":["hashtag1","hashtag2"]},{"1351146318":["hashtag1","hashtag2"]},{"1351146197":["hashtag1","hashtag2"]},{"1351146253":["hashtag1","hashtag2"]},{"1351146396":["hashtag1","hashtag2"]},{"1351146363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146417, 1351146318, 1351146197, 1351146253, 1351146396, 1351146363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04086756706238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:25:32.446670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_25_10457.jpg', '/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_35_10354.jpg', '/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_44_9425.jpg', '/home/pi/Desktop/images/10042025/10/04/image_10042025_10_05_05_10365.jpg', '/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_14_9383.jpg', '/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_25_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_25_10457.jpg
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_35_10354.jpg
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_04_44_9425.jpg
/home/pi/Desktop/images/10042025/10/04/image_10042025_10_05_05_10365.jpg
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_14_9383.jpg
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_25_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146447","1351146493","1351146605","1351146538","1351146520","1351146468"],"photo_ids_order":["1351146447","1351146468","1351146493","1351146520","1351146538","1351146605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58cda06446fcaa2b08b18a2b9dc6b73b.jpg","text":"TemporaryFile(/tmp/multipartBody6218689162843343152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_04_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c471014250a35949902b8269aef05c79.jpg","text":"TemporaryFile(/tmp/multipartBody5909703853481030542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_04_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30824e09f9af7d37e0f1f51f0d3fabd9.jpg","text":"TemporaryFile(/tmp/multipartBody8202405665907583578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_05_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0244c0c2723038db3511034663ef497c.jpg","text":"TemporaryFile(/tmp/multipartBody3226536312536572869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_05_14_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da236b9447c1595628f84d168ed46c66.jpg","text":"TemporaryFile(/tmp/multipartBody4067552126004409251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_05_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f7eb1ad202eeb1e410b8358eeab4edd.jpg","text":"TemporaryFile(/tmp/multipartBody1385091036150305932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284392909,"filename":"image_10042025_10_04_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351146493","file1":"1351146468","file0":"1351146447","file4":"1351146538","file5":"1351146605","file3":"1351146520"},"map_files_photo_id_array":[{"photo_id":"1351146605","filename":"file5"},{"photo_id":"1351146493","filename":"file2"},{"photo_id":"1351146538","filename":"file4"},{"photo_id":"1351146468","filename":"file1"},{"photo_id":"1351146447","filename":"file0"},{"photo_id":"1351146520","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146447":["hashtag1","hashtag2"]},{"1351146493":["hashtag1","hashtag2"]},{"1351146605":["hashtag1","hashtag2"]},{"1351146538":["hashtag1","hashtag2"]},{"1351146520":["hashtag1","hashtag2"]},{"1351146468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146447, 1351146493, 1351146605, 1351146538, 1351146520, 1351146468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20510983467102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:26:32.536746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_34_9348.jpg', '/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_45_10452.jpg', '/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_55_10432.jpg', '/home/pi/Desktop/images/10042025/10/05/image_10042025_10_06_04_9396.jpg', '/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_15_10359.jpg', '/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_24_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_34_9348.jpg
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_45_10452.jpg
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_05_55_10432.jpg
/home/pi/Desktop/images/10042025/10/05/image_10042025_10_06_04_9396.jpg
/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_15_10359.jpg
/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_24_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146720","1351146810","1351146716","1351146781","1351146835","1351146745"],"photo_ids_order":["1351146716","1351146720","1351146745","1351146781","1351146810","1351146835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9af65fe4684e787dc1810b654553a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7144132138931421768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_05_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/847f243eafaa9ac2302462f490228337.jpg","text":"TemporaryFile(/tmp/multipartBody8109436259095916994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_06_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec44ec6938437f843172f483117e7423.jpg","text":"TemporaryFile(/tmp/multipartBody9069126670109631717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_05_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b5f47bdf02f2a9817ba386d34434495.jpg","text":"TemporaryFile(/tmp/multipartBody8627615935741983386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_06_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19c5894be7672ceacb1fc35563f9f306.jpg","text":"TemporaryFile(/tmp/multipartBody5401815970430802460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_06_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c808d9cc56b8591b20c16db82ea2704.jpg","text":"TemporaryFile(/tmp/multipartBody8576050002863153913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284452990,"filename":"image_10042025_10_05_55_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351146745","file1":"1351146720","file0":"1351146716","file4":"1351146810","file5":"1351146835","file3":"1351146781"},"map_files_photo_id_array":[{"photo_id":"1351146835","filename":"file5"},{"photo_id":"1351146745","filename":"file2"},{"photo_id":"1351146810","filename":"file4"},{"photo_id":"1351146720","filename":"file1"},{"photo_id":"1351146716","filename":"file0"},{"photo_id":"1351146781","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146720":["hashtag1","hashtag2"]},{"1351146810":["hashtag1","hashtag2"]},{"1351146716":["hashtag1","hashtag2"]},{"1351146781":["hashtag1","hashtag2"]},{"1351146835":["hashtag1","hashtag2"]},{"1351146745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146720, 1351146810, 1351146716, 1351146781, 1351146835, 1351146745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.395268201828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:27:32.791754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_35_10457.jpg', '/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_45_10358.jpg', '/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_54_9393.jpg', '/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_14_9485.jpg', '/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_25_10402.jpg', '/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_35_10457.jpg
/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_45_10358.jpg
/home/pi/Desktop/images/10042025/10/06/image_10042025_10_06_54_9393.jpg
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_14_9485.jpg
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_25_10402.jpg
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351146998","1351147004","1351147001","1351146987","1351146996","1351147008"],"photo_ids_order":["1351146987","1351146996","1351146998","1351147001","1351147004","1351147008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68890ad417b7585e5271dc0ac05db4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8182583478332738001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_06_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c714f1b1f92c6dd30b86ae50d4587bb.jpg","text":"TemporaryFile(/tmp/multipartBody2900980250972853382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_07_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35635d0fa15831a84a2364a8ce4bbca6.jpg","text":"TemporaryFile(/tmp/multipartBody3955897363873051713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_07_14_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c0042ef0e5f7fc541b5cbaedfa75b87.jpg","text":"TemporaryFile(/tmp/multipartBody2776499986017065961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_06_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c17fdd124b3eb394480c28233ff342ae.jpg","text":"TemporaryFile(/tmp/multipartBody9148092360295205826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_06_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80b83998a88409891508180d2345a826.jpg","text":"TemporaryFile(/tmp/multipartBody1350309489330355259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284513249,"filename":"image_10042025_10_07_35_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351146998","file1":"1351146996","file0":"1351146987","file4":"1351147004","file5":"1351147008","file3":"1351147001"},"map_files_photo_id_array":[{"photo_id":"1351147008","filename":"file5"},{"photo_id":"1351146998","filename":"file2"},{"photo_id":"1351147004","filename":"file4"},{"photo_id":"1351146996","filename":"file1"},{"photo_id":"1351146987","filename":"file0"},{"photo_id":"1351147001","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351146998":["hashtag1","hashtag2"]},{"1351147004":["hashtag1","hashtag2"]},{"1351147001":["hashtag1","hashtag2"]},{"1351146987":["hashtag1","hashtag2"]},{"1351146996":["hashtag1","hashtag2"]},{"1351147008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351146998, 1351147004, 1351147001, 1351146987, 1351146996, 1351147008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.59665822982788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:28:32.992252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_44_9477.jpg', '/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_55_10380.jpg', '/home/pi/Desktop/images/10042025/10/07/image_10042025_10_08_04_9348.jpg', '/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_15_10365.jpg', '/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_25_10366.jpg', '/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_44_9477.jpg
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_07_55_10380.jpg
/home/pi/Desktop/images/10042025/10/07/image_10042025_10_08_04_9348.jpg
/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_15_10365.jpg
/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_25_10366.jpg
/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351147382","1351147433","1351147406","1351147456","1351147504","1351147482"],"photo_ids_order":["1351147382","1351147406","1351147433","1351147456","1351147482","1351147504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cdc52beda95ce778cebe55f7b81a044.jpg","text":"TemporaryFile(/tmp/multipartBody353792489047636474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_07_44_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85993e8ecceb41923264c146c3ae106e.jpg","text":"TemporaryFile(/tmp/multipartBody4436595761369063800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_08_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f6f0c3bfd841facd5dcc218c44ebc2c.jpg","text":"TemporaryFile(/tmp/multipartBody7029622875439042372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_07_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe6b74cb4758fddda7ca467ad41d1fab.jpg","text":"TemporaryFile(/tmp/multipartBody7908298825729072553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_08_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/333236e83369efa45a7e4db9b86e9d77.jpg","text":"TemporaryFile(/tmp/multipartBody150761039579313475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_08_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa3dbd27282e881b89dd98a110957da0.jpg","text":"TemporaryFile(/tmp/multipartBody1126632336594719385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284573440,"filename":"image_10042025_10_08_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351147433","file1":"1351147406","file0":"1351147382","file4":"1351147482","file5":"1351147504","file3":"1351147456"},"map_files_photo_id_array":[{"photo_id":"1351147504","filename":"file5"},{"photo_id":"1351147433","filename":"file2"},{"photo_id":"1351147482","filename":"file4"},{"photo_id":"1351147406","filename":"file1"},{"photo_id":"1351147382","filename":"file0"},{"photo_id":"1351147456","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351147382":["hashtag1","hashtag2"]},{"1351147433":["hashtag1","hashtag2"]},{"1351147406":["hashtag1","hashtag2"]},{"1351147456":["hashtag1","hashtag2"]},{"1351147504":["hashtag1","hashtag2"]},{"1351147482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351147382, 1351147433, 1351147406, 1351147456, 1351147504, 1351147482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.430298805236816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:29:32.310432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_54_9365.jpg', '/home/pi/Desktop/images/10042025/10/08/image_10042025_10_09_04_10381.jpg', '/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_15_10357.jpg', '/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_24_9382.jpg', '/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_35_10364.jpg', '/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/08/image_10042025_10_08_54_9365.jpg
/home/pi/Desktop/images/10042025/10/08/image_10042025_10_09_04_10381.jpg
/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_15_10357.jpg
/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_24_9382.jpg
/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_35_10364.jpg
/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351147655","1351147703","1351147706","1351147699","1351147657","1351147711"],"photo_ids_order":["1351147655","1351147657","1351147699","1351147703","1351147706","1351147711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17d58ab88b67b6745c4c7d36bdfa8475.jpg","text":"TemporaryFile(/tmp/multipartBody5580933069446139859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_08_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e739ae6d6828eb060c29c7f4e0a1d71.jpg","text":"TemporaryFile(/tmp/multipartBody2247019834044370948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_09_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/159061c535a7b0325a43e2e80c890f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4632389836992878008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_09_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a806a36f70e99cbbaae5789d4c70231.jpg","text":"TemporaryFile(/tmp/multipartBody8142801348011111682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_09_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac38b879f7ddeec52985a1ef2dbae0ea.jpg","text":"TemporaryFile(/tmp/multipartBody3001228846302227239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_09_04_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9dacc93ec96bc26291de36aed198f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7152607561586572179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284632812,"filename":"image_10042025_10_09_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351147699","file1":"1351147657","file0":"1351147655","file4":"1351147706","file5":"1351147711","file3":"1351147703"},"map_files_photo_id_array":[{"photo_id":"1351147711","filename":"file5"},{"photo_id":"1351147699","filename":"file2"},{"photo_id":"1351147706","filename":"file4"},{"photo_id":"1351147657","filename":"file1"},{"photo_id":"1351147655","filename":"file0"},{"photo_id":"1351147703","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351147655":["hashtag1","hashtag2"]},{"1351147703":["hashtag1","hashtag2"]},{"1351147706":["hashtag1","hashtag2"]},{"1351147699":["hashtag1","hashtag2"]},{"1351147657":["hashtag1","hashtag2"]},{"1351147711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351147655, 1351147703, 1351147706, 1351147699, 1351147657, 1351147711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92935824394226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:30:32.403025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_54_9443.jpg', '/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_14_9377.jpg', '/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_24_10358.jpg', '/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_35_10383.jpg', '/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_44_9360.jpg', '/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_55_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/09/image_10042025_10_09_54_9443.jpg
/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_14_9377.jpg
/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_24_10358.jpg
/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_35_10383.jpg
/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_44_9360.jpg
/home/pi/Desktop/images/10042025/10/10/image_10042025_10_10_55_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351147772","1351147776","1351147755","1351147770","1351147764","1351147767"],"photo_ids_order":["1351147755","1351147764","1351147767","1351147770","1351147772","1351147776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a9a2a9e28fe5893c05aed9aedab7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3608627041131046906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_10_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9915853fc5dc2fbee880b91c06771d14.jpg","text":"TemporaryFile(/tmp/multipartBody1480188324698779837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_10_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7834c903bef061d4150c712859f06e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4180141005890470143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_09_54_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ce174cbff4f3cbbab5003f353ad4771.jpg","text":"TemporaryFile(/tmp/multipartBody6203809446249147873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_10_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e50cdd4721842b0bd8401a893365cb78.jpg","text":"TemporaryFile(/tmp/multipartBody6501388819913377902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_10_14_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a14aeac863ad216d7e670c8a7138e14c.jpg","text":"TemporaryFile(/tmp/multipartBody6530851523817585528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284692870,"filename":"image_10042025_10_10_24_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351147767","file1":"1351147764","file0":"1351147755","file4":"1351147772","file5":"1351147776","file3":"1351147770"},"map_files_photo_id_array":[{"photo_id":"1351147776","filename":"file5"},{"photo_id":"1351147767","filename":"file2"},{"photo_id":"1351147772","filename":"file4"},{"photo_id":"1351147764","filename":"file1"},{"photo_id":"1351147755","filename":"file0"},{"photo_id":"1351147770","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351147772":["hashtag1","hashtag2"]},{"1351147776":["hashtag1","hashtag2"]},{"1351147755":["hashtag1","hashtag2"]},{"1351147770":["hashtag1","hashtag2"]},{"1351147764":["hashtag1","hashtag2"]},{"1351147767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351147772, 1351147776, 1351147755, 1351147770, 1351147764, 1351147767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.026042222976685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:31:32.607005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_14_10401.jpg', '/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_34_9438.jpg', '/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_45_10362.jpg', '/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_54_9418.jpg', '/home/pi/Desktop/images/10042025/10/11/image_10042025_10_12_05_10468.jpg', '/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_14_10401.jpg
/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_34_9438.jpg
/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_45_10362.jpg
/home/pi/Desktop/images/10042025/10/11/image_10042025_10_11_54_9418.jpg
/home/pi/Desktop/images/10042025/10/11/image_10042025_10_12_05_10468.jpg
/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351147849","1351147860","1351147878","1351147863","1351147857","1351147883"],"photo_ids_order":["1351147849","1351147857","1351147860","1351147863","1351147878","1351147883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7fc4b7b1d01f241b084569fc50b92bf.jpg","text":"TemporaryFile(/tmp/multipartBody5723929132526896574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_11_14_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9d936add469b77da326696888d729aa.jpg","text":"TemporaryFile(/tmp/multipartBody7603616326753193214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_11_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78ef2ea48f8a669c7de8025949fad4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4784543860491911056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_12_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f74d442866903e89852d20f4e348cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3772444011256661057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_11_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61edacf877aa25e7dda7d1b5e9bc2a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6987147333109720401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_11_34_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5eaa55239228539d6fdec39ec935261c.jpg","text":"TemporaryFile(/tmp/multipartBody3120763154487940311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284753053,"filename":"image_10042025_10_12_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351147860","file1":"1351147857","file0":"1351147849","file4":"1351147878","file5":"1351147883","file3":"1351147863"},"map_files_photo_id_array":[{"photo_id":"1351147883","filename":"file5"},{"photo_id":"1351147860","filename":"file2"},{"photo_id":"1351147878","filename":"file4"},{"photo_id":"1351147857","filename":"file1"},{"photo_id":"1351147849","filename":"file0"},{"photo_id":"1351147863","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351147849":["hashtag1","hashtag2"]},{"1351147860":["hashtag1","hashtag2"]},{"1351147878":["hashtag1","hashtag2"]},{"1351147863":["hashtag1","hashtag2"]},{"1351147857":["hashtag1","hashtag2"]},{"1351147883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351147849, 1351147860, 1351147878, 1351147863, 1351147857, 1351147883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54498291015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:32:33.029988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_24_9451.jpg', '/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_44_9361.jpg', '/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_54_10398.jpg', '/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_14_9461.jpg', '/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_24_9923.jpg', '/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_35_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_24_9451.jpg
/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_44_9361.jpg
/home/pi/Desktop/images/10042025/10/12/image_10042025_10_12_54_10398.jpg
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_14_9461.jpg
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_24_9923.jpg
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_35_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351147991","1351147972","1351147998","1351147965","1351148004","1351147962"],"photo_ids_order":["1351147962","1351147965","1351147972","1351147991","1351147998","1351148004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d1d09c39af072d82964d3902f1559b6.jpg","text":"TemporaryFile(/tmp/multipartBody8938310362025018577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_13_14_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56be65adc2d7f77a024165dfb286f660.jpg","text":"TemporaryFile(/tmp/multipartBody4751245605029099572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_12_54_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92828c6dbc34302f9516cc2e363263ec.jpg","text":"TemporaryFile(/tmp/multipartBody7427890561708645142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_13_24_9923.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93153739807a7723832e8031e2491418.jpg","text":"TemporaryFile(/tmp/multipartBody2270922519405677202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_12_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5815520510dab891d728d7bf341c6af7.jpg","text":"TemporaryFile(/tmp/multipartBody7587430934368755582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_13_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4767f497f522bd0f7f1d3415bb30ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody7480827303359797935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284813477,"filename":"image_10042025_10_12_24_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351147972","file1":"1351147965","file0":"1351147962","file4":"1351147998","file5":"1351148004","file3":"1351147991"},"map_files_photo_id_array":[{"photo_id":"1351148004","filename":"file5"},{"photo_id":"1351147972","filename":"file2"},{"photo_id":"1351147998","filename":"file4"},{"photo_id":"1351147965","filename":"file1"},{"photo_id":"1351147962","filename":"file0"},{"photo_id":"1351147991","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351147991":["hashtag1","hashtag2"]},{"1351147972":["hashtag1","hashtag2"]},{"1351147998":["hashtag1","hashtag2"]},{"1351147965":["hashtag1","hashtag2"]},{"1351148004":["hashtag1","hashtag2"]},{"1351147962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351147991, 1351147972, 1351147998, 1351147965, 1351148004, 1351147962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18574070930481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:33:33.309816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_45_10357.jpg', '/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_55_9476.jpg', '/home/pi/Desktop/images/10042025/10/13/image_10042025_10_14_04_9601.jpg', '/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_14_10347.jpg', '/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_25_10380.jpg', '/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_34_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_45_10357.jpg
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_13_55_9476.jpg
/home/pi/Desktop/images/10042025/10/13/image_10042025_10_14_04_9601.jpg
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_14_10347.jpg
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_25_10380.jpg
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_34_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":["1351148062","1351148071","1351148065","1351148067","1351148058","1351148075"],"photo_ids_order":["1351148058","1351148062","1351148065","1351148067","1351148071","1351148075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8b8cec0b821ec8819901817d9482d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6185151652960644825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_13_55_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e89af83c5e794768c4dbc5d33f0f03a.jpg","text":"TemporaryFile(/tmp/multipartBody2035584016829019537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_14_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92e15b38f14afb9b1b58a13ae6fc4dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8693558189607303102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_14_04_9601.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c31e0037ecb6de8f75cb7835508558f.jpg","text":"TemporaryFile(/tmp/multipartBody8527335487424277935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_14_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/937e243b69348954b352bf2922c26a96.jpg","text":"TemporaryFile(/tmp/multipartBody1716107319026616755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_13_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/154f81376ffda1eeec33a567888fbdc3.jpg","text":"TemporaryFile(/tmp/multipartBody777719965252223205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284873863,"filename":"image_10042025_10_14_34_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351148065","file1":"1351148062","file0":"1351148058","file4":"1351148071","file5":"1351148075","file3":"1351148067"},"map_files_photo_id_array":[{"photo_id":"1351148075","filename":"file5"},{"photo_id":"1351148065","filename":"file2"},{"photo_id":"1351148071","filename":"file4"},{"photo_id":"1351148062","filename":"file1"},{"photo_id":"1351148058","filename":"file0"},{"photo_id":"1351148067","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351148062":["hashtag1","hashtag2"]},{"1351148071":["hashtag1","hashtag2"]},{"1351148065":["hashtag1","hashtag2"]},{"1351148067":["hashtag1","hashtag2"]},{"1351148058":["hashtag1","hashtag2"]},{"1351148075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351148062, 1351148071, 1351148065, 1351148067, 1351148058, 1351148075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62934327125549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:34:32.499136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_45_10421.jpg', '/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_55_10354.jpg', '/home/pi/Desktop/images/10042025/10/14/image_10042025_10_15_04_9474.jpg', '/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_15_10352.jpg', '/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_34_10342.jpg', '/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_45_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_45_10421.jpg
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_14_55_10354.jpg
/home/pi/Desktop/images/10042025/10/14/image_10042025_10_15_04_9474.jpg
/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_15_10352.jpg
/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_34_10342.jpg
/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_45_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351148120","1351148102","1351148095","1351148098","1351148093","1351148112"],"photo_ids_order":["1351148093","1351148095","1351148098","1351148102","1351148112","1351148120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4928ebf1b12d0d9ca274d4f18651ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody4722805375070210419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_15_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17dfd85a4607063e5bb6eb559aa0cafa.jpg","text":"TemporaryFile(/tmp/multipartBody1845234067770193013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_15_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/613037e13e74f2bcc00aec849b19843d.jpg","text":"TemporaryFile(/tmp/multipartBody3314883839345116964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_14_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee22470143ab3d29a03228441b9a94b7.jpg","text":"TemporaryFile(/tmp/multipartBody2701573867787634476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_15_04_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5829a43b4b1160983342b7730319e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5407453697912845771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_14_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fe89a4d8bbfbe7752d449ed5a2a474a.jpg","text":"TemporaryFile(/tmp/multipartBody6533382112571452378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284932949,"filename":"image_10042025_10_15_34_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351148098","file1":"1351148095","file0":"1351148093","file4":"1351148112","file5":"1351148120","file3":"1351148102"},"map_files_photo_id_array":[{"photo_id":"1351148120","filename":"file5"},{"photo_id":"1351148098","filename":"file2"},{"photo_id":"1351148112","filename":"file4"},{"photo_id":"1351148095","filename":"file1"},{"photo_id":"1351148093","filename":"file0"},{"photo_id":"1351148102","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351148120":["hashtag1","hashtag2"]},{"1351148102":["hashtag1","hashtag2"]},{"1351148095":["hashtag1","hashtag2"]},{"1351148098":["hashtag1","hashtag2"]},{"1351148093":["hashtag1","hashtag2"]},{"1351148112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351148120, 1351148102, 1351148095, 1351148098, 1351148093, 1351148112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75924754142761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:35:32.629350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_54_9344.jpg', '/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_24_9437.jpg', '/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_35_10413.jpg', '/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_44_9481.jpg', '/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_55_10362.jpg', '/home/pi/Desktop/images/10042025/10/17/image_10042025_10_17_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/15/image_10042025_10_15_54_9344.jpg
/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_24_9437.jpg
/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_35_10413.jpg
/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_44_9481.jpg
/home/pi/Desktop/images/10042025/10/16/image_10042025_10_16_55_10362.jpg
/home/pi/Desktop/images/10042025/10/17/image_10042025_10_17_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351148185","1351148181","1351148190","1351148235","1351148192","1351148297"],"photo_ids_order":["1351148181","1351148185","1351148190","1351148192","1351148235","1351148297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3ed791e527977cbbfb12bcb5fa927d8.jpg","text":"TemporaryFile(/tmp/multipartBody1358125716976842042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_16_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b55ef371bb24736b84b96c4e6cbbc61.jpg","text":"TemporaryFile(/tmp/multipartBody4444270823769612446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_15_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19fff50c8944efc1c09e194d65f8ba0e.jpg","text":"TemporaryFile(/tmp/multipartBody7842298012128050314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_16_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06dc5ba9e7f1a29154cc5efa68ff0b27.jpg","text":"TemporaryFile(/tmp/multipartBody3500143964789593083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_16_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ef7d68c750f96e350c17004d878f60b.jpg","text":"TemporaryFile(/tmp/multipartBody836746283023334209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_16_44_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4167fcb221a287192b5803d3fdbee628.jpg","text":"TemporaryFile(/tmp/multipartBody8248219906333988850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744284993095,"filename":"image_10042025_10_17_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351148190","file1":"1351148185","file0":"1351148181","file4":"1351148235","file5":"1351148297","file3":"1351148192"},"map_files_photo_id_array":[{"photo_id":"1351148297","filename":"file5"},{"photo_id":"1351148190","filename":"file2"},{"photo_id":"1351148235","filename":"file4"},{"photo_id":"1351148185","filename":"file1"},{"photo_id":"1351148181","filename":"file0"},{"photo_id":"1351148192","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351148185":["hashtag1","hashtag2"]},{"1351148181":["hashtag1","hashtag2"]},{"1351148190":["hashtag1","hashtag2"]},{"1351148235":["hashtag1","hashtag2"]},{"1351148192":["hashtag1","hashtag2"]},{"1351148297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351148185, 1351148181, 1351148190, 1351148235, 1351148192, 1351148297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28894519805908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:36:32.878520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_35_10370.jpg', '/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_44_9431.jpg', '/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_55_10369.jpg', '/home/pi/Desktop/images/10042025/10/18/image_10042025_10_19_04_9354.jpg', '/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_14_10424.jpg', '/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_35_10370.jpg
/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_44_9431.jpg
/home/pi/Desktop/images/10042025/10/18/image_10042025_10_18_55_10369.jpg
/home/pi/Desktop/images/10042025/10/18/image_10042025_10_19_04_9354.jpg
/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_14_10424.jpg
/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351148994","1351148932","1351148970","1351148889","1351148829","1351148867"],"photo_ids_order":["1351148829","1351148867","1351148889","1351148932","1351148970","1351148994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53ab17b1c97e5cad45d51b80b5c2cebe.jpg","text":"TemporaryFile(/tmp/multipartBody6410917682730918418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_19_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9366ca21a88a1b496cef74ea732a0e9.jpg","text":"TemporaryFile(/tmp/multipartBody545279333865229208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_19_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d14ee09b3353067e5f5d51104f4ddef9.jpg","text":"TemporaryFile(/tmp/multipartBody1870871646317573461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_19_14_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0a665514edd4e25e6ee54ac192e92ea.jpg","text":"TemporaryFile(/tmp/multipartBody6247573023716519587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_18_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/742b035e865ef31e3970a75f9713b510.jpg","text":"TemporaryFile(/tmp/multipartBody9196655954368421990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_18_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c326c3b8c81c8aba232f0b6011702c69.jpg","text":"TemporaryFile(/tmp/multipartBody6772334255270855207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285053323,"filename":"image_10042025_10_18_44_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351148889","file1":"1351148867","file0":"1351148829","file4":"1351148970","file5":"1351148994","file3":"1351148932"},"map_files_photo_id_array":[{"photo_id":"1351148994","filename":"file5"},{"photo_id":"1351148889","filename":"file2"},{"photo_id":"1351148970","filename":"file4"},{"photo_id":"1351148867","filename":"file1"},{"photo_id":"1351148829","filename":"file0"},{"photo_id":"1351148932","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351148994":["hashtag1","hashtag2"]},{"1351148932":["hashtag1","hashtag2"]},{"1351148970":["hashtag1","hashtag2"]},{"1351148889":["hashtag1","hashtag2"]},{"1351148829":["hashtag1","hashtag2"]},{"1351148867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351148994, 1351148932, 1351148970, 1351148889, 1351148829, 1351148867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.548922538757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:37:33.058347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_55_10380.jpg', '/home/pi/Desktop/images/10042025/10/19/image_10042025_10_20_04_9417.jpg', '/home/pi/Desktop/images/10042025/10/20/image_10042025_10_20_35_10404.jpg', '/home/pi/Desktop/images/10042025/10/21/image_10042025_10_21_25_10477.jpg', '/home/pi/Desktop/images/10042025/10/21/image_10042025_10_21_35_10353.jpg', '/home/pi/Desktop/images/10042025/10/21/image_10042025_10_22_04_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/19/image_10042025_10_19_55_10380.jpg
/home/pi/Desktop/images/10042025/10/19/image_10042025_10_20_04_9417.jpg
/home/pi/Desktop/images/10042025/10/20/image_10042025_10_20_35_10404.jpg
/home/pi/Desktop/images/10042025/10/21/image_10042025_10_21_25_10477.jpg
/home/pi/Desktop/images/10042025/10/21/image_10042025_10_21_35_10353.jpg
/home/pi/Desktop/images/10042025/10/21/image_10042025_10_22_04_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351149286","1351149211","1351149183","1351149162","1351149270","1351149240"],"photo_ids_order":["1351149162","1351149183","1351149211","1351149240","1351149270","1351149286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/831f9be6618f3b8a2a5f44752429354b.jpg","text":"TemporaryFile(/tmp/multipartBody4686657549820803057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_22_04_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a76cf0ad9e2f1b247c16524a76e8a27.jpg","text":"TemporaryFile(/tmp/multipartBody5246747188782817579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_20_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc9750bc4a9cd36c622dcbe3f6a16473.jpg","text":"TemporaryFile(/tmp/multipartBody3318833443358675638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_20_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/206313b8cfb4f671db7ae582140edcde.jpg","text":"TemporaryFile(/tmp/multipartBody412073435096296976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_19_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7052326ce935ca2a20808529afa08a2.jpg","text":"TemporaryFile(/tmp/multipartBody8403777864466918945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_21_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a59c0d1d555131ea65b8c1e4f076c49.jpg","text":"TemporaryFile(/tmp/multipartBody6911850741127495556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285113515,"filename":"image_10042025_10_21_25_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351149211","file1":"1351149183","file0":"1351149162","file4":"1351149270","file5":"1351149286","file3":"1351149240"},"map_files_photo_id_array":[{"photo_id":"1351149286","filename":"file5"},{"photo_id":"1351149211","filename":"file2"},{"photo_id":"1351149270","filename":"file4"},{"photo_id":"1351149183","filename":"file1"},{"photo_id":"1351149162","filename":"file0"},{"photo_id":"1351149240","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351149286":["hashtag1","hashtag2"]},{"1351149211":["hashtag1","hashtag2"]},{"1351149183":["hashtag1","hashtag2"]},{"1351149162":["hashtag1","hashtag2"]},{"1351149270":["hashtag1","hashtag2"]},{"1351149240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351149286, 1351149211, 1351149183, 1351149162, 1351149270, 1351149240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79540181159973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:38:32.422139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_15_10364.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_45_10357.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_54_9356.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_23_05_10419.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_15_10339.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_24_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_15_10364.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_45_10357.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_54_9356.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_23_05_10419.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_15_10339.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_24_9477.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37738656997680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 13:38:42.377373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_15_10364.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_45_10357.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_54_9356.jpg', '/home/pi/Desktop/images/10042025/10/22/image_10042025_10_23_05_10419.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_15_10339.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_24_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_15_10364.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_45_10357.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_22_54_9356.jpg
/home/pi/Desktop/images/10042025/10/22/image_10042025_10_23_05_10419.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_15_10339.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_24_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351149469","1351149472","1351149466","1351149474","1351149462","1351149501"],"photo_ids_order":["1351149462","1351149466","1351149469","1351149472","1351149474","1351149501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f63d3f93a85fa631b9f39394d991522.jpg","text":"TemporaryFile(/tmp/multipartBody728279147558940965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_22_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c1c4acb38f29d7507fc833625c15dee.jpg","text":"TemporaryFile(/tmp/multipartBody8160801697143247773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_23_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04e1210263953f7b3ad3ff5dd444b37e.jpg","text":"TemporaryFile(/tmp/multipartBody6511660140656505033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_22_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddedc6d9a166714108dcb6075e85713e.jpg","text":"TemporaryFile(/tmp/multipartBody5810157182780043913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_23_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a74e4b9a8bc289d8ab082e0ea5a6cced.jpg","text":"TemporaryFile(/tmp/multipartBody76658932481531256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_22_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b731b4e0ca49598e38411649cb35125.jpg","text":"TemporaryFile(/tmp/multipartBody4879990458625060501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285182825,"filename":"image_10042025_10_23_24_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351149469","file1":"1351149466","file0":"1351149462","file4":"1351149474","file5":"1351149501","file3":"1351149472"},"map_files_photo_id_array":[{"photo_id":"1351149501","filename":"file5"},{"photo_id":"1351149469","filename":"file2"},{"photo_id":"1351149474","filename":"file4"},{"photo_id":"1351149466","filename":"file1"},{"photo_id":"1351149462","filename":"file0"},{"photo_id":"1351149472","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351149469":["hashtag1","hashtag2"]},{"1351149472":["hashtag1","hashtag2"]},{"1351149466":["hashtag1","hashtag2"]},{"1351149474":["hashtag1","hashtag2"]},{"1351149462":["hashtag1","hashtag2"]},{"1351149501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351149469, 1351149472, 1351149466, 1351149474, 1351149462, 1351149501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86036276817322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:39:33.318117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_35_10380.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_44_9364.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_55_10422.jpg', '/home/pi/Desktop/images/10042025/10/23/image_10042025_10_24_05_10354.jpg', '/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_14_9439.jpg', '/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_34_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_35_10380.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_44_9364.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_23_55_10422.jpg
/home/pi/Desktop/images/10042025/10/23/image_10042025_10_24_05_10354.jpg
/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_14_9439.jpg
/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_34_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351149772","1351149751","1351149814","1351149795","1351149700","1351149705"],"photo_ids_order":["1351149700","1351149705","1351149751","1351149772","1351149795","1351149814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ba93eb571a103a380eeea3ac4c89395.jpg","text":"TemporaryFile(/tmp/multipartBody5464606816611068587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_24_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4653c0664e673dde99c199f70cc58490.jpg","text":"TemporaryFile(/tmp/multipartBody6088652024642594157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_23_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a15a8396a7bf08cabb49ed9d973c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody4550106206631454537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_24_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9557aad95271844b70e1df545ba8ee7e.jpg","text":"TemporaryFile(/tmp/multipartBody8908855309952619434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_24_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cadbfc97194f502f8ae84732a003416.jpg","text":"TemporaryFile(/tmp/multipartBody8828563412977743066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_23_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b1d082bbe45d746c483a8c7551c6477.jpg","text":"TemporaryFile(/tmp/multipartBody8824229140347077550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285233898,"filename":"image_10042025_10_23_44_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351149751","file1":"1351149705","file0":"1351149700","file4":"1351149795","file5":"1351149814","file3":"1351149772"},"map_files_photo_id_array":[{"photo_id":"1351149814","filename":"file5"},{"photo_id":"1351149751","filename":"file2"},{"photo_id":"1351149795","filename":"file4"},{"photo_id":"1351149705","filename":"file1"},{"photo_id":"1351149700","filename":"file0"},{"photo_id":"1351149772","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351149772":["hashtag1","hashtag2"]},{"1351149751":["hashtag1","hashtag2"]},{"1351149814":["hashtag1","hashtag2"]},{"1351149795":["hashtag1","hashtag2"]},{"1351149700":["hashtag1","hashtag2"]},{"1351149705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351149772, 1351149751, 1351149814, 1351149795, 1351149700, 1351149705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71154594421387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:40:32.854859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_44_10369.jpg', '/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_55_10383.jpg', '/home/pi/Desktop/images/10042025/10/24/image_10042025_10_25_04_9335.jpg', '/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_14_10355.jpg', '/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_25_10376.jpg', '/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_34_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_44_10369.jpg
/home/pi/Desktop/images/10042025/10/24/image_10042025_10_24_55_10383.jpg
/home/pi/Desktop/images/10042025/10/24/image_10042025_10_25_04_9335.jpg
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_14_10355.jpg
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_25_10376.jpg
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_34_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351149970","1351149973","1351150006","1351149959","1351149994","1351149976"],"photo_ids_order":["1351149959","1351149970","1351149973","1351149976","1351149994","1351150006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/586f4ef83d4879e9627f1245c7d7f455.jpg","text":"TemporaryFile(/tmp/multipartBody4290401724367639938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_24_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4faf18f872cbb56463066777e28fbf2.jpg","text":"TemporaryFile(/tmp/multipartBody7258458614361226363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_25_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50c5e134043033178d185cdc1bf8e75f.jpg","text":"TemporaryFile(/tmp/multipartBody7522216655797408892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_25_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/420f1b0d804a40052df5e06687d203cc.jpg","text":"TemporaryFile(/tmp/multipartBody4179278551297294463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_24_44_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7eb5f175afcfb5911507e45bd682ea6b.jpg","text":"TemporaryFile(/tmp/multipartBody5570660998141171031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_25_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3534e342990a8dccef3661679a37845c.jpg","text":"TemporaryFile(/tmp/multipartBody5977544034601732833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285293383,"filename":"image_10042025_10_25_14_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351149973","file1":"1351149970","file0":"1351149959","file4":"1351149994","file5":"1351150006","file3":"1351149976"},"map_files_photo_id_array":[{"photo_id":"1351150006","filename":"file5"},{"photo_id":"1351149973","filename":"file2"},{"photo_id":"1351149994","filename":"file4"},{"photo_id":"1351149970","filename":"file1"},{"photo_id":"1351149959","filename":"file0"},{"photo_id":"1351149976","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351149970":["hashtag1","hashtag2"]},{"1351149973":["hashtag1","hashtag2"]},{"1351150006":["hashtag1","hashtag2"]},{"1351149959":["hashtag1","hashtag2"]},{"1351149994":["hashtag1","hashtag2"]},{"1351149976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351149970, 1351149973, 1351150006, 1351149959, 1351149994, 1351149976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.550756216049194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:41:32.907784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_45_10369.jpg', '/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_55_10360.jpg', '/home/pi/Desktop/images/10042025/10/25/image_10042025_10_26_04_9393.jpg', '/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_15_10425.jpg', '/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_24_9343.jpg', '/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_34_10014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_45_10369.jpg
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_25_55_10360.jpg
/home/pi/Desktop/images/10042025/10/25/image_10042025_10_26_04_9393.jpg
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_15_10425.jpg
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_24_9343.jpg
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_34_10014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351150037","1351150045","1351150042","1351150039","1351150047","1351150049"],"photo_ids_order":["1351150037","1351150039","1351150042","1351150045","1351150047","1351150049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d0210a8a69a98d66c4cd8fcb2b09eac.jpg","text":"TemporaryFile(/tmp/multipartBody2692846758667929154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_25_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33a54f920d06b74ca1c464dd3de6c833.jpg","text":"TemporaryFile(/tmp/multipartBody1914812459197664817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_26_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a4a442f8902732252990f526c127724.jpg","text":"TemporaryFile(/tmp/multipartBody4112313643003186262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_26_04_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1275b5978b8ca190db45b027cd3f32bf.jpg","text":"TemporaryFile(/tmp/multipartBody7497708209761863615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_25_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd78127fa531316cde9291f77abd7bad.jpg","text":"TemporaryFile(/tmp/multipartBody8820467703697753594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_26_24_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8928702a25d9bb70a77da54d17b1e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody9090277105239380071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285353358,"filename":"image_10042025_10_26_34_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351150042","file1":"1351150039","file0":"1351150037","file4":"1351150047","file5":"1351150049","file3":"1351150045"},"map_files_photo_id_array":[{"photo_id":"1351150049","filename":"file5"},{"photo_id":"1351150042","filename":"file2"},{"photo_id":"1351150047","filename":"file4"},{"photo_id":"1351150039","filename":"file1"},{"photo_id":"1351150037","filename":"file0"},{"photo_id":"1351150045","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351150037":["hashtag1","hashtag2"]},{"1351150045":["hashtag1","hashtag2"]},{"1351150042":["hashtag1","hashtag2"]},{"1351150039":["hashtag1","hashtag2"]},{"1351150047":["hashtag1","hashtag2"]},{"1351150049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351150037, 1351150045, 1351150042, 1351150039, 1351150047, 1351150049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5657274723053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:42:33.281964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_44_10351.jpg', '/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_55_10363.jpg', '/home/pi/Desktop/images/10042025/10/26/image_10042025_10_27_05_9911.jpg', '/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_14_9445.jpg', '/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_25_10369.jpg', '/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_44_10351.jpg
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_26_55_10363.jpg
/home/pi/Desktop/images/10042025/10/26/image_10042025_10_27_05_9911.jpg
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_14_9445.jpg
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_25_10369.jpg
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351150092","1351150074","1351150104","1351150097","1351150070","1351150082"],"photo_ids_order":["1351150070","1351150074","1351150082","1351150092","1351150097","1351150104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b26c3f7025f5d98838510b74a9c27059.jpg","text":"TemporaryFile(/tmp/multipartBody217828857684567153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_27_14_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db03cda73dd5eb2513b4f64e96f1b1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2724886268699620361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_26_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/962cdafc05de66cb0d4350c3995e8c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3336365759642704765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_27_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32ab77709cc88da7209b4b8ec5598c54.jpg","text":"TemporaryFile(/tmp/multipartBody5529640523629798136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_27_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10437347d5a55d5de12e8d3fc30c59fc.jpg","text":"TemporaryFile(/tmp/multipartBody4519713461214960036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_26_44_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04b916c92fbd6abea27cec33c13ea4b1.jpg","text":"TemporaryFile(/tmp/multipartBody6175902470868628203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285413738,"filename":"image_10042025_10_27_05_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351150082","file1":"1351150074","file0":"1351150070","file4":"1351150097","file5":"1351150104","file3":"1351150092"},"map_files_photo_id_array":[{"photo_id":"1351150104","filename":"file5"},{"photo_id":"1351150082","filename":"file2"},{"photo_id":"1351150097","filename":"file4"},{"photo_id":"1351150074","filename":"file1"},{"photo_id":"1351150070","filename":"file0"},{"photo_id":"1351150092","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351150092":["hashtag1","hashtag2"]},{"1351150074":["hashtag1","hashtag2"]},{"1351150104":["hashtag1","hashtag2"]},{"1351150097":["hashtag1","hashtag2"]},{"1351150070":["hashtag1","hashtag2"]},{"1351150082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351150092, 1351150074, 1351150104, 1351150097, 1351150070, 1351150082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5873007774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:43:32.584221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_44_9454.jpg', '/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_55_10372.jpg', '/home/pi/Desktop/images/10042025/10/27/image_10042025_10_28_04_9365.jpg', '/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_25_10359.jpg', '/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_34_9388.jpg', '/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_44_9454.jpg
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_27_55_10372.jpg
/home/pi/Desktop/images/10042025/10/27/image_10042025_10_28_04_9365.jpg
/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_25_10359.jpg
/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_34_9388.jpg
/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351150520","1351150282","1351150351","1351150426","1351150389","1351150296"],"photo_ids_order":["1351150282","1351150296","1351150351","1351150389","1351150426","1351150520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5189cfe2789ef203a52ad9053ff4f24d.jpg","text":"TemporaryFile(/tmp/multipartBody1770502336974330266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_28_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13a280c9b4afed1b8641e6544e57f1d5.jpg","text":"TemporaryFile(/tmp/multipartBody6779934271303744082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_27_44_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02709bc15b472f1073e214f56f780077.jpg","text":"TemporaryFile(/tmp/multipartBody8341561841133065831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_28_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/746b67fd056aae5e4ffe6ec8b1254a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1605755816105801135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_28_34_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c25f41e1515c160543488d6bdd5c7274.jpg","text":"TemporaryFile(/tmp/multipartBody3292871749465964698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_28_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec46c39a4ebe5a69c2f647b0e9f75711.jpg","text":"TemporaryFile(/tmp/multipartBody9052606938621672709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285473033,"filename":"image_10042025_10_27_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351150351","file1":"1351150296","file0":"1351150282","file4":"1351150426","file5":"1351150520","file3":"1351150389"},"map_files_photo_id_array":[{"photo_id":"1351150520","filename":"file5"},{"photo_id":"1351150351","filename":"file2"},{"photo_id":"1351150426","filename":"file4"},{"photo_id":"1351150296","filename":"file1"},{"photo_id":"1351150282","filename":"file0"},{"photo_id":"1351150389","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351150520":["hashtag1","hashtag2"]},{"1351150282":["hashtag1","hashtag2"]},{"1351150351":["hashtag1","hashtag2"]},{"1351150426":["hashtag1","hashtag2"]},{"1351150389":["hashtag1","hashtag2"]},{"1351150296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351150520, 1351150282, 1351150351, 1351150426, 1351150389, 1351150296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98070478439331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:44:32.796578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_55_10366.jpg', '/home/pi/Desktop/images/10042025/10/28/image_10042025_10_29_04_9390.jpg', '/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_15_10355.jpg', '/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_24_9379.jpg', '/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_35_10345.jpg', '/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_45_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/28/image_10042025_10_28_55_10366.jpg
/home/pi/Desktop/images/10042025/10/28/image_10042025_10_29_04_9390.jpg
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_15_10355.jpg
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_24_9379.jpg
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_35_10345.jpg
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_45_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351150783","1351150761","1351150935","1351150926","1351150902","1351150955"],"photo_ids_order":["1351150761","1351150783","1351150902","1351150926","1351150935","1351150955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/482a74a34f2871dd0e9dc9da8fa213c5.jpg","text":"TemporaryFile(/tmp/multipartBody8484508361442602759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_29_04_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bba652df089070baa882989ec9c8190.jpg","text":"TemporaryFile(/tmp/multipartBody3779576627004263456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_28_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fd03ed883faaadf219573550588c592.jpg","text":"TemporaryFile(/tmp/multipartBody1859413521870258723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_29_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4af23a54e7707d85f64ab7e538ffaa37.jpg","text":"TemporaryFile(/tmp/multipartBody1938200640250145232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_29_24_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59421461c59e82ff4b4e6cfeb3ed09c8.jpg","text":"TemporaryFile(/tmp/multipartBody2983489406801454660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_29_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf36e3cec4c7e3c0f10e815895813651.jpg","text":"TemporaryFile(/tmp/multipartBody442142977054058940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285533243,"filename":"image_10042025_10_29_45_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351150902","file1":"1351150783","file0":"1351150761","file4":"1351150935","file5":"1351150955","file3":"1351150926"},"map_files_photo_id_array":[{"photo_id":"1351150955","filename":"file5"},{"photo_id":"1351150902","filename":"file2"},{"photo_id":"1351150935","filename":"file4"},{"photo_id":"1351150783","filename":"file1"},{"photo_id":"1351150761","filename":"file0"},{"photo_id":"1351150926","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351150783":["hashtag1","hashtag2"]},{"1351150761":["hashtag1","hashtag2"]},{"1351150935":["hashtag1","hashtag2"]},{"1351150926":["hashtag1","hashtag2"]},{"1351150902":["hashtag1","hashtag2"]},{"1351150955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351150783, 1351150761, 1351150935, 1351150926, 1351150902, 1351150955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.762144327163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:45:33.031961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_54_9458.jpg', '/home/pi/Desktop/images/10042025/10/29/image_10042025_10_30_05_10356.jpg', '/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_14_9454.jpg', '/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_35_10365.jpg', '/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_44_9419.jpg', '/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_29_54_9458.jpg
/home/pi/Desktop/images/10042025/10/29/image_10042025_10_30_05_10356.jpg
/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_14_9454.jpg
/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_35_10365.jpg
/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_44_9419.jpg
/home/pi/Desktop/images/10042025/10/30/image_10042025_10_30_55_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351151083","1351151091","1351151079","1351151094","1351151075","1351151087"],"photo_ids_order":["1351151075","1351151079","1351151083","1351151087","1351151091","1351151094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/afde0ae56cbdcd50368eaeb59b606f92.jpg","text":"TemporaryFile(/tmp/multipartBody5248132270103103883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_30_14_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/159a430adefdfec4d7fa5266ad810f96.jpg","text":"TemporaryFile(/tmp/multipartBody8270712158628936309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_30_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f17ae2cfe61ee4f8e8124d2b8f26c9d.jpg","text":"TemporaryFile(/tmp/multipartBody9053413851474052049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_30_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a954c32a0f81d69647b6d177c1013e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5998092430528966560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_30_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/161bde9fdc4c429f8a0fc2c1bfa4bba5.jpg","text":"TemporaryFile(/tmp/multipartBody192992748288206255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_29_54_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de5d7462416493261d48af13c0b625ec.jpg","text":"TemporaryFile(/tmp/multipartBody3457408065641927009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285593491,"filename":"image_10042025_10_30_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351151083","file1":"1351151079","file0":"1351151075","file4":"1351151091","file5":"1351151094","file3":"1351151087"},"map_files_photo_id_array":[{"photo_id":"1351151094","filename":"file5"},{"photo_id":"1351151083","filename":"file2"},{"photo_id":"1351151091","filename":"file4"},{"photo_id":"1351151079","filename":"file1"},{"photo_id":"1351151075","filename":"file0"},{"photo_id":"1351151087","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351151083":["hashtag1","hashtag2"]},{"1351151091":["hashtag1","hashtag2"]},{"1351151079":["hashtag1","hashtag2"]},{"1351151094":["hashtag1","hashtag2"]},{"1351151075":["hashtag1","hashtag2"]},{"1351151087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351151083, 1351151091, 1351151079, 1351151094, 1351151075, 1351151087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56185269355774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:46:32.253496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/30/image_10042025_10_31_04_9453.jpg', '/home/pi/Desktop/images/10042025/10/31/image_10042025_10_31_15_10391.jpg', '/home/pi/Desktop/images/10042025/10/31/image_10042025_10_31_25_10401.jpg', '/home/pi/Desktop/images/10042025/10/32/image_10042025_10_33_05_10366.jpg', '/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_14_9452.jpg', '/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_25_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/30/image_10042025_10_31_04_9453.jpg
/home/pi/Desktop/images/10042025/10/31/image_10042025_10_31_15_10391.jpg
/home/pi/Desktop/images/10042025/10/31/image_10042025_10_31_25_10401.jpg
/home/pi/Desktop/images/10042025/10/32/image_10042025_10_33_05_10366.jpg
/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_14_9452.jpg
/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_25_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351151260","1351151254","1351151257","1351151239","1351151215","1351151192"],"photo_ids_order":["1351151192","1351151215","1351151239","1351151254","1351151257","1351151260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/213cac89b54ac611a56202e3f8cd6243.jpg","text":"TemporaryFile(/tmp/multipartBody6391034351516231755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_33_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdf696fac368956a3f8c606d63f59435.jpg","text":"TemporaryFile(/tmp/multipartBody661029500897313087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_33_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b67dfc722b2226fd44d452607181307c.jpg","text":"TemporaryFile(/tmp/multipartBody7177583125411711404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_33_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ff187186a5c54a982c5eaf51f25bab3.jpg","text":"TemporaryFile(/tmp/multipartBody1870595638976291055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_31_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98de93b0abbb0dc38d0625c1738534e6.jpg","text":"TemporaryFile(/tmp/multipartBody4654884731687778796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_31_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f79ee57d2e46be28e810883072499ba.jpg","text":"TemporaryFile(/tmp/multipartBody7025359346276684595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285652702,"filename":"image_10042025_10_31_04_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351151239","file1":"1351151215","file0":"1351151192","file4":"1351151257","file5":"1351151260","file3":"1351151254"},"map_files_photo_id_array":[{"photo_id":"1351151260","filename":"file5"},{"photo_id":"1351151239","filename":"file2"},{"photo_id":"1351151257","filename":"file4"},{"photo_id":"1351151215","filename":"file1"},{"photo_id":"1351151192","filename":"file0"},{"photo_id":"1351151254","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351151260":["hashtag1","hashtag2"]},{"1351151254":["hashtag1","hashtag2"]},{"1351151257":["hashtag1","hashtag2"]},{"1351151239":["hashtag1","hashtag2"]},{"1351151215":["hashtag1","hashtag2"]},{"1351151192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351151260, 1351151254, 1351151257, 1351151239, 1351151215, 1351151192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88982963562012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:47:32.471780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_45_10356.jpg', '/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_55_10365.jpg', '/home/pi/Desktop/images/10042025/10/33/image_10042025_10_34_04_9417.jpg', '/home/pi/Desktop/images/10042025/10/34/image_10042025_10_34_15_10391.jpg', '/home/pi/Desktop/images/10042025/10/34/image_10042025_10_34_24_9599.jpg', '/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_14_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_45_10356.jpg
/home/pi/Desktop/images/10042025/10/33/image_10042025_10_33_55_10365.jpg
/home/pi/Desktop/images/10042025/10/33/image_10042025_10_34_04_9417.jpg
/home/pi/Desktop/images/10042025/10/34/image_10042025_10_34_15_10391.jpg
/home/pi/Desktop/images/10042025/10/34/image_10042025_10_34_24_9599.jpg
/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_14_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351151386","1351151359","1351151368","1351151347","1351151352","1351151301"],"photo_ids_order":["1351151301","1351151347","1351151352","1351151359","1351151368","1351151386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10b0afaac41451030e74981b4c734791.jpg","text":"TemporaryFile(/tmp/multipartBody8051427821907911220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_35_14_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d83ea1999abf66536e7b72fc1140fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1276887106858901306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_34_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fc0a8b525d691865f4d7804818ad005.jpg","text":"TemporaryFile(/tmp/multipartBody1605369922854316816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_34_24_9599.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5172555316751f1366c2b9b26da5342.jpg","text":"TemporaryFile(/tmp/multipartBody5755173977310924107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_33_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8f68fe315ecc8cc7f09ad2cdf59d96f.jpg","text":"TemporaryFile(/tmp/multipartBody3176824484918598748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_34_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16013e90c5d265bd50b90f5111b87e82.jpg","text":"TemporaryFile(/tmp/multipartBody8111857938810063464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285712967,"filename":"image_10042025_10_33_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351151352","file1":"1351151347","file0":"1351151301","file4":"1351151368","file5":"1351151386","file3":"1351151359"},"map_files_photo_id_array":[{"photo_id":"1351151386","filename":"file5"},{"photo_id":"1351151352","filename":"file2"},{"photo_id":"1351151368","filename":"file4"},{"photo_id":"1351151347","filename":"file1"},{"photo_id":"1351151301","filename":"file0"},{"photo_id":"1351151359","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351151386":["hashtag1","hashtag2"]},{"1351151359":["hashtag1","hashtag2"]},{"1351151368":["hashtag1","hashtag2"]},{"1351151347":["hashtag1","hashtag2"]},{"1351151352":["hashtag1","hashtag2"]},{"1351151301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351151386, 1351151359, 1351151368, 1351151347, 1351151352, 1351151301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96163249015808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:48:32.547664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_25_10366.jpg', '/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_45_10447.jpg', '/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_55_10375.jpg', '/home/pi/Desktop/images/10042025/10/35/image_10042025_10_36_04_9424.jpg', '/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_15_10356.jpg', '/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_24_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_25_10366.jpg
/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_45_10447.jpg
/home/pi/Desktop/images/10042025/10/35/image_10042025_10_35_55_10375.jpg
/home/pi/Desktop/images/10042025/10/35/image_10042025_10_36_04_9424.jpg
/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_15_10356.jpg
/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_24_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351151857","1351151691","1351151623","1351151766","1351151661","1351151876"],"photo_ids_order":["1351151623","1351151661","1351151691","1351151766","1351151857","1351151876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a2c7661ff6dde62089c2771c3ba956e.jpg","text":"TemporaryFile(/tmp/multipartBody569861710908496311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_36_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea272e4e07db04d469efebb3a6e827c6.jpg","text":"TemporaryFile(/tmp/multipartBody6765918959742787369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_35_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/654bf12a4760e5c371333db88d940187.jpg","text":"TemporaryFile(/tmp/multipartBody1538909288447490625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_35_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19bb2493627a3328dc7ff5646d985e88.jpg","text":"TemporaryFile(/tmp/multipartBody2765144537452109032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_36_04_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b18dcd6b4bf366fcd252ca05fe69c18.jpg","text":"TemporaryFile(/tmp/multipartBody1369102414710831031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_35_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd3322d0a3eb120a0f41862e6b41c5cc.jpg","text":"TemporaryFile(/tmp/multipartBody1669676682066613375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285773015,"filename":"image_10042025_10_36_24_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351151691","file1":"1351151661","file0":"1351151623","file4":"1351151857","file5":"1351151876","file3":"1351151766"},"map_files_photo_id_array":[{"photo_id":"1351151876","filename":"file5"},{"photo_id":"1351151691","filename":"file2"},{"photo_id":"1351151857","filename":"file4"},{"photo_id":"1351151661","filename":"file1"},{"photo_id":"1351151623","filename":"file0"},{"photo_id":"1351151766","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351151857":["hashtag1","hashtag2"]},{"1351151691":["hashtag1","hashtag2"]},{"1351151623":["hashtag1","hashtag2"]},{"1351151766":["hashtag1","hashtag2"]},{"1351151661":["hashtag1","hashtag2"]},{"1351151876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351151857, 1351151691, 1351151623, 1351151766, 1351151661, 1351151876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.972856760025024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:49:32.687839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_35_10407.jpg', '/home/pi/Desktop/images/10042025/10/36/image_10042025_10_37_05_10354.jpg', '/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_14_9438.jpg', '/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_25_10453.jpg', '/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_35_10359.jpg', '/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_14_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/36/image_10042025_10_36_35_10407.jpg
/home/pi/Desktop/images/10042025/10/36/image_10042025_10_37_05_10354.jpg
/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_14_9438.jpg
/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_25_10453.jpg
/home/pi/Desktop/images/10042025/10/37/image_10042025_10_37_35_10359.jpg
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_14_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351152256","1351152390","1351152223","1351152197","1351152325","1351152169"],"photo_ids_order":["1351152169","1351152197","1351152223","1351152256","1351152325","1351152390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac6a45c425a101fd513a5edfe04aeefb.jpg","text":"TemporaryFile(/tmp/multipartBody184044526392665653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_37_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/149402d6d6940a4a9847525add2034a9.jpg","text":"TemporaryFile(/tmp/multipartBody7966438419058392522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_38_14_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e80fd204618b0260ca4b5057f937ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2561061077006578911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_37_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e0b198ab82513f3f818f8eeafde9725.jpg","text":"TemporaryFile(/tmp/multipartBody3914922481745752311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_37_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c04d46cc337441b2c8443b5b2e64b568.jpg","text":"TemporaryFile(/tmp/multipartBody8182286767392848468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_37_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc25c0717ba3e40134eb090b64698998.jpg","text":"TemporaryFile(/tmp/multipartBody5523304234897102526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285833152,"filename":"image_10042025_10_36_35_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351152223","file1":"1351152197","file0":"1351152169","file4":"1351152325","file5":"1351152390","file3":"1351152256"},"map_files_photo_id_array":[{"photo_id":"1351152390","filename":"file5"},{"photo_id":"1351152223","filename":"file2"},{"photo_id":"1351152325","filename":"file4"},{"photo_id":"1351152197","filename":"file1"},{"photo_id":"1351152169","filename":"file0"},{"photo_id":"1351152256","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351152256":["hashtag1","hashtag2"]},{"1351152390":["hashtag1","hashtag2"]},{"1351152223":["hashtag1","hashtag2"]},{"1351152197":["hashtag1","hashtag2"]},{"1351152325":["hashtag1","hashtag2"]},{"1351152169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351152256, 1351152390, 1351152223, 1351152197, 1351152325, 1351152169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.839258432388306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:50:32.851682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_25_10368.jpg', '/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_34_9367.jpg', '/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_45_10389.jpg', '/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_55_10371.jpg', '/home/pi/Desktop/images/10042025/10/38/image_10042025_10_39_04_9399.jpg', '/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_15_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_25_10368.jpg
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_34_9367.jpg
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_45_10389.jpg
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_38_55_10371.jpg
/home/pi/Desktop/images/10042025/10/38/image_10042025_10_39_04_9399.jpg
/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_15_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351152585","1351152561","1351152555","1351152528","1351152558","1351152544"],"photo_ids_order":["1351152528","1351152544","1351152555","1351152558","1351152561","1351152585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f554d9130cd1ef6570e14af44fe3a104.jpg","text":"TemporaryFile(/tmp/multipartBody536048665024441713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_39_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bebbc748d2e277ef3569844c041f0488.jpg","text":"TemporaryFile(/tmp/multipartBody2509810691453521100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_39_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1b61af92b5fa73809df63f6ce21a269.jpg","text":"TemporaryFile(/tmp/multipartBody8564751834204460640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_38_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1c768f40bbfbbe8c46c6d0ca31a7bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7054202616533959266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_38_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f036fe6a443dc4ccd1055307f59cc4c4.jpg","text":"TemporaryFile(/tmp/multipartBody3650277684056135577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_38_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc7226948ffaeab03655f87b24f5a8ef.jpg","text":"TemporaryFile(/tmp/multipartBody4772029987973785281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285893307,"filename":"image_10042025_10_38_34_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351152555","file1":"1351152544","file0":"1351152528","file4":"1351152561","file5":"1351152585","file3":"1351152558"},"map_files_photo_id_array":[{"photo_id":"1351152585","filename":"file5"},{"photo_id":"1351152555","filename":"file2"},{"photo_id":"1351152561","filename":"file4"},{"photo_id":"1351152544","filename":"file1"},{"photo_id":"1351152528","filename":"file0"},{"photo_id":"1351152558","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351152585":["hashtag1","hashtag2"]},{"1351152561":["hashtag1","hashtag2"]},{"1351152555":["hashtag1","hashtag2"]},{"1351152528":["hashtag1","hashtag2"]},{"1351152558":["hashtag1","hashtag2"]},{"1351152544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351152585, 1351152561, 1351152555, 1351152528, 1351152558, 1351152544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41444444656372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:51:33.079421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_24_9439.jpg', '/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_35_10442.jpg', '/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_54_9425.jpg', '/home/pi/Desktop/images/10042025/10/40/image_10042025_10_40_14_9335.jpg', '/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_15_10433.jpg', '/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_34_9499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_24_9439.jpg
/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_35_10442.jpg
/home/pi/Desktop/images/10042025/10/39/image_10042025_10_39_54_9425.jpg
/home/pi/Desktop/images/10042025/10/40/image_10042025_10_40_14_9335.jpg
/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_15_10433.jpg
/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_34_9499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351152726","1351152758","1351152731","1351152728","1351152733","1351152736"],"photo_ids_order":["1351152726","1351152728","1351152731","1351152733","1351152736","1351152758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e5aad7c7c37cbcf70908165cb4f035d.jpg","text":"TemporaryFile(/tmp/multipartBody8542312663202080742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_39_24_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93ae92f8ad0dce2374b159632ccee266.jpg","text":"TemporaryFile(/tmp/multipartBody5004916845649720583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_41_34_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bee4cf74f9a2b07ac5b6ed5d8fc2438.jpg","text":"TemporaryFile(/tmp/multipartBody1932567087027809637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_39_54_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22cb35c81b8302784e95b707344a7943.jpg","text":"TemporaryFile(/tmp/multipartBody2284007627941765330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_39_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dabd4a0375365e9bcbce26ad04bde940.jpg","text":"TemporaryFile(/tmp/multipartBody5007397530409142322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_40_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7487a3843af4cf40b4aa86a4360381f5.jpg","text":"TemporaryFile(/tmp/multipartBody152907078945581512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744285953535,"filename":"image_10042025_10_41_15_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351152731","file1":"1351152728","file0":"1351152726","file4":"1351152736","file5":"1351152758","file3":"1351152733"},"map_files_photo_id_array":[{"photo_id":"1351152758","filename":"file5"},{"photo_id":"1351152731","filename":"file2"},{"photo_id":"1351152736","filename":"file4"},{"photo_id":"1351152728","filename":"file1"},{"photo_id":"1351152726","filename":"file0"},{"photo_id":"1351152733","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351152726":["hashtag1","hashtag2"]},{"1351152758":["hashtag1","hashtag2"]},{"1351152731":["hashtag1","hashtag2"]},{"1351152728":["hashtag1","hashtag2"]},{"1351152733":["hashtag1","hashtag2"]},{"1351152736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351152726, 1351152758, 1351152731, 1351152728, 1351152733, 1351152736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.595970630645752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:52:32.242301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_45_10397.jpg', '/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_54_9350.jpg', '/home/pi/Desktop/images/10042025/10/41/image_10042025_10_42_05_10364.jpg', '/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_15_10370.jpg', '/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_24_9418.jpg', '/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_45_10397.jpg
/home/pi/Desktop/images/10042025/10/41/image_10042025_10_41_54_9350.jpg
/home/pi/Desktop/images/10042025/10/41/image_10042025_10_42_05_10364.jpg
/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_15_10370.jpg
/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_24_9418.jpg
/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351152894","1351152930","1351152867","1351152927","1351152920","1351152871"],"photo_ids_order":["1351152867","1351152871","1351152894","1351152920","1351152927","1351152930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f78d3ad8acfc8c457785d704296e30c1.jpg","text":"TemporaryFile(/tmp/multipartBody7255465161920959062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_42_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d05ffbcfc4e5577e9ba3f9977f794fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4751300663911574997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_42_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a462987a5c2fab3bb1f5ced550037e9.jpg","text":"TemporaryFile(/tmp/multipartBody8222782563721848156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_41_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c53d5266e73e568b2d91b7630cdf152.jpg","text":"TemporaryFile(/tmp/multipartBody1851806781648568142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_42_24_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/120ded5f1ebf1c9572dd6c1133aaed54.jpg","text":"TemporaryFile(/tmp/multipartBody3242342406161891509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_42_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57986aeb879de341c74709689cb97d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4115525941241331247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286012698,"filename":"image_10042025_10_41_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351152894","file1":"1351152871","file0":"1351152867","file4":"1351152927","file5":"1351152930","file3":"1351152920"},"map_files_photo_id_array":[{"photo_id":"1351152930","filename":"file5"},{"photo_id":"1351152894","filename":"file2"},{"photo_id":"1351152927","filename":"file4"},{"photo_id":"1351152871","filename":"file1"},{"photo_id":"1351152867","filename":"file0"},{"photo_id":"1351152920","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351152894":["hashtag1","hashtag2"]},{"1351152930":["hashtag1","hashtag2"]},{"1351152867":["hashtag1","hashtag2"]},{"1351152927":["hashtag1","hashtag2"]},{"1351152920":["hashtag1","hashtag2"]},{"1351152871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351152894, 1351152930, 1351152867, 1351152927, 1351152920, 1351152871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91025447845459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:53:32.674378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_55_10441.jpg', '/home/pi/Desktop/images/10042025/10/42/image_10042025_10_43_05_10370.jpg', '/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_14_9459.jpg', '/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_25_10355.jpg', '/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_34_9347.jpg', '/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_44_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/42/image_10042025_10_42_55_10441.jpg
/home/pi/Desktop/images/10042025/10/42/image_10042025_10_43_05_10370.jpg
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_14_9459.jpg
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_25_10355.jpg
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_34_9347.jpg
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_44_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351153080","1351153062","1351153058","1351153112","1351153106","1351153099"],"photo_ids_order":["1351153058","1351153062","1351153080","1351153099","1351153106","1351153112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aee52e59556a26cca602ee73c021a06d.jpg","text":"TemporaryFile(/tmp/multipartBody1066369129313343462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_43_14_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc90e4202acb55aa665aad34d88cc090.jpg","text":"TemporaryFile(/tmp/multipartBody6051874959321154590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_43_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c86d369af0edf3c93da6f33d2b7aa91.jpg","text":"TemporaryFile(/tmp/multipartBody3375081160363213613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_42_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a781f10b9d9c20fa07d112ae41b95b51.jpg","text":"TemporaryFile(/tmp/multipartBody8817823917849849348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_43_44_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aed83a9c4d97f4a8b4a5908231c62cba.jpg","text":"TemporaryFile(/tmp/multipartBody953018278272287183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_43_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e183b6d342b7926665e2adb5843a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6907419020558835227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286073139,"filename":"image_10042025_10_43_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351153080","file1":"1351153062","file0":"1351153058","file4":"1351153106","file5":"1351153112","file3":"1351153099"},"map_files_photo_id_array":[{"photo_id":"1351153112","filename":"file5"},{"photo_id":"1351153080","filename":"file2"},{"photo_id":"1351153106","filename":"file4"},{"photo_id":"1351153062","filename":"file1"},{"photo_id":"1351153058","filename":"file0"},{"photo_id":"1351153099","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351153080":["hashtag1","hashtag2"]},{"1351153062":["hashtag1","hashtag2"]},{"1351153058":["hashtag1","hashtag2"]},{"1351153112":["hashtag1","hashtag2"]},{"1351153106":["hashtag1","hashtag2"]},{"1351153099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351153080, 1351153062, 1351153058, 1351153112, 1351153106, 1351153099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.746373414993286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:54:33.391756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_55_10386.jpg', '/home/pi/Desktop/images/10042025/10/43/image_10042025_10_44_04_9359.jpg', '/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_15_10340.jpg', '/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_25_10438.jpg', '/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_34_9390.jpg', '/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_54_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_43_55_10386.jpg
/home/pi/Desktop/images/10042025/10/43/image_10042025_10_44_04_9359.jpg
/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_15_10340.jpg
/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_25_10438.jpg
/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_34_9390.jpg
/home/pi/Desktop/images/10042025/10/44/image_10042025_10_44_54_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351153281","1351153269","1351153289","1351153277","1351153291","1351153285"],"photo_ids_order":["1351153269","1351153277","1351153281","1351153285","1351153289","1351153291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abc1b89714d6cb042e23b7e78881df60.jpg","text":"TemporaryFile(/tmp/multipartBody2987231407836839762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_44_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a8e35ce037076545234627276b5e4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5332416215285213772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_43_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/554b81a0ff4917dd4bca2efc172af813.jpg","text":"TemporaryFile(/tmp/multipartBody2842938142288998551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_44_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78d2fc8988ec8353f15c27f62763f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody7090893437505297057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_44_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f79dfbcd54d9cd712c7d8e9cf73ce8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1645438821854582968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_44_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d34b16b0c8fa06c8249bcc0da1d549a.jpg","text":"TemporaryFile(/tmp/multipartBody8498173818221579388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286133844,"filename":"image_10042025_10_44_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351153281","file1":"1351153277","file0":"1351153269","file4":"1351153289","file5":"1351153291","file3":"1351153285"},"map_files_photo_id_array":[{"photo_id":"1351153291","filename":"file5"},{"photo_id":"1351153281","filename":"file2"},{"photo_id":"1351153289","filename":"file4"},{"photo_id":"1351153277","filename":"file1"},{"photo_id":"1351153269","filename":"file0"},{"photo_id":"1351153285","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351153281":["hashtag1","hashtag2"]},{"1351153269":["hashtag1","hashtag2"]},{"1351153289":["hashtag1","hashtag2"]},{"1351153277":["hashtag1","hashtag2"]},{"1351153291":["hashtag1","hashtag2"]},{"1351153285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351153281, 1351153269, 1351153289, 1351153277, 1351153291, 1351153285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.455294370651245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:55:32.593132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/44/image_10042025_10_45_05_10389.jpg', '/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_15_10359.jpg', '/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_24_9408.jpg', '/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_44_9368.jpg', '/home/pi/Desktop/images/10042025/10/45/image_10042025_10_46_05_10450.jpg', '/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_14_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/44/image_10042025_10_45_05_10389.jpg
/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_15_10359.jpg
/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_24_9408.jpg
/home/pi/Desktop/images/10042025/10/45/image_10042025_10_45_44_9368.jpg
/home/pi/Desktop/images/10042025/10/45/image_10042025_10_46_05_10450.jpg
/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_14_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351153332","1351153329","1351153311","1351153325","1351153319","1351153315"],"photo_ids_order":["1351153311","1351153315","1351153319","1351153325","1351153329","1351153332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2f02f6f737fc4078c08707053e1a478.jpg","text":"TemporaryFile(/tmp/multipartBody7239950329050990000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_46_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa5076d68c4e3a8cd96d9e8626030bb6.jpg","text":"TemporaryFile(/tmp/multipartBody979651004859379575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_46_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e70e9217f3f49d3e78784cef5c69fb48.jpg","text":"TemporaryFile(/tmp/multipartBody1895468767689015609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_45_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/806b88300b6c9699a5d50fb8a76e73ab.jpg","text":"TemporaryFile(/tmp/multipartBody3657577131147510225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_45_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5fa78dfea0956355e16368c675ace90.jpg","text":"TemporaryFile(/tmp/multipartBody8141046126438416579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_45_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11248a99c32ceed99b3e6770cc7dde12.jpg","text":"TemporaryFile(/tmp/multipartBody4996935931364358026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286193052,"filename":"image_10042025_10_45_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351153319","file1":"1351153315","file0":"1351153311","file4":"1351153329","file5":"1351153332","file3":"1351153325"},"map_files_photo_id_array":[{"photo_id":"1351153332","filename":"file5"},{"photo_id":"1351153319","filename":"file2"},{"photo_id":"1351153329","filename":"file4"},{"photo_id":"1351153315","filename":"file1"},{"photo_id":"1351153311","filename":"file0"},{"photo_id":"1351153325","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351153332":["hashtag1","hashtag2"]},{"1351153329":["hashtag1","hashtag2"]},{"1351153311":["hashtag1","hashtag2"]},{"1351153325":["hashtag1","hashtag2"]},{"1351153319":["hashtag1","hashtag2"]},{"1351153315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351153332, 1351153329, 1351153311, 1351153325, 1351153319, 1351153315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83191752433777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:56:32.739050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_25_10392.jpg', '/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_34_9490.jpg', '/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_15_10349.jpg', '/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_45_10451.jpg', '/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_54_9430.jpg', '/home/pi/Desktop/images/10042025/10/47/image_10042025_10_48_05_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_25_10392.jpg
/home/pi/Desktop/images/10042025/10/46/image_10042025_10_46_34_9490.jpg
/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_15_10349.jpg
/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_45_10451.jpg
/home/pi/Desktop/images/10042025/10/47/image_10042025_10_47_54_9430.jpg
/home/pi/Desktop/images/10042025/10/47/image_10042025_10_48_05_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351153353","1351153356","1351153384","1351153387","1351153366","1351153375"],"photo_ids_order":["1351153353","1351153356","1351153366","1351153375","1351153384","1351153387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/709667d195299e17158fea8f180724d7.jpg","text":"TemporaryFile(/tmp/multipartBody823870107291772593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_46_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/067fe077bd65b86ae55440d451befe3b.jpg","text":"TemporaryFile(/tmp/multipartBody7563976657382996086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_46_34_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e9dc7497292c32a91ead70421534ee2.jpg","text":"TemporaryFile(/tmp/multipartBody7668771777261460033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_47_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3948365e38c9f667f21c4c5faafd824.jpg","text":"TemporaryFile(/tmp/multipartBody4662337531560005857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_48_05_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80d32348301b609088d5363fdcabfa61.jpg","text":"TemporaryFile(/tmp/multipartBody7487799479304387725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_47_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d7d8e3950b6d10b1d8eb73a180c9d84.jpg","text":"TemporaryFile(/tmp/multipartBody8364443058150217415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286253202,"filename":"image_10042025_10_47_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351153366","file1":"1351153356","file0":"1351153353","file4":"1351153384","file5":"1351153387","file3":"1351153375"},"map_files_photo_id_array":[{"photo_id":"1351153387","filename":"file5"},{"photo_id":"1351153366","filename":"file2"},{"photo_id":"1351153384","filename":"file4"},{"photo_id":"1351153356","filename":"file1"},{"photo_id":"1351153353","filename":"file0"},{"photo_id":"1351153375","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351153353":["hashtag1","hashtag2"]},{"1351153356":["hashtag1","hashtag2"]},{"1351153384":["hashtag1","hashtag2"]},{"1351153387":["hashtag1","hashtag2"]},{"1351153366":["hashtag1","hashtag2"]},{"1351153375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351153353, 1351153356, 1351153384, 1351153387, 1351153366, 1351153375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.692461252212524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:57:32.850102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_25_10426.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_35_10361.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_44_9481.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_55_10422.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_49_04_9359.jpg', '/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_25_10426.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_35_10361.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_44_9481.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_55_10422.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_49_04_9359.jpg
/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 13:59:04.320361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_25_10426.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_35_10361.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_44_9481.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_55_10422.jpg', '/home/pi/Desktop/images/10042025/10/48/image_10042025_10_49_04_9359.jpg', '/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_25_10426.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_35_10361.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_44_9481.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_48_55_10422.jpg
/home/pi/Desktop/images/10042025/10/48/image_10042025_10_49_04_9359.jpg
/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_25_10368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351153772","1351153841","1351153703","1351153870","1351153732","1351153810"],"photo_ids_order":["1351153703","1351153732","1351153772","1351153810","1351153841","1351153870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c79c9dae6cf2e6836a168d4128294e6.jpg","text":"TemporaryFile(/tmp/multipartBody205506598633919747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_48_44_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e991467ec8ee44de171cf1d2a987ac17.jpg","text":"TemporaryFile(/tmp/multipartBody7235047964455107553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_49_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ee6b211840d14ca6b5b7b5b9b90d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1034200082838457094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_48_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3bd9e18c27ddcd0b9f7b5675543eab3.jpg","text":"TemporaryFile(/tmp/multipartBody5630957949103623571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_49_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d744453289a6e0406d2752b2b8fe259.jpg","text":"TemporaryFile(/tmp/multipartBody1129318025320375481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_48_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1130d80e960f37bdc6c9a062760b9be.jpg","text":"TemporaryFile(/tmp/multipartBody3031352487772549223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286404969,"filename":"image_10042025_10_48_55_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351153772","file1":"1351153732","file0":"1351153703","file4":"1351153841","file5":"1351153870","file3":"1351153810"},"map_files_photo_id_array":[{"photo_id":"1351153870","filename":"file5"},{"photo_id":"1351153772","filename":"file2"},{"photo_id":"1351153841","filename":"file4"},{"photo_id":"1351153732","filename":"file1"},{"photo_id":"1351153703","filename":"file0"},{"photo_id":"1351153810","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351153772":["hashtag1","hashtag2"]},{"1351153841":["hashtag1","hashtag2"]},{"1351153703":["hashtag1","hashtag2"]},{"1351153870":["hashtag1","hashtag2"]},{"1351153732":["hashtag1","hashtag2"]},{"1351153810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351153772, 1351153841, 1351153703, 1351153870, 1351153732, 1351153810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.175090312957764 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 13:59:52.473907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_34_9491.jpg', '/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_45_10356.jpg', '/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_54_9367.jpg', '/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_35_10370.jpg', '/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_44_9340.jpg', '/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_54_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_34_9491.jpg
/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_45_10356.jpg
/home/pi/Desktop/images/10042025/10/49/image_10042025_10_49_54_9367.jpg
/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_35_10370.jpg
/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_44_9340.jpg
/home/pi/Desktop/images/10042025/10/50/image_10042025_10_50_54_10361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351154103","1351154159","1351154234","1351154281","1351154017","1351154064"],"photo_ids_order":["1351154017","1351154064","1351154103","1351154159","1351154234","1351154281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d52d1776202b0653eace6262b4854bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8237841657510884326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_49_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dc5edf9f69879d6d67537b324a00c72.jpg","text":"TemporaryFile(/tmp/multipartBody6080192945481952874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_50_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ab191003262ee4a0f2fde8988419bee.jpg","text":"TemporaryFile(/tmp/multipartBody9179796060792946164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_50_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c98a49eaf91d8bb5aa3449334b9c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody4168496611289897534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_50_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0dc046fbdca69555cafefad1dce43ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1250603215715747388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_49_34_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e4dbad0a3d233817ee5d5cdb8ff04b7.jpg","text":"TemporaryFile(/tmp/multipartBody5571262948540818040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286452942,"filename":"image_10042025_10_49_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351154103","file1":"1351154064","file0":"1351154017","file4":"1351154234","file5":"1351154281","file3":"1351154159"},"map_files_photo_id_array":[{"photo_id":"1351154281","filename":"file5"},{"photo_id":"1351154103","filename":"file2"},{"photo_id":"1351154234","filename":"file4"},{"photo_id":"1351154064","filename":"file1"},{"photo_id":"1351154017","filename":"file0"},{"photo_id":"1351154159","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351154103":["hashtag1","hashtag2"]},{"1351154159":["hashtag1","hashtag2"]},{"1351154234":["hashtag1","hashtag2"]},{"1351154281":["hashtag1","hashtag2"]},{"1351154017":["hashtag1","hashtag2"]},{"1351154064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351154103, 1351154159, 1351154234, 1351154281, 1351154017, 1351154064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22411513328552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:00:32.701283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/50/image_10042025_10_51_05_10354.jpg', '/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_14_9332.jpg', '/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_25_10447.jpg', '/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_35_10459.jpg', '/home/pi/Desktop/images/10042025/10/51/image_10042025_10_52_04_9368.jpg', '/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_15_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/50/image_10042025_10_51_05_10354.jpg
/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_14_9332.jpg
/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_25_10447.jpg
/home/pi/Desktop/images/10042025/10/51/image_10042025_10_51_35_10459.jpg
/home/pi/Desktop/images/10042025/10/51/image_10042025_10_52_04_9368.jpg
/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_15_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351154567","1351154552","1351154539","1351154533","1351154577","1351154556"],"photo_ids_order":["1351154533","1351154539","1351154552","1351154556","1351154567","1351154577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc3198502bb25c115a41c7817e164a82.jpg","text":"TemporaryFile(/tmp/multipartBody5117657508691998732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_52_04_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c51b416ca9262f7b853319866db9efb2.jpg","text":"TemporaryFile(/tmp/multipartBody1140984678754987310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_51_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/511b0568970d61d3746e9202a45922c3.jpg","text":"TemporaryFile(/tmp/multipartBody4096295307473638985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_51_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89b78250e9c6ef81aeeffb0478aeafcc.jpg","text":"TemporaryFile(/tmp/multipartBody6361862599072665233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_51_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb0e97024951f71cf245a0a3e488eeb5.jpg","text":"TemporaryFile(/tmp/multipartBody1100192394094004689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_52_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d0ea1eb893ae54de8fcba7daa007f85.jpg","text":"TemporaryFile(/tmp/multipartBody5511643761554110428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286493227,"filename":"image_10042025_10_51_35_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351154552","file1":"1351154539","file0":"1351154533","file4":"1351154567","file5":"1351154577","file3":"1351154556"},"map_files_photo_id_array":[{"photo_id":"1351154577","filename":"file5"},{"photo_id":"1351154552","filename":"file2"},{"photo_id":"1351154567","filename":"file4"},{"photo_id":"1351154539","filename":"file1"},{"photo_id":"1351154533","filename":"file0"},{"photo_id":"1351154556","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351154567":["hashtag1","hashtag2"]},{"1351154552":["hashtag1","hashtag2"]},{"1351154539":["hashtag1","hashtag2"]},{"1351154533":["hashtag1","hashtag2"]},{"1351154577":["hashtag1","hashtag2"]},{"1351154556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351154567, 1351154552, 1351154539, 1351154533, 1351154577, 1351154556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.267253398895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:01:32.872345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_25_10357.jpg', '/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_34_9473.jpg', '/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_54_9376.jpg', '/home/pi/Desktop/images/10042025/10/52/image_10042025_10_53_05_10454.jpg', '/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_15_10349.jpg', '/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_24_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_25_10357.jpg
/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_34_9473.jpg
/home/pi/Desktop/images/10042025/10/52/image_10042025_10_52_54_9376.jpg
/home/pi/Desktop/images/10042025/10/52/image_10042025_10_53_05_10454.jpg
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_15_10349.jpg
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_24_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351154739","1351154706","1351154882","1351154690","1351154794","1351154760"],"photo_ids_order":["1351154690","1351154706","1351154739","1351154760","1351154794","1351154882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4191022414fde9608811491eef5b2900.jpg","text":"TemporaryFile(/tmp/multipartBody2742861838303055524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_52_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ac0d6c1cf861c17e5b4a15c94e5d23f.jpg","text":"TemporaryFile(/tmp/multipartBody2950779740532615165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_52_34_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b6511e5a5ac86be07409f7001c7191e.jpg","text":"TemporaryFile(/tmp/multipartBody403707427075967619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_53_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b9d533f3855a150a0db1f9ac8543fbf.jpg","text":"TemporaryFile(/tmp/multipartBody197570030168096376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_52_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c8cac1c6cb1e1324392d4a2792e3723.jpg","text":"TemporaryFile(/tmp/multipartBody4689187373195549377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_53_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cfa8c780e15d53b1e7a0447db63fe435.jpg","text":"TemporaryFile(/tmp/multipartBody5097910959587582183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286553327,"filename":"image_10042025_10_53_05_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351154739","file1":"1351154706","file0":"1351154690","file4":"1351154794","file5":"1351154882","file3":"1351154760"},"map_files_photo_id_array":[{"photo_id":"1351154882","filename":"file5"},{"photo_id":"1351154739","filename":"file2"},{"photo_id":"1351154794","filename":"file4"},{"photo_id":"1351154706","filename":"file1"},{"photo_id":"1351154690","filename":"file0"},{"photo_id":"1351154760","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351154739":["hashtag1","hashtag2"]},{"1351154706":["hashtag1","hashtag2"]},{"1351154882":["hashtag1","hashtag2"]},{"1351154690":["hashtag1","hashtag2"]},{"1351154794":["hashtag1","hashtag2"]},{"1351154760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351154739, 1351154706, 1351154882, 1351154690, 1351154794, 1351154760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71080017089844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:02:33.091680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_35_10364.jpg', '/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_44_9416.jpg', '/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_55_10609.jpg', '/home/pi/Desktop/images/10042025/10/53/image_10042025_10_54_04_9365.jpg', '/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_15_10402.jpg', '/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_35_10364.jpg
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_44_9416.jpg
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_53_55_10609.jpg
/home/pi/Desktop/images/10042025/10/53/image_10042025_10_54_04_9365.jpg
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_15_10402.jpg
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_25_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351155371","1351155266","1351155329","1351155236","1351155459","1351155318"],"photo_ids_order":["1351155236","1351155266","1351155318","1351155329","1351155371","1351155459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa22bdb89c2551f8084740c9a431b700.jpg","text":"TemporaryFile(/tmp/multipartBody4851526964165215938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_54_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/609e552923973317118c964157105fdb.jpg","text":"TemporaryFile(/tmp/multipartBody8572963633574693266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_53_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2784615124e1400c11d202d1f36e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody616438454446277659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_54_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fc3df743e8aa3484facd3b28d1d0f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6487425852414252603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_53_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3496656550c3501969d4e852ff5dbe3.jpg","text":"TemporaryFile(/tmp/multipartBody3398805175970043060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_54_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1d2a9e58f0fbcc9a8b731ba7442c3c7.jpg","text":"TemporaryFile(/tmp/multipartBody8869353937557684889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286613542,"filename":"image_10042025_10_53_55_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351155318","file1":"1351155266","file0":"1351155236","file4":"1351155371","file5":"1351155459","file3":"1351155329"},"map_files_photo_id_array":[{"photo_id":"1351155459","filename":"file5"},{"photo_id":"1351155318","filename":"file2"},{"photo_id":"1351155371","filename":"file4"},{"photo_id":"1351155266","filename":"file1"},{"photo_id":"1351155236","filename":"file0"},{"photo_id":"1351155329","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351155371":["hashtag1","hashtag2"]},{"1351155266":["hashtag1","hashtag2"]},{"1351155329":["hashtag1","hashtag2"]},{"1351155236":["hashtag1","hashtag2"]},{"1351155459":["hashtag1","hashtag2"]},{"1351155318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351155371, 1351155266, 1351155329, 1351155236, 1351155459, 1351155318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52612018585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:03:32.411864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_34_9476.jpg', '/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_45_10384.jpg', '/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_54_9428.jpg', '/home/pi/Desktop/images/10042025/10/54/image_10042025_10_55_05_10427.jpg', '/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_15_10382.jpg', '/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_24_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_34_9476.jpg
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_45_10384.jpg
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_54_54_9428.jpg
/home/pi/Desktop/images/10042025/10/54/image_10042025_10_55_05_10427.jpg
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_15_10382.jpg
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_24_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351155796","1351156045","1351156030","1351155883","1351155979","1351155762"],"photo_ids_order":["1351155762","1351155796","1351155883","1351155979","1351156030","1351156045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfb030a5c96b23f60fa05eb8859ec756.jpg","text":"TemporaryFile(/tmp/multipartBody7582150447934188256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_54_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b2aa6a3b2944f57e0b438bbc321fa89.jpg","text":"TemporaryFile(/tmp/multipartBody6164696526163656688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_55_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6db73595a490ad91e7233e888bdc1432.jpg","text":"TemporaryFile(/tmp/multipartBody556965436690187928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_55_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44c51b58ec9af10f2476f6c845c6dec3.jpg","text":"TemporaryFile(/tmp/multipartBody4100959204803903144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_54_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/021b9bd06e493f73f8bf096f18086a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1637418123574710470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_55_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0949acef0af7a7cdec30537b45cae9e3.jpg","text":"TemporaryFile(/tmp/multipartBody4018982584215586127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286672890,"filename":"image_10042025_10_54_34_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351155883","file1":"1351155796","file0":"1351155762","file4":"1351156030","file5":"1351156045","file3":"1351155979"},"map_files_photo_id_array":[{"photo_id":"1351156045","filename":"file5"},{"photo_id":"1351155883","filename":"file2"},{"photo_id":"1351156030","filename":"file4"},{"photo_id":"1351155796","filename":"file1"},{"photo_id":"1351155762","filename":"file0"},{"photo_id":"1351155979","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351155796":["hashtag1","hashtag2"]},{"1351156045":["hashtag1","hashtag2"]},{"1351156030":["hashtag1","hashtag2"]},{"1351155883":["hashtag1","hashtag2"]},{"1351155979":["hashtag1","hashtag2"]},{"1351155762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351155796, 1351156045, 1351156030, 1351155883, 1351155979, 1351155762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07127785682678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:04:32.598946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_35_10364.jpg', '/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_44_9354.jpg', '/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_55_10462.jpg', '/home/pi/Desktop/images/10042025/10/55/image_10042025_10_56_05_10410.jpg', '/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_14_9398.jpg', '/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_25_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_35_10364.jpg
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_44_9354.jpg
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_55_55_10462.jpg
/home/pi/Desktop/images/10042025/10/55/image_10042025_10_56_05_10410.jpg
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_14_9398.jpg
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_25_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351156720","1351156507","1351156290","1351156650","1351156781","1351156404"],"photo_ids_order":["1351156290","1351156404","1351156507","1351156650","1351156720","1351156781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03bb35f1ccf771f6f6bc11ffc8ff53f2.jpg","text":"TemporaryFile(/tmp/multipartBody7034652721211505420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_56_14_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11973277a79b5ec146ebf8ffa21080e3.jpg","text":"TemporaryFile(/tmp/multipartBody1613604740636250317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_55_55_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ba5b62c47a9b249b4cdeb1ad40a8e26.jpg","text":"TemporaryFile(/tmp/multipartBody2330770038780297335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_55_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20d9bb08418724b8061d307e7abdaa31.jpg","text":"TemporaryFile(/tmp/multipartBody1545025249391653323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_56_05_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91fcc4a35953940b2eda4fb3e403284a.jpg","text":"TemporaryFile(/tmp/multipartBody3888006700622458786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_56_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/928e6c583bb580d47961c3d0e481dcf3.jpg","text":"TemporaryFile(/tmp/multipartBody992472325635966067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286733075,"filename":"image_10042025_10_55_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351156507","file1":"1351156404","file0":"1351156290","file4":"1351156720","file5":"1351156781","file3":"1351156650"},"map_files_photo_id_array":[{"photo_id":"1351156781","filename":"file5"},{"photo_id":"1351156507","filename":"file2"},{"photo_id":"1351156720","filename":"file4"},{"photo_id":"1351156404","filename":"file1"},{"photo_id":"1351156290","filename":"file0"},{"photo_id":"1351156650","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351156720":["hashtag1","hashtag2"]},{"1351156507":["hashtag1","hashtag2"]},{"1351156290":["hashtag1","hashtag2"]},{"1351156650":["hashtag1","hashtag2"]},{"1351156781":["hashtag1","hashtag2"]},{"1351156404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351156720, 1351156507, 1351156290, 1351156650, 1351156781, 1351156404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42288303375244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:05:32.826728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_34_9360.jpg', '/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_45_10453.jpg', '/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_55_10377.jpg', '/home/pi/Desktop/images/10042025/10/56/image_10042025_10_57_04_9412.jpg', '/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_15_10357.jpg', '/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_24_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_34_9360.jpg
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_45_10453.jpg
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_56_55_10377.jpg
/home/pi/Desktop/images/10042025/10/56/image_10042025_10_57_04_9412.jpg
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_15_10357.jpg
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_24_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351157329","1351157376","1351157384","1351157304","1351157354","1351157249"],"photo_ids_order":["1351157249","1351157304","1351157329","1351157354","1351157376","1351157384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97b8e38f507661c0999774089d6ce3f6.jpg","text":"TemporaryFile(/tmp/multipartBody8363234362110328293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_56_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/282f8c41d455f01570810385a24c3bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3872373663590547695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_57_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9504f8dec90d193fe7c5a6e99b12784a.jpg","text":"TemporaryFile(/tmp/multipartBody483962095601797931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_57_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e83a20a27d58e9eb08e1cede5e52c4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1774676230553623094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_56_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/670884d77b159c6714921a225bc735c0.jpg","text":"TemporaryFile(/tmp/multipartBody6515288342611205188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_57_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42c388a3910ac8c902bf638e7593b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody8613097289490406903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286793360,"filename":"image_10042025_10_56_34_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351157329","file1":"1351157304","file0":"1351157249","file4":"1351157376","file5":"1351157384","file3":"1351157354"},"map_files_photo_id_array":[{"photo_id":"1351157384","filename":"file5"},{"photo_id":"1351157329","filename":"file2"},{"photo_id":"1351157376","filename":"file4"},{"photo_id":"1351157304","filename":"file1"},{"photo_id":"1351157249","filename":"file0"},{"photo_id":"1351157354","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351157329":["hashtag1","hashtag2"]},{"1351157376":["hashtag1","hashtag2"]},{"1351157384":["hashtag1","hashtag2"]},{"1351157304":["hashtag1","hashtag2"]},{"1351157354":["hashtag1","hashtag2"]},{"1351157249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351157329, 1351157376, 1351157384, 1351157304, 1351157354, 1351157249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45435571670532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:06:32.854357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_34_10399.jpg', '/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_45_10366.jpg', '/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_54_9507.jpg', '/home/pi/Desktop/images/10042025/10/57/image_10042025_10_58_05_10367.jpg', '/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_14_9330.jpg', '/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_24_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_34_10399.jpg
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_45_10366.jpg
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_57_54_9507.jpg
/home/pi/Desktop/images/10042025/10/57/image_10042025_10_58_05_10367.jpg
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_14_9330.jpg
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_24_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351157683","1351157590","1351157637","1351157559","1351157610","1351157705"],"photo_ids_order":["1351157559","1351157590","1351157610","1351157637","1351157683","1351157705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/707080f427a6ed16f4504fca5b681f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8070561551070079105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_58_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5899eba043f80ff63eaaf618893a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody5397016511466360909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_57_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9a38722c157616d9757d8d03828f691.jpg","text":"TemporaryFile(/tmp/multipartBody913122121298824021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_58_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67b51b22e0d2cc874935eae0aafdc8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6550565140853306547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_57_34_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcb11cff52e2bf74bf493f6a0770144d.jpg","text":"TemporaryFile(/tmp/multipartBody5595427745703291708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_57_54_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7a8f14b0990bd7ef245594eaa79cf3a.jpg","text":"TemporaryFile(/tmp/multipartBody7456290127118860046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286853308,"filename":"image_10042025_10_58_24_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351157610","file1":"1351157590","file0":"1351157559","file4":"1351157683","file5":"1351157705","file3":"1351157637"},"map_files_photo_id_array":[{"photo_id":"1351157705","filename":"file5"},{"photo_id":"1351157610","filename":"file2"},{"photo_id":"1351157683","filename":"file4"},{"photo_id":"1351157590","filename":"file1"},{"photo_id":"1351157559","filename":"file0"},{"photo_id":"1351157637","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351157683":["hashtag1","hashtag2"]},{"1351157590":["hashtag1","hashtag2"]},{"1351157637":["hashtag1","hashtag2"]},{"1351157559":["hashtag1","hashtag2"]},{"1351157610":["hashtag1","hashtag2"]},{"1351157705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351157683, 1351157590, 1351157637, 1351157559, 1351157610, 1351157705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.593764781951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:07:33.034692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_35_10375.jpg', '/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_44_9382.jpg', '/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_55_10356.jpg', '/home/pi/Desktop/images/10042025/10/58/image_10042025_10_59_05_10360.jpg', '/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_14_9442.jpg', '/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_35_10375.jpg
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_44_9382.jpg
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_58_55_10356.jpg
/home/pi/Desktop/images/10042025/10/58/image_10042025_10_59_05_10360.jpg
/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_14_9442.jpg
/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351158087","1351158213","1351158041","1351158311","1351158262","1351158130"],"photo_ids_order":["1351158041","1351158087","1351158130","1351158213","1351158262","1351158311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8ab85f6f72cf937fba28b09fc0b5001.jpg","text":"TemporaryFile(/tmp/multipartBody6207751408805440008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_58_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df9a1488a7565b3f3c9ee26068279951.jpg","text":"TemporaryFile(/tmp/multipartBody2904280253482369569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_59_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c2396d13189c6b4632fb1a543f8c71b.jpg","text":"TemporaryFile(/tmp/multipartBody8051367422923375179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_58_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7853e2dbc79930fbe42a411ec771899a.jpg","text":"TemporaryFile(/tmp/multipartBody2508848641855290336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_59_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4759ba9a26ce582e40d336d24c2d62d.jpg","text":"TemporaryFile(/tmp/multipartBody3400204901280371723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_59_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9b3bdadc6c1b5d1bb27fb6c70c8e75f.jpg","text":"TemporaryFile(/tmp/multipartBody8192369983745724838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286913492,"filename":"image_10042025_10_58_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351158130","file1":"1351158087","file0":"1351158041","file4":"1351158262","file5":"1351158311","file3":"1351158213"},"map_files_photo_id_array":[{"photo_id":"1351158311","filename":"file5"},{"photo_id":"1351158130","filename":"file2"},{"photo_id":"1351158262","filename":"file4"},{"photo_id":"1351158087","filename":"file1"},{"photo_id":"1351158041","filename":"file0"},{"photo_id":"1351158213","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351158087":["hashtag1","hashtag2"]},{"1351158213":["hashtag1","hashtag2"]},{"1351158041":["hashtag1","hashtag2"]},{"1351158311":["hashtag1","hashtag2"]},{"1351158262":["hashtag1","hashtag2"]},{"1351158130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351158087, 1351158213, 1351158041, 1351158311, 1351158262, 1351158130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.199206829071045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:08:32.322361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_34_9429.jpg', '/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_45_10452.jpg', '/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_55_10353.jpg', '/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_14_10079.jpg', '/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_25_10358.jpg', '/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_34_9429.jpg
/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_45_10452.jpg
/home/pi/Desktop/images/10042025/10/59/image_10042025_10_59_55_10353.jpg
/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_14_10079.jpg
/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_25_10358.jpg
/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351158625","1351158579","1351158570","1351158564","1351158603","1351158644"],"photo_ids_order":["1351158564","1351158570","1351158579","1351158603","1351158625","1351158644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a729609784f4de40d8e17fbcea3242f5.jpg","text":"TemporaryFile(/tmp/multipartBody170947739682831690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_11_01_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a30da5152343156371763bf953ad552.jpg","text":"TemporaryFile(/tmp/multipartBody8170240339646139670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_10_59_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ec072861c015ef61ce3404bc9b733ab.jpg","text":"TemporaryFile(/tmp/multipartBody1346677266997509496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_10_59_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d050c4b0d4137983c6d998836704c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2510262592427431986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_10_59_34_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97f968e62c2a4f6e039a50742a9c3039.jpg","text":"TemporaryFile(/tmp/multipartBody2467342049283618414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_11_01_14_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/923004465e62d4a19863d20a418dca2a.jpg","text":"TemporaryFile(/tmp/multipartBody7895546127104789111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744286972782,"filename":"image_10042025_11_01_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351158579","file1":"1351158570","file0":"1351158564","file4":"1351158625","file5":"1351158644","file3":"1351158603"},"map_files_photo_id_array":[{"photo_id":"1351158644","filename":"file5"},{"photo_id":"1351158579","filename":"file2"},{"photo_id":"1351158625","filename":"file4"},{"photo_id":"1351158570","filename":"file1"},{"photo_id":"1351158564","filename":"file0"},{"photo_id":"1351158603","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351158625":["hashtag1","hashtag2"]},{"1351158579":["hashtag1","hashtag2"]},{"1351158570":["hashtag1","hashtag2"]},{"1351158564":["hashtag1","hashtag2"]},{"1351158603":["hashtag1","hashtag2"]},{"1351158644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351158625, 1351158579, 1351158570, 1351158564, 1351158603, 1351158644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.130889654159546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:09:32.469843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_44_9396.jpg', '/home/pi/Desktop/images/10042025/11/02/image_10042025_11_03_05_9353.jpg', '/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_15_10361.jpg', '/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_24_9480.jpg', '/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_35_10356.jpg', '/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/01/image_10042025_11_01_44_9396.jpg
/home/pi/Desktop/images/10042025/11/02/image_10042025_11_03_05_9353.jpg
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_15_10361.jpg
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_24_9480.jpg
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_35_10356.jpg
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351158703","1351158678","1351158702","1351158695","1351158674","1351158670"],"photo_ids_order":["1351158670","1351158674","1351158678","1351158695","1351158702","1351158703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c305c15926b4156f293b9a0cb4bee3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4567208464939976997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_03_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b41c3143b01849539fc7514830a75789.jpg","text":"TemporaryFile(/tmp/multipartBody8394243848797469023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_03_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e86165ec286fa0c199986422c9c9a26f.jpg","text":"TemporaryFile(/tmp/multipartBody310476840748150077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_03_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fa5e3cee2cc30f19b5b5768660667a2.jpg","text":"TemporaryFile(/tmp/multipartBody3591484559537117064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_03_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20ba901d6fe86c50659c16304330e9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3045319107557919487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_03_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dcb794220a16a7c521183158fdc362e.jpg","text":"TemporaryFile(/tmp/multipartBody1028125864554333812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287032926,"filename":"image_10042025_11_01_44_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351158678","file1":"1351158674","file0":"1351158670","file4":"1351158702","file5":"1351158703","file3":"1351158695"},"map_files_photo_id_array":[{"photo_id":"1351158703","filename":"file5"},{"photo_id":"1351158678","filename":"file2"},{"photo_id":"1351158702","filename":"file4"},{"photo_id":"1351158674","filename":"file1"},{"photo_id":"1351158670","filename":"file0"},{"photo_id":"1351158695","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351158703":["hashtag1","hashtag2"]},{"1351158678":["hashtag1","hashtag2"]},{"1351158702":["hashtag1","hashtag2"]},{"1351158695":["hashtag1","hashtag2"]},{"1351158674":["hashtag1","hashtag2"]},{"1351158670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351158703, 1351158678, 1351158702, 1351158695, 1351158674, 1351158670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63202929496765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:10:32.611072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_54_9368.jpg', '/home/pi/Desktop/images/10042025/11/03/image_10042025_11_04_05_10359.jpg', '/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_14_9366.jpg', '/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_25_10372.jpg', '/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_35_10410.jpg', '/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_44_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_03_54_9368.jpg
/home/pi/Desktop/images/10042025/11/03/image_10042025_11_04_05_10359.jpg
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_14_9366.jpg
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_25_10372.jpg
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_35_10410.jpg
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_44_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351158882","1351158912","1351158833","1351158824","1351158799","1351158934"],"photo_ids_order":["1351158799","1351158824","1351158833","1351158882","1351158912","1351158934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29dfbbd6ddb19bdee384972e35b92caa.jpg","text":"TemporaryFile(/tmp/multipartBody6214098554367746012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_04_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a339054d2f438cebac6c08cc589b7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody1589028898895140192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_04_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c9760a80cc9cb662bafd60444f9cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody5659228658971168883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_04_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52026f15cb20672131652f4e75dbc86d.jpg","text":"TemporaryFile(/tmp/multipartBody6133726484230924042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_04_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc7c382530b09ead2be59a295bb3c871.jpg","text":"TemporaryFile(/tmp/multipartBody8568325721729488792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_03_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2725cf1f169e99b313fb8b2280d6da89.jpg","text":"TemporaryFile(/tmp/multipartBody4926181100184251141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287093062,"filename":"image_10042025_11_04_44_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351158833","file1":"1351158824","file0":"1351158799","file4":"1351158912","file5":"1351158934","file3":"1351158882"},"map_files_photo_id_array":[{"photo_id":"1351158934","filename":"file5"},{"photo_id":"1351158833","filename":"file2"},{"photo_id":"1351158912","filename":"file4"},{"photo_id":"1351158824","filename":"file1"},{"photo_id":"1351158799","filename":"file0"},{"photo_id":"1351158882","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351158882":["hashtag1","hashtag2"]},{"1351158912":["hashtag1","hashtag2"]},{"1351158833":["hashtag1","hashtag2"]},{"1351158824":["hashtag1","hashtag2"]},{"1351158799":["hashtag1","hashtag2"]},{"1351158934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351158882, 1351158912, 1351158833, 1351158824, 1351158799, 1351158934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81351161003113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:11:32.782469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_55_10371.jpg', '/home/pi/Desktop/images/10042025/11/04/image_10042025_11_05_05_10360.jpg', '/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_15_9423.jpg', '/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_25_10340.jpg', '/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_34_9389.jpg', '/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_45_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_04_55_10371.jpg
/home/pi/Desktop/images/10042025/11/04/image_10042025_11_05_05_10360.jpg
/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_15_9423.jpg
/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_25_10340.jpg
/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_34_9389.jpg
/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_45_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351159194","1351159269","1351159110","1351159283","1351159136","1351159168"],"photo_ids_order":["1351159110","1351159136","1351159168","1351159194","1351159269","1351159283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bf1833da950d84a92ca3c3e0d2bc912.jpg","text":"TemporaryFile(/tmp/multipartBody5820105932976616577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_05_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/802f5bbe513258abe409bce9ca42b7a0.jpg","text":"TemporaryFile(/tmp/multipartBody3199461226954957774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_05_34_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2a0c4eaab04b07a07ee0f24d651ece6.jpg","text":"TemporaryFile(/tmp/multipartBody532078038303898446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_04_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e20aabeb019d72e53fe5b70ee56f7382.jpg","text":"TemporaryFile(/tmp/multipartBody3871193852626314410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_05_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b843431e408c9436e7ba0d8c8821423a.jpg","text":"TemporaryFile(/tmp/multipartBody4912766932372200778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_05_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/786f7d5580e781ea15b4a79d8067e81b.jpg","text":"TemporaryFile(/tmp/multipartBody4714525350750494830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287153214,"filename":"image_10042025_11_05_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351159168","file1":"1351159136","file0":"1351159110","file4":"1351159269","file5":"1351159283","file3":"1351159194"},"map_files_photo_id_array":[{"photo_id":"1351159283","filename":"file5"},{"photo_id":"1351159168","filename":"file2"},{"photo_id":"1351159269","filename":"file4"},{"photo_id":"1351159136","filename":"file1"},{"photo_id":"1351159110","filename":"file0"},{"photo_id":"1351159194","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351159194":["hashtag1","hashtag2"]},{"1351159269":["hashtag1","hashtag2"]},{"1351159110":["hashtag1","hashtag2"]},{"1351159283":["hashtag1","hashtag2"]},{"1351159136":["hashtag1","hashtag2"]},{"1351159168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351159194, 1351159269, 1351159110, 1351159283, 1351159136, 1351159168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91721296310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:12:32.924461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_55_10428.jpg', '/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_15_10358.jpg', '/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_24_9488.jpg', '/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_35_10348.jpg', '/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_45_10358.jpg', '/home/pi/Desktop/images/10042025/11/06/image_10042025_11_07_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/05/image_10042025_11_05_55_10428.jpg
/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_15_10358.jpg
/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_24_9488.jpg
/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_35_10348.jpg
/home/pi/Desktop/images/10042025/11/06/image_10042025_11_06_45_10358.jpg
/home/pi/Desktop/images/10042025/11/06/image_10042025_11_07_05_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351159446","1351159503","1351159463","1351159489","1351159477","1351159456"],"photo_ids_order":["1351159446","1351159456","1351159463","1351159477","1351159489","1351159503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e83f481c15acbb30d4d8b4cf4d97f10.jpg","text":"TemporaryFile(/tmp/multipartBody8779980497960458854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_05_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4049cbf75371ad2ca8f3047489278fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7976137123364083781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_07_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f96052d1a975d75797e74693d62a0fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7762437319445515132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_06_24_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7028bde041370fd5d08fa886f1810ca.jpg","text":"TemporaryFile(/tmp/multipartBody4034581142647285265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_06_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ad8b688f819b83719ee72051e6474ce.jpg","text":"TemporaryFile(/tmp/multipartBody7967831569328158011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_06_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d86875a7913b33dd556aa2788c5fc44c.jpg","text":"TemporaryFile(/tmp/multipartBody2300498824019710909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287213368,"filename":"image_10042025_11_06_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351159463","file1":"1351159456","file0":"1351159446","file4":"1351159489","file5":"1351159503","file3":"1351159477"},"map_files_photo_id_array":[{"photo_id":"1351159503","filename":"file5"},{"photo_id":"1351159463","filename":"file2"},{"photo_id":"1351159489","filename":"file4"},{"photo_id":"1351159456","filename":"file1"},{"photo_id":"1351159446","filename":"file0"},{"photo_id":"1351159477","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351159446":["hashtag1","hashtag2"]},{"1351159503":["hashtag1","hashtag2"]},{"1351159463":["hashtag1","hashtag2"]},{"1351159489":["hashtag1","hashtag2"]},{"1351159477":["hashtag1","hashtag2"]},{"1351159456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351159446, 1351159503, 1351159463, 1351159489, 1351159477, 1351159456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29053854942322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:13:33.191071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_14_9396.jpg', '/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_35_10350.jpg', '/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_44_9429.jpg', '/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_55_10370.jpg', '/home/pi/Desktop/images/10042025/11/07/image_10042025_11_08_04_9464.jpg', '/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_14_9396.jpg
/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_35_10350.jpg
/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_44_9429.jpg
/home/pi/Desktop/images/10042025/11/07/image_10042025_11_07_55_10370.jpg
/home/pi/Desktop/images/10042025/11/07/image_10042025_11_08_04_9464.jpg
/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_15_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351159740","1351159800","1351159670","1351160109","1351160004","1351159891"],"photo_ids_order":["1351159670","1351159740","1351159800","1351159891","1351160004","1351160109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07e1b1b57e69fb0cf3be2522b23a54fb.jpg","text":"TemporaryFile(/tmp/multipartBody2354609424876549201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_07_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b948eb0b3c4d8f4abda157e41a1ab1d.jpg","text":"TemporaryFile(/tmp/multipartBody7266822535755294973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_07_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe2df1d8786781bf783959f82c101bce.jpg","text":"TemporaryFile(/tmp/multipartBody200801159800593336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_07_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/660753e70312e933f65b46a632744d41.jpg","text":"TemporaryFile(/tmp/multipartBody3478958765706058656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_08_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cd16d7f7a4823cad575c9e0cb2b37df.jpg","text":"TemporaryFile(/tmp/multipartBody88895566745125810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_08_04_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b585ff5ea859d7e663dc2ba3a11af1dc.jpg","text":"TemporaryFile(/tmp/multipartBody750392247129846777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287273634,"filename":"image_10042025_11_07_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351159800","file1":"1351159740","file0":"1351159670","file4":"1351160004","file5":"1351160109","file3":"1351159891"},"map_files_photo_id_array":[{"photo_id":"1351160109","filename":"file5"},{"photo_id":"1351159800","filename":"file2"},{"photo_id":"1351160004","filename":"file4"},{"photo_id":"1351159740","filename":"file1"},{"photo_id":"1351159670","filename":"file0"},{"photo_id":"1351159891","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351159740":["hashtag1","hashtag2"]},{"1351159800":["hashtag1","hashtag2"]},{"1351159670":["hashtag1","hashtag2"]},{"1351160109":["hashtag1","hashtag2"]},{"1351160004":["hashtag1","hashtag2"]},{"1351159891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351159740, 1351159800, 1351159670, 1351160109, 1351160004, 1351159891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.055360078811646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:14:32.426707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_25_10363.jpg', '/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_34_9351.jpg', '/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_54_9498.jpg', '/home/pi/Desktop/images/10042025/11/08/image_10042025_11_09_05_10349.jpg', '/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_15_10366.jpg', '/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_25_10363.jpg
/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_34_9351.jpg
/home/pi/Desktop/images/10042025/11/08/image_10042025_11_08_54_9498.jpg
/home/pi/Desktop/images/10042025/11/08/image_10042025_11_09_05_10349.jpg
/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_15_10366.jpg
/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351160410","1351160373","1351160390","1351160384","1351160360","1351160488"],"photo_ids_order":["1351160360","1351160373","1351160384","1351160390","1351160410","1351160488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bd4dbcb32391dfd7c89fe6494ac9f91.jpg","text":"TemporaryFile(/tmp/multipartBody8844048899875323230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_09_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/499b4f09c0a7af8bffecdc3d15e876be.jpg","text":"TemporaryFile(/tmp/multipartBody2182071747863773997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_08_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc614376c1b7c7d20605fcc8598db45d.jpg","text":"TemporaryFile(/tmp/multipartBody5205144016063126979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_09_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ad81fe2aa5e1cbf930a90f45adbebc9.jpg","text":"TemporaryFile(/tmp/multipartBody1054431861356232503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_08_54_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f13874b643c701d7f974d996213e777.jpg","text":"TemporaryFile(/tmp/multipartBody7564577020356733174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_08_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/959eb5cb300a2032a89416f1ca4fd642.jpg","text":"TemporaryFile(/tmp/multipartBody1113311836013297559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287332864,"filename":"image_10042025_11_09_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351160384","file1":"1351160373","file0":"1351160360","file4":"1351160410","file5":"1351160488","file3":"1351160390"},"map_files_photo_id_array":[{"photo_id":"1351160488","filename":"file5"},{"photo_id":"1351160384","filename":"file2"},{"photo_id":"1351160410","filename":"file4"},{"photo_id":"1351160373","filename":"file1"},{"photo_id":"1351160360","filename":"file0"},{"photo_id":"1351160390","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351160410":["hashtag1","hashtag2"]},{"1351160373":["hashtag1","hashtag2"]},{"1351160390":["hashtag1","hashtag2"]},{"1351160384":["hashtag1","hashtag2"]},{"1351160360":["hashtag1","hashtag2"]},{"1351160488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351160410, 1351160373, 1351160390, 1351160384, 1351160360, 1351160488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.417512893676758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:15:32.680701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_45_10355.jpg', '/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_55_9457.jpg', '/home/pi/Desktop/images/10042025/11/09/image_10042025_11_10_05_10341.jpg', '/home/pi/Desktop/images/10042025/11/10/image_10042025_11_10_14_9426.jpg', '/home/pi/Desktop/images/10042025/11/10/image_10042025_11_10_25_10421.jpg', '/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_15_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_45_10355.jpg
/home/pi/Desktop/images/10042025/11/09/image_10042025_11_09_55_9457.jpg
/home/pi/Desktop/images/10042025/11/09/image_10042025_11_10_05_10341.jpg
/home/pi/Desktop/images/10042025/11/10/image_10042025_11_10_14_9426.jpg
/home/pi/Desktop/images/10042025/11/10/image_10042025_11_10_25_10421.jpg
/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_15_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351160772","1351160688","1351160619","1351160723","1351160702","1351160764"],"photo_ids_order":["1351160619","1351160688","1351160702","1351160723","1351160764","1351160772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7645d73ef1bc9eab63cbc74af029dfb.jpg","text":"TemporaryFile(/tmp/multipartBody9134222429807096782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_11_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99c249d4d1d084715e6fbc011d0f1396.jpg","text":"TemporaryFile(/tmp/multipartBody4312432613303662498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_09_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e354a82e9b27ec1ad1f8446f275c1ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3225829176703836884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_09_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/618fdb2ee5e406a7d46ede9d372f69eb.jpg","text":"TemporaryFile(/tmp/multipartBody7577163586714754873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_10_14_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b10d6712676b846813a7602229fbe936.jpg","text":"TemporaryFile(/tmp/multipartBody4360979972190694542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_10_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8169d4bb8a26af90b3372bb8e1d8b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6380717856455435352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287393142,"filename":"image_10042025_11_10_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351160702","file1":"1351160688","file0":"1351160619","file4":"1351160764","file5":"1351160772","file3":"1351160723"},"map_files_photo_id_array":[{"photo_id":"1351160772","filename":"file5"},{"photo_id":"1351160702","filename":"file2"},{"photo_id":"1351160764","filename":"file4"},{"photo_id":"1351160688","filename":"file1"},{"photo_id":"1351160619","filename":"file0"},{"photo_id":"1351160723","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351160772":["hashtag1","hashtag2"]},{"1351160688":["hashtag1","hashtag2"]},{"1351160619":["hashtag1","hashtag2"]},{"1351160723":["hashtag1","hashtag2"]},{"1351160702":["hashtag1","hashtag2"]},{"1351160764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351160772, 1351160688, 1351160619, 1351160723, 1351160702, 1351160764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.760441064834595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:16:32.837940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_34_9420.jpg', '/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_55_10414.jpg', '/home/pi/Desktop/images/10042025/11/11/image_10042025_11_12_04_9345.jpg', '/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_15_10349.jpg', '/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_25_10417.jpg', '/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_34_9420.jpg
/home/pi/Desktop/images/10042025/11/11/image_10042025_11_11_55_10414.jpg
/home/pi/Desktop/images/10042025/11/11/image_10042025_11_12_04_9345.jpg
/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_15_10349.jpg
/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_25_10417.jpg
/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351160880","1351160883","1351160973","1351160969","1351160927","1351160903"],"photo_ids_order":["1351160880","1351160883","1351160903","1351160927","1351160969","1351160973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75fcd5bec29e47c790af0e5e5b2b2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5552931704550071648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_11_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfc7dd22a64c0bab9b177c983309e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2973536184496499944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_11_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0ce465b9de52dd3352162f21433ca22.jpg","text":"TemporaryFile(/tmp/multipartBody7006918742466223955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_12_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1e53d2d91fe56678de3abac277a6d06.jpg","text":"TemporaryFile(/tmp/multipartBody8742243704335375909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_12_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffd0409a522466d2aa693b7c1181e9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4287467041930915885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_12_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e1dec1c599737b14ebe6291cc1f0eb9.jpg","text":"TemporaryFile(/tmp/multipartBody7219107515031846033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287453284,"filename":"image_10042025_11_12_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351160903","file1":"1351160883","file0":"1351160880","file4":"1351160969","file5":"1351160973","file3":"1351160927"},"map_files_photo_id_array":[{"photo_id":"1351160973","filename":"file5"},{"photo_id":"1351160903","filename":"file2"},{"photo_id":"1351160969","filename":"file4"},{"photo_id":"1351160883","filename":"file1"},{"photo_id":"1351160880","filename":"file0"},{"photo_id":"1351160927","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351160880":["hashtag1","hashtag2"]},{"1351160883":["hashtag1","hashtag2"]},{"1351160973":["hashtag1","hashtag2"]},{"1351160969":["hashtag1","hashtag2"]},{"1351160927":["hashtag1","hashtag2"]},{"1351160903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351160880, 1351160883, 1351160973, 1351160969, 1351160927, 1351160903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.212921142578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:17:32.973883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_54_9494.jpg', '/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_15_10375.jpg', '/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_25_9355.jpg', '/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_44_9429.jpg', '/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_55_10414.jpg', '/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/12/image_10042025_11_12_54_9494.jpg
/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_15_10375.jpg
/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_25_9355.jpg
/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_44_9429.jpg
/home/pi/Desktop/images/10042025/11/13/image_10042025_11_13_55_10414.jpg
/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161083","1351161201","1351161152","1351161089","1351161236","1351161101"],"photo_ids_order":["1351161083","1351161089","1351161101","1351161152","1351161201","1351161236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8e6c36e5da0f95c5596dbe305189024.jpg","text":"TemporaryFile(/tmp/multipartBody1766669304309822858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_12_54_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f5cea87b36f001ce9b85986facfee13.jpg","text":"TemporaryFile(/tmp/multipartBody7572919085726619909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_13_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5d854dd5fb0f4fbfa7e0238bb5f82f0.jpg","text":"TemporaryFile(/tmp/multipartBody1228849315539653409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_13_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ca333b55783e79d9d5e00d7ead77f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8131017260157709316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_13_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b263c293c86cc2fae7fceabeffa6547.jpg","text":"TemporaryFile(/tmp/multipartBody674236644572837300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_14_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed0dadfda7661693e75b1c9b0d78df84.jpg","text":"TemporaryFile(/tmp/multipartBody6147084849171849608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287513428,"filename":"image_10042025_11_13_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161101","file1":"1351161089","file0":"1351161083","file4":"1351161201","file5":"1351161236","file3":"1351161152"},"map_files_photo_id_array":[{"photo_id":"1351161236","filename":"file5"},{"photo_id":"1351161101","filename":"file2"},{"photo_id":"1351161201","filename":"file4"},{"photo_id":"1351161089","filename":"file1"},{"photo_id":"1351161083","filename":"file0"},{"photo_id":"1351161152","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161083":["hashtag1","hashtag2"]},{"1351161201":["hashtag1","hashtag2"]},{"1351161152":["hashtag1","hashtag2"]},{"1351161089":["hashtag1","hashtag2"]},{"1351161236":["hashtag1","hashtag2"]},{"1351161101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161083, 1351161201, 1351161152, 1351161089, 1351161236, 1351161101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06675839424133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:18:33.188558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_35_10348.jpg', '/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_55_10359.jpg', '/home/pi/Desktop/images/10042025/11/14/image_10042025_11_15_04_9393.jpg', '/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_25_10420.jpg', '/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_45_10204.jpg', '/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_35_10348.jpg
/home/pi/Desktop/images/10042025/11/14/image_10042025_11_14_55_10359.jpg
/home/pi/Desktop/images/10042025/11/14/image_10042025_11_15_04_9393.jpg
/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_25_10420.jpg
/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_45_10204.jpg
/home/pi/Desktop/images/10042025/11/15/image_10042025_11_15_55_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161375","1351161365","1351161404","1351161394","1351161334","1351161400"],"photo_ids_order":["1351161334","1351161365","1351161375","1351161394","1351161400","1351161404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7377777ce693724258dd9935d6ebf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4585954841188296523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_15_04_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/daf65dcb035574d412f85b38c7a3d08a.jpg","text":"TemporaryFile(/tmp/multipartBody1274881414552395451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_14_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02509f819a3f6179378905dfecd5fe3a.jpg","text":"TemporaryFile(/tmp/multipartBody4044704993585125916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_15_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae0baba2fad1266c71f2df3aab949cde.jpg","text":"TemporaryFile(/tmp/multipartBody8062221432795120661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_15_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baeb5fc8b868f5a7af810c93bd2ce178.jpg","text":"TemporaryFile(/tmp/multipartBody5488560065698581925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_14_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6062049de0e7f7095dcf5d59f3200cf.jpg","text":"TemporaryFile(/tmp/multipartBody5506463601133789909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287573646,"filename":"image_10042025_11_15_45_10204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161375","file1":"1351161365","file0":"1351161334","file4":"1351161400","file5":"1351161404","file3":"1351161394"},"map_files_photo_id_array":[{"photo_id":"1351161404","filename":"file5"},{"photo_id":"1351161375","filename":"file2"},{"photo_id":"1351161400","filename":"file4"},{"photo_id":"1351161365","filename":"file1"},{"photo_id":"1351161334","filename":"file0"},{"photo_id":"1351161394","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161375":["hashtag1","hashtag2"]},{"1351161365":["hashtag1","hashtag2"]},{"1351161404":["hashtag1","hashtag2"]},{"1351161394":["hashtag1","hashtag2"]},{"1351161334":["hashtag1","hashtag2"]},{"1351161400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161375, 1351161365, 1351161404, 1351161394, 1351161334, 1351161400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93540620803833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:19:32.309859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_15_10352.jpg', '/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_55_9463.jpg', '/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_14_9444.jpg', '/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_25_10374.jpg', '/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_15_9338.jpg', '/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_45_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_15_10352.jpg
/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_55_9463.jpg
/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_14_9444.jpg
/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_25_10374.jpg
/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_15_9338.jpg
/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_45_10456.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37006139755249023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 14:19:42.347978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_15_10352.jpg', '/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_55_9463.jpg', '/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_14_9444.jpg', '/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_25_10374.jpg', '/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_15_9338.jpg', '/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_45_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_15_10352.jpg
/home/pi/Desktop/images/10042025/11/16/image_10042025_11_16_55_9463.jpg
/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_14_9444.jpg
/home/pi/Desktop/images/10042025/11/17/image_10042025_11_17_25_10374.jpg
/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_15_9338.jpg
/home/pi/Desktop/images/10042025/11/18/image_10042025_11_18_45_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161494","1351161476","1351161499","1351161490","1351161503","1351161508"],"photo_ids_order":["1351161476","1351161490","1351161494","1351161499","1351161503","1351161508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c21a2069278f1c40cab9a0307eae283.jpg","text":"TemporaryFile(/tmp/multipartBody137045483544980156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_17_14_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f25a96492de65b6e5a8b9a0f4bfaffe.jpg","text":"TemporaryFile(/tmp/multipartBody1393718717865215661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_16_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b95ec5e46f7f9eae3647c9a2e69b368.jpg","text":"TemporaryFile(/tmp/multipartBody7496323294460635036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_17_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16a751dc41ead853352f37b16bafe32f.jpg","text":"TemporaryFile(/tmp/multipartBody7739223092181398913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_16_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0898eda133fdebb4fd2687bde8b3a64f.jpg","text":"TemporaryFile(/tmp/multipartBody3662188844659373623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_18_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e802304e4d66ff58b18095318795b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7898250630559746392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287642794,"filename":"image_10042025_11_18_45_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161494","file1":"1351161490","file0":"1351161476","file4":"1351161503","file5":"1351161508","file3":"1351161499"},"map_files_photo_id_array":[{"photo_id":"1351161508","filename":"file5"},{"photo_id":"1351161494","filename":"file2"},{"photo_id":"1351161503","filename":"file4"},{"photo_id":"1351161490","filename":"file1"},{"photo_id":"1351161476","filename":"file0"},{"photo_id":"1351161499","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161494":["hashtag1","hashtag2"]},{"1351161476":["hashtag1","hashtag2"]},{"1351161499":["hashtag1","hashtag2"]},{"1351161490":["hashtag1","hashtag2"]},{"1351161503":["hashtag1","hashtag2"]},{"1351161508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161494, 1351161476, 1351161499, 1351161490, 1351161503, 1351161508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44242882728577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:20:32.536670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/19/image_10042025_11_19_15_10413.jpg', '/home/pi/Desktop/images/10042025/11/19/image_10042025_11_19_35_10352.jpg', '/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_14_9342.jpg', '/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_25_10459.jpg', '/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_44_9389.jpg', '/home/pi/Desktop/images/10042025/11/20/image_10042025_11_21_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/19/image_10042025_11_19_15_10413.jpg
/home/pi/Desktop/images/10042025/11/19/image_10042025_11_19_35_10352.jpg
/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_14_9342.jpg
/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_25_10459.jpg
/home/pi/Desktop/images/10042025/11/20/image_10042025_11_20_44_9389.jpg
/home/pi/Desktop/images/10042025/11/20/image_10042025_11_21_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161531","1351161540","1351161534","1351161548","1351161536","1351161529"],"photo_ids_order":["1351161529","1351161531","1351161534","1351161536","1351161540","1351161548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0bb1f2b15134679706cdf78f7d2f061.jpg","text":"TemporaryFile(/tmp/multipartBody2724631770812938136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_19_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/968790f8dd5ef29c06bd2504e51c227d.jpg","text":"TemporaryFile(/tmp/multipartBody3177229389282631416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_20_44_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8c454f5a73eacc2682ccca148e005f4.jpg","text":"TemporaryFile(/tmp/multipartBody5350409420302648017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_20_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e189ae42d5707c254a2679b8e257c1b2.jpg","text":"TemporaryFile(/tmp/multipartBody620883169465319110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_21_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45abac78e559218707d9870a85db76d6.jpg","text":"TemporaryFile(/tmp/multipartBody7947203647363525132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_20_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7b7b677338e2becd07ce32836c8e80b.jpg","text":"TemporaryFile(/tmp/multipartBody6994950160115878654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287692998,"filename":"image_10042025_11_19_15_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161534","file1":"1351161531","file0":"1351161529","file4":"1351161540","file5":"1351161548","file3":"1351161536"},"map_files_photo_id_array":[{"photo_id":"1351161548","filename":"file5"},{"photo_id":"1351161534","filename":"file2"},{"photo_id":"1351161540","filename":"file4"},{"photo_id":"1351161531","filename":"file1"},{"photo_id":"1351161529","filename":"file0"},{"photo_id":"1351161536","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161531":["hashtag1","hashtag2"]},{"1351161540":["hashtag1","hashtag2"]},{"1351161534":["hashtag1","hashtag2"]},{"1351161548":["hashtag1","hashtag2"]},{"1351161536":["hashtag1","hashtag2"]},{"1351161529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161531, 1351161540, 1351161534, 1351161548, 1351161536, 1351161529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38794493675232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:21:32.741354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/21/image_10042025_11_21_14_9335.jpg', '/home/pi/Desktop/images/10042025/11/21/image_10042025_11_22_04_9427.jpg', '/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_15_10423.jpg', '/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_25_10367.jpg', '/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_35_9442.jpg', '/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_45_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/21/image_10042025_11_21_14_9335.jpg
/home/pi/Desktop/images/10042025/11/21/image_10042025_11_22_04_9427.jpg
/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_15_10423.jpg
/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_25_10367.jpg
/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_35_9442.jpg
/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_45_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":["1351161588","1351161581","1351161598","1351161594","1351161591","1351161585"],"photo_ids_order":["1351161581","1351161585","1351161588","1351161591","1351161594","1351161598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e68071d4c2e5b1069be204049074db1b.jpg","text":"TemporaryFile(/tmp/multipartBody5371602696849275663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_22_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de58e63474f77c9ef4a667ad41684ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4206936206916270128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_21_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc35ce844db142e842b908a5f3ad296d.jpg","text":"TemporaryFile(/tmp/multipartBody3878528912624351162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_22_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1988cd890bb7a1ec4e34ae3f525fe921.jpg","text":"TemporaryFile(/tmp/multipartBody1881945925769217082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_22_35_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/178311a7dfd743cfb72b8a2a614bbe8c.jpg","text":"TemporaryFile(/tmp/multipartBody2495492327744815195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_22_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ca8586e38a59856b6e287cbd9ce546f.jpg","text":"TemporaryFile(/tmp/multipartBody8008698966613633951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287753190,"filename":"image_10042025_11_22_04_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161588","file1":"1351161585","file0":"1351161581","file4":"1351161594","file5":"1351161598","file3":"1351161591"},"map_files_photo_id_array":[{"photo_id":"1351161598","filename":"file5"},{"photo_id":"1351161588","filename":"file2"},{"photo_id":"1351161594","filename":"file4"},{"photo_id":"1351161585","filename":"file1"},{"photo_id":"1351161581","filename":"file0"},{"photo_id":"1351161591","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161588":["hashtag1","hashtag2"]},{"1351161581":["hashtag1","hashtag2"]},{"1351161598":["hashtag1","hashtag2"]},{"1351161594":["hashtag1","hashtag2"]},{"1351161591":["hashtag1","hashtag2"]},{"1351161585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161588, 1351161581, 1351161598, 1351161594, 1351161591, 1351161585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.276341438293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:22:32.823227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_54_9443.jpg', '/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_15_10357.jpg', '/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_24_9372.jpg', '/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_35_10360.jpg', '/home/pi/Desktop/images/10042025/11/24/image_10042025_11_24_35_10361.jpg', '/home/pi/Desktop/images/10042025/11/24/image_10042025_11_24_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/22/image_10042025_11_22_54_9443.jpg
/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_15_10357.jpg
/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_24_9372.jpg
/home/pi/Desktop/images/10042025/11/23/image_10042025_11_23_35_10360.jpg
/home/pi/Desktop/images/10042025/11/24/image_10042025_11_24_35_10361.jpg
/home/pi/Desktop/images/10042025/11/24/image_10042025_11_24_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161651","1351161653","1351161647","1351161655","1351161634","1351161637"],"photo_ids_order":["1351161634","1351161637","1351161647","1351161651","1351161653","1351161655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4daa280a19fe0e277651a9be1bc45e4.jpg","text":"TemporaryFile(/tmp/multipartBody1724252000228742486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_23_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca8392942de8cd5d809ea3ef9ab05ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7554332139837758043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_24_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c288dd78dd566c0b5cb6d3f0b37e453.jpg","text":"TemporaryFile(/tmp/multipartBody4368238250843484626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_23_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc673af5ea081d974aa4e7ad3b81e812.jpg","text":"TemporaryFile(/tmp/multipartBody2056486191806747971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_24_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7eda1e80fd29a606b5586603b42d0536.jpg","text":"TemporaryFile(/tmp/multipartBody7262213354823172245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_22_54_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e6b25f0bcccb404ff73a2fb3e1f37f8.jpg","text":"TemporaryFile(/tmp/multipartBody2068960299424868258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287813269,"filename":"image_10042025_11_23_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161647","file1":"1351161637","file0":"1351161634","file4":"1351161653","file5":"1351161655","file3":"1351161651"},"map_files_photo_id_array":[{"photo_id":"1351161655","filename":"file5"},{"photo_id":"1351161647","filename":"file2"},{"photo_id":"1351161653","filename":"file4"},{"photo_id":"1351161637","filename":"file1"},{"photo_id":"1351161634","filename":"file0"},{"photo_id":"1351161651","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161651":["hashtag1","hashtag2"]},{"1351161653":["hashtag1","hashtag2"]},{"1351161647":["hashtag1","hashtag2"]},{"1351161655":["hashtag1","hashtag2"]},{"1351161634":["hashtag1","hashtag2"]},{"1351161637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161651, 1351161653, 1351161647, 1351161655, 1351161634, 1351161637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.55326795578003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:23:32.937180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_15_10358.jpg', '/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_25_10347.jpg', '/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_34_9401.jpg', '/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_55_10358.jpg', '/home/pi/Desktop/images/10042025/11/25/image_10042025_11_26_04_9345.jpg', '/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_15_10358.jpg
/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_25_10347.jpg
/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_34_9401.jpg
/home/pi/Desktop/images/10042025/11/25/image_10042025_11_25_55_10358.jpg
/home/pi/Desktop/images/10042025/11/25/image_10042025_11_26_04_9345.jpg
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161698","1351161705","1351161722","1351161710","1351161701","1351161693"],"photo_ids_order":["1351161693","1351161698","1351161701","1351161705","1351161710","1351161722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e04237980c3c33ce140bd5baedaeb2e.jpg","text":"TemporaryFile(/tmp/multipartBody443392322503602868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_25_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b57b74cdf2f954890f8cfc869c8bc93a.jpg","text":"TemporaryFile(/tmp/multipartBody7621621004626898218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_25_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd64a05eeec14f4ff9156b1edae5d300.jpg","text":"TemporaryFile(/tmp/multipartBody3201310581836495146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_26_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26c121c0a75b6e771767a54ffb9e7c15.jpg","text":"TemporaryFile(/tmp/multipartBody6103686157382846918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_26_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e06889dd18a887301a4b84e2220a40ed.jpg","text":"TemporaryFile(/tmp/multipartBody8297587711739171407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_25_34_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6490bc34a811708dbf48d301f63aaeef.jpg","text":"TemporaryFile(/tmp/multipartBody3708184401568219442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287873401,"filename":"image_10042025_11_25_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161701","file1":"1351161698","file0":"1351161693","file4":"1351161710","file5":"1351161722","file3":"1351161705"},"map_files_photo_id_array":[{"photo_id":"1351161722","filename":"file5"},{"photo_id":"1351161701","filename":"file2"},{"photo_id":"1351161710","filename":"file4"},{"photo_id":"1351161698","filename":"file1"},{"photo_id":"1351161693","filename":"file0"},{"photo_id":"1351161705","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161698":["hashtag1","hashtag2"]},{"1351161705":["hashtag1","hashtag2"]},{"1351161722":["hashtag1","hashtag2"]},{"1351161710":["hashtag1","hashtag2"]},{"1351161701":["hashtag1","hashtag2"]},{"1351161693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161698, 1351161705, 1351161722, 1351161710, 1351161701, 1351161693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.477774143218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:24:33.206470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_25_10362.jpg', '/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_35_9451.jpg', '/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_45_10364.jpg', '/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_54_9462.jpg', '/home/pi/Desktop/images/10042025/11/26/image_10042025_11_27_05_10374.jpg', '/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_25_10362.jpg
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_35_9451.jpg
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_45_10364.jpg
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_26_54_9462.jpg
/home/pi/Desktop/images/10042025/11/26/image_10042025_11_27_05_10374.jpg
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_14_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351161918","1351161862","1351161952","1351161853","1351161856","1351161867"],"photo_ids_order":["1351161853","1351161856","1351161862","1351161867","1351161918","1351161952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ec946eda6b8651deebb377c7a8554f3.jpg","text":"TemporaryFile(/tmp/multipartBody2254824983804294611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_27_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53c113fccdadaac6a016a1706b7ba6a2.jpg","text":"TemporaryFile(/tmp/multipartBody4813816018069245378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_26_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dac648bc66f39ac9db2197e348fc57b7.jpg","text":"TemporaryFile(/tmp/multipartBody22783221551904123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_27_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faa33c65ff77a357f75cbcc5b5bfa4fd.jpg","text":"TemporaryFile(/tmp/multipartBody902752380135136971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_26_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ad8e6c0cd2df41f23df70075f0efd33.jpg","text":"TemporaryFile(/tmp/multipartBody2679667231764970779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_26_35_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4510e096d9a1a97cbab7e298d10cb8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8089169408642638464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287933651,"filename":"image_10042025_11_26_54_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351161862","file1":"1351161856","file0":"1351161853","file4":"1351161918","file5":"1351161952","file3":"1351161867"},"map_files_photo_id_array":[{"photo_id":"1351161952","filename":"file5"},{"photo_id":"1351161862","filename":"file2"},{"photo_id":"1351161918","filename":"file4"},{"photo_id":"1351161856","filename":"file1"},{"photo_id":"1351161853","filename":"file0"},{"photo_id":"1351161867","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351161918":["hashtag1","hashtag2"]},{"1351161862":["hashtag1","hashtag2"]},{"1351161952":["hashtag1","hashtag2"]},{"1351161853":["hashtag1","hashtag2"]},{"1351161856":["hashtag1","hashtag2"]},{"1351161867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351161918, 1351161862, 1351161952, 1351161853, 1351161856, 1351161867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91959071159363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:25:32.274184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_25_10343.jpg', '/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_35_10397.jpg', '/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_44_9414.jpg', '/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_55_10351.jpg', '/home/pi/Desktop/images/10042025/11/27/image_10042025_11_28_05_10424.jpg', '/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_14_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_25_10343.jpg
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_35_10397.jpg
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_44_9414.jpg
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_27_55_10351.jpg
/home/pi/Desktop/images/10042025/11/27/image_10042025_11_28_05_10424.jpg
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_14_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351162046","1351162270","1351162103","1351162072","1351162092","1351162056"],"photo_ids_order":["1351162046","1351162056","1351162072","1351162092","1351162103","1351162270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b8bb0a207352e0fb0b9f7ecb7b2f860.jpg","text":"TemporaryFile(/tmp/multipartBody7310264043633541817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_27_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/088d61345ea399fd24983ddd85032aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5199639916403890792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_28_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/937cd4dacb206e4369e27af8d20b75d0.jpg","text":"TemporaryFile(/tmp/multipartBody2759532413191576124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_28_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2d8c61abf144c29b328d7dfc644f544.jpg","text":"TemporaryFile(/tmp/multipartBody7142197845886491587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_27_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a1dba9801c998b006ad727b5071b19c.jpg","text":"TemporaryFile(/tmp/multipartBody392291552950219755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_27_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32109fb75853ca6cf28e7b62ecb01c88.jpg","text":"TemporaryFile(/tmp/multipartBody942829305653278266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744287992725,"filename":"image_10042025_11_27_35_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351162072","file1":"1351162056","file0":"1351162046","file4":"1351162103","file5":"1351162270","file3":"1351162092"},"map_files_photo_id_array":[{"photo_id":"1351162270","filename":"file5"},{"photo_id":"1351162072","filename":"file2"},{"photo_id":"1351162103","filename":"file4"},{"photo_id":"1351162056","filename":"file1"},{"photo_id":"1351162046","filename":"file0"},{"photo_id":"1351162092","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351162046":["hashtag1","hashtag2"]},{"1351162270":["hashtag1","hashtag2"]},{"1351162103":["hashtag1","hashtag2"]},{"1351162072":["hashtag1","hashtag2"]},{"1351162092":["hashtag1","hashtag2"]},{"1351162056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351162046, 1351162270, 1351162103, 1351162072, 1351162092, 1351162056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68084526062012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:26:32.579228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_25_10389.jpg', '/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_34_9341.jpg', '/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_45_10354.jpg', '/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_55_10366.jpg', '/home/pi/Desktop/images/10042025/11/28/image_10042025_11_29_04_9397.jpg', '/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_25_10389.jpg
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_34_9341.jpg
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_45_10354.jpg
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_28_55_10366.jpg
/home/pi/Desktop/images/10042025/11/28/image_10042025_11_29_04_9397.jpg
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_15_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351162404","1351162445","1351162406","1351162426","1351162408","1351162440"],"photo_ids_order":["1351162404","1351162406","1351162408","1351162426","1351162440","1351162445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8afd7e7826a3cbb5b0e45caa1375febd.jpg","text":"TemporaryFile(/tmp/multipartBody1693644994358134697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_28_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d3e526d8fc572b81f7979cb0feae8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3853274532877970219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_29_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ccf5d2f8f126403d3c91e353fda8e64.jpg","text":"TemporaryFile(/tmp/multipartBody161994655846780463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_28_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d01bf95e70725b7f58550f449a597a04.jpg","text":"TemporaryFile(/tmp/multipartBody1132648592688864024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_28_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e10b203b61e8f987ac4e34c279e1183.jpg","text":"TemporaryFile(/tmp/multipartBody463887508742110735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_28_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/985dbd83f4af56a9addb787d163a87a9.jpg","text":"TemporaryFile(/tmp/multipartBody33224200008667976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288053116,"filename":"image_10042025_11_29_04_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351162408","file1":"1351162406","file0":"1351162404","file4":"1351162440","file5":"1351162445","file3":"1351162426"},"map_files_photo_id_array":[{"photo_id":"1351162445","filename":"file5"},{"photo_id":"1351162408","filename":"file2"},{"photo_id":"1351162440","filename":"file4"},{"photo_id":"1351162406","filename":"file1"},{"photo_id":"1351162404","filename":"file0"},{"photo_id":"1351162426","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351162404":["hashtag1","hashtag2"]},{"1351162445":["hashtag1","hashtag2"]},{"1351162406":["hashtag1","hashtag2"]},{"1351162426":["hashtag1","hashtag2"]},{"1351162408":["hashtag1","hashtag2"]},{"1351162440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351162404, 1351162445, 1351162406, 1351162426, 1351162408, 1351162440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.837374210357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:27:32.723991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_25_10346.jpg', '/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_34_9457.jpg', '/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_45_10345.jpg', '/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_55_10362.jpg', '/home/pi/Desktop/images/10042025/11/29/image_10042025_11_30_05_9423.jpg', '/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_25_10346.jpg
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_34_9457.jpg
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_45_10345.jpg
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_29_55_10362.jpg
/home/pi/Desktop/images/10042025/11/29/image_10042025_11_30_05_9423.jpg
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351162472","1351162552","1351162633","1351162636","1351162584","1351162605"],"photo_ids_order":["1351162472","1351162552","1351162584","1351162605","1351162633","1351162636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbbe27cd571214c43cba36b8b018cc14.jpg","text":"TemporaryFile(/tmp/multipartBody8784496664014590764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_29_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33d8bc4416358adcfa075851b7b2a39f.jpg","text":"TemporaryFile(/tmp/multipartBody8967974810160568825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_29_34_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d49f5a21c59bb46398c120bf92fc83db.jpg","text":"TemporaryFile(/tmp/multipartBody3114345831364263331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_30_05_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba064c44f6f1404687d0f73ff69f3f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4353519372079632384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_30_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5a992dc242ae3505de84cd350a9b850.jpg","text":"TemporaryFile(/tmp/multipartBody3770631331943325364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_29_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d75ecb12018cb49e0d8e3a98a31fd211.jpg","text":"TemporaryFile(/tmp/multipartBody3496960898419141723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288113173,"filename":"image_10042025_11_29_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351162584","file1":"1351162552","file0":"1351162472","file4":"1351162633","file5":"1351162636","file3":"1351162605"},"map_files_photo_id_array":[{"photo_id":"1351162636","filename":"file5"},{"photo_id":"1351162584","filename":"file2"},{"photo_id":"1351162633","filename":"file4"},{"photo_id":"1351162552","filename":"file1"},{"photo_id":"1351162472","filename":"file0"},{"photo_id":"1351162605","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351162472":["hashtag1","hashtag2"]},{"1351162552":["hashtag1","hashtag2"]},{"1351162633":["hashtag1","hashtag2"]},{"1351162636":["hashtag1","hashtag2"]},{"1351162584":["hashtag1","hashtag2"]},{"1351162605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351162472, 1351162552, 1351162633, 1351162636, 1351162584, 1351162605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2608003616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:28:32.874550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_24_9451.jpg', '/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_35_10351.jpg', '/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_45_10397.jpg', '/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_55_9429.jpg', '/home/pi/Desktop/images/10042025/11/30/image_10042025_11_31_05_10358.jpg', '/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_14_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_24_9451.jpg
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_35_10351.jpg
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_45_10397.jpg
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_30_55_9429.jpg
/home/pi/Desktop/images/10042025/11/30/image_10042025_11_31_05_10358.jpg
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_14_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351162827","1351162799","1351162871","1351162808","1351162855","1351162777"],"photo_ids_order":["1351162777","1351162799","1351162808","1351162827","1351162855","1351162871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e15e0d2d1730532c489e6578abd073.jpg","text":"TemporaryFile(/tmp/multipartBody7718838482739496381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_30_55_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb7a54ff524a5986e91bbddd20e9208b.jpg","text":"TemporaryFile(/tmp/multipartBody6052123315870453361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_30_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca0a744353f44562d99801ac0ab8b170.jpg","text":"TemporaryFile(/tmp/multipartBody4264223379417654532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_31_14_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9445a7ba5bd1de7e415c13385bc6c27e.jpg","text":"TemporaryFile(/tmp/multipartBody7578437635342129263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_30_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc2c3ea74b0e02b8b059ab80fd018055.jpg","text":"TemporaryFile(/tmp/multipartBody5256490174144132930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_31_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3f888b0a29f9e9106243aed28fcdeb9.jpg","text":"TemporaryFile(/tmp/multipartBody1145814223375130974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288173319,"filename":"image_10042025_11_30_24_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351162808","file1":"1351162799","file0":"1351162777","file4":"1351162855","file5":"1351162871","file3":"1351162827"},"map_files_photo_id_array":[{"photo_id":"1351162871","filename":"file5"},{"photo_id":"1351162808","filename":"file2"},{"photo_id":"1351162855","filename":"file4"},{"photo_id":"1351162799","filename":"file1"},{"photo_id":"1351162777","filename":"file0"},{"photo_id":"1351162827","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351162827":["hashtag1","hashtag2"]},{"1351162799":["hashtag1","hashtag2"]},{"1351162871":["hashtag1","hashtag2"]},{"1351162808":["hashtag1","hashtag2"]},{"1351162855":["hashtag1","hashtag2"]},{"1351162777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351162827, 1351162799, 1351162871, 1351162808, 1351162855, 1351162777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11820960044861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:29:33.076266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_25_10423.jpg', '/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_35_10383.jpg', '/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_45_9444.jpg', '/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_55_10445.jpg', '/home/pi/Desktop/images/10042025/11/31/image_10042025_11_32_04_9337.jpg', '/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_25_10423.jpg
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_35_10383.jpg
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_45_9444.jpg
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_31_55_10445.jpg
/home/pi/Desktop/images/10042025/11/31/image_10042025_11_32_04_9337.jpg
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163030","1351163033","1351162999","1351163005","1351163025","1351163010"],"photo_ids_order":["1351162999","1351163005","1351163010","1351163025","1351163030","1351163033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5aa196dbf989c512b1b0c5863b75bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody6951723526383138314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_32_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d839dd987d0c2f81fdf59ab9c739b9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2701304151680658525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_32_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f28cf40866f199fcb1b3c8ab318b822d.jpg","text":"TemporaryFile(/tmp/multipartBody1089059470911641894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_31_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/254dc32f70be4b917001c98fae521274.jpg","text":"TemporaryFile(/tmp/multipartBody1471857915876122156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_31_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8088c657de328b37157fa2787abdb33c.jpg","text":"TemporaryFile(/tmp/multipartBody7192523746683917613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_31_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d828fd59a1a9c8422d001baaeb808f9.jpg","text":"TemporaryFile(/tmp/multipartBody4080142412408910192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288233607,"filename":"image_10042025_11_31_45_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163010","file1":"1351163005","file0":"1351162999","file4":"1351163030","file5":"1351163033","file3":"1351163025"},"map_files_photo_id_array":[{"photo_id":"1351163033","filename":"file5"},{"photo_id":"1351163010","filename":"file2"},{"photo_id":"1351163030","filename":"file4"},{"photo_id":"1351163005","filename":"file1"},{"photo_id":"1351162999","filename":"file0"},{"photo_id":"1351163025","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163030":["hashtag1","hashtag2"]},{"1351163033":["hashtag1","hashtag2"]},{"1351162999":["hashtag1","hashtag2"]},{"1351163005":["hashtag1","hashtag2"]},{"1351163025":["hashtag1","hashtag2"]},{"1351163010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163030, 1351163033, 1351162999, 1351163005, 1351163025, 1351163010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67764163017273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:30:32.417549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_25_10345.jpg', '/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_34_9420.jpg', '/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_45_10369.jpg', '/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_54_9369.jpg', '/home/pi/Desktop/images/10042025/11/32/image_10042025_11_33_05_10351.jpg', '/home/pi/Desktop/images/10042025/11/33/image_10042025_11_33_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_25_10345.jpg
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_34_9420.jpg
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_45_10369.jpg
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_32_54_9369.jpg
/home/pi/Desktop/images/10042025/11/32/image_10042025_11_33_05_10351.jpg
/home/pi/Desktop/images/10042025/11/33/image_10042025_11_33_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163066","1351163086","1351163076","1351163091","1351163072","1351163081"],"photo_ids_order":["1351163066","1351163072","1351163076","1351163081","1351163086","1351163091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46779899b7a89d2d2e7bf7e8ae052e53.jpg","text":"TemporaryFile(/tmp/multipartBody5024184286255275771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_32_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0919fc1c3e5bb881a4ddf215cd5ac9cc.jpg","text":"TemporaryFile(/tmp/multipartBody2615547469208497848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_33_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5f035a9a4767350cf246222103a136e.jpg","text":"TemporaryFile(/tmp/multipartBody8669374270540992503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_32_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76844ebbcada9b6aa15eb4f57a74e46d.jpg","text":"TemporaryFile(/tmp/multipartBody2442055410961583644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_33_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0dc9f128fbb585bf716a0b1c3a8a1fbf.jpg","text":"TemporaryFile(/tmp/multipartBody8155938360182909077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_32_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9bb19f1f912b4dc265a14ea7f003703.jpg","text":"TemporaryFile(/tmp/multipartBody3111968346073073094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288292932,"filename":"image_10042025_11_32_54_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163076","file1":"1351163072","file0":"1351163066","file4":"1351163086","file5":"1351163091","file3":"1351163081"},"map_files_photo_id_array":[{"photo_id":"1351163091","filename":"file5"},{"photo_id":"1351163076","filename":"file2"},{"photo_id":"1351163086","filename":"file4"},{"photo_id":"1351163072","filename":"file1"},{"photo_id":"1351163066","filename":"file0"},{"photo_id":"1351163081","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163066":["hashtag1","hashtag2"]},{"1351163086":["hashtag1","hashtag2"]},{"1351163076":["hashtag1","hashtag2"]},{"1351163091":["hashtag1","hashtag2"]},{"1351163072":["hashtag1","hashtag2"]},{"1351163081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163066, 1351163086, 1351163076, 1351163091, 1351163072, 1351163081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9881911277771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:31:32.634485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/33/image_10042025_11_33_24_9420.jpg', '/home/pi/Desktop/images/10042025/11/33/image_10042025_11_34_05_10355.jpg', '/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_14_9404.jpg', '/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_25_10434.jpg', '/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_45_9357.jpg', '/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_55_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/33/image_10042025_11_33_24_9420.jpg
/home/pi/Desktop/images/10042025/11/33/image_10042025_11_34_05_10355.jpg
/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_14_9404.jpg
/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_25_10434.jpg
/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_45_9357.jpg
/home/pi/Desktop/images/10042025/11/34/image_10042025_11_34_55_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163159","1351163134","1351163137","1351163154","1351163148","1351163142"],"photo_ids_order":["1351163134","1351163137","1351163142","1351163148","1351163154","1351163159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de61ac51a350ac7f114b632515e3da73.jpg","text":"TemporaryFile(/tmp/multipartBody568225073383893114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_34_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e96d806390251a7e9e498426b4eee53c.jpg","text":"TemporaryFile(/tmp/multipartBody5810444985007695830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_33_24_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6b013f76947ba906925a3fae29c7c42.jpg","text":"TemporaryFile(/tmp/multipartBody691515033665110887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_34_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39072914b8a6dc7e547d990eb551e602.jpg","text":"TemporaryFile(/tmp/multipartBody8479726904024085587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_34_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbb040dc0217844a5dac3e4383a85bec.jpg","text":"TemporaryFile(/tmp/multipartBody1976880839439189821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_34_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70ce6c7adb50931802f7384578e20885.jpg","text":"TemporaryFile(/tmp/multipartBody2437056275074948897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288353100,"filename":"image_10042025_11_34_14_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163142","file1":"1351163137","file0":"1351163134","file4":"1351163154","file5":"1351163159","file3":"1351163148"},"map_files_photo_id_array":[{"photo_id":"1351163159","filename":"file5"},{"photo_id":"1351163142","filename":"file2"},{"photo_id":"1351163154","filename":"file4"},{"photo_id":"1351163137","filename":"file1"},{"photo_id":"1351163134","filename":"file0"},{"photo_id":"1351163148","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163159":["hashtag1","hashtag2"]},{"1351163134":["hashtag1","hashtag2"]},{"1351163137":["hashtag1","hashtag2"]},{"1351163154":["hashtag1","hashtag2"]},{"1351163148":["hashtag1","hashtag2"]},{"1351163142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163159, 1351163134, 1351163137, 1351163154, 1351163148, 1351163142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.476826190948486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:32:32.740525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_15_10388.jpg', '/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_25_10363.jpg', '/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_35_9455.jpg', '/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_45_10375.jpg', '/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_54_9423.jpg', '/home/pi/Desktop/images/10042025/11/35/image_10042025_11_36_05_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_15_10388.jpg
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_25_10363.jpg
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_35_9455.jpg
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_45_10375.jpg
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_35_54_9423.jpg
/home/pi/Desktop/images/10042025/11/35/image_10042025_11_36_05_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163255","1351163408","1351163338","1351163419","1351163364","1351163307"],"photo_ids_order":["1351163255","1351163307","1351163338","1351163364","1351163408","1351163419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eebeb569d47fa61f8c27fea2f39b7521.jpg","text":"TemporaryFile(/tmp/multipartBody6597942782021586521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_35_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f529b92944a7fdb5378f81b78bfa295d.jpg","text":"TemporaryFile(/tmp/multipartBody4400928860762804648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_35_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54b997e4bc4781fbdf26d7d2f63cc1c6.jpg","text":"TemporaryFile(/tmp/multipartBody1343762746241850350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_35_35_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ce3384d79b0e1653ee3959c8c33a9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1369053705487598270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_36_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29fe0053e9e64c560079142e99c9b1cf.jpg","text":"TemporaryFile(/tmp/multipartBody6128887020628061634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_35_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9f4dc9d9b730d8b47c32f08109a3640.jpg","text":"TemporaryFile(/tmp/multipartBody3470883500603152656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288413184,"filename":"image_10042025_11_35_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163338","file1":"1351163307","file0":"1351163255","file4":"1351163408","file5":"1351163419","file3":"1351163364"},"map_files_photo_id_array":[{"photo_id":"1351163419","filename":"file5"},{"photo_id":"1351163338","filename":"file2"},{"photo_id":"1351163408","filename":"file4"},{"photo_id":"1351163307","filename":"file1"},{"photo_id":"1351163255","filename":"file0"},{"photo_id":"1351163364","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163255":["hashtag1","hashtag2"]},{"1351163408":["hashtag1","hashtag2"]},{"1351163338":["hashtag1","hashtag2"]},{"1351163419":["hashtag1","hashtag2"]},{"1351163364":["hashtag1","hashtag2"]},{"1351163307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163255, 1351163408, 1351163338, 1351163419, 1351163364, 1351163307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49199724197388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:33:32.944596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_15_10357.jpg', '/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_24_9358.jpg', '/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_35_10398.jpg', '/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_44_9471.jpg', '/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_55_10439.jpg', '/home/pi/Desktop/images/10042025/11/36/image_10042025_11_37_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_15_10357.jpg
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_24_9358.jpg
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_35_10398.jpg
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_44_9471.jpg
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_36_55_10439.jpg
/home/pi/Desktop/images/10042025/11/36/image_10042025_11_37_05_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163735","1351163717","1351163776","1351163763","1351163670","1351163712"],"photo_ids_order":["1351163670","1351163712","1351163717","1351163735","1351163763","1351163776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fca7f719fc8ca7b0a671cefe316355be.jpg","text":"TemporaryFile(/tmp/multipartBody7542222341404273805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_36_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0c11b34c4f01ed4642318a81be10233.jpg","text":"TemporaryFile(/tmp/multipartBody8072853908412219464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_36_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbeb28bc5f8f895c0ec36be23e991f62.jpg","text":"TemporaryFile(/tmp/multipartBody6307207860393712271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_37_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e94dede7c5fd6752d0e2e5dbac8e9cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4803754652946403003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_36_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d54de0b5198521a7d1c140810ba608d.jpg","text":"TemporaryFile(/tmp/multipartBody168032098668445870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_36_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eb8a64d6917cb4b80ee99a73ae3465d.jpg","text":"TemporaryFile(/tmp/multipartBody4438609511071024250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288473470,"filename":"image_10042025_11_36_24_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163717","file1":"1351163712","file0":"1351163670","file4":"1351163763","file5":"1351163776","file3":"1351163735"},"map_files_photo_id_array":[{"photo_id":"1351163776","filename":"file5"},{"photo_id":"1351163717","filename":"file2"},{"photo_id":"1351163763","filename":"file4"},{"photo_id":"1351163712","filename":"file1"},{"photo_id":"1351163670","filename":"file0"},{"photo_id":"1351163735","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163735":["hashtag1","hashtag2"]},{"1351163717":["hashtag1","hashtag2"]},{"1351163776":["hashtag1","hashtag2"]},{"1351163763":["hashtag1","hashtag2"]},{"1351163670":["hashtag1","hashtag2"]},{"1351163712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163735, 1351163717, 1351163776, 1351163763, 1351163670, 1351163712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.437172412872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:34:32.165115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_15_9432.jpg', '/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_25_10344.jpg', '/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_45_10352.jpg', '/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_55_10349.jpg', '/home/pi/Desktop/images/10042025/11/37/image_10042025_11_38_04_9403.jpg', '/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_24_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_15_9432.jpg
/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_25_10344.jpg
/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_45_10352.jpg
/home/pi/Desktop/images/10042025/11/37/image_10042025_11_37_55_10349.jpg
/home/pi/Desktop/images/10042025/11/37/image_10042025_11_38_04_9403.jpg
/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_24_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351163989","1351163968","1351164004","1351163985","1351164000","1351163996"],"photo_ids_order":["1351163968","1351163985","1351163989","1351163996","1351164000","1351164004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d21a9120466eb86b38da595fe47308f4.jpg","text":"TemporaryFile(/tmp/multipartBody3109129808386745067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_37_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9065a2f9c7cb51c6209ec276d8f9b633.jpg","text":"TemporaryFile(/tmp/multipartBody3485652723427182869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_37_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b1c44efc881eac8ebad9af246d17b41.jpg","text":"TemporaryFile(/tmp/multipartBody4921193311851920562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_38_24_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef5d5b1874958126112e9d3f38ade62d.jpg","text":"TemporaryFile(/tmp/multipartBody8048701656470224386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_37_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1665063e545d5e68dea005be3138e31b.jpg","text":"TemporaryFile(/tmp/multipartBody4905440809122574119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_38_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34947347b76d465df5cabe17243cb11e.jpg","text":"TemporaryFile(/tmp/multipartBody6399949104325278976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288532681,"filename":"image_10042025_11_37_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351163989","file1":"1351163985","file0":"1351163968","file4":"1351164000","file5":"1351164004","file3":"1351163996"},"map_files_photo_id_array":[{"photo_id":"1351164004","filename":"file5"},{"photo_id":"1351163989","filename":"file2"},{"photo_id":"1351164000","filename":"file4"},{"photo_id":"1351163985","filename":"file1"},{"photo_id":"1351163968","filename":"file0"},{"photo_id":"1351163996","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351163989":["hashtag1","hashtag2"]},{"1351163968":["hashtag1","hashtag2"]},{"1351164004":["hashtag1","hashtag2"]},{"1351163985":["hashtag1","hashtag2"]},{"1351164000":["hashtag1","hashtag2"]},{"1351163996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351163989, 1351163968, 1351164004, 1351163985, 1351164000, 1351163996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.901355028152466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:35:32.456772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_35_10422.jpg', '/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_45_10350.jpg', '/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_54_9414.jpg', '/home/pi/Desktop/images/10042025/11/38/image_10042025_11_39_05_10361.jpg', '/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_25_9404.jpg', '/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_44_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_35_10422.jpg
/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_45_10350.jpg
/home/pi/Desktop/images/10042025/11/38/image_10042025_11_38_54_9414.jpg
/home/pi/Desktop/images/10042025/11/38/image_10042025_11_39_05_10361.jpg
/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_25_9404.jpg
/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_44_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351164097","1351164130","1351164073","1351164133","1351164127","1351164105"],"photo_ids_order":["1351164073","1351164097","1351164105","1351164127","1351164130","1351164133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2a8f84767205c10dc43154c6772f69b.jpg","text":"TemporaryFile(/tmp/multipartBody4277433307756532124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_38_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3af9d6e0a1cde12d74f715a5efd6e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3117245327610575652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_39_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0d9d591b22ea76d5f850dee4aab1426.jpg","text":"TemporaryFile(/tmp/multipartBody1614466105455857481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_38_35_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5890391fa6ce72d6871cf1e54c351421.jpg","text":"TemporaryFile(/tmp/multipartBody759673776987430902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_39_44_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7847d5038db29cb441da01c40448de0.jpg","text":"TemporaryFile(/tmp/multipartBody8673647764391196824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_39_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04f93ec9a7531cdaa995fa7c8d5386b4.jpg","text":"TemporaryFile(/tmp/multipartBody8976060329701188245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288592922,"filename":"image_10042025_11_38_54_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351164105","file1":"1351164097","file0":"1351164073","file4":"1351164130","file5":"1351164133","file3":"1351164127"},"map_files_photo_id_array":[{"photo_id":"1351164133","filename":"file5"},{"photo_id":"1351164105","filename":"file2"},{"photo_id":"1351164130","filename":"file4"},{"photo_id":"1351164097","filename":"file1"},{"photo_id":"1351164073","filename":"file0"},{"photo_id":"1351164127","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351164097":["hashtag1","hashtag2"]},{"1351164130":["hashtag1","hashtag2"]},{"1351164073":["hashtag1","hashtag2"]},{"1351164133":["hashtag1","hashtag2"]},{"1351164127":["hashtag1","hashtag2"]},{"1351164105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351164097, 1351164130, 1351164073, 1351164133, 1351164127, 1351164105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73637366294861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:36:32.471662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_55_10346.jpg', '/home/pi/Desktop/images/10042025/11/39/image_10042025_11_40_05_10365.jpg', '/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_14_9387.jpg', '/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_25_10369.jpg', '/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_35_10356.jpg', '/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/39/image_10042025_11_39_55_10346.jpg
/home/pi/Desktop/images/10042025/11/39/image_10042025_11_40_05_10365.jpg
/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_14_9387.jpg
/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_25_10369.jpg
/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_35_10356.jpg
/home/pi/Desktop/images/10042025/11/40/image_10042025_11_40_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351164241","1351164211","1351164235","1351164252","1351164204","1351164245"],"photo_ids_order":["1351164204","1351164211","1351164235","1351164241","1351164245","1351164252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ab4416171e37a0c053e682ba8533ff8.jpg","text":"TemporaryFile(/tmp/multipartBody8716234215276094765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_40_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0627d116a7ac8c9f9598e288a54fe60c.jpg","text":"TemporaryFile(/tmp/multipartBody5871113855977195820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_40_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a998f2fe050b324d15acec93fa0ede4b.jpg","text":"TemporaryFile(/tmp/multipartBody4077318252550724564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_40_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/febcc3ef793d25abb1ed7767a732a84d.jpg","text":"TemporaryFile(/tmp/multipartBody3226794789720129315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_40_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fedd59cf47c93bbdd70c021166d2781.jpg","text":"TemporaryFile(/tmp/multipartBody6543230392576493759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_39_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c729c20c69c5a771ee6dc548cf8de394.jpg","text":"TemporaryFile(/tmp/multipartBody8355401207771353423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288652974,"filename":"image_10042025_11_40_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351164235","file1":"1351164211","file0":"1351164204","file4":"1351164245","file5":"1351164252","file3":"1351164241"},"map_files_photo_id_array":[{"photo_id":"1351164252","filename":"file5"},{"photo_id":"1351164235","filename":"file2"},{"photo_id":"1351164245","filename":"file4"},{"photo_id":"1351164211","filename":"file1"},{"photo_id":"1351164204","filename":"file0"},{"photo_id":"1351164241","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351164241":["hashtag1","hashtag2"]},{"1351164211":["hashtag1","hashtag2"]},{"1351164235":["hashtag1","hashtag2"]},{"1351164252":["hashtag1","hashtag2"]},{"1351164204":["hashtag1","hashtag2"]},{"1351164245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351164241, 1351164211, 1351164235, 1351164252, 1351164204, 1351164245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3609082698822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:37:32.704519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/40/image_10042025_11_41_04_9438.jpg', '/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_15_10355.jpg', '/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_25_10364.jpg', '/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_34_9352.jpg', '/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_45_10369.jpg', '/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_55_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/40/image_10042025_11_41_04_9438.jpg
/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_15_10355.jpg
/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_25_10364.jpg
/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_34_9352.jpg
/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_45_10369.jpg
/home/pi/Desktop/images/10042025/11/41/image_10042025_11_41_55_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351164484","1351164487","1351164418","1351164369","1351164395","1351164455"],"photo_ids_order":["1351164369","1351164395","1351164418","1351164455","1351164484","1351164487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b827e6aa2cd7c3be9828eee644b08044.jpg","text":"TemporaryFile(/tmp/multipartBody5231570654233897623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63f6c81490d5236c5bb926fd2b571d62.jpg","text":"TemporaryFile(/tmp/multipartBody5521469499057339623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94aa97fdaf9333fa4c96a801772614ce.jpg","text":"TemporaryFile(/tmp/multipartBody9013181446153121869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa20c56c3d580e95a3c924ed30bab8ec.jpg","text":"TemporaryFile(/tmp/multipartBody9097181635972405725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_04_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cbbe74baca87474e9775e854ef16a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3933351637181248420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01ee616f9e1484b0f49d02f25d9c1088.jpg","text":"TemporaryFile(/tmp/multipartBody84253322779071879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288713154,"filename":"image_10042025_11_41_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351164418","file1":"1351164395","file0":"1351164369","file4":"1351164484","file5":"1351164487","file3":"1351164455"},"map_files_photo_id_array":[{"photo_id":"1351164487","filename":"file5"},{"photo_id":"1351164418","filename":"file2"},{"photo_id":"1351164484","filename":"file4"},{"photo_id":"1351164395","filename":"file1"},{"photo_id":"1351164369","filename":"file0"},{"photo_id":"1351164455","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351164484":["hashtag1","hashtag2"]},{"1351164487":["hashtag1","hashtag2"]},{"1351164418":["hashtag1","hashtag2"]},{"1351164369":["hashtag1","hashtag2"]},{"1351164395":["hashtag1","hashtag2"]},{"1351164455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351164484, 1351164487, 1351164418, 1351164369, 1351164395, 1351164455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.435176610946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:38:32.828717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/42/image_10042025_11_42_54_9364.jpg', '/home/pi/Desktop/images/10042025/11/42/image_10042025_11_43_05_10379.jpg', '/home/pi/Desktop/images/10042025/11/43/image_10042025_11_43_55_10365.jpg', '/home/pi/Desktop/images/10042025/11/43/image_10042025_11_44_05_10363.jpg', '/home/pi/Desktop/images/10042025/11/44/image_10042025_11_44_25_10474.jpg', '/home/pi/Desktop/images/10042025/11/44/image_10042025_11_44_54_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/42/image_10042025_11_42_54_9364.jpg
/home/pi/Desktop/images/10042025/11/42/image_10042025_11_43_05_10379.jpg
/home/pi/Desktop/images/10042025/11/43/image_10042025_11_43_55_10365.jpg
/home/pi/Desktop/images/10042025/11/43/image_10042025_11_44_05_10363.jpg
/home/pi/Desktop/images/10042025/11/44/image_10042025_11_44_25_10474.jpg
/home/pi/Desktop/images/10042025/11/44/image_10042025_11_44_54_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351164655","1351164700","1351164630","1351164623","1351164647","1351164626"],"photo_ids_order":["1351164623","1351164626","1351164630","1351164647","1351164655","1351164700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d10dfa77f0cd3599534e8679372b5e1.jpg","text":"TemporaryFile(/tmp/multipartBody8245018151120335352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_44_25_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/866bcc92fd5debe2ff5710f463be5e50.jpg","text":"TemporaryFile(/tmp/multipartBody942391103576825322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_44_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecc376be846a641a7c69831b43339d0e.jpg","text":"TemporaryFile(/tmp/multipartBody8093958013695636963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_43_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/879500122e236509d514cd146fd8e574.jpg","text":"TemporaryFile(/tmp/multipartBody2260319526111591604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_42_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd10b9bc144ea549b9170026224c20fd.jpg","text":"TemporaryFile(/tmp/multipartBody7728383336403500357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_44_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cb999b52f27b0f1b9d0f3ec3eb3e875.jpg","text":"TemporaryFile(/tmp/multipartBody6836684533610663458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288773279,"filename":"image_10042025_11_43_05_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351164630","file1":"1351164626","file0":"1351164623","file4":"1351164655","file5":"1351164700","file3":"1351164647"},"map_files_photo_id_array":[{"photo_id":"1351164700","filename":"file5"},{"photo_id":"1351164630","filename":"file2"},{"photo_id":"1351164655","filename":"file4"},{"photo_id":"1351164626","filename":"file1"},{"photo_id":"1351164623","filename":"file0"},{"photo_id":"1351164647","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351164655":["hashtag1","hashtag2"]},{"1351164700":["hashtag1","hashtag2"]},{"1351164630":["hashtag1","hashtag2"]},{"1351164623":["hashtag1","hashtag2"]},{"1351164647":["hashtag1","hashtag2"]},{"1351164626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351164655, 1351164700, 1351164630, 1351164623, 1351164647, 1351164626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29919958114624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:39:32.975043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/44/image_10042025_11_45_05_10362.jpg', '/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_15_10373.jpg', '/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_24_9407.jpg', '/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_35_10380.jpg', '/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_45_10371.jpg', '/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_55_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/44/image_10042025_11_45_05_10362.jpg
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_15_10373.jpg
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_24_9407.jpg
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_35_10380.jpg
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_45_10371.jpg
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_45_55_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351164877","1351164954","1351164936","1351164903","1351164908","1351164938"],"photo_ids_order":["1351164877","1351164903","1351164908","1351164936","1351164938","1351164954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4805386cff14b26e3218e7d3b3dab7a2.jpg","text":"TemporaryFile(/tmp/multipartBody5221438928097235151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eaf36718543a4043dd963a1f221882c2.jpg","text":"TemporaryFile(/tmp/multipartBody8595197454344689129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e69c3dfb966de6ab62802ef35b419540.jpg","text":"TemporaryFile(/tmp/multipartBody5045129787051198979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acdd64fb74c5c1229dd871eb907c1da5.jpg","text":"TemporaryFile(/tmp/multipartBody152933043958716543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/662ed4b485b565604b89bb8b0d0c66d6.jpg","text":"TemporaryFile(/tmp/multipartBody3502837563883334092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/720337952db36a5193f29ea609b4f9be.jpg","text":"TemporaryFile(/tmp/multipartBody5270779352407111302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288833433,"filename":"image_10042025_11_45_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351164908","file1":"1351164903","file0":"1351164877","file4":"1351164938","file5":"1351164954","file3":"1351164936"},"map_files_photo_id_array":[{"photo_id":"1351164954","filename":"file5"},{"photo_id":"1351164908","filename":"file2"},{"photo_id":"1351164938","filename":"file4"},{"photo_id":"1351164903","filename":"file1"},{"photo_id":"1351164877","filename":"file0"},{"photo_id":"1351164936","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351164877":["hashtag1","hashtag2"]},{"1351164954":["hashtag1","hashtag2"]},{"1351164936":["hashtag1","hashtag2"]},{"1351164903":["hashtag1","hashtag2"]},{"1351164908":["hashtag1","hashtag2"]},{"1351164938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351164877, 1351164954, 1351164936, 1351164903, 1351164908, 1351164938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25920605659485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:40:32.199833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/45/image_10042025_11_46_05_10333.jpg', '/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_25_10365.jpg', '/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_35_10358.jpg', '/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_44_9351.jpg', '/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_55_10363.jpg', '/home/pi/Desktop/images/10042025/11/46/image_10042025_11_47_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/45/image_10042025_11_46_05_10333.jpg
/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_25_10365.jpg
/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_35_10358.jpg
/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_44_9351.jpg
/home/pi/Desktop/images/10042025/11/46/image_10042025_11_46_55_10363.jpg
/home/pi/Desktop/images/10042025/11/46/image_10042025_11_47_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165021","1351165026","1351165011","1351165016","1351165087","1351165004"],"photo_ids_order":["1351165004","1351165011","1351165016","1351165021","1351165026","1351165087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ab16e77b84364567efc829ef3586c03.jpg","text":"TemporaryFile(/tmp/multipartBody4723693197500219911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_46_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dff2f5fec8d9b63b1a8d83cbe5676b0.jpg","text":"TemporaryFile(/tmp/multipartBody440705503329502932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_46_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c42c4172b6ce59653d63ef878dbc846f.jpg","text":"TemporaryFile(/tmp/multipartBody5727037597942702166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_46_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05f00500e92857f184d39c2d5cfd102d.jpg","text":"TemporaryFile(/tmp/multipartBody4794799481009374128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_46_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79479a639ac542a73dd9c0d83d696286.jpg","text":"TemporaryFile(/tmp/multipartBody252079128288440536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_47_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/695c215b681d804a7352ec922fca70fc.jpg","text":"TemporaryFile(/tmp/multipartBody8520473724957880464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288892647,"filename":"image_10042025_11_46_05_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165016","file1":"1351165011","file0":"1351165004","file4":"1351165026","file5":"1351165087","file3":"1351165021"},"map_files_photo_id_array":[{"photo_id":"1351165087","filename":"file5"},{"photo_id":"1351165016","filename":"file2"},{"photo_id":"1351165026","filename":"file4"},{"photo_id":"1351165011","filename":"file1"},{"photo_id":"1351165004","filename":"file0"},{"photo_id":"1351165021","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165021":["hashtag1","hashtag2"]},{"1351165026":["hashtag1","hashtag2"]},{"1351165011":["hashtag1","hashtag2"]},{"1351165016":["hashtag1","hashtag2"]},{"1351165087":["hashtag1","hashtag2"]},{"1351165004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165021, 1351165026, 1351165011, 1351165016, 1351165087, 1351165004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20591902732849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:41:32.353776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/47/image_10042025_11_47_34_9346.jpg', '/home/pi/Desktop/images/10042025/11/47/image_10042025_11_47_45_10374.jpg', '/home/pi/Desktop/images/10042025/11/47/image_10042025_11_48_04_9404.jpg', '/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_25_10355.jpg', '/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_34_9384.jpg', '/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/47/image_10042025_11_47_34_9346.jpg
/home/pi/Desktop/images/10042025/11/47/image_10042025_11_47_45_10374.jpg
/home/pi/Desktop/images/10042025/11/47/image_10042025_11_48_04_9404.jpg
/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_25_10355.jpg
/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_34_9384.jpg
/home/pi/Desktop/images/10042025/11/48/image_10042025_11_48_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165216","1351165225","1351165212","1351165262","1351165241","1351165267"],"photo_ids_order":["1351165212","1351165216","1351165225","1351165241","1351165262","1351165267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15e77c9546cf430d4b40b1265cb1fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5207010336755099497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_47_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c73fa959e7ef8fccb728a4f90190e860.jpg","text":"TemporaryFile(/tmp/multipartBody4602802475183844563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_48_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5bf90cccbc5bf95f13ce2c7b7b2a543.jpg","text":"TemporaryFile(/tmp/multipartBody8164609093253541042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_47_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/624f28e55c83ac4da2e08410ab10ffb9.jpg","text":"TemporaryFile(/tmp/multipartBody521740024866400790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_48_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d757d82a3a7ab14ecc8dd66dec4a985.jpg","text":"TemporaryFile(/tmp/multipartBody4618901153658646930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_48_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76828ee3abd7ca70d2c72d4e87e2f72e.jpg","text":"TemporaryFile(/tmp/multipartBody6617960059267932990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744288952807,"filename":"image_10042025_11_48_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165225","file1":"1351165216","file0":"1351165212","file4":"1351165262","file5":"1351165267","file3":"1351165241"},"map_files_photo_id_array":[{"photo_id":"1351165267","filename":"file5"},{"photo_id":"1351165225","filename":"file2"},{"photo_id":"1351165262","filename":"file4"},{"photo_id":"1351165216","filename":"file1"},{"photo_id":"1351165212","filename":"file0"},{"photo_id":"1351165241","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165216":["hashtag1","hashtag2"]},{"1351165225":["hashtag1","hashtag2"]},{"1351165212":["hashtag1","hashtag2"]},{"1351165262":["hashtag1","hashtag2"]},{"1351165241":["hashtag1","hashtag2"]},{"1351165267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165216, 1351165225, 1351165212, 1351165262, 1351165241, 1351165267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15839385986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:42:32.521905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/48/image_10042025_11_49_04_9375.jpg', '/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_24_9510.jpg', '/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_35_10355.jpg', '/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_45_10374.jpg', '/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_54_9358.jpg', '/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_14_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/48/image_10042025_11_49_04_9375.jpg
/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_24_9510.jpg
/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_35_10355.jpg
/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_45_10374.jpg
/home/pi/Desktop/images/10042025/11/49/image_10042025_11_49_54_9358.jpg
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_14_9512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165455","1351165443","1351165452","1351165449","1351165391","1351165439"],"photo_ids_order":["1351165391","1351165439","1351165443","1351165449","1351165452","1351165455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b083fd2a95830bf4318ec68546bb1adb.jpg","text":"TemporaryFile(/tmp/multipartBody811177979291939650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_50_14_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9891bc1117a34e822eea5e13bd161e30.jpg","text":"TemporaryFile(/tmp/multipartBody4836975981571814724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_49_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cae5f0e72bbc30049329f2e8f7d30ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4235827095210524500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_49_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/482922268b375649105b0e0c848b4027.jpg","text":"TemporaryFile(/tmp/multipartBody3698292881795126483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_49_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e5c5a62fbc5e47ef4dfdbeb8676f31.jpg","text":"TemporaryFile(/tmp/multipartBody1349538210478102480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_49_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab1752b9ec959b4a4e40257f38145a8a.jpg","text":"TemporaryFile(/tmp/multipartBody3821037057383216690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289012973,"filename":"image_10042025_11_49_24_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165443","file1":"1351165439","file0":"1351165391","file4":"1351165452","file5":"1351165455","file3":"1351165449"},"map_files_photo_id_array":[{"photo_id":"1351165455","filename":"file5"},{"photo_id":"1351165443","filename":"file2"},{"photo_id":"1351165452","filename":"file4"},{"photo_id":"1351165439","filename":"file1"},{"photo_id":"1351165391","filename":"file0"},{"photo_id":"1351165449","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165455":["hashtag1","hashtag2"]},{"1351165443":["hashtag1","hashtag2"]},{"1351165452":["hashtag1","hashtag2"]},{"1351165449":["hashtag1","hashtag2"]},{"1351165391":["hashtag1","hashtag2"]},{"1351165439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165455, 1351165443, 1351165452, 1351165449, 1351165391, 1351165439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20324897766113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:43:32.694874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_25_10359.jpg', '/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_35_10357.jpg', '/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_44_9449.jpg', '/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_55_10439.jpg', '/home/pi/Desktop/images/10042025/11/50/image_10042025_11_51_04_9426.jpg', '/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_25_10359.jpg
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_35_10357.jpg
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_44_9449.jpg
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_50_55_10439.jpg
/home/pi/Desktop/images/10042025/11/50/image_10042025_11_51_04_9426.jpg
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165522","1351165510","1351165566","1351165545","1351165503","1351165532"],"photo_ids_order":["1351165503","1351165510","1351165522","1351165532","1351165545","1351165566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1978e2f4a6d255b45fd7d69359dbb4e0.jpg","text":"TemporaryFile(/tmp/multipartBody2019070325391514913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_50_44_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baf134ba8b16aac01995f1f63d7577c8.jpg","text":"TemporaryFile(/tmp/multipartBody7276180874538774033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_50_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01e5f2da42831075a521be35504e014a.jpg","text":"TemporaryFile(/tmp/multipartBody7101680800199591440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_51_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/824b59ba406cb5b70e48fa56ca960c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7363010162458671183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_51_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/330bf8787804872c37666bbf95d4bfee.jpg","text":"TemporaryFile(/tmp/multipartBody8959075958355316107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_50_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d709b4977bded1bf6832ee95c3adbcc.jpg","text":"TemporaryFile(/tmp/multipartBody1925803052049647620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289073140,"filename":"image_10042025_11_50_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165522","file1":"1351165510","file0":"1351165503","file4":"1351165545","file5":"1351165566","file3":"1351165532"},"map_files_photo_id_array":[{"photo_id":"1351165566","filename":"file5"},{"photo_id":"1351165522","filename":"file2"},{"photo_id":"1351165545","filename":"file4"},{"photo_id":"1351165510","filename":"file1"},{"photo_id":"1351165503","filename":"file0"},{"photo_id":"1351165532","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165522":["hashtag1","hashtag2"]},{"1351165510":["hashtag1","hashtag2"]},{"1351165566":["hashtag1","hashtag2"]},{"1351165545":["hashtag1","hashtag2"]},{"1351165503":["hashtag1","hashtag2"]},{"1351165532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165522, 1351165510, 1351165566, 1351165545, 1351165503, 1351165532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.638108015060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:44:32.896045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_25_10340.jpg', '/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_34_9419.jpg', '/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_45_10457.jpg', '/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_54_9425.jpg', '/home/pi/Desktop/images/10042025/11/51/image_10042025_11_52_05_10373.jpg', '/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_25_10340.jpg
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_34_9419.jpg
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_45_10457.jpg
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_51_54_9425.jpg
/home/pi/Desktop/images/10042025/11/51/image_10042025_11_52_05_10373.jpg
/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165648","1351165633","1351165668","1351165677","1351165664","1351165657"],"photo_ids_order":["1351165633","1351165648","1351165657","1351165664","1351165668","1351165677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/405969d646419f45158be4abc7a192fa.jpg","text":"TemporaryFile(/tmp/multipartBody1639034499402550806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_51_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a5bd4097f50ae1c185e7279af7ac71b.jpg","text":"TemporaryFile(/tmp/multipartBody5591292286944607133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_51_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4b82d66da9a1f3bbc6b94b74b6c006a.jpg","text":"TemporaryFile(/tmp/multipartBody581723244450726019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_52_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0e7bd99e7483d511a6ef45a81136112.jpg","text":"TemporaryFile(/tmp/multipartBody6075407021546558539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_52_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2608caaabf69e0433d448771c0baebb0.jpg","text":"TemporaryFile(/tmp/multipartBody8295653536322756750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_51_54_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f9069b7607bdb20fbb11ef16fa23a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6683820061071764098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289133344,"filename":"image_10042025_11_51_45_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165657","file1":"1351165648","file0":"1351165633","file4":"1351165668","file5":"1351165677","file3":"1351165664"},"map_files_photo_id_array":[{"photo_id":"1351165677","filename":"file5"},{"photo_id":"1351165657","filename":"file2"},{"photo_id":"1351165668","filename":"file4"},{"photo_id":"1351165648","filename":"file1"},{"photo_id":"1351165633","filename":"file0"},{"photo_id":"1351165664","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165648":["hashtag1","hashtag2"]},{"1351165633":["hashtag1","hashtag2"]},{"1351165668":["hashtag1","hashtag2"]},{"1351165677":["hashtag1","hashtag2"]},{"1351165664":["hashtag1","hashtag2"]},{"1351165657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165648, 1351165633, 1351165668, 1351165677, 1351165664, 1351165657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73012042045593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:45:33.159297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_24_9399.jpg', '/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_35_10394.jpg', '/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_55_10436.jpg', '/home/pi/Desktop/images/10042025/11/52/image_10042025_11_53_05_10344.jpg', '/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_15_9643.jpg', '/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_24_9399.jpg
/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_35_10394.jpg
/home/pi/Desktop/images/10042025/11/52/image_10042025_11_52_55_10436.jpg
/home/pi/Desktop/images/10042025/11/52/image_10042025_11_53_05_10344.jpg
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_15_9643.jpg
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351165810","1351165801","1351165824","1351165820","1351165814","1351165805"],"photo_ids_order":["1351165801","1351165805","1351165810","1351165814","1351165820","1351165824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/108a5b7c9608bdcb61e932352110991b.jpg","text":"TemporaryFile(/tmp/multipartBody7375815659605494038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_52_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dae955057da76b4f5a1ec2e1a2f36080.jpg","text":"TemporaryFile(/tmp/multipartBody8446848885501517933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_52_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb8c36905573dc5f872f4d3e10e9198e.jpg","text":"TemporaryFile(/tmp/multipartBody7579697259544345069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_53_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb447189d8acbec74daa2fe0185a0e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5500954941270597132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_53_15_9643.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab1aa00339d7437014dfc7db41cbbbd8.jpg","text":"TemporaryFile(/tmp/multipartBody1158919353732795446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_53_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da60b21418159ccd1ded54c8557c4fcd.jpg","text":"TemporaryFile(/tmp/multipartBody2261628142685413551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289193627,"filename":"image_10042025_11_52_35_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351165810","file1":"1351165805","file0":"1351165801","file4":"1351165820","file5":"1351165824","file3":"1351165814"},"map_files_photo_id_array":[{"photo_id":"1351165824","filename":"file5"},{"photo_id":"1351165810","filename":"file2"},{"photo_id":"1351165820","filename":"file4"},{"photo_id":"1351165805","filename":"file1"},{"photo_id":"1351165801","filename":"file0"},{"photo_id":"1351165814","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351165810":["hashtag1","hashtag2"]},{"1351165801":["hashtag1","hashtag2"]},{"1351165824":["hashtag1","hashtag2"]},{"1351165820":["hashtag1","hashtag2"]},{"1351165814":["hashtag1","hashtag2"]},{"1351165805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351165810, 1351165801, 1351165824, 1351165820, 1351165814, 1351165805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.908329248428345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:46:32.305335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_34_9449.jpg', '/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_45_10354.jpg', '/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_55_10361.jpg', '/home/pi/Desktop/images/10042025/11/53/image_10042025_11_54_05_9347.jpg', '/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_15_10413.jpg', '/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_24_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_34_9449.jpg
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_45_10354.jpg
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_53_55_10361.jpg
/home/pi/Desktop/images/10042025/11/53/image_10042025_11_54_05_9347.jpg
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_15_10413.jpg
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_24_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166013","1351166037","1351166001","1351165947","1351166042","1351165978"],"photo_ids_order":["1351165947","1351165978","1351166001","1351166013","1351166037","1351166042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e66036df731533edb6a7f682eb00f3e4.jpg","text":"TemporaryFile(/tmp/multipartBody3033514421576511455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_54_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b69ff115acfa90fc8181ff26418c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5715284216327812924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_54_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c81fba97ebcc59bde8a729bf97e8daa.jpg","text":"TemporaryFile(/tmp/multipartBody8275399781393337089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_53_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c09841436a908e0a61267a9988251bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5303783527956830881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_53_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33d2acdbbc0aa23009cff115124d5488.jpg","text":"TemporaryFile(/tmp/multipartBody2910336934054770672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_54_24_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13354b95d6510469c07bd3b6deefefcb.jpg","text":"TemporaryFile(/tmp/multipartBody133151342154584875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289252776,"filename":"image_10042025_11_53_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166001","file1":"1351165978","file0":"1351165947","file4":"1351166037","file5":"1351166042","file3":"1351166013"},"map_files_photo_id_array":[{"photo_id":"1351166042","filename":"file5"},{"photo_id":"1351166001","filename":"file2"},{"photo_id":"1351166037","filename":"file4"},{"photo_id":"1351165978","filename":"file1"},{"photo_id":"1351165947","filename":"file0"},{"photo_id":"1351166013","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166013":["hashtag1","hashtag2"]},{"1351166037":["hashtag1","hashtag2"]},{"1351166001":["hashtag1","hashtag2"]},{"1351165947":["hashtag1","hashtag2"]},{"1351166042":["hashtag1","hashtag2"]},{"1351165978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166013, 1351166037, 1351166001, 1351165947, 1351166042, 1351165978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09506845474243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:47:32.429068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_35_10452.jpg', '/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_44_9480.jpg', '/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_55_10366.jpg', '/home/pi/Desktop/images/10042025/11/54/image_10042025_11_55_05_10360.jpg', '/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_14_9337.jpg', '/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_35_10452.jpg
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_44_9480.jpg
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_54_55_10366.jpg
/home/pi/Desktop/images/10042025/11/54/image_10042025_11_55_05_10360.jpg
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_14_9337.jpg
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166196","1351166214","1351166217","1351166192","1351166210","1351166199"],"photo_ids_order":["1351166192","1351166196","1351166199","1351166210","1351166214","1351166217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0267178766935118b39228a574433fc.jpg","text":"TemporaryFile(/tmp/multipartBody4908782625248758898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_54_44_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/877b79503d5af6e9ab3999bd05db9187.jpg","text":"TemporaryFile(/tmp/multipartBody2964749950203453748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_55_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87c6fe6b364fa473fa3a152b82c00e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4557956546443927685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_55_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47fa1e7d89c840f3a0112ad7e03be38f.jpg","text":"TemporaryFile(/tmp/multipartBody4559177054667369287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_54_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0633159e2c9991ef9e6663b06124413d.jpg","text":"TemporaryFile(/tmp/multipartBody8555428732667246624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_55_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87ec21843e48d95a303f96ad67e2fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody8824238750091701762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289312893,"filename":"image_10042025_11_54_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166199","file1":"1351166196","file0":"1351166192","file4":"1351166214","file5":"1351166217","file3":"1351166210"},"map_files_photo_id_array":[{"photo_id":"1351166217","filename":"file5"},{"photo_id":"1351166199","filename":"file2"},{"photo_id":"1351166214","filename":"file4"},{"photo_id":"1351166196","filename":"file1"},{"photo_id":"1351166192","filename":"file0"},{"photo_id":"1351166210","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166196":["hashtag1","hashtag2"]},{"1351166214":["hashtag1","hashtag2"]},{"1351166217":["hashtag1","hashtag2"]},{"1351166192":["hashtag1","hashtag2"]},{"1351166210":["hashtag1","hashtag2"]},{"1351166199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166196, 1351166214, 1351166217, 1351166192, 1351166210, 1351166199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.958256006240845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:48:32.641655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_34_9358.jpg', '/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_45_10359.jpg', '/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_55_10354.jpg', '/home/pi/Desktop/images/10042025/11/55/image_10042025_11_56_04_9423.jpg', '/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_15_10368.jpg', '/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_34_9358.jpg
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_45_10359.jpg
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_55_55_10354.jpg
/home/pi/Desktop/images/10042025/11/55/image_10042025_11_56_04_9423.jpg
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_15_10368.jpg
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166361","1351166349","1351166366","1351166354","1351166344","1351166338"],"photo_ids_order":["1351166338","1351166344","1351166349","1351166354","1351166361","1351166366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca10bf229fc447325781678626dd19c8.jpg","text":"TemporaryFile(/tmp/multipartBody4252850121517464316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_56_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e5c22688cb96c9db4573a647f2a6703.jpg","text":"TemporaryFile(/tmp/multipartBody6589028528020360104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_55_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eed029fc7e45190ed80f4fff1f9de0f.jpg","text":"TemporaryFile(/tmp/multipartBody4190043240957099287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_56_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a354d7272c59567e17628f56d155915b.jpg","text":"TemporaryFile(/tmp/multipartBody6771495566970017016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_56_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df2c42d7137970c0159925f5d6969245.jpg","text":"TemporaryFile(/tmp/multipartBody2593962256715621104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_55_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fb4f34063777c7a5db1d239452eae1f.jpg","text":"TemporaryFile(/tmp/multipartBody800809721843734886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289373093,"filename":"image_10042025_11_55_34_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166349","file1":"1351166344","file0":"1351166338","file4":"1351166361","file5":"1351166366","file3":"1351166354"},"map_files_photo_id_array":[{"photo_id":"1351166366","filename":"file5"},{"photo_id":"1351166349","filename":"file2"},{"photo_id":"1351166361","filename":"file4"},{"photo_id":"1351166344","filename":"file1"},{"photo_id":"1351166338","filename":"file0"},{"photo_id":"1351166354","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166361":["hashtag1","hashtag2"]},{"1351166349":["hashtag1","hashtag2"]},{"1351166366":["hashtag1","hashtag2"]},{"1351166354":["hashtag1","hashtag2"]},{"1351166344":["hashtag1","hashtag2"]},{"1351166338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166361, 1351166349, 1351166366, 1351166354, 1351166344, 1351166338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.777708530426025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:49:32.750330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_35_9461.jpg', '/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_45_10367.jpg', '/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_54_9462.jpg', '/home/pi/Desktop/images/10042025/11/56/image_10042025_11_57_05_10455.jpg', '/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_14_9369.jpg', '/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_35_9461.jpg
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_45_10367.jpg
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_56_54_9462.jpg
/home/pi/Desktop/images/10042025/11/56/image_10042025_11_57_05_10455.jpg
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_14_9369.jpg
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_25_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166521","1351166499","1351166568","1351166553","1351166579","1351166528"],"photo_ids_order":["1351166499","1351166521","1351166528","1351166553","1351166568","1351166579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5790ffeabc950adddb306822ee01ec59.jpg","text":"TemporaryFile(/tmp/multipartBody4250033916943502795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_56_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fbf0048fa931ec5ada47fe44710c858.jpg","text":"TemporaryFile(/tmp/multipartBody8042593187275526416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_56_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/547470b9ade26a94b422c960f72e87ca.jpg","text":"TemporaryFile(/tmp/multipartBody632998786933797572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_57_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e56ccaa6ec9ff61dc7bce8ec00989505.jpg","text":"TemporaryFile(/tmp/multipartBody8448007311356895729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_57_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59fec33d33b6071b292953b7e01b4d54.jpg","text":"TemporaryFile(/tmp/multipartBody2234367083106050610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_57_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49695f83bb909d0c0a0580b67b593510.jpg","text":"TemporaryFile(/tmp/multipartBody1322021692599698180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289433207,"filename":"image_10042025_11_56_54_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166528","file1":"1351166521","file0":"1351166499","file4":"1351166568","file5":"1351166579","file3":"1351166553"},"map_files_photo_id_array":[{"photo_id":"1351166579","filename":"file5"},{"photo_id":"1351166528","filename":"file2"},{"photo_id":"1351166568","filename":"file4"},{"photo_id":"1351166521","filename":"file1"},{"photo_id":"1351166499","filename":"file0"},{"photo_id":"1351166553","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166521":["hashtag1","hashtag2"]},{"1351166499":["hashtag1","hashtag2"]},{"1351166568":["hashtag1","hashtag2"]},{"1351166553":["hashtag1","hashtag2"]},{"1351166579":["hashtag1","hashtag2"]},{"1351166528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166521, 1351166499, 1351166568, 1351166553, 1351166579, 1351166528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.142760038375854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:50:32.909312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_35_10380.jpg', '/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_44_9394.jpg', '/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_55_10462.jpg', '/home/pi/Desktop/images/10042025/11/57/image_10042025_11_58_04_9395.jpg', '/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_15_10969.jpg', '/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_35_10380.jpg
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_44_9394.jpg
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_57_55_10462.jpg
/home/pi/Desktop/images/10042025/11/57/image_10042025_11_58_04_9395.jpg
/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_15_10969.jpg
/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166673","1351166661","1351166643","1351166639","1351166648","1351166677"],"photo_ids_order":["1351166639","1351166643","1351166648","1351166661","1351166673","1351166677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fcf9f99725a82ea2dcb78249134897d.jpg","text":"TemporaryFile(/tmp/multipartBody3600214298967228489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_58_15_10969.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc8546c96fc7b5f31b06684d07348486.jpg","text":"TemporaryFile(/tmp/multipartBody5768923751443782162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_58_04_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bf11cbe43a91df417918ea097b72670.jpg","text":"TemporaryFile(/tmp/multipartBody1480244558052229171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_57_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dec45c1f48855923bbba9a5faef64269.jpg","text":"TemporaryFile(/tmp/multipartBody5903800375699840512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_57_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e96f43e9823c1924a0da84ffd059fb40.jpg","text":"TemporaryFile(/tmp/multipartBody8636846961401216562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_57_55_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84f6e2b5cbe19d98403db100392a1b50.jpg","text":"TemporaryFile(/tmp/multipartBody8440898146669070052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289493359,"filename":"image_10042025_11_58_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166648","file1":"1351166643","file0":"1351166639","file4":"1351166673","file5":"1351166677","file3":"1351166661"},"map_files_photo_id_array":[{"photo_id":"1351166677","filename":"file5"},{"photo_id":"1351166648","filename":"file2"},{"photo_id":"1351166673","filename":"file4"},{"photo_id":"1351166643","filename":"file1"},{"photo_id":"1351166639","filename":"file0"},{"photo_id":"1351166661","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166673":["hashtag1","hashtag2"]},{"1351166661":["hashtag1","hashtag2"]},{"1351166643":["hashtag1","hashtag2"]},{"1351166639":["hashtag1","hashtag2"]},{"1351166648":["hashtag1","hashtag2"]},{"1351166677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166673, 1351166661, 1351166643, 1351166639, 1351166648, 1351166677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.528385639190674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:51:33.153613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_44_9473.jpg', '/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_55_10356.jpg', '/home/pi/Desktop/images/10042025/11/58/image_10042025_11_59_04_9436.jpg', '/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_15_10468.jpg', '/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_25_10438.jpg', '/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_44_9473.jpg
/home/pi/Desktop/images/10042025/11/58/image_10042025_11_58_55_10356.jpg
/home/pi/Desktop/images/10042025/11/58/image_10042025_11_59_04_9436.jpg
/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_15_10468.jpg
/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_25_10438.jpg
/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351166877","1351166904","1351166915","1351166884","1351166941","1351166923"],"photo_ids_order":["1351166877","1351166884","1351166904","1351166915","1351166923","1351166941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/773c8947bb5ea02049f08a2e278fb132.jpg","text":"TemporaryFile(/tmp/multipartBody1949933647617549372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_58_44_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b0e784ef19bd0400630ca83f3177e1b.jpg","text":"TemporaryFile(/tmp/multipartBody278363678658040599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_59_04_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2520e128bcf2309d19db536003aaa28a.jpg","text":"TemporaryFile(/tmp/multipartBody2473699190462673697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_59_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e7644d9bd1e62d1e1fbf05f1dec0bac.jpg","text":"TemporaryFile(/tmp/multipartBody8489052192557396564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_58_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3660e61e9ede2837e3da4a59ed900b9.jpg","text":"TemporaryFile(/tmp/multipartBody7026643418973633845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_59_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e7a301eac4bcb1b42c0a80b066959f6.jpg","text":"TemporaryFile(/tmp/multipartBody1897946165851350904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289553617,"filename":"image_10042025_11_59_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351166904","file1":"1351166884","file0":"1351166877","file4":"1351166923","file5":"1351166941","file3":"1351166915"},"map_files_photo_id_array":[{"photo_id":"1351166941","filename":"file5"},{"photo_id":"1351166904","filename":"file2"},{"photo_id":"1351166923","filename":"file4"},{"photo_id":"1351166884","filename":"file1"},{"photo_id":"1351166877","filename":"file0"},{"photo_id":"1351166915","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351166877":["hashtag1","hashtag2"]},{"1351166904":["hashtag1","hashtag2"]},{"1351166915":["hashtag1","hashtag2"]},{"1351166884":["hashtag1","hashtag2"]},{"1351166941":["hashtag1","hashtag2"]},{"1351166923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351166877, 1351166904, 1351166915, 1351166884, 1351166941, 1351166923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14202046394348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:52:32.266529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_54_9359.jpg', '/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_16_10074.jpg', '/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_36_10478.jpg', '/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_46_9342.jpg', '/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_56_10362.jpg', '/home/pi/Desktop/images/10042025/12/00/image_10042025_12_01_07_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/11/59/image_10042025_11_59_54_9359.jpg
/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_16_10074.jpg
/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_36_10478.jpg
/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_46_9342.jpg
/home/pi/Desktop/images/10042025/12/00/image_10042025_12_00_56_10362.jpg
/home/pi/Desktop/images/10042025/12/00/image_10042025_12_01_07_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351167030","1351167050","1351167073","1351167046","1351167109","1351167037"],"photo_ids_order":["1351167030","1351167037","1351167046","1351167050","1351167073","1351167109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/527e9a684b06a67bea2d2a12d648c15e.jpg","text":"TemporaryFile(/tmp/multipartBody3669634246465167452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_11_59_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57589a66bdffb8d4c6fe8530ee550a0e.jpg","text":"TemporaryFile(/tmp/multipartBody276316820920448527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_12_00_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d66ce2234ba9d847494510c8d2f2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8449341890734453964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_12_00_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d72c32496f699f05834345b05e25b193.jpg","text":"TemporaryFile(/tmp/multipartBody7619473073353827299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_12_00_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c51d882ff8a821db393cd26057a1423.jpg","text":"TemporaryFile(/tmp/multipartBody6455462484965504225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_12_01_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01deafbda92b798639aae5d81e581c00.jpg","text":"TemporaryFile(/tmp/multipartBody458717362000853716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289612734,"filename":"image_10042025_12_00_16_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351167046","file1":"1351167037","file0":"1351167030","file4":"1351167073","file5":"1351167109","file3":"1351167050"},"map_files_photo_id_array":[{"photo_id":"1351167109","filename":"file5"},{"photo_id":"1351167046","filename":"file2"},{"photo_id":"1351167073","filename":"file4"},{"photo_id":"1351167037","filename":"file1"},{"photo_id":"1351167030","filename":"file0"},{"photo_id":"1351167050","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351167030":["hashtag1","hashtag2"]},{"1351167050":["hashtag1","hashtag2"]},{"1351167073":["hashtag1","hashtag2"]},{"1351167046":["hashtag1","hashtag2"]},{"1351167109":["hashtag1","hashtag2"]},{"1351167037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351167030, 1351167050, 1351167073, 1351167046, 1351167109, 1351167037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44514608383179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:53:32.502495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_16_9363.jpg', '/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_26_10367.jpg', '/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_36_9351.jpg', '/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_46_10342.jpg', '/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_56_10421.jpg', '/home/pi/Desktop/images/10042025/12/01/image_10042025_12_02_06_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_16_9363.jpg
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_26_10367.jpg
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_36_9351.jpg
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_46_10342.jpg
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_01_56_10421.jpg
/home/pi/Desktop/images/10042025/12/01/image_10042025_12_02_06_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351167255","1351167249","1351167243","1351167239","1351167260","1351167223"],"photo_ids_order":["1351167223","1351167239","1351167243","1351167249","1351167255","1351167260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97929581208ee75aa990bc24bd8cd852.jpg","text":"TemporaryFile(/tmp/multipartBody5171140539048892321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_01_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c73280fbe696d0a3dfc2124285a083a.jpg","text":"TemporaryFile(/tmp/multipartBody4867186665340016546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_01_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa3738b3bc4ae8633bfd4cc112a658d8.jpg","text":"TemporaryFile(/tmp/multipartBody2280400118551373753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_01_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34840dc5d2f57d8065da939fd5f07971.jpg","text":"TemporaryFile(/tmp/multipartBody5710792844215894632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_01_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61d17bd024efc52c80017c4e89136ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7477849311817274725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_02_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63160b6cfd07cdc8b96a2d7e4a5d25ef.jpg","text":"TemporaryFile(/tmp/multipartBody866989176834765582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289672970,"filename":"image_10042025_12_01_16_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351167243","file1":"1351167239","file0":"1351167223","file4":"1351167255","file5":"1351167260","file3":"1351167249"},"map_files_photo_id_array":[{"photo_id":"1351167260","filename":"file5"},{"photo_id":"1351167243","filename":"file2"},{"photo_id":"1351167255","filename":"file4"},{"photo_id":"1351167239","filename":"file1"},{"photo_id":"1351167223","filename":"file0"},{"photo_id":"1351167249","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351167255":["hashtag1","hashtag2"]},{"1351167249":["hashtag1","hashtag2"]},{"1351167243":["hashtag1","hashtag2"]},{"1351167239":["hashtag1","hashtag2"]},{"1351167260":["hashtag1","hashtag2"]},{"1351167223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351167255, 1351167249, 1351167243, 1351167239, 1351167260, 1351167223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69479846954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:54:32.636713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_16_10341.jpg', '/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_26_10368.jpg', '/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_46_10360.jpg', '/home/pi/Desktop/images/10042025/12/02/image_10042025_12_03_06_10359.jpg', '/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_16_10449.jpg', '/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_26_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_16_10341.jpg
/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_26_10368.jpg
/home/pi/Desktop/images/10042025/12/02/image_10042025_12_02_46_10360.jpg
/home/pi/Desktop/images/10042025/12/02/image_10042025_12_03_06_10359.jpg
/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_16_10449.jpg
/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_26_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351167432","1351167426","1351167454","1351167421","1351167502","1351167505"],"photo_ids_order":["1351167421","1351167426","1351167432","1351167454","1351167502","1351167505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93e72eca799cd53e54483775529fb43b.jpg","text":"TemporaryFile(/tmp/multipartBody6139415395100697568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_02_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e65c69262b97dd2549575a0a5b5bf3c7.jpg","text":"TemporaryFile(/tmp/multipartBody5352099788989565330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_02_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01bb268ecf6c66284f5f8c70f2e83bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3169887881670815635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_03_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbdabed77680088d8eeaaf7e0192366c.jpg","text":"TemporaryFile(/tmp/multipartBody3802700696336701053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_02_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2c332c9cf920a2e5e2e1dae751dbbe4.jpg","text":"TemporaryFile(/tmp/multipartBody8879912675042403496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_03_16_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e29052d9f197622c7f946f0be9a9a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6956309397948101620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289733085,"filename":"image_10042025_12_03_26_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351167432","file1":"1351167426","file0":"1351167421","file4":"1351167502","file5":"1351167505","file3":"1351167454"},"map_files_photo_id_array":[{"photo_id":"1351167505","filename":"file5"},{"photo_id":"1351167432","filename":"file2"},{"photo_id":"1351167502","filename":"file4"},{"photo_id":"1351167426","filename":"file1"},{"photo_id":"1351167421","filename":"file0"},{"photo_id":"1351167454","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351167432":["hashtag1","hashtag2"]},{"1351167426":["hashtag1","hashtag2"]},{"1351167454":["hashtag1","hashtag2"]},{"1351167421":["hashtag1","hashtag2"]},{"1351167502":["hashtag1","hashtag2"]},{"1351167505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351167432, 1351167426, 1351167454, 1351167421, 1351167502, 1351167505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.614192247390747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:55:32.969166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_36_10355.jpg', '/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_46_10354.jpg', '/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_56_9357.jpg', '/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_16_9352.jpg', '/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_26_10346.jpg', '/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_36_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_36_10355.jpg
/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_46_10354.jpg
/home/pi/Desktop/images/10042025/12/03/image_10042025_12_03_56_9357.jpg
/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_16_9352.jpg
/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_26_10346.jpg
/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_36_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351167584","1351167548","1351167551","1351167574","1351167538","1351167564"],"photo_ids_order":["1351167538","1351167548","1351167551","1351167564","1351167574","1351167584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6ed401aa8558cae6f0d28bc30912475.jpg","text":"TemporaryFile(/tmp/multipartBody6245628022833600254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_04_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e148220d6c61cea08d884dd3e0a733c.jpg","text":"TemporaryFile(/tmp/multipartBody4787626238363474163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_03_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3aa42bbbd5b9b1b50e343401bc5df145.jpg","text":"TemporaryFile(/tmp/multipartBody6710784452267630082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_03_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63e956f7a868f12a9b80ec2fcb2ada04.jpg","text":"TemporaryFile(/tmp/multipartBody2796602887400111050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_04_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c50fda182e4a575077f8b102f76d420.jpg","text":"TemporaryFile(/tmp/multipartBody7112103472639557065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_03_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4b94bdc57c3e3a617d2fdf2489741ec.jpg","text":"TemporaryFile(/tmp/multipartBody2728964303172540266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289793423,"filename":"image_10042025_12_04_16_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351167551","file1":"1351167548","file0":"1351167538","file4":"1351167574","file5":"1351167584","file3":"1351167564"},"map_files_photo_id_array":[{"photo_id":"1351167584","filename":"file5"},{"photo_id":"1351167551","filename":"file2"},{"photo_id":"1351167574","filename":"file4"},{"photo_id":"1351167548","filename":"file1"},{"photo_id":"1351167538","filename":"file0"},{"photo_id":"1351167564","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351167584":["hashtag1","hashtag2"]},{"1351167548":["hashtag1","hashtag2"]},{"1351167551":["hashtag1","hashtag2"]},{"1351167574":["hashtag1","hashtag2"]},{"1351167538":["hashtag1","hashtag2"]},{"1351167564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351167584, 1351167548, 1351167551, 1351167574, 1351167538, 1351167564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11604642868042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:56:32.964327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_46_9420.jpg', '/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_56_10369.jpg', '/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_16_9432.jpg', '/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_26_10452.jpg', '/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_46_10448.jpg', '/home/pi/Desktop/images/10042025/12/06/image_10042025_12_06_56_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_46_9420.jpg
/home/pi/Desktop/images/10042025/12/04/image_10042025_12_04_56_10369.jpg
/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_16_9432.jpg
/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_26_10452.jpg
/home/pi/Desktop/images/10042025/12/05/image_10042025_12_05_46_10448.jpg
/home/pi/Desktop/images/10042025/12/06/image_10042025_12_06_56_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351167621","1351167623","1351167626","1351167611","1351167616","1351167607"],"photo_ids_order":["1351167607","1351167611","1351167616","1351167621","1351167623","1351167626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb365d7cdcd54a85cfb071ecd549ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody1372775418063800489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_05_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21883aff04274aa4f165138a9aa375ef.jpg","text":"TemporaryFile(/tmp/multipartBody7317171186195716749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_05_46_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75b080cb683c6612a33e670736789082.jpg","text":"TemporaryFile(/tmp/multipartBody4332701983057965255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_06_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3be2e5e53006c94500621a55e31f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7457486746929153319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_04_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d3c1ba6622cd30e81901026b4546953.jpg","text":"TemporaryFile(/tmp/multipartBody5210175812446356670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_05_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33362c525a90b6ad0b9fde2df5ef0f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2094605378875086307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744289853417,"filename":"image_10042025_12_04_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351167616","file1":"1351167611","file0":"1351167607","file4":"1351167623","file5":"1351167626","file3":"1351167621"},"map_files_photo_id_array":[{"photo_id":"1351167626","filename":"file5"},{"photo_id":"1351167616","filename":"file2"},{"photo_id":"1351167623","filename":"file4"},{"photo_id":"1351167611","filename":"file1"},{"photo_id":"1351167607","filename":"file0"},{"photo_id":"1351167621","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351167621":["hashtag1","hashtag2"]},{"1351167623":["hashtag1","hashtag2"]},{"1351167626":["hashtag1","hashtag2"]},{"1351167611":["hashtag1","hashtag2"]},{"1351167616":["hashtag1","hashtag2"]},{"1351167607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351167621, 1351167623, 1351167626, 1351167611, 1351167616, 1351167607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27781105041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:57:33.068140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/06/image_10042025_12_07_06_10458.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_36_9353.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_46_10459.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_08_06_9365.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_16_10364.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/06/image_10042025_12_07_06_10458.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_36_9353.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_46_10459.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_08_06_9365.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_16_10364.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_26_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 14:59:03.380191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/06/image_10042025_12_07_06_10458.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_36_9353.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_46_10459.jpg', '/home/pi/Desktop/images/10042025/12/07/image_10042025_12_08_06_9365.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_16_10364.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/06/image_10042025_12_07_06_10458.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_36_9353.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_07_46_10459.jpg
/home/pi/Desktop/images/10042025/12/07/image_10042025_12_08_06_9365.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_16_10364.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_26_9436.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351168061","1351168007","1351168075","1351167994","1351168020","1351167960"],"photo_ids_order":["1351167960","1351167994","1351168007","1351168020","1351168061","1351168075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40170f377137b612aff90618ebf66b73.jpg","text":"TemporaryFile(/tmp/multipartBody5707237839618798327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_08_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a51adf6995c8a25336f14c2a2809cde.jpg","text":"TemporaryFile(/tmp/multipartBody6855879491357950486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_07_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/289f0c5c4e501a79bed276962567492a.jpg","text":"TemporaryFile(/tmp/multipartBody1630066762888675942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_08_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78efa628b9d3f64681e7ae56386c3192.jpg","text":"TemporaryFile(/tmp/multipartBody305938064982881111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_07_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7241c661278809b8b80e4e8de99541ce.jpg","text":"TemporaryFile(/tmp/multipartBody883011993163415020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_08_06_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad7a267e9d8a59def981292f2a124154.jpg","text":"TemporaryFile(/tmp/multipartBody6065561105390383691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290006875,"filename":"image_10042025_12_07_06_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351168007","file1":"1351167994","file0":"1351167960","file4":"1351168061","file5":"1351168075","file3":"1351168020"},"map_files_photo_id_array":[{"photo_id":"1351168075","filename":"file5"},{"photo_id":"1351168007","filename":"file2"},{"photo_id":"1351168061","filename":"file4"},{"photo_id":"1351167994","filename":"file1"},{"photo_id":"1351167960","filename":"file0"},{"photo_id":"1351168020","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351168061":["hashtag1","hashtag2"]},{"1351168007":["hashtag1","hashtag2"]},{"1351168075":["hashtag1","hashtag2"]},{"1351167994":["hashtag1","hashtag2"]},{"1351168020":["hashtag1","hashtag2"]},{"1351167960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351168061, 1351168007, 1351168075, 1351167994, 1351168020, 1351167960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13912606239319 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 14:59:52.374473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_36_10350.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_46_10397.jpg', '/home/pi/Desktop/images/10042025/12/08/image_10042025_12_09_06_10475.jpg', '/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_16_9354.jpg', '/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_26_10381.jpg', '/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_37_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_36_10350.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_08_46_10397.jpg
/home/pi/Desktop/images/10042025/12/08/image_10042025_12_09_06_10475.jpg
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_16_9354.jpg
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_26_10381.jpg
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_37_10473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351168225","1351168207","1351168185","1351168158","1351168134","1351168116"],"photo_ids_order":["1351168116","1351168134","1351168158","1351168185","1351168207","1351168225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6443dfdcd95b7afb67aa35013102eb97.jpg","text":"TemporaryFile(/tmp/multipartBody5370111715166288476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_09_37_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/645e7dafd7e0fdca7a7da1696bf1aedb.jpg","text":"TemporaryFile(/tmp/multipartBody1301399328005683349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_09_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3c1fe134c20b317375e108e1752b984.jpg","text":"TemporaryFile(/tmp/multipartBody3498977095855464246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_09_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93fe1dfb4a49d16177f0ba4bc7ba8118.jpg","text":"TemporaryFile(/tmp/multipartBody5571786598531433751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_09_06_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df9af26e9f2313ed6ddb36d473215643.jpg","text":"TemporaryFile(/tmp/multipartBody1210688433055476206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_08_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9fd3f56434c10d0dca1979875720d28.jpg","text":"TemporaryFile(/tmp/multipartBody8001322880684528654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290052827,"filename":"image_10042025_12_08_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351168158","file1":"1351168134","file0":"1351168116","file4":"1351168207","file5":"1351168225","file3":"1351168185"},"map_files_photo_id_array":[{"photo_id":"1351168225","filename":"file5"},{"photo_id":"1351168158","filename":"file2"},{"photo_id":"1351168207","filename":"file4"},{"photo_id":"1351168134","filename":"file1"},{"photo_id":"1351168116","filename":"file0"},{"photo_id":"1351168185","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351168225":["hashtag1","hashtag2"]},{"1351168207":["hashtag1","hashtag2"]},{"1351168185":["hashtag1","hashtag2"]},{"1351168158":["hashtag1","hashtag2"]},{"1351168134":["hashtag1","hashtag2"]},{"1351168116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351168225, 1351168207, 1351168185, 1351168158, 1351168134, 1351168116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44432497024536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:00:32.631497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_56_10354.jpg', '/home/pi/Desktop/images/10042025/12/09/image_10042025_12_10_06_9400.jpg', '/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_26_10496.jpg', '/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_56_9359.jpg', '/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_26_9372.jpg', '/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_56_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_56_10354.jpg
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_10_06_9400.jpg
/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_26_10496.jpg
/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_56_9359.jpg
/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_26_9372.jpg
/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_56_9337.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3799009323120117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 15:00:42.594753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_56_10354.jpg', '/home/pi/Desktop/images/10042025/12/09/image_10042025_12_10_06_9400.jpg', '/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_26_10496.jpg', '/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_56_9359.jpg', '/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_26_9372.jpg', '/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_56_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_09_56_10354.jpg
/home/pi/Desktop/images/10042025/12/09/image_10042025_12_10_06_9400.jpg
/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_26_10496.jpg
/home/pi/Desktop/images/10042025/12/10/image_10042025_12_10_56_9359.jpg
/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_26_9372.jpg
/home/pi/Desktop/images/10042025/12/11/image_10042025_12_11_56_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351168256","1351168264","1351168252","1351168276","1351168261","1351168269"],"photo_ids_order":["1351168252","1351168256","1351168261","1351168264","1351168269","1351168276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ebdbed85dbf7060f2bd20fc69112f82.jpg","text":"TemporaryFile(/tmp/multipartBody1674782068268494201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_10_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6246e0adf2a2a80b62d41bd1d1740cbc.jpg","text":"TemporaryFile(/tmp/multipartBody8324046474387986561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_10_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3c5a9822b33858938d491fb15c07e74.jpg","text":"TemporaryFile(/tmp/multipartBody459083417729907369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_09_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/059be6d28194103ab49a1618a9b98266.jpg","text":"TemporaryFile(/tmp/multipartBody9155831307585673682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_11_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8e8a3e44723ac7ce9ef92d64bcd64dc.jpg","text":"TemporaryFile(/tmp/multipartBody6137561213919169664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_10_26_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c2b8fe069e5aa6d86980e7a843ad28b.jpg","text":"TemporaryFile(/tmp/multipartBody1734148799233839928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290103141,"filename":"image_10042025_12_11_26_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351168261","file1":"1351168256","file0":"1351168252","file4":"1351168269","file5":"1351168276","file3":"1351168264"},"map_files_photo_id_array":[{"photo_id":"1351168276","filename":"file5"},{"photo_id":"1351168261","filename":"file2"},{"photo_id":"1351168269","filename":"file4"},{"photo_id":"1351168256","filename":"file1"},{"photo_id":"1351168252","filename":"file0"},{"photo_id":"1351168264","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351168256":["hashtag1","hashtag2"]},{"1351168264":["hashtag1","hashtag2"]},{"1351168252":["hashtag1","hashtag2"]},{"1351168276":["hashtag1","hashtag2"]},{"1351168261":["hashtag1","hashtag2"]},{"1351168269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351168256, 1351168264, 1351168252, 1351168276, 1351168261, 1351168269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25143218040466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:01:32.769468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/11/image_10042025_12_12_06_10355.jpg', '/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_16_9409.jpg', '/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_36_10390.jpg', '/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_46_9444.jpg', '/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_56_10393.jpg', '/home/pi/Desktop/images/10042025/12/12/image_10042025_12_13_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/11/image_10042025_12_12_06_10355.jpg
/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_16_9409.jpg
/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_36_10390.jpg
/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_46_9444.jpg
/home/pi/Desktop/images/10042025/12/12/image_10042025_12_12_56_10393.jpg
/home/pi/Desktop/images/10042025/12/12/image_10042025_12_13_06_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351168340","1351168304","1351168313","1351168366","1351168306","1351168308"],"photo_ids_order":["1351168304","1351168306","1351168308","1351168313","1351168340","1351168366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/578c7289d243d4c1b50f1565a6eed03b.jpg","text":"TemporaryFile(/tmp/multipartBody8377452223837712630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_12_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22c113db059aa975ac23c7cf0f46e703.jpg","text":"TemporaryFile(/tmp/multipartBody2877382310792177140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_12_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11decbeccd497f35714969baba31cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody6165091051972498474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_12_46_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb64450768b354e405e678c0fed7879e.jpg","text":"TemporaryFile(/tmp/multipartBody9064530347553789587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_13_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b752643fda6ca75da42f207334f576f1.jpg","text":"TemporaryFile(/tmp/multipartBody5911012490687880413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_12_16_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93b2c6c399e5aff48438467f0dd50a75.jpg","text":"TemporaryFile(/tmp/multipartBody5653065799486664037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290153220,"filename":"image_10042025_12_12_36_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351168308","file1":"1351168306","file0":"1351168304","file4":"1351168340","file5":"1351168366","file3":"1351168313"},"map_files_photo_id_array":[{"photo_id":"1351168366","filename":"file5"},{"photo_id":"1351168308","filename":"file2"},{"photo_id":"1351168340","filename":"file4"},{"photo_id":"1351168306","filename":"file1"},{"photo_id":"1351168304","filename":"file0"},{"photo_id":"1351168313","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351168340":["hashtag1","hashtag2"]},{"1351168304":["hashtag1","hashtag2"]},{"1351168313":["hashtag1","hashtag2"]},{"1351168366":["hashtag1","hashtag2"]},{"1351168306":["hashtag1","hashtag2"]},{"1351168308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351168340, 1351168304, 1351168313, 1351168366, 1351168306, 1351168308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5790901184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:02:32.973672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_26_10489.jpg', '/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_46_10362.jpg', '/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_56_9361.jpg', '/home/pi/Desktop/images/10042025/12/14/image_10042025_12_14_16_10467.jpg', '/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_16_9364.jpg', '/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_26_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_26_10489.jpg
/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_46_10362.jpg
/home/pi/Desktop/images/10042025/12/13/image_10042025_12_13_56_9361.jpg
/home/pi/Desktop/images/10042025/12/14/image_10042025_12_14_16_10467.jpg
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_16_9364.jpg
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_26_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351168832","1351168754","1351168640","1351168708","1351168801","1351168665"],"photo_ids_order":["1351168640","1351168665","1351168708","1351168754","1351168801","1351168832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37080c8ae633babdc7ea903e08df0994.jpg","text":"TemporaryFile(/tmp/multipartBody1364289926295023955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_15_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38d9b0072fae16b94088d21edadf982b.jpg","text":"TemporaryFile(/tmp/multipartBody7293480515992024019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_14_16_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aae9a8a06675801d2d32c674b33055f3.jpg","text":"TemporaryFile(/tmp/multipartBody7664111723709796978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_13_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2256780ff1eab2ed0e2a5fe25a304ef.jpg","text":"TemporaryFile(/tmp/multipartBody8290790125403943279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_13_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc205aa2a2ce5b2d64925b2c27d91057.jpg","text":"TemporaryFile(/tmp/multipartBody9183381040817487620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_15_16_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eac640ab3667356e6f59c30658a24fe.jpg","text":"TemporaryFile(/tmp/multipartBody4096648807550501135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290213583,"filename":"image_10042025_12_13_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351168708","file1":"1351168665","file0":"1351168640","file4":"1351168801","file5":"1351168832","file3":"1351168754"},"map_files_photo_id_array":[{"photo_id":"1351168832","filename":"file5"},{"photo_id":"1351168708","filename":"file2"},{"photo_id":"1351168801","filename":"file4"},{"photo_id":"1351168665","filename":"file1"},{"photo_id":"1351168640","filename":"file0"},{"photo_id":"1351168754","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351168832":["hashtag1","hashtag2"]},{"1351168754":["hashtag1","hashtag2"]},{"1351168640":["hashtag1","hashtag2"]},{"1351168708":["hashtag1","hashtag2"]},{"1351168801":["hashtag1","hashtag2"]},{"1351168665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351168832, 1351168754, 1351168640, 1351168708, 1351168801, 1351168665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35424208641052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:03:32.343341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_36_9431.jpg', '/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_46_10343.jpg', '/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_56_10506.jpg', '/home/pi/Desktop/images/10042025/12/15/image_10042025_12_16_06_9381.jpg', '/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_26_9351.jpg', '/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_36_9431.jpg
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_46_10343.jpg
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_15_56_10506.jpg
/home/pi/Desktop/images/10042025/12/15/image_10042025_12_16_06_9381.jpg
/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_26_9351.jpg
/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_36_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351169603","1351169488","1351169274","1351169381","1351169777","1351169684"],"photo_ids_order":["1351169274","1351169381","1351169488","1351169603","1351169684","1351169777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44603cbed4ca79c936134446e5cdc1e0.jpg","text":"TemporaryFile(/tmp/multipartBody1292250280020642809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_16_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5cfbe7f25c620a3f5e08a9320c85087.jpg","text":"TemporaryFile(/tmp/multipartBody1887985791468368261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_15_56_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b1faea2d34ca67ee91aea0d2734c8947.jpg","text":"TemporaryFile(/tmp/multipartBody7053603799034198896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_15_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88246b12721d54458a87e3220f3e2902.jpg","text":"TemporaryFile(/tmp/multipartBody7012847363779193471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_15_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c843f58add2b91bd00590c6acf2ed120.jpg","text":"TemporaryFile(/tmp/multipartBody1038101613975680778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_16_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/277029546d5a5c2c21e1bdb870372a4e.jpg","text":"TemporaryFile(/tmp/multipartBody5347079940408525770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290272792,"filename":"image_10042025_12_16_26_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351169488","file1":"1351169381","file0":"1351169274","file4":"1351169684","file5":"1351169777","file3":"1351169603"},"map_files_photo_id_array":[{"photo_id":"1351169777","filename":"file5"},{"photo_id":"1351169488","filename":"file2"},{"photo_id":"1351169684","filename":"file4"},{"photo_id":"1351169381","filename":"file1"},{"photo_id":"1351169274","filename":"file0"},{"photo_id":"1351169603","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351169603":["hashtag1","hashtag2"]},{"1351169488":["hashtag1","hashtag2"]},{"1351169274":["hashtag1","hashtag2"]},{"1351169381":["hashtag1","hashtag2"]},{"1351169777":["hashtag1","hashtag2"]},{"1351169684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351169603, 1351169488, 1351169274, 1351169381, 1351169777, 1351169684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.856550216674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:04:32.532128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_46_10479.jpg', '/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_56_9360.jpg', '/home/pi/Desktop/images/10042025/12/16/image_10042025_12_17_06_10362.jpg', '/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_17_10340.jpg', '/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_26_9360.jpg', '/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_36_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_46_10479.jpg
/home/pi/Desktop/images/10042025/12/16/image_10042025_12_16_56_9360.jpg
/home/pi/Desktop/images/10042025/12/16/image_10042025_12_17_06_10362.jpg
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_17_10340.jpg
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_26_9360.jpg
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_36_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351170596","1351170500","1351170404","1351170265","1351170294","1351170348"],"photo_ids_order":["1351170265","1351170294","1351170348","1351170404","1351170500","1351170596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/762e2b8e3cd5f59b6c6821f2800d3f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7570299273035539951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_17_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8748ffb72f64262047d4f9cf9b75c223.jpg","text":"TemporaryFile(/tmp/multipartBody6098113339318744313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_17_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3d6c7e4efa58e5f478305c02c3ec52c.jpg","text":"TemporaryFile(/tmp/multipartBody1128417497287012495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_17_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ba97ed7eb5e0c5b169cbb4da2a6bdf1.jpg","text":"TemporaryFile(/tmp/multipartBody7409871431386664834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_16_46_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b2b5f0670a3aeb485be796e6edaa18d.jpg","text":"TemporaryFile(/tmp/multipartBody6284514431733390344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_16_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af4c43ce0c12a2ef11d5f33e80904991.jpg","text":"TemporaryFile(/tmp/multipartBody1558723051688291184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290332986,"filename":"image_10042025_12_17_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351170348","file1":"1351170294","file0":"1351170265","file4":"1351170500","file5":"1351170596","file3":"1351170404"},"map_files_photo_id_array":[{"photo_id":"1351170596","filename":"file5"},{"photo_id":"1351170348","filename":"file2"},{"photo_id":"1351170500","filename":"file4"},{"photo_id":"1351170294","filename":"file1"},{"photo_id":"1351170265","filename":"file0"},{"photo_id":"1351170404","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351170596":["hashtag1","hashtag2"]},{"1351170500":["hashtag1","hashtag2"]},{"1351170404":["hashtag1","hashtag2"]},{"1351170265":["hashtag1","hashtag2"]},{"1351170294":["hashtag1","hashtag2"]},{"1351170348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351170596, 1351170500, 1351170404, 1351170265, 1351170294, 1351170348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86428642272949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:05:32.770257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_46_9357.jpg', '/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_56_10359.jpg', '/home/pi/Desktop/images/10042025/12/17/image_10042025_12_18_06_10453.jpg', '/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_16_9347.jpg', '/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_26_10337.jpg', '/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_36_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_46_9357.jpg
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_17_56_10359.jpg
/home/pi/Desktop/images/10042025/12/17/image_10042025_12_18_06_10453.jpg
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_16_9347.jpg
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_26_10337.jpg
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_36_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351171357","1351171287","1351171410","1351171041","1351171107","1351171163"],"photo_ids_order":["1351171041","1351171107","1351171163","1351171287","1351171357","1351171410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/985f17d8bf0fa65f570c47594c3666ed.jpg","text":"TemporaryFile(/tmp/multipartBody7271492107093124494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_18_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c08b7a70e118b077cee57c14d44d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody578154586573885979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_18_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f1201baf62678bddbf4d0dd40f35a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4168014770724237792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_18_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acb5d147a20cc63900cbeacd16dc031b.jpg","text":"TemporaryFile(/tmp/multipartBody8756773840840039040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_17_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c7355b58f43575cefe9f1d5d80dc586.jpg","text":"TemporaryFile(/tmp/multipartBody1403475458529303889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_17_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3893e49b13dc6b9924800bf2f91dc4d7.jpg","text":"TemporaryFile(/tmp/multipartBody6736477286576754940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290393222,"filename":"image_10042025_12_18_06_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351171163","file1":"1351171107","file0":"1351171041","file4":"1351171357","file5":"1351171410","file3":"1351171287"},"map_files_photo_id_array":[{"photo_id":"1351171410","filename":"file5"},{"photo_id":"1351171163","filename":"file2"},{"photo_id":"1351171357","filename":"file4"},{"photo_id":"1351171107","filename":"file1"},{"photo_id":"1351171041","filename":"file0"},{"photo_id":"1351171287","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351171357":["hashtag1","hashtag2"]},{"1351171287":["hashtag1","hashtag2"]},{"1351171410":["hashtag1","hashtag2"]},{"1351171041":["hashtag1","hashtag2"]},{"1351171107":["hashtag1","hashtag2"]},{"1351171163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351171357, 1351171287, 1351171410, 1351171041, 1351171107, 1351171163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93786120414734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:06:32.943857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_46_9340.jpg', '/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_56_10360.jpg', '/home/pi/Desktop/images/10042025/12/18/image_10042025_12_19_07_10349.jpg', '/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_16_9355.jpg', '/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_26_10430.jpg', '/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_36_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_46_9340.jpg
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_18_56_10360.jpg
/home/pi/Desktop/images/10042025/12/18/image_10042025_12_19_07_10349.jpg
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_16_9355.jpg
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_26_10430.jpg
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_36_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351171960","1351171921","1351171837","1351171878","1351171791","1351172018"],"photo_ids_order":["1351171791","1351171837","1351171878","1351171921","1351171960","1351172018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/417466d0cf2a2139b04f31ca15de7b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5259540444621832487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_19_26_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6017034d3a42d334af0b80353d9f663e.jpg","text":"TemporaryFile(/tmp/multipartBody1707087598614889669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_19_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c555d9178216b09cc4977aeb9daf98e.jpg","text":"TemporaryFile(/tmp/multipartBody7121117755945706675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_18_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3edc8bc0f9f8665003bacda665f84649.jpg","text":"TemporaryFile(/tmp/multipartBody179433297091968730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_19_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a410ae2be24640cfeb494fb7439912dc.jpg","text":"TemporaryFile(/tmp/multipartBody6259561476588107413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_18_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b9802fff3a0b209a10f77ddcd8d9500.jpg","text":"TemporaryFile(/tmp/multipartBody731136748305106768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290453394,"filename":"image_10042025_12_19_36_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351171878","file1":"1351171837","file0":"1351171791","file4":"1351171960","file5":"1351172018","file3":"1351171921"},"map_files_photo_id_array":[{"photo_id":"1351172018","filename":"file5"},{"photo_id":"1351171878","filename":"file2"},{"photo_id":"1351171960","filename":"file4"},{"photo_id":"1351171837","filename":"file1"},{"photo_id":"1351171791","filename":"file0"},{"photo_id":"1351171921","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351171960":["hashtag1","hashtag2"]},{"1351171921":["hashtag1","hashtag2"]},{"1351171837":["hashtag1","hashtag2"]},{"1351171878":["hashtag1","hashtag2"]},{"1351171791":["hashtag1","hashtag2"]},{"1351172018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351171960, 1351171921, 1351171837, 1351171878, 1351171791, 1351172018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20303440093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:07:33.084998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_46_10357.jpg', '/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_56_10381.jpg', '/home/pi/Desktop/images/10042025/12/19/image_10042025_12_20_06_9332.jpg', '/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_16_10393.jpg', '/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_26_9345.jpg', '/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_46_10357.jpg
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_19_56_10381.jpg
/home/pi/Desktop/images/10042025/12/19/image_10042025_12_20_06_9332.jpg
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_16_10393.jpg
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_26_9345.jpg
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351172411","1351172380","1351172289","1351172474","1351172348","1351172321"],"photo_ids_order":["1351172289","1351172321","1351172348","1351172380","1351172411","1351172474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0051b0374bc66088734bfd77cf5d6e26.jpg","text":"TemporaryFile(/tmp/multipartBody141521491000494835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_20_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6a4d3e7c615cf638bbe38aae250fab2.jpg","text":"TemporaryFile(/tmp/multipartBody9021422924141550480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_20_16_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd6bf4fc6ceeb1da53716cc1c5210129.jpg","text":"TemporaryFile(/tmp/multipartBody4774994367704949163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_19_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32cf593efc4f918290dc7449e5208cec.jpg","text":"TemporaryFile(/tmp/multipartBody2693367920458606407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_20_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdc7d0d22d603e51b3b9ce5513a183b3.jpg","text":"TemporaryFile(/tmp/multipartBody3044092086737525369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_20_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2992f0fd4010c7eb08c548930b13b05b.jpg","text":"TemporaryFile(/tmp/multipartBody5056704065580748812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290513528,"filename":"image_10042025_12_19_56_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351172348","file1":"1351172321","file0":"1351172289","file4":"1351172411","file5":"1351172474","file3":"1351172380"},"map_files_photo_id_array":[{"photo_id":"1351172474","filename":"file5"},{"photo_id":"1351172348","filename":"file2"},{"photo_id":"1351172411","filename":"file4"},{"photo_id":"1351172321","filename":"file1"},{"photo_id":"1351172289","filename":"file0"},{"photo_id":"1351172380","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351172411":["hashtag1","hashtag2"]},{"1351172380":["hashtag1","hashtag2"]},{"1351172289":["hashtag1","hashtag2"]},{"1351172474":["hashtag1","hashtag2"]},{"1351172348":["hashtag1","hashtag2"]},{"1351172321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351172411, 1351172380, 1351172289, 1351172474, 1351172348, 1351172321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46020841598511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:08:32.191381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_46_10426.jpg', '/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_56_9362.jpg', '/home/pi/Desktop/images/10042025/12/20/image_10042025_12_21_06_10377.jpg', '/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_17_10467.jpg', '/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_26_9394.jpg', '/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_36_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_46_10426.jpg
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_20_56_9362.jpg
/home/pi/Desktop/images/10042025/12/20/image_10042025_12_21_06_10377.jpg
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_17_10467.jpg
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_26_9394.jpg
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_36_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351172887","1351172827","1351172862","1351172919","1351172786","1351172993"],"photo_ids_order":["1351172786","1351172827","1351172862","1351172887","1351172919","1351172993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/745f0c0b58a0fef8ec18639950e5cafa.jpg","text":"TemporaryFile(/tmp/multipartBody9126582706348341557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_21_17_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dac2d696431515406c9b9b2110d3849.jpg","text":"TemporaryFile(/tmp/multipartBody7130948001655480369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_20_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/222972d2c970a844ac899fe848abd3c7.jpg","text":"TemporaryFile(/tmp/multipartBody4877236142891460495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_21_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa653bdba5daac2f25b1bc82acb3004d.jpg","text":"TemporaryFile(/tmp/multipartBody5982370353284668224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_21_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5988710db47b6f2d109947e281ea6b16.jpg","text":"TemporaryFile(/tmp/multipartBody5860181780880569944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_20_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf5447994279602d29e54c45b38eb2b2.jpg","text":"TemporaryFile(/tmp/multipartBody1548535643054359874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290572640,"filename":"image_10042025_12_21_36_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351172862","file1":"1351172827","file0":"1351172786","file4":"1351172919","file5":"1351172993","file3":"1351172887"},"map_files_photo_id_array":[{"photo_id":"1351172993","filename":"file5"},{"photo_id":"1351172862","filename":"file2"},{"photo_id":"1351172919","filename":"file4"},{"photo_id":"1351172827","filename":"file1"},{"photo_id":"1351172786","filename":"file0"},{"photo_id":"1351172887","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351172887":["hashtag1","hashtag2"]},{"1351172827":["hashtag1","hashtag2"]},{"1351172862":["hashtag1","hashtag2"]},{"1351172919":["hashtag1","hashtag2"]},{"1351172786":["hashtag1","hashtag2"]},{"1351172993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351172887, 1351172827, 1351172862, 1351172919, 1351172786, 1351172993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7034637928009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:09:32.436079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_46_9332.jpg', '/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_56_10444.jpg', '/home/pi/Desktop/images/10042025/12/21/image_10042025_12_22_07_10357.jpg', '/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_16_9349.jpg', '/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_26_10374.jpg', '/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_36_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_46_9332.jpg
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_21_56_10444.jpg
/home/pi/Desktop/images/10042025/12/21/image_10042025_12_22_07_10357.jpg
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_16_9349.jpg
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_26_10374.jpg
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_36_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351173642","1351173534","1351173590","1351173476","1351173500","1351173445"],"photo_ids_order":["1351173445","1351173476","1351173500","1351173534","1351173590","1351173642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcff8bbbd3ccdbe5cfda0724d09f541e.jpg","text":"TemporaryFile(/tmp/multipartBody9113129344415325163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_22_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9969ba15cea7aa8caf5b812843b7c585.jpg","text":"TemporaryFile(/tmp/multipartBody6133546746948378531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_22_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b85cbb794ff7a0e348da59f13fb41d11.jpg","text":"TemporaryFile(/tmp/multipartBody3524539213697474547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_22_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c38c7d3c6a14a922b0210ac75706375c.jpg","text":"TemporaryFile(/tmp/multipartBody1526734748257267080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_21_56_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/724d8fed6038d652f6b2b2fae9a8c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody466889880085388253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_22_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7ae92ef02c8fd2ad2f7b2501e02b011.jpg","text":"TemporaryFile(/tmp/multipartBody6078067293105923141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290632890,"filename":"image_10042025_12_21_46_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351173500","file1":"1351173476","file0":"1351173445","file4":"1351173590","file5":"1351173642","file3":"1351173534"},"map_files_photo_id_array":[{"photo_id":"1351173642","filename":"file5"},{"photo_id":"1351173500","filename":"file2"},{"photo_id":"1351173590","filename":"file4"},{"photo_id":"1351173476","filename":"file1"},{"photo_id":"1351173445","filename":"file0"},{"photo_id":"1351173534","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351173642":["hashtag1","hashtag2"]},{"1351173534":["hashtag1","hashtag2"]},{"1351173590":["hashtag1","hashtag2"]},{"1351173476":["hashtag1","hashtag2"]},{"1351173500":["hashtag1","hashtag2"]},{"1351173445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351173642, 1351173534, 1351173590, 1351173476, 1351173500, 1351173445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40579438209534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:10:32.776956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_46_10359.jpg', '/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_56_10499.jpg', '/home/pi/Desktop/images/10042025/12/22/image_10042025_12_23_06_9422.jpg', '/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_16_10343.jpg', '/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_26_9348.jpg', '/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_36_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_46_10359.jpg
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_22_56_10499.jpg
/home/pi/Desktop/images/10042025/12/22/image_10042025_12_23_06_9422.jpg
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_16_10343.jpg
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_26_9348.jpg
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_36_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351174164","1351174101","1351174334","1351174277","1351174022","1351174204"],"photo_ids_order":["1351174022","1351174101","1351174164","1351174204","1351174277","1351174334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1aad4c481b150f5d2a47cab9e8897cff.jpg","text":"TemporaryFile(/tmp/multipartBody8922623493597969610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_23_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b4f9f594f9d97ecb5bc2430ff31574b.jpg","text":"TemporaryFile(/tmp/multipartBody7817823252118023804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_22_56_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83494bd09f074c3a20e07f569241eec6.jpg","text":"TemporaryFile(/tmp/multipartBody1433734628870109940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_23_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c954d98ed088b172dc90ebee10484f6.jpg","text":"TemporaryFile(/tmp/multipartBody6917880521453140963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_23_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3c53e3435f67d47da8501dbe2884b2e.jpg","text":"TemporaryFile(/tmp/multipartBody4170817421828720597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_22_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/146d16e88bd081ee7f9a7c3b190fbfc3.jpg","text":"TemporaryFile(/tmp/multipartBody8194843261645692202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290693240,"filename":"image_10042025_12_23_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351174164","file1":"1351174101","file0":"1351174022","file4":"1351174277","file5":"1351174334","file3":"1351174204"},"map_files_photo_id_array":[{"photo_id":"1351174334","filename":"file5"},{"photo_id":"1351174164","filename":"file2"},{"photo_id":"1351174277","filename":"file4"},{"photo_id":"1351174101","filename":"file1"},{"photo_id":"1351174022","filename":"file0"},{"photo_id":"1351174204","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351174164":["hashtag1","hashtag2"]},{"1351174101":["hashtag1","hashtag2"]},{"1351174334":["hashtag1","hashtag2"]},{"1351174277":["hashtag1","hashtag2"]},{"1351174022":["hashtag1","hashtag2"]},{"1351174204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351174164, 1351174101, 1351174334, 1351174277, 1351174022, 1351174204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18352007865906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:11:32.883545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_46_10459.jpg', '/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_56_9359.jpg', '/home/pi/Desktop/images/10042025/12/23/image_10042025_12_24_06_10356.jpg', '/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_16_10363.jpg', '/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_26_9350.jpg', '/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_36_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_46_10459.jpg
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_23_56_9359.jpg
/home/pi/Desktop/images/10042025/12/23/image_10042025_12_24_06_10356.jpg
/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_16_10363.jpg
/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_26_9350.jpg
/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_36_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351174895","1351174742","1351174946","1351174832","1351174993","1351175011"],"photo_ids_order":["1351174742","1351174832","1351174895","1351174946","1351174993","1351175011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/241006cbcfba9c4639c1e95e81aa4455.jpg","text":"TemporaryFile(/tmp/multipartBody8410989827918315096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_24_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/769ef595e6c050aa515e03dc4c567a2d.jpg","text":"TemporaryFile(/tmp/multipartBody6534939035934398573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_23_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02b5e62a90a0243d3340f1ce8f70ea6c.jpg","text":"TemporaryFile(/tmp/multipartBody1836170485362998433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_24_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f48ef30fbf015eef3630c04928dae22c.jpg","text":"TemporaryFile(/tmp/multipartBody7123403163150417283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_23_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94daf692bdbd14c635d530dba1a9ff67.jpg","text":"TemporaryFile(/tmp/multipartBody335532456640277587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_24_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/469051e8327d6d29005766c771ff7120.jpg","text":"TemporaryFile(/tmp/multipartBody1226269210835071704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290753350,"filename":"image_10042025_12_24_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351174895","file1":"1351174832","file0":"1351174742","file4":"1351174993","file5":"1351175011","file3":"1351174946"},"map_files_photo_id_array":[{"photo_id":"1351175011","filename":"file5"},{"photo_id":"1351174895","filename":"file2"},{"photo_id":"1351174993","filename":"file4"},{"photo_id":"1351174832","filename":"file1"},{"photo_id":"1351174742","filename":"file0"},{"photo_id":"1351174946","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351174895":["hashtag1","hashtag2"]},{"1351174742":["hashtag1","hashtag2"]},{"1351174946":["hashtag1","hashtag2"]},{"1351174832":["hashtag1","hashtag2"]},{"1351174993":["hashtag1","hashtag2"]},{"1351175011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351174895, 1351174742, 1351174946, 1351174832, 1351174993, 1351175011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56537961959839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:12:33.154641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_56_10385.jpg', '/home/pi/Desktop/images/10042025/12/24/image_10042025_12_25_06_10467.jpg', '/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_16_9359.jpg', '/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_26_10429.jpg', '/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_36_9354.jpg', '/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_46_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/24/image_10042025_12_24_56_10385.jpg
/home/pi/Desktop/images/10042025/12/24/image_10042025_12_25_06_10467.jpg
/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_16_9359.jpg
/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_26_10429.jpg
/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_36_9354.jpg
/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_46_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351175579","1351175501","1351175290","1351175542","1351175305","1351175247"],"photo_ids_order":["1351175247","1351175290","1351175305","1351175501","1351175542","1351175579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cac8dd64c9ce1d031b4d332031668f74.jpg","text":"TemporaryFile(/tmp/multipartBody1026031800109417572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_25_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9d1e9c29b1c4ef190ac3802df0d3b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6281725718742698434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_25_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98e478ea6b9728bf93f1304ca69d5d89.jpg","text":"TemporaryFile(/tmp/multipartBody6147763506265575314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_25_06_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fb7ad6fa004f9cc4544c72a04e37d26.jpg","text":"TemporaryFile(/tmp/multipartBody8388977888494554635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_25_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efb9928c0315fd75dca23676b9b32140.jpg","text":"TemporaryFile(/tmp/multipartBody6229793135913252048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_25_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dc743fd95e7ef5ca8382b22a282b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5280983216189480655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290813621,"filename":"image_10042025_12_24_56_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351175305","file1":"1351175290","file0":"1351175247","file4":"1351175542","file5":"1351175579","file3":"1351175501"},"map_files_photo_id_array":[{"photo_id":"1351175579","filename":"file5"},{"photo_id":"1351175305","filename":"file2"},{"photo_id":"1351175542","filename":"file4"},{"photo_id":"1351175290","filename":"file1"},{"photo_id":"1351175247","filename":"file0"},{"photo_id":"1351175501","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351175579":["hashtag1","hashtag2"]},{"1351175501":["hashtag1","hashtag2"]},{"1351175290":["hashtag1","hashtag2"]},{"1351175542":["hashtag1","hashtag2"]},{"1351175305":["hashtag1","hashtag2"]},{"1351175247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351175579, 1351175501, 1351175290, 1351175542, 1351175305, 1351175247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53588247299194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:13:32.287902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_56_10488.jpg', '/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_16_10348.jpg', '/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_26_10356.jpg', '/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_36_9338.jpg', '/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_46_10344.jpg', '/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_56_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/25/image_10042025_12_25_56_10488.jpg
/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_16_10348.jpg
/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_26_10356.jpg
/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_36_9338.jpg
/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_46_10344.jpg
/home/pi/Desktop/images/10042025/12/26/image_10042025_12_26_56_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351175640","1351175675","1351175660","1351175645","1351175680","1351175652"],"photo_ids_order":["1351175640","1351175645","1351175652","1351175660","1351175675","1351175680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96c528775e302b19d0261057a73df377.jpg","text":"TemporaryFile(/tmp/multipartBody4641030885927597172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_25_56_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5af5540bde00d1c53fb7ad9618813a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2510647859877846511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_26_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/006dea7c3aa9bb6fa9e8366ed5243a05.jpg","text":"TemporaryFile(/tmp/multipartBody8073290661682817707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_26_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7741df88cbc169b3a73994a33e0d9596.jpg","text":"TemporaryFile(/tmp/multipartBody5954339384874142317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_26_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54d2069c5a02f69e47311c9f198b7ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4845915190836218613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_26_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/043ec1dc6431bceed23c084d3fa2c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody8770226630397332095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290872753,"filename":"image_10042025_12_26_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351175652","file1":"1351175645","file0":"1351175640","file4":"1351175675","file5":"1351175680","file3":"1351175660"},"map_files_photo_id_array":[{"photo_id":"1351175680","filename":"file5"},{"photo_id":"1351175652","filename":"file2"},{"photo_id":"1351175675","filename":"file4"},{"photo_id":"1351175645","filename":"file1"},{"photo_id":"1351175640","filename":"file0"},{"photo_id":"1351175660","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351175640":["hashtag1","hashtag2"]},{"1351175675":["hashtag1","hashtag2"]},{"1351175660":["hashtag1","hashtag2"]},{"1351175645":["hashtag1","hashtag2"]},{"1351175680":["hashtag1","hashtag2"]},{"1351175652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351175640, 1351175675, 1351175660, 1351175645, 1351175680, 1351175652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76220941543579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:14:32.509534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_16_10343.jpg', '/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_36_10339.jpg', '/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_46_10375.jpg', '/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_56_9367.jpg', '/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_16_9347.jpg', '/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_26_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_16_10343.jpg
/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_36_10339.jpg
/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_46_10375.jpg
/home/pi/Desktop/images/10042025/12/27/image_10042025_12_27_56_9367.jpg
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_16_9347.jpg
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_26_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351175954","1351175887","1351175827","1351175868","1351175862","1351175856"],"photo_ids_order":["1351175827","1351175856","1351175862","1351175868","1351175887","1351175954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66b251d1d76a7cf98ef28b67b017541b.jpg","text":"TemporaryFile(/tmp/multipartBody157559863636742929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_28_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb26a21c1c4a17601282d6637b8f7a01.jpg","text":"TemporaryFile(/tmp/multipartBody8877370677661554859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_28_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7200fe2627e5917b50cf2b08ae53d97.jpg","text":"TemporaryFile(/tmp/multipartBody7225370412280951572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_27_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4454d5b21a0f8332fc6a83e2ebf9d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody853613271799414933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_27_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d2bdf6343c5a7ce65105e8567cd7acf.jpg","text":"TemporaryFile(/tmp/multipartBody1369334355050432386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_27_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab31c62516652c69a5e61280ceef06ea.jpg","text":"TemporaryFile(/tmp/multipartBody4126838369387859116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290932962,"filename":"image_10042025_12_27_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351175862","file1":"1351175856","file0":"1351175827","file4":"1351175887","file5":"1351175954","file3":"1351175868"},"map_files_photo_id_array":[{"photo_id":"1351175954","filename":"file5"},{"photo_id":"1351175862","filename":"file2"},{"photo_id":"1351175887","filename":"file4"},{"photo_id":"1351175856","filename":"file1"},{"photo_id":"1351175827","filename":"file0"},{"photo_id":"1351175868","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351175954":["hashtag1","hashtag2"]},{"1351175887":["hashtag1","hashtag2"]},{"1351175827":["hashtag1","hashtag2"]},{"1351175868":["hashtag1","hashtag2"]},{"1351175862":["hashtag1","hashtag2"]},{"1351175856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351175954, 1351175887, 1351175827, 1351175868, 1351175862, 1351175856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.823004961013794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:15:32.644182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_36_10368.jpg', '/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_46_9354.jpg', '/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_56_10378.jpg', '/home/pi/Desktop/images/10042025/12/28/image_10042025_12_29_06_9407.jpg', '/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_16_10354.jpg', '/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_26_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_36_10368.jpg
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_46_9354.jpg
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_28_56_10378.jpg
/home/pi/Desktop/images/10042025/12/28/image_10042025_12_29_06_9407.jpg
/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_16_10354.jpg
/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_26_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176077","1351176116","1351176110","1351176130","1351176052","1351176123"],"photo_ids_order":["1351176052","1351176077","1351176110","1351176116","1351176123","1351176130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/494e22049ac030b7ea38b6578ff2290e.jpg","text":"TemporaryFile(/tmp/multipartBody6353572699115577497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_28_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef95108f7ad52caa4c9801b12a2bd7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1204617557852607174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_29_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0176b3b35ce1386e9e354e1d3a79041.jpg","text":"TemporaryFile(/tmp/multipartBody8226004439390301169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_28_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24b1730cbfceefa69fa952ca60dff156.jpg","text":"TemporaryFile(/tmp/multipartBody5775317245849557063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_29_26_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b26aa681baaaee4617f38783b9a336d.jpg","text":"TemporaryFile(/tmp/multipartBody7264959681125852666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_28_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8bfca182b75332d80f0f027f1fdb300.jpg","text":"TemporaryFile(/tmp/multipartBody6887690958383912694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744290993096,"filename":"image_10042025_12_29_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176110","file1":"1351176077","file0":"1351176052","file4":"1351176123","file5":"1351176130","file3":"1351176116"},"map_files_photo_id_array":[{"photo_id":"1351176130","filename":"file5"},{"photo_id":"1351176110","filename":"file2"},{"photo_id":"1351176123","filename":"file4"},{"photo_id":"1351176077","filename":"file1"},{"photo_id":"1351176052","filename":"file0"},{"photo_id":"1351176116","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176077":["hashtag1","hashtag2"]},{"1351176116":["hashtag1","hashtag2"]},{"1351176110":["hashtag1","hashtag2"]},{"1351176130":["hashtag1","hashtag2"]},{"1351176052":["hashtag1","hashtag2"]},{"1351176123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176077, 1351176116, 1351176110, 1351176130, 1351176052, 1351176123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91600036621094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:16:32.999405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_36_9450.jpg', '/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_46_10341.jpg', '/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_57_10364.jpg', '/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_26_9360.jpg', '/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_36_10346.jpg', '/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_36_9450.jpg
/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_46_10341.jpg
/home/pi/Desktop/images/10042025/12/29/image_10042025_12_29_57_10364.jpg
/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_26_9360.jpg
/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_36_10346.jpg
/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_46_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176218","1351176212","1351176206","1351176222","1351176201","1351176194"],"photo_ids_order":["1351176194","1351176201","1351176206","1351176212","1351176218","1351176222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44d271a5dab7e29a5735a03e078d7ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6144521477889665231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_30_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9312d85ea6e4ada2b1d615f6642321ca.jpg","text":"TemporaryFile(/tmp/multipartBody3566735285537206320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_30_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e6d0f0e8f0f1ee03f59ddece5e4d051.jpg","text":"TemporaryFile(/tmp/multipartBody1299950615227221321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_29_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/627064a03c45e76ca1a41e72fdec0c01.jpg","text":"TemporaryFile(/tmp/multipartBody1835231503939647124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_30_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3a5762fa467975b58b2a0c5bf0047a1.jpg","text":"TemporaryFile(/tmp/multipartBody6166838527667760481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_29_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d4a9aa637eb9cda0568360a76f8c694.jpg","text":"TemporaryFile(/tmp/multipartBody8656602921246821297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291053446,"filename":"image_10042025_12_29_36_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176206","file1":"1351176201","file0":"1351176194","file4":"1351176218","file5":"1351176222","file3":"1351176212"},"map_files_photo_id_array":[{"photo_id":"1351176222","filename":"file5"},{"photo_id":"1351176206","filename":"file2"},{"photo_id":"1351176218","filename":"file4"},{"photo_id":"1351176201","filename":"file1"},{"photo_id":"1351176194","filename":"file0"},{"photo_id":"1351176212","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176218":["hashtag1","hashtag2"]},{"1351176212":["hashtag1","hashtag2"]},{"1351176206":["hashtag1","hashtag2"]},{"1351176222":["hashtag1","hashtag2"]},{"1351176201":["hashtag1","hashtag2"]},{"1351176194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176218, 1351176212, 1351176206, 1351176222, 1351176201, 1351176194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92439007759094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:17:33.046790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_56_9343.jpg', '/home/pi/Desktop/images/10042025/12/30/image_10042025_12_31_06_10366.jpg', '/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_16_9341.jpg', '/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_26_10432.jpg', '/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_46_9352.jpg', '/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_56_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/30/image_10042025_12_30_56_9343.jpg
/home/pi/Desktop/images/10042025/12/30/image_10042025_12_31_06_10366.jpg
/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_16_9341.jpg
/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_26_10432.jpg
/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_46_9352.jpg
/home/pi/Desktop/images/10042025/12/31/image_10042025_12_31_56_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176269","1351176278","1351176286","1351176282","1351176291","1351176273"],"photo_ids_order":["1351176269","1351176273","1351176278","1351176282","1351176286","1351176291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a927bd5c22f9c385a049da51acda7de3.jpg","text":"TemporaryFile(/tmp/multipartBody5486576562188697586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_30_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93456dc15039a316d744371ec69bbcb9.jpg","text":"TemporaryFile(/tmp/multipartBody8173474070376549106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_31_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7004a18d8aa9126677b4bc35c53c24fc.jpg","text":"TemporaryFile(/tmp/multipartBody6039103352390344093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_31_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c91179a33f242618dc0201f8eb48aa0b.jpg","text":"TemporaryFile(/tmp/multipartBody9031451310663565858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_31_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f82e38e383bf9340ba449a724f2fb7f.jpg","text":"TemporaryFile(/tmp/multipartBody93855877325438824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_31_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54bcd08dfb6e485383d8a22214484026.jpg","text":"TemporaryFile(/tmp/multipartBody1512847055837662064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291113509,"filename":"image_10042025_12_31_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176278","file1":"1351176273","file0":"1351176269","file4":"1351176286","file5":"1351176291","file3":"1351176282"},"map_files_photo_id_array":[{"photo_id":"1351176291","filename":"file5"},{"photo_id":"1351176278","filename":"file2"},{"photo_id":"1351176286","filename":"file4"},{"photo_id":"1351176273","filename":"file1"},{"photo_id":"1351176269","filename":"file0"},{"photo_id":"1351176282","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176269":["hashtag1","hashtag2"]},{"1351176278":["hashtag1","hashtag2"]},{"1351176286":["hashtag1","hashtag2"]},{"1351176282":["hashtag1","hashtag2"]},{"1351176291":["hashtag1","hashtag2"]},{"1351176273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176269, 1351176278, 1351176286, 1351176282, 1351176291, 1351176273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.130106925964355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:18:32.306814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/31/image_10042025_12_32_06_9446.jpg', '/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_16_10349.jpg', '/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_26_10449.jpg', '/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_36_9351.jpg', '/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_46_10362.jpg', '/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_56_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/31/image_10042025_12_32_06_9446.jpg
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_16_10349.jpg
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_26_10449.jpg
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_36_9351.jpg
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_46_10362.jpg
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_32_56_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176374","1351176350","1351176379","1351176355","1351176369","1351176363"],"photo_ids_order":["1351176350","1351176355","1351176363","1351176369","1351176374","1351176379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e77e69e1fe24c1e9952c620bb96d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody5357667519362580711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92b5b87646d2fecdefe87313b06ce946.jpg","text":"TemporaryFile(/tmp/multipartBody2247950828988289554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_06_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58d63100d931d6acf04fea56d445c331.jpg","text":"TemporaryFile(/tmp/multipartBody1157015385636164479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_56_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/781fc91c45dd846720c203171192b425.jpg","text":"TemporaryFile(/tmp/multipartBody3471769144459315695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b36788be5bf520704f06079c242f36c2.jpg","text":"TemporaryFile(/tmp/multipartBody3699912561529399486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b41f5e5d390dbe79db7c2c9def76d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3102113207682174868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291172778,"filename":"image_10042025_12_32_26_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176363","file1":"1351176355","file0":"1351176350","file4":"1351176374","file5":"1351176379","file3":"1351176369"},"map_files_photo_id_array":[{"photo_id":"1351176379","filename":"file5"},{"photo_id":"1351176363","filename":"file2"},{"photo_id":"1351176374","filename":"file4"},{"photo_id":"1351176355","filename":"file1"},{"photo_id":"1351176350","filename":"file0"},{"photo_id":"1351176369","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176374":["hashtag1","hashtag2"]},{"1351176350":["hashtag1","hashtag2"]},{"1351176379":["hashtag1","hashtag2"]},{"1351176355":["hashtag1","hashtag2"]},{"1351176369":["hashtag1","hashtag2"]},{"1351176363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176374, 1351176350, 1351176379, 1351176355, 1351176369, 1351176363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.581350326538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:19:32.509578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/32/image_10042025_12_33_06_10343.jpg', '/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_16_10395.jpg', '/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_26_9382.jpg', '/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_36_10428.jpg', '/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_46_9442.jpg', '/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/32/image_10042025_12_33_06_10343.jpg
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_16_10395.jpg
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_26_9382.jpg
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_36_10428.jpg
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_46_9442.jpg
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_33_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176635","1351176557","1351176608","1351176696","1351176540","1351176504"],"photo_ids_order":["1351176504","1351176540","1351176557","1351176608","1351176635","1351176696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a217ca2c5fe064575a269a1ff29c697.jpg","text":"TemporaryFile(/tmp/multipartBody4759212694830166717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06b7972e14b9154f54dd64c22d301fa4.jpg","text":"TemporaryFile(/tmp/multipartBody9087359345944485684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_26_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/069d65a0df43090cc90330da6e1b4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody5578413810981398773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/315313c7aed7e77b50072cb571c73071.jpg","text":"TemporaryFile(/tmp/multipartBody5017170049874131269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed1a25f8d83e013bd88ba8a47a7876bc.jpg","text":"TemporaryFile(/tmp/multipartBody2157508221277733089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8af86c71068ec91de2fac3574f8b64c4.jpg","text":"TemporaryFile(/tmp/multipartBody4699881956670092475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291232961,"filename":"image_10042025_12_33_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176557","file1":"1351176540","file0":"1351176504","file4":"1351176635","file5":"1351176696","file3":"1351176608"},"map_files_photo_id_array":[{"photo_id":"1351176696","filename":"file5"},{"photo_id":"1351176557","filename":"file2"},{"photo_id":"1351176635","filename":"file4"},{"photo_id":"1351176540","filename":"file1"},{"photo_id":"1351176504","filename":"file0"},{"photo_id":"1351176608","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176635":["hashtag1","hashtag2"]},{"1351176557":["hashtag1","hashtag2"]},{"1351176608":["hashtag1","hashtag2"]},{"1351176696":["hashtag1","hashtag2"]},{"1351176540":["hashtag1","hashtag2"]},{"1351176504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176635, 1351176557, 1351176608, 1351176696, 1351176540, 1351176504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.373077630996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:20:32.754874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/33/image_10042025_12_34_06_10382.jpg', '/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_16_9403.jpg', '/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_26_10364.jpg', '/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_36_9472.jpg', '/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_46_10355.jpg', '/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_57_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/33/image_10042025_12_34_06_10382.jpg
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_16_9403.jpg
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_26_10364.jpg
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_36_9472.jpg
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_46_10355.jpg
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_34_57_10539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351176920","1351176958","1351176910","1351176954","1351176915","1351176924"],"photo_ids_order":["1351176910","1351176915","1351176920","1351176924","1351176954","1351176958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9281761d42cef130f0271b97d7387868.jpg","text":"TemporaryFile(/tmp/multipartBody3230246460046944414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cec68efe4e1ba2099da9ffd486f4c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody4753306623389654086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_57_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/290874b114f9a1d592301b24b9c6fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1974863525093007832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f2dbd211e5b7dc4a4e4ec6afc281835.jpg","text":"TemporaryFile(/tmp/multipartBody4763397351459559419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02d16dfca27e7d78c2128e0d75ab6dfc.jpg","text":"TemporaryFile(/tmp/multipartBody5959239831041883677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64812af62b0f1b022f6d28ee88fd1040.jpg","text":"TemporaryFile(/tmp/multipartBody1994483207700542524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291293200,"filename":"image_10042025_12_34_36_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351176920","file1":"1351176915","file0":"1351176910","file4":"1351176954","file5":"1351176958","file3":"1351176924"},"map_files_photo_id_array":[{"photo_id":"1351176958","filename":"file5"},{"photo_id":"1351176920","filename":"file2"},{"photo_id":"1351176954","filename":"file4"},{"photo_id":"1351176915","filename":"file1"},{"photo_id":"1351176910","filename":"file0"},{"photo_id":"1351176924","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351176920":["hashtag1","hashtag2"]},{"1351176958":["hashtag1","hashtag2"]},{"1351176910":["hashtag1","hashtag2"]},{"1351176954":["hashtag1","hashtag2"]},{"1351176915":["hashtag1","hashtag2"]},{"1351176924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351176920, 1351176958, 1351176910, 1351176954, 1351176915, 1351176924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65235710144043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:21:32.934317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/34/image_10042025_12_35_06_9345.jpg', '/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_16_10360.jpg', '/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_26_9377.jpg', '/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_36_10348.jpg', '/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_46_10524.jpg', '/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_56_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/34/image_10042025_12_35_06_9345.jpg
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_16_10360.jpg
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_26_9377.jpg
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_36_10348.jpg
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_46_10524.jpg
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_35_56_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351177031","1351176998","1351177013","1351177039","1351177027","1351177002"],"photo_ids_order":["1351176998","1351177002","1351177013","1351177027","1351177031","1351177039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0fbbb1340e3a5479554d8abe1a98df3.jpg","text":"TemporaryFile(/tmp/multipartBody8513958707293390842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_46_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5451111a77742627131d0b549cc29be4.jpg","text":"TemporaryFile(/tmp/multipartBody1832454236324535908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/412a6422766542e4deb4ac0d1689fa5a.jpg","text":"TemporaryFile(/tmp/multipartBody5622151443234641697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_26_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aad08c6e7390d6e07a20718a28e57ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6467248524721960123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bd0aae892c9610421cdcd12782f0925.jpg","text":"TemporaryFile(/tmp/multipartBody2118863017860755184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a09e0480c3b3b13d8e219e1c7bf2d34b.jpg","text":"TemporaryFile(/tmp/multipartBody5999475416772980798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291353384,"filename":"image_10042025_12_35_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351177013","file1":"1351177002","file0":"1351176998","file4":"1351177031","file5":"1351177039","file3":"1351177027"},"map_files_photo_id_array":[{"photo_id":"1351177039","filename":"file5"},{"photo_id":"1351177013","filename":"file2"},{"photo_id":"1351177031","filename":"file4"},{"photo_id":"1351177002","filename":"file1"},{"photo_id":"1351176998","filename":"file0"},{"photo_id":"1351177027","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351177031":["hashtag1","hashtag2"]},{"1351176998":["hashtag1","hashtag2"]},{"1351177013":["hashtag1","hashtag2"]},{"1351177039":["hashtag1","hashtag2"]},{"1351177027":["hashtag1","hashtag2"]},{"1351177002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351177031, 1351176998, 1351177013, 1351177039, 1351177027, 1351177002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.008678913116455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:22:33.157853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/35/image_10042025_12_36_06_10448.jpg', '/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_16_9371.jpg', '/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_26_10373.jpg', '/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_36_10349.jpg', '/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_46_9416.jpg', '/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/35/image_10042025_12_36_06_10448.jpg
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_16_9371.jpg
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_26_10373.jpg
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_36_10349.jpg
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_46_9416.jpg
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_36_56_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351177291","1351177228","1351177162","1351177197","1351177218","1351177283"],"photo_ids_order":["1351177162","1351177197","1351177218","1351177228","1351177283","1351177291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/294dfbde3ae2ddda13d2d2f3e2167d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6982263735864873956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a7fb52551cc97c88ba20c8034a7122d.jpg","text":"TemporaryFile(/tmp/multipartBody4281013675934037318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d3f673ec166c7cb218c5cbe0991ca16.jpg","text":"TemporaryFile(/tmp/multipartBody3747342967202552520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a3ddf059227f6cf9f8ca1685a637bde.jpg","text":"TemporaryFile(/tmp/multipartBody1592994804009932513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_16_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd7b7a00e4602ee4f42e90320516ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody8058456720893009091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/95bc7e69f0b6e809cd673557733b1b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1339600591772026354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291413625,"filename":"image_10042025_12_36_46_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351177218","file1":"1351177197","file0":"1351177162","file4":"1351177283","file5":"1351177291","file3":"1351177228"},"map_files_photo_id_array":[{"photo_id":"1351177291","filename":"file5"},{"photo_id":"1351177218","filename":"file2"},{"photo_id":"1351177283","filename":"file4"},{"photo_id":"1351177197","filename":"file1"},{"photo_id":"1351177162","filename":"file0"},{"photo_id":"1351177228","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351177291":["hashtag1","hashtag2"]},{"1351177228":["hashtag1","hashtag2"]},{"1351177162":["hashtag1","hashtag2"]},{"1351177197":["hashtag1","hashtag2"]},{"1351177218":["hashtag1","hashtag2"]},{"1351177283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351177291, 1351177228, 1351177162, 1351177197, 1351177218, 1351177283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9042022228241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:23:32.297356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/36/image_10042025_12_37_06_9353.jpg', '/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_16_10347.jpg', '/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_26_10481.jpg', '/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_36_9338.jpg', '/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_46_10397.jpg', '/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_56_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/36/image_10042025_12_37_06_9353.jpg
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_16_10347.jpg
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_26_10481.jpg
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_36_9338.jpg
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_46_10397.jpg
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_37_56_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351177649","1351177822","1351177587","1351177515","1351177757","1351177718"],"photo_ids_order":["1351177515","1351177587","1351177649","1351177718","1351177757","1351177822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ffb11729260dd46b79736972a5bba07.jpg","text":"TemporaryFile(/tmp/multipartBody6781028803325923138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_26_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f20d63e14573cabf8d98073dca64662d.jpg","text":"TemporaryFile(/tmp/multipartBody511523722335590972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_56_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4c07d22971ed962f72d3416dad9975d.jpg","text":"TemporaryFile(/tmp/multipartBody7201785617013078963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/970c2206b317a33cb6744816c74aa8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6937703078898177324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e66387bf75b37403e2a0584db34aa765.jpg","text":"TemporaryFile(/tmp/multipartBody4046802212874505560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/673d6306e83eac8c852ffdc9226dcfd4.jpg","text":"TemporaryFile(/tmp/multipartBody2870799597521993301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291472799,"filename":"image_10042025_12_37_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351177649","file1":"1351177587","file0":"1351177515","file4":"1351177757","file5":"1351177822","file3":"1351177718"},"map_files_photo_id_array":[{"photo_id":"1351177822","filename":"file5"},{"photo_id":"1351177649","filename":"file2"},{"photo_id":"1351177757","filename":"file4"},{"photo_id":"1351177587","filename":"file1"},{"photo_id":"1351177515","filename":"file0"},{"photo_id":"1351177718","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351177649":["hashtag1","hashtag2"]},{"1351177822":["hashtag1","hashtag2"]},{"1351177587":["hashtag1","hashtag2"]},{"1351177515":["hashtag1","hashtag2"]},{"1351177757":["hashtag1","hashtag2"]},{"1351177718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351177649, 1351177822, 1351177587, 1351177515, 1351177757, 1351177718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54283356666565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:24:32.455705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/37/image_10042025_12_38_06_10339.jpg', '/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_16_10323.jpg', '/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_26_9392.jpg', '/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_36_10427.jpg', '/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_46_9491.jpg', '/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_56_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/37/image_10042025_12_38_06_10339.jpg
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_16_10323.jpg
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_26_9392.jpg
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_36_10427.jpg
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_46_9491.jpg
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_38_56_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351178239","1351178140","1351178200","1351178148","1351178157","1351178225"],"photo_ids_order":["1351178140","1351178148","1351178157","1351178200","1351178225","1351178239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f144553dbd5b09003d8516899d0ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody6586660322602157079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fe0430c780d64e4fbf89632b9872ead.jpg","text":"TemporaryFile(/tmp/multipartBody1369082846142834927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/164985ec58666edf60cbe47803d5a4da.jpg","text":"TemporaryFile(/tmp/multipartBody4140891307315124508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d71a8f8f462d98eb710d6e50bf44ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7290523207754201906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6cdb43c9121f0dbb8c39cff88239cba.jpg","text":"TemporaryFile(/tmp/multipartBody837967248660137482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_26_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97e6b3aea7b6ab891e0057337363b548.jpg","text":"TemporaryFile(/tmp/multipartBody6799652336988844769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291532926,"filename":"image_10042025_12_38_46_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351178157","file1":"1351178148","file0":"1351178140","file4":"1351178225","file5":"1351178239","file3":"1351178200"},"map_files_photo_id_array":[{"photo_id":"1351178239","filename":"file5"},{"photo_id":"1351178157","filename":"file2"},{"photo_id":"1351178225","filename":"file4"},{"photo_id":"1351178148","filename":"file1"},{"photo_id":"1351178140","filename":"file0"},{"photo_id":"1351178200","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351178239":["hashtag1","hashtag2"]},{"1351178140":["hashtag1","hashtag2"]},{"1351178200":["hashtag1","hashtag2"]},{"1351178148":["hashtag1","hashtag2"]},{"1351178157":["hashtag1","hashtag2"]},{"1351178225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351178239, 1351178140, 1351178200, 1351178148, 1351178157, 1351178225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.010194301605225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:25:32.564140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/38/image_10042025_12_39_06_10467.jpg', '/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_16_9417.jpg', '/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_26_10371.jpg', '/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_36_9344.jpg', '/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_46_10439.jpg', '/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_56_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/38/image_10042025_12_39_06_10467.jpg
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_16_9417.jpg
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_26_10371.jpg
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_36_9344.jpg
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_46_10439.jpg
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_39_56_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351178344","1351178329","1351178346","1351178355","1351178336","1351178386"],"photo_ids_order":["1351178329","1351178336","1351178344","1351178346","1351178355","1351178386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f6b2ecc956f465040d60f2744e30782.jpg","text":"TemporaryFile(/tmp/multipartBody7816630259595430460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cb4a60f3cf74bb83dbe45026f70af9b.jpg","text":"TemporaryFile(/tmp/multipartBody5678382615658843281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_06_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b671d3af38f7af5cf953848a179ec44c.jpg","text":"TemporaryFile(/tmp/multipartBody3426329807916911080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee73512ab81c80f3bfee40da8d8dc05f.jpg","text":"TemporaryFile(/tmp/multipartBody8716389840682339914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2167d83e8fae3baccdcbd7ab3e8360ea.jpg","text":"TemporaryFile(/tmp/multipartBody7406180167885582457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_16_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da7d9fc1889fef43b60d62615e7ba15f.jpg","text":"TemporaryFile(/tmp/multipartBody455494493113316024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291593014,"filename":"image_10042025_12_39_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351178344","file1":"1351178336","file0":"1351178329","file4":"1351178355","file5":"1351178386","file3":"1351178346"},"map_files_photo_id_array":[{"photo_id":"1351178386","filename":"file5"},{"photo_id":"1351178344","filename":"file2"},{"photo_id":"1351178355","filename":"file4"},{"photo_id":"1351178336","filename":"file1"},{"photo_id":"1351178329","filename":"file0"},{"photo_id":"1351178346","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351178344":["hashtag1","hashtag2"]},{"1351178329":["hashtag1","hashtag2"]},{"1351178346":["hashtag1","hashtag2"]},{"1351178355":["hashtag1","hashtag2"]},{"1351178336":["hashtag1","hashtag2"]},{"1351178386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351178344, 1351178329, 1351178346, 1351178355, 1351178336, 1351178386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76075553894043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:26:32.880764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/39/image_10042025_12_40_06_9352.jpg', '/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_16_10355.jpg', '/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_26_10372.jpg', '/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_36_9358.jpg', '/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_46_10369.jpg', '/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_56_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/39/image_10042025_12_40_06_9352.jpg
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_16_10355.jpg
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_26_10372.jpg
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_36_9358.jpg
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_46_10369.jpg
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_40_56_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351178419","1351178483","1351178477","1351178465","1351178438","1351178447"],"photo_ids_order":["1351178419","1351178438","1351178447","1351178465","1351178477","1351178483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79c11602bad525dc39800dafe591f9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6669946790810357213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/952eb4e96a98bc2cf5e030a0c802f360.jpg","text":"TemporaryFile(/tmp/multipartBody5480947914968696752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_56_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a771e13944f4537af69971161a776f62.jpg","text":"TemporaryFile(/tmp/multipartBody7598266464678412766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e732d5daf2b165dffc135d08f093cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6312069125787863075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0a5c7c2c6385c494820811d0a58ab87.jpg","text":"TemporaryFile(/tmp/multipartBody7748061577172833459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b472d930bab037f8b52eb8baa958ccb.jpg","text":"TemporaryFile(/tmp/multipartBody37830283458298391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291653343,"filename":"image_10042025_12_40_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351178447","file1":"1351178438","file0":"1351178419","file4":"1351178477","file5":"1351178483","file3":"1351178465"},"map_files_photo_id_array":[{"photo_id":"1351178483","filename":"file5"},{"photo_id":"1351178447","filename":"file2"},{"photo_id":"1351178477","filename":"file4"},{"photo_id":"1351178438","filename":"file1"},{"photo_id":"1351178419","filename":"file0"},{"photo_id":"1351178465","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351178419":["hashtag1","hashtag2"]},{"1351178483":["hashtag1","hashtag2"]},{"1351178477":["hashtag1","hashtag2"]},{"1351178465":["hashtag1","hashtag2"]},{"1351178438":["hashtag1","hashtag2"]},{"1351178447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351178419, 1351178483, 1351178477, 1351178465, 1351178438, 1351178447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41293931007385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:27:33.016513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/40/image_10042025_12_41_06_10361.jpg', '/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_16_10427.jpg', '/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_36_10491.jpg', '/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_46_9392.jpg', '/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_56_10365.jpg', '/home/pi/Desktop/images/10042025/12/41/image_10042025_12_42_07_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/40/image_10042025_12_41_06_10361.jpg
/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_16_10427.jpg
/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_36_10491.jpg
/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_46_9392.jpg
/home/pi/Desktop/images/10042025/12/41/image_10042025_12_41_56_10365.jpg
/home/pi/Desktop/images/10042025/12/41/image_10042025_12_42_07_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351178595","1351178610","1351178607","1351178603","1351178612","1351178599"],"photo_ids_order":["1351178595","1351178599","1351178603","1351178607","1351178610","1351178612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/075f4a945957a80cfb8d854cc583b67d.jpg","text":"TemporaryFile(/tmp/multipartBody6610185939018592829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_41_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d0089cdc6ad202a6ff5d4f34404a271.jpg","text":"TemporaryFile(/tmp/multipartBody371118250586316500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_41_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/281c466059da2c325c38959913222b92.jpg","text":"TemporaryFile(/tmp/multipartBody6449031252341529303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_41_46_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1798ebd7e82b304386e8710d58cb3369.jpg","text":"TemporaryFile(/tmp/multipartBody2270156538002728671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_41_36_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d8c8f16c4344e25421841a6baf66002.jpg","text":"TemporaryFile(/tmp/multipartBody3864508041551993016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_42_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d9761693106d3486f4534bd01bb2d36.jpg","text":"TemporaryFile(/tmp/multipartBody5078853659078766869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291713476,"filename":"image_10042025_12_41_16_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351178603","file1":"1351178599","file0":"1351178595","file4":"1351178610","file5":"1351178612","file3":"1351178607"},"map_files_photo_id_array":[{"photo_id":"1351178612","filename":"file5"},{"photo_id":"1351178603","filename":"file2"},{"photo_id":"1351178610","filename":"file4"},{"photo_id":"1351178599","filename":"file1"},{"photo_id":"1351178595","filename":"file0"},{"photo_id":"1351178607","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351178595":["hashtag1","hashtag2"]},{"1351178610":["hashtag1","hashtag2"]},{"1351178607":["hashtag1","hashtag2"]},{"1351178603":["hashtag1","hashtag2"]},{"1351178612":["hashtag1","hashtag2"]},{"1351178599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351178595, 1351178610, 1351178607, 1351178603, 1351178612, 1351178599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7624089717865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:28:33.144301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_16_9327.jpg', '/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_26_10364.jpg', '/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_36_9339.jpg', '/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_46_10351.jpg', '/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_56_10429.jpg', '/home/pi/Desktop/images/10042025/12/42/image_10042025_12_43_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_16_9327.jpg
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_26_10364.jpg
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_36_9339.jpg
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_46_10351.jpg
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_42_56_10429.jpg
/home/pi/Desktop/images/10042025/12/42/image_10042025_12_43_06_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351178857","1351178911","1351178894","1351178808","1351178875","1351178782"],"photo_ids_order":["1351178782","1351178808","1351178857","1351178875","1351178894","1351178911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fba56054f11baf744a5ad6ac1f7a182.jpg","text":"TemporaryFile(/tmp/multipartBody3336547972480496531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_42_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fd7f390e0709ee0a7505b0dff9153aa.jpg","text":"TemporaryFile(/tmp/multipartBody8672911085278919635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_43_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6abf57574b31fa90ef7fdb8ef9d6c40f.jpg","text":"TemporaryFile(/tmp/multipartBody7496849186585527008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_42_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6c0a0d054f371b70cd98b4fc922d3b6.jpg","text":"TemporaryFile(/tmp/multipartBody5536439202582181761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_42_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf4fcb951fb8df45ac20bba9c2eb11af.jpg","text":"TemporaryFile(/tmp/multipartBody3664569125275681103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_42_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4dfae1196a866c19c244faac5de378d1.jpg","text":"TemporaryFile(/tmp/multipartBody1821932083186554738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291773600,"filename":"image_10042025_12_42_16_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351178857","file1":"1351178808","file0":"1351178782","file4":"1351178894","file5":"1351178911","file3":"1351178875"},"map_files_photo_id_array":[{"photo_id":"1351178911","filename":"file5"},{"photo_id":"1351178857","filename":"file2"},{"photo_id":"1351178894","filename":"file4"},{"photo_id":"1351178808","filename":"file1"},{"photo_id":"1351178782","filename":"file0"},{"photo_id":"1351178875","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351178857":["hashtag1","hashtag2"]},{"1351178911":["hashtag1","hashtag2"]},{"1351178894":["hashtag1","hashtag2"]},{"1351178808":["hashtag1","hashtag2"]},{"1351178875":["hashtag1","hashtag2"]},{"1351178782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351178857, 1351178911, 1351178894, 1351178808, 1351178875, 1351178782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.974836349487305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:29:32.383187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_16_10417.jpg', '/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_36_10368.jpg', '/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_46_10398.jpg', '/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_56_9343.jpg', '/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_16_10470.jpg', '/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_26_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_16_10417.jpg
/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_36_10368.jpg
/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_46_10398.jpg
/home/pi/Desktop/images/10042025/12/43/image_10042025_12_43_56_9343.jpg
/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_16_10470.jpg
/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_26_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351179080","1351179077","1351179062","1351179047","1351179035","1351179079"],"photo_ids_order":["1351179035","1351179047","1351179062","1351179077","1351179079","1351179080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0d8d92a6ab4c6bc46d0fd679def05b9.jpg","text":"TemporaryFile(/tmp/multipartBody302666400166858677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_44_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7948ce9f1c002828cb26b128dca71c78.jpg","text":"TemporaryFile(/tmp/multipartBody405282931641048825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_43_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d115b2bbd2ab10a7b3dc1bb38e99990d.jpg","text":"TemporaryFile(/tmp/multipartBody2387747317985101168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_43_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/550a5a5de885647184998b66ccd0866a.jpg","text":"TemporaryFile(/tmp/multipartBody8322497990821251127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_43_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8649c0413f8f915efff5f8673b329022.jpg","text":"TemporaryFile(/tmp/multipartBody7841489355959044180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_43_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ee77fd6d478bc5a2015e28f5c632370.jpg","text":"TemporaryFile(/tmp/multipartBody2416435229882927638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291832833,"filename":"image_10042025_12_44_16_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351179062","file1":"1351179047","file0":"1351179035","file4":"1351179079","file5":"1351179080","file3":"1351179077"},"map_files_photo_id_array":[{"photo_id":"1351179080","filename":"file5"},{"photo_id":"1351179062","filename":"file2"},{"photo_id":"1351179079","filename":"file4"},{"photo_id":"1351179047","filename":"file1"},{"photo_id":"1351179035","filename":"file0"},{"photo_id":"1351179077","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351179080":["hashtag1","hashtag2"]},{"1351179077":["hashtag1","hashtag2"]},{"1351179062":["hashtag1","hashtag2"]},{"1351179047":["hashtag1","hashtag2"]},{"1351179035":["hashtag1","hashtag2"]},{"1351179079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351179080, 1351179077, 1351179062, 1351179047, 1351179035, 1351179079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78729438781738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:30:32.661855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_46_9341.jpg', '/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_56_10448.jpg', '/home/pi/Desktop/images/10042025/12/44/image_10042025_12_45_06_10451.jpg', '/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_16_9346.jpg', '/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_26_10408.jpg', '/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_36_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_46_9341.jpg
/home/pi/Desktop/images/10042025/12/44/image_10042025_12_44_56_10448.jpg
/home/pi/Desktop/images/10042025/12/44/image_10042025_12_45_06_10451.jpg
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_16_9346.jpg
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_26_10408.jpg
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_36_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351179117","1351179125","1351179119","1351179110","1351179113","1351179122"],"photo_ids_order":["1351179110","1351179113","1351179117","1351179119","1351179122","1351179125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bdc4b8a754d324d5932c4c1d08c2785.jpg","text":"TemporaryFile(/tmp/multipartBody4768563523240934070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_45_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dbe4cf2dc332d743b9ecd769febb5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7665652660822433615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_45_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a486ec5ad2735565301da8b8322aeec.jpg","text":"TemporaryFile(/tmp/multipartBody5388767742410924053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_45_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97d09f21ddb4667d2dae773623a7fb54.jpg","text":"TemporaryFile(/tmp/multipartBody827939952821623168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_44_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2c5159c3d182f03399dbb864cf80e00.jpg","text":"TemporaryFile(/tmp/multipartBody1707592604126335254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_44_56_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42f5911d6d4365402ac4682f1ac54817.jpg","text":"TemporaryFile(/tmp/multipartBody7382797864564650465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291893210,"filename":"image_10042025_12_45_26_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351179117","file1":"1351179113","file0":"1351179110","file4":"1351179122","file5":"1351179125","file3":"1351179119"},"map_files_photo_id_array":[{"photo_id":"1351179125","filename":"file5"},{"photo_id":"1351179117","filename":"file2"},{"photo_id":"1351179122","filename":"file4"},{"photo_id":"1351179113","filename":"file1"},{"photo_id":"1351179110","filename":"file0"},{"photo_id":"1351179119","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351179117":["hashtag1","hashtag2"]},{"1351179125":["hashtag1","hashtag2"]},{"1351179119":["hashtag1","hashtag2"]},{"1351179110":["hashtag1","hashtag2"]},{"1351179113":["hashtag1","hashtag2"]},{"1351179122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351179117, 1351179125, 1351179119, 1351179110, 1351179113, 1351179122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.487128257751465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:31:32.877030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_46_10383.jpg', '/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_56_10486.jpg', '/home/pi/Desktop/images/10042025/12/45/image_10042025_12_46_06_9373.jpg', '/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_16_10352.jpg', '/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_26_9366.jpg', '/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_36_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_46_10383.jpg
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_45_56_10486.jpg
/home/pi/Desktop/images/10042025/12/45/image_10042025_12_46_06_9373.jpg
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_16_10352.jpg
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_26_9366.jpg
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_36_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351179322","1351179288","1351179378","1351179299","1351179389","1351179353"],"photo_ids_order":["1351179288","1351179299","1351179322","1351179353","1351179378","1351179389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07414ef2484ea9953afada25d1175bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8930301425032997980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_46_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b0d23da5f7aef7542055b015b3d291a.jpg","text":"TemporaryFile(/tmp/multipartBody1811115971421746674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_45_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d702ffdc03d3702e1493db7cd893a85.jpg","text":"TemporaryFile(/tmp/multipartBody7316373908362191185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_46_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cee944936723640bed3a9640172de467.jpg","text":"TemporaryFile(/tmp/multipartBody8883541918676271875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_45_56_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/754ac3626d0f1bc5557214e0fb74191b.jpg","text":"TemporaryFile(/tmp/multipartBody1191610377793562765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_46_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e29bf3ccf6312c14663d037b084eb649.jpg","text":"TemporaryFile(/tmp/multipartBody8971287869315007501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744291953331,"filename":"image_10042025_12_46_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351179322","file1":"1351179299","file0":"1351179288","file4":"1351179378","file5":"1351179389","file3":"1351179353"},"map_files_photo_id_array":[{"photo_id":"1351179389","filename":"file5"},{"photo_id":"1351179322","filename":"file2"},{"photo_id":"1351179378","filename":"file4"},{"photo_id":"1351179299","filename":"file1"},{"photo_id":"1351179288","filename":"file0"},{"photo_id":"1351179353","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351179322":["hashtag1","hashtag2"]},{"1351179288":["hashtag1","hashtag2"]},{"1351179378":["hashtag1","hashtag2"]},{"1351179299":["hashtag1","hashtag2"]},{"1351179389":["hashtag1","hashtag2"]},{"1351179353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351179322, 1351179288, 1351179378, 1351179299, 1351179389, 1351179353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46628379821777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:32:32.981462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_46_10353.jpg', '/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_56_9422.jpg', '/home/pi/Desktop/images/10042025/12/46/image_10042025_12_47_06_10354.jpg', '/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_16_10481.jpg', '/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_26_9369.jpg', '/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_46_10353.jpg
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_46_56_9422.jpg
/home/pi/Desktop/images/10042025/12/46/image_10042025_12_47_06_10354.jpg
/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_16_10481.jpg
/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_26_9369.jpg
/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351179567","1351179570","1351179595","1351179574","1351179577","1351179553"],"photo_ids_order":["1351179553","1351179567","1351179570","1351179574","1351179577","1351179595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13ce8a106bddb3e8044e1b44ebbc44e2.jpg","text":"TemporaryFile(/tmp/multipartBody823938882671657268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_46_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3ce934eecc4d6a11513a0d3381b5ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8079385599292155582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_47_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78b3f4e72b4353a18614605f2ccc1a26.jpg","text":"TemporaryFile(/tmp/multipartBody9184717134987868389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_47_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eac00d755eb65096ec01619e4abf4cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6497528993723201858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_47_16_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32305953bb3cd1b933589ee075671687.jpg","text":"TemporaryFile(/tmp/multipartBody3316099048438948751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_47_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f42b94e1f2d8f530a964a59f097a2d9f.jpg","text":"TemporaryFile(/tmp/multipartBody886924327768400449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292013445,"filename":"image_10042025_12_46_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351179570","file1":"1351179567","file0":"1351179553","file4":"1351179577","file5":"1351179595","file3":"1351179574"},"map_files_photo_id_array":[{"photo_id":"1351179595","filename":"file5"},{"photo_id":"1351179570","filename":"file2"},{"photo_id":"1351179577","filename":"file4"},{"photo_id":"1351179567","filename":"file1"},{"photo_id":"1351179553","filename":"file0"},{"photo_id":"1351179574","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351179567":["hashtag1","hashtag2"]},{"1351179570":["hashtag1","hashtag2"]},{"1351179595":["hashtag1","hashtag2"]},{"1351179574":["hashtag1","hashtag2"]},{"1351179577":["hashtag1","hashtag2"]},{"1351179553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351179567, 1351179570, 1351179595, 1351179574, 1351179577, 1351179553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99906587600708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:33:32.133067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_56_10368.jpg', '/home/pi/Desktop/images/10042025/12/47/image_10042025_12_48_06_10385.jpg', '/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_16_9355.jpg', '/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_26_10369.jpg', '/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_36_10357.jpg', '/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_46_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/47/image_10042025_12_47_56_10368.jpg
/home/pi/Desktop/images/10042025/12/47/image_10042025_12_48_06_10385.jpg
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_16_9355.jpg
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_26_10369.jpg
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_36_10357.jpg
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_46_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351179727","1351179849","1351179825","1351179767","1351179868","1351179754"],"photo_ids_order":["1351179727","1351179754","1351179767","1351179825","1351179849","1351179868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/436e2612754031f2def7ae8009ab50e0.jpg","text":"TemporaryFile(/tmp/multipartBody5438113790544494122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_47_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f783b09c8f4f0cdb466be3aa47f88f82.jpg","text":"TemporaryFile(/tmp/multipartBody4491379123468197553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_48_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c899e032186ffe3af30ced79223ba19.jpg","text":"TemporaryFile(/tmp/multipartBody5154140335777484152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_48_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7ffeda9b8b7b75dc606c1f98acbf21f.jpg","text":"TemporaryFile(/tmp/multipartBody1069958703783390247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_48_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/821ccd517250f0f4038e61f8251e8ad4.jpg","text":"TemporaryFile(/tmp/multipartBody2052861344215328613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_48_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e781a0e2e2396d3cd3f12f1561b84e46.jpg","text":"TemporaryFile(/tmp/multipartBody8454746408671169362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292072592,"filename":"image_10042025_12_48_06_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351179767","file1":"1351179754","file0":"1351179727","file4":"1351179849","file5":"1351179868","file3":"1351179825"},"map_files_photo_id_array":[{"photo_id":"1351179868","filename":"file5"},{"photo_id":"1351179767","filename":"file2"},{"photo_id":"1351179849","filename":"file4"},{"photo_id":"1351179754","filename":"file1"},{"photo_id":"1351179727","filename":"file0"},{"photo_id":"1351179825","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351179727":["hashtag1","hashtag2"]},{"1351179849":["hashtag1","hashtag2"]},{"1351179825":["hashtag1","hashtag2"]},{"1351179767":["hashtag1","hashtag2"]},{"1351179868":["hashtag1","hashtag2"]},{"1351179754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351179727, 1351179849, 1351179825, 1351179767, 1351179868, 1351179754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87155556678772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:34:32.497571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_56_10360.jpg', '/home/pi/Desktop/images/10042025/12/48/image_10042025_12_49_06_9455.jpg', '/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_16_10336.jpg', '/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_26_10495.jpg', '/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_36_9332.jpg', '/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_48_56_10360.jpg
/home/pi/Desktop/images/10042025/12/48/image_10042025_12_49_06_9455.jpg
/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_16_10336.jpg
/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_26_10495.jpg
/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_36_9332.jpg
/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351180171","1351180180","1351180153","1351180119","1351180178","1351180183"],"photo_ids_order":["1351180119","1351180153","1351180171","1351180178","1351180180","1351180183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a4f75474f27d62e1df8cf8b0ed21c33.jpg","text":"TemporaryFile(/tmp/multipartBody1543202726196551717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_49_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f915db32c5b363441e56dd38e7f40df0.jpg","text":"TemporaryFile(/tmp/multipartBody3751704135125057184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_49_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9c08c7a63a002ceb3a19960d579e92a.jpg","text":"TemporaryFile(/tmp/multipartBody328091698122628862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_49_06_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e18149c70d2b14052d0e4e03358ffebd.jpg","text":"TemporaryFile(/tmp/multipartBody7008956356991628201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_48_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ed9c918dbe905f76478ea1d20548b71.jpg","text":"TemporaryFile(/tmp/multipartBody8405858773779255980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_49_26_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8485f71b3d075727c3ab036c5ff5eb72.jpg","text":"TemporaryFile(/tmp/multipartBody7963397671036938271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292132959,"filename":"image_10042025_12_49_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351180171","file1":"1351180153","file0":"1351180119","file4":"1351180180","file5":"1351180183","file3":"1351180178"},"map_files_photo_id_array":[{"photo_id":"1351180183","filename":"file5"},{"photo_id":"1351180171","filename":"file2"},{"photo_id":"1351180180","filename":"file4"},{"photo_id":"1351180153","filename":"file1"},{"photo_id":"1351180119","filename":"file0"},{"photo_id":"1351180178","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351180171":["hashtag1","hashtag2"]},{"1351180180":["hashtag1","hashtag2"]},{"1351180153":["hashtag1","hashtag2"]},{"1351180119":["hashtag1","hashtag2"]},{"1351180178":["hashtag1","hashtag2"]},{"1351180183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351180171, 1351180180, 1351180153, 1351180119, 1351180178, 1351180183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51817083358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:35:32.529540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_56_10353.jpg', '/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_16_10332.jpg', '/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_26_9410.jpg', '/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_36_10338.jpg', '/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_56_9359.jpg', '/home/pi/Desktop/images/10042025/12/50/image_10042025_12_51_06_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/49/image_10042025_12_49_56_10353.jpg
/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_16_10332.jpg
/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_26_9410.jpg
/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_36_10338.jpg
/home/pi/Desktop/images/10042025/12/50/image_10042025_12_50_56_9359.jpg
/home/pi/Desktop/images/10042025/12/50/image_10042025_12_51_06_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351180321","1351180272","1351180275","1351180346","1351180340","1351180297"],"photo_ids_order":["1351180272","1351180275","1351180297","1351180321","1351180340","1351180346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dceb6490b6030b76a13f88fb4f199b4.jpg","text":"TemporaryFile(/tmp/multipartBody5012757689571967791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_50_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74c1b67445de4ddb821178ccc24a6b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1679010441256588534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_49_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4bc4876f597696ebc05d7b00225ce8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6423200649807461596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_50_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ac81e33b076b267d8455e29d4befdb4.jpg","text":"TemporaryFile(/tmp/multipartBody5738953366070253976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_51_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa1a6a6b93f4b35b17b7452345369e95.jpg","text":"TemporaryFile(/tmp/multipartBody8174232073810429561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_50_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5955d97505b6f42ef0383e8916863c87.jpg","text":"TemporaryFile(/tmp/multipartBody6305843030165042372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292192984,"filename":"image_10042025_12_50_26_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351180297","file1":"1351180275","file0":"1351180272","file4":"1351180340","file5":"1351180346","file3":"1351180321"},"map_files_photo_id_array":[{"photo_id":"1351180346","filename":"file5"},{"photo_id":"1351180297","filename":"file2"},{"photo_id":"1351180340","filename":"file4"},{"photo_id":"1351180275","filename":"file1"},{"photo_id":"1351180272","filename":"file0"},{"photo_id":"1351180321","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351180321":["hashtag1","hashtag2"]},{"1351180272":["hashtag1","hashtag2"]},{"1351180275":["hashtag1","hashtag2"]},{"1351180346":["hashtag1","hashtag2"]},{"1351180340":["hashtag1","hashtag2"]},{"1351180297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351180321, 1351180272, 1351180275, 1351180346, 1351180340, 1351180297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.122446060180664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:36:32.662485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_36_10391.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_46_9352.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_56_10441.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_52_06_10408.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_16_9354.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_26_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_36_10391.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_46_9352.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_56_10441.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_52_06_10408.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_16_9354.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_26_10431.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39110398292541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 15:36:42.733430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_36_10391.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_46_9352.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_56_10441.jpg', '/home/pi/Desktop/images/10042025/12/51/image_10042025_12_52_06_10408.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_16_9354.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_26_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_36_10391.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_46_9352.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_51_56_10441.jpg
/home/pi/Desktop/images/10042025/12/51/image_10042025_12_52_06_10408.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_16_9354.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_26_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351180462","1351180465","1351180452","1351180446","1351180463","1351180460"],"photo_ids_order":["1351180446","1351180452","1351180460","1351180462","1351180463","1351180465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f04bace39c56a2895736cb289e8d5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2397548511622085843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_52_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/331524d3825a7ec8ddefcd8fc176fba7.jpg","text":"TemporaryFile(/tmp/multipartBody8795352061734943997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_52_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c000e35e803df0c31da848fea4b65821.jpg","text":"TemporaryFile(/tmp/multipartBody3801293700267845563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_51_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7b3050327a5d9c015caa129db24bf7f.jpg","text":"TemporaryFile(/tmp/multipartBody1397010505596728319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_51_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80061e6e14daf034245c71c8c49f0bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2171908811246653692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_52_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c71f46088f69c33f368fcde5ce38e77.jpg","text":"TemporaryFile(/tmp/multipartBody4581993283420002470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292263183,"filename":"image_10042025_12_51_56_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351180460","file1":"1351180452","file0":"1351180446","file4":"1351180463","file5":"1351180465","file3":"1351180462"},"map_files_photo_id_array":[{"photo_id":"1351180465","filename":"file5"},{"photo_id":"1351180460","filename":"file2"},{"photo_id":"1351180463","filename":"file4"},{"photo_id":"1351180452","filename":"file1"},{"photo_id":"1351180446","filename":"file0"},{"photo_id":"1351180462","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351180462":["hashtag1","hashtag2"]},{"1351180465":["hashtag1","hashtag2"]},{"1351180452":["hashtag1","hashtag2"]},{"1351180446":["hashtag1","hashtag2"]},{"1351180463":["hashtag1","hashtag2"]},{"1351180460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351180462, 1351180465, 1351180452, 1351180446, 1351180463, 1351180460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56137537956238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:37:32.862982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_36_9382.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_46_10336.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_56_10440.jpg', '/home/pi/Desktop/images/10042025/12/52/image_10042025_12_53_06_9329.jpg', '/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_16_10366.jpg', '/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_26_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_36_9382.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_46_10336.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_52_56_10440.jpg
/home/pi/Desktop/images/10042025/12/52/image_10042025_12_53_06_9329.jpg
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_16_10366.jpg
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_26_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351180875","1351180884","1351180866","1351180905","1351180892","1351180879"],"photo_ids_order":["1351180866","1351180875","1351180879","1351180884","1351180892","1351180905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01b5a40fa00e8c947d8eae5a42ec2a00.jpg","text":"TemporaryFile(/tmp/multipartBody4278378719595086969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_52_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30603eda210bab64b6a9e3f75faf7024.jpg","text":"TemporaryFile(/tmp/multipartBody1583564340269819327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_53_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9957dcbc411d3eb6a55732d758c5b1e.jpg","text":"TemporaryFile(/tmp/multipartBody6922890346263013388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_52_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cd987a1e6a77c39cdf17a77506a50d4.jpg","text":"TemporaryFile(/tmp/multipartBody7586979315868088911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_53_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f3d2f048829204c68bd486444e11f40.jpg","text":"TemporaryFile(/tmp/multipartBody4685939179020217475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_53_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d2be25ae5ec3e24e387ea0d64117f01.jpg","text":"TemporaryFile(/tmp/multipartBody7576030790236267821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292313319,"filename":"image_10042025_12_52_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351180879","file1":"1351180875","file0":"1351180866","file4":"1351180892","file5":"1351180905","file3":"1351180884"},"map_files_photo_id_array":[{"photo_id":"1351180905","filename":"file5"},{"photo_id":"1351180879","filename":"file2"},{"photo_id":"1351180892","filename":"file4"},{"photo_id":"1351180875","filename":"file1"},{"photo_id":"1351180866","filename":"file0"},{"photo_id":"1351180884","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351180875":["hashtag1","hashtag2"]},{"1351180884":["hashtag1","hashtag2"]},{"1351180866":["hashtag1","hashtag2"]},{"1351180905":["hashtag1","hashtag2"]},{"1351180892":["hashtag1","hashtag2"]},{"1351180879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351180875, 1351180884, 1351180866, 1351180905, 1351180892, 1351180879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59262204170227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:38:32.977870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_36_9347.jpg', '/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_46_10338.jpg', '/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_56_9438.jpg', '/home/pi/Desktop/images/10042025/12/53/image_10042025_12_54_06_10342.jpg', '/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_16_10531.jpg', '/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_26_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_36_9347.jpg
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_46_10338.jpg
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_53_56_9438.jpg
/home/pi/Desktop/images/10042025/12/53/image_10042025_12_54_06_10342.jpg
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_16_10531.jpg
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_26_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351181358","1351181591","1351181412","1351181279","1351181380","1351181338"],"photo_ids_order":["1351181279","1351181338","1351181358","1351181380","1351181412","1351181591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fbcf56f6d802af266b3ea3e11d4451b.jpg","text":"TemporaryFile(/tmp/multipartBody5084465407827307254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_53_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0134ee4898574560484d0d4a81c9bb72.jpg","text":"TemporaryFile(/tmp/multipartBody3429481982535000770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_54_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad035cecb98986eb4fbcc7c78d07aac0.jpg","text":"TemporaryFile(/tmp/multipartBody8960518727499260111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_54_16_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd674ac73c6ad19c5a96e5881a9a6c89.jpg","text":"TemporaryFile(/tmp/multipartBody19748117029715567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_53_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4f5c9e76052536436670bc6f5b99e2c.jpg","text":"TemporaryFile(/tmp/multipartBody6570009679569534735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_54_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d00bb7bad6ae4c22dbe5ed33353a4661.jpg","text":"TemporaryFile(/tmp/multipartBody8019033680806017627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292373438,"filename":"image_10042025_12_53_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351181358","file1":"1351181338","file0":"1351181279","file4":"1351181412","file5":"1351181591","file3":"1351181380"},"map_files_photo_id_array":[{"photo_id":"1351181591","filename":"file5"},{"photo_id":"1351181358","filename":"file2"},{"photo_id":"1351181412","filename":"file4"},{"photo_id":"1351181338","filename":"file1"},{"photo_id":"1351181279","filename":"file0"},{"photo_id":"1351181380","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351181358":["hashtag1","hashtag2"]},{"1351181591":["hashtag1","hashtag2"]},{"1351181412":["hashtag1","hashtag2"]},{"1351181279":["hashtag1","hashtag2"]},{"1351181380":["hashtag1","hashtag2"]},{"1351181338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351181358, 1351181591, 1351181412, 1351181279, 1351181380, 1351181338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56404995918274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:39:32.313418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_36_10357.jpg', '/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_46_9447.jpg', '/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_56_10398.jpg', '/home/pi/Desktop/images/10042025/12/54/image_10042025_12_55_06_9433.jpg', '/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_16_10352.jpg', '/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_36_10357.jpg
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_46_9447.jpg
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_54_56_10398.jpg
/home/pi/Desktop/images/10042025/12/54/image_10042025_12_55_06_9433.jpg
/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_16_10352.jpg
/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351182267","1351182174","1351182020","1351181927","1351182130","1351182211"],"photo_ids_order":["1351181927","1351182020","1351182130","1351182174","1351182211","1351182267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b77072fb7840878496e35ad862019591.jpg","text":"TemporaryFile(/tmp/multipartBody7404127279695452102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_55_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf489e6cb8e1eccfb32b8a4c19023356.jpg","text":"TemporaryFile(/tmp/multipartBody3550124918628017957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_55_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f772c53cf816dc8c6d57633716c656b4.jpg","text":"TemporaryFile(/tmp/multipartBody7622942666944514342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_54_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c66b651d085624096d16c31e51dbfabc.jpg","text":"TemporaryFile(/tmp/multipartBody2665327696650698420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_54_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/160f50d3a59d9626f2c95ac92252125b.jpg","text":"TemporaryFile(/tmp/multipartBody8082632083756145181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_54_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65f6a82e4a877a1369b14d0ea7c1b743.jpg","text":"TemporaryFile(/tmp/multipartBody5002135230840632897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292432785,"filename":"image_10042025_12_55_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351182130","file1":"1351182020","file0":"1351181927","file4":"1351182211","file5":"1351182267","file3":"1351182174"},"map_files_photo_id_array":[{"photo_id":"1351182267","filename":"file5"},{"photo_id":"1351182130","filename":"file2"},{"photo_id":"1351182211","filename":"file4"},{"photo_id":"1351182020","filename":"file1"},{"photo_id":"1351181927","filename":"file0"},{"photo_id":"1351182174","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351182267":["hashtag1","hashtag2"]},{"1351182174":["hashtag1","hashtag2"]},{"1351182020":["hashtag1","hashtag2"]},{"1351181927":["hashtag1","hashtag2"]},{"1351182130":["hashtag1","hashtag2"]},{"1351182211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351182267, 1351182174, 1351182020, 1351181927, 1351182130, 1351182211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44687247276306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:40:32.518060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_46_10345.jpg', '/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_57_10476.jpg', '/home/pi/Desktop/images/10042025/12/55/image_10042025_12_56_06_9445.jpg', '/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_16_10400.jpg', '/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_26_9348.jpg', '/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_36_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_46_10345.jpg
/home/pi/Desktop/images/10042025/12/55/image_10042025_12_55_57_10476.jpg
/home/pi/Desktop/images/10042025/12/55/image_10042025_12_56_06_9445.jpg
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_16_10400.jpg
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_26_9348.jpg
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_36_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351182561","1351182570","1351182446","1351182498","1351182567","1351182474"],"photo_ids_order":["1351182446","1351182474","1351182498","1351182561","1351182567","1351182570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54391d734cc8d3dc7a9af0e9747a2ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2188836988842558012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_56_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a542bb22fb66523ac5fe6ac1d4bbc47.jpg","text":"TemporaryFile(/tmp/multipartBody2707093191562597498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_56_36_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7798271ed3fd2f1d95b412d513fc108d.jpg","text":"TemporaryFile(/tmp/multipartBody7008069767596394436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_55_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fc0ac3fc0b57a2288919d8ab2a54409.jpg","text":"TemporaryFile(/tmp/multipartBody4089920911857007594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_56_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46566a4862a4d9f25e3f300f69ab7e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6080412579118253029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_56_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e72dec912e8248bfedb1b4d47db69b8.jpg","text":"TemporaryFile(/tmp/multipartBody6499019110918995356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292492978,"filename":"image_10042025_12_55_57_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351182498","file1":"1351182474","file0":"1351182446","file4":"1351182567","file5":"1351182570","file3":"1351182561"},"map_files_photo_id_array":[{"photo_id":"1351182570","filename":"file5"},{"photo_id":"1351182498","filename":"file2"},{"photo_id":"1351182567","filename":"file4"},{"photo_id":"1351182474","filename":"file1"},{"photo_id":"1351182446","filename":"file0"},{"photo_id":"1351182561","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351182561":["hashtag1","hashtag2"]},{"1351182570":["hashtag1","hashtag2"]},{"1351182446":["hashtag1","hashtag2"]},{"1351182498":["hashtag1","hashtag2"]},{"1351182567":["hashtag1","hashtag2"]},{"1351182474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351182561, 1351182570, 1351182446, 1351182498, 1351182567, 1351182474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30719327926636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:41:32.628516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_46_9443.jpg', '/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_56_10362.jpg', '/home/pi/Desktop/images/10042025/12/56/image_10042025_12_57_06_10396.jpg', '/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_16_9337.jpg', '/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_26_10355.jpg', '/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_36_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_46_9443.jpg
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_56_56_10362.jpg
/home/pi/Desktop/images/10042025/12/56/image_10042025_12_57_06_10396.jpg
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_16_9337.jpg
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_26_10355.jpg
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_36_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351182624","1351182633","1351182612","1351182606","1351182600","1351182602"],"photo_ids_order":["1351182600","1351182602","1351182606","1351182612","1351182624","1351182633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/158821cfc602d546774dc19d28fabd76.jpg","text":"TemporaryFile(/tmp/multipartBody1542847892326911560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_57_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f9bd7e45e5b29a67fe89d8b84e5ece9.jpg","text":"TemporaryFile(/tmp/multipartBody4171189614507798757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_57_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01925f31275999238e26d2e827179d12.jpg","text":"TemporaryFile(/tmp/multipartBody8999912256937567164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_57_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b884d62ae044148f60ed54a3c0fc262f.jpg","text":"TemporaryFile(/tmp/multipartBody3236965278454558962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_57_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4d7ef4537a59e98086a820b624a7065.jpg","text":"TemporaryFile(/tmp/multipartBody6692843148898889957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_56_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ecbb41f199e5c2c67df6d49e97c1fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5612653602792970702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292553083,"filename":"image_10042025_12_56_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351182606","file1":"1351182602","file0":"1351182600","file4":"1351182624","file5":"1351182633","file3":"1351182612"},"map_files_photo_id_array":[{"photo_id":"1351182633","filename":"file5"},{"photo_id":"1351182606","filename":"file2"},{"photo_id":"1351182624","filename":"file4"},{"photo_id":"1351182602","filename":"file1"},{"photo_id":"1351182600","filename":"file0"},{"photo_id":"1351182612","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351182624":["hashtag1","hashtag2"]},{"1351182633":["hashtag1","hashtag2"]},{"1351182612":["hashtag1","hashtag2"]},{"1351182606":["hashtag1","hashtag2"]},{"1351182600":["hashtag1","hashtag2"]},{"1351182602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351182624, 1351182633, 1351182612, 1351182606, 1351182600, 1351182602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98552060127258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:42:32.833175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_46_9351.jpg', '/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_56_10519.jpg', '/home/pi/Desktop/images/10042025/12/57/image_10042025_12_58_06_9387.jpg', '/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_16_10366.jpg', '/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_26_10387.jpg', '/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_36_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_46_9351.jpg
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_57_56_10519.jpg
/home/pi/Desktop/images/10042025/12/57/image_10042025_12_58_06_9387.jpg
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_16_10366.jpg
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_26_10387.jpg
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_36_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351182732","1351182681","1351182746","1351182724","1351182706","1351182699"],"photo_ids_order":["1351182681","1351182699","1351182706","1351182724","1351182732","1351182746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c301e08a71781602f5ac79a7f18901d.jpg","text":"TemporaryFile(/tmp/multipartBody5575058807959682009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_58_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9ede28790466175a2a1e222e2a5e410.jpg","text":"TemporaryFile(/tmp/multipartBody5112882117374840842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_57_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6df592038a7e1940d2613f3c995f8850.jpg","text":"TemporaryFile(/tmp/multipartBody7043980954637034324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_58_36_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6a1ab9b0c25074eb47f01d6a0d49c7e.jpg","text":"TemporaryFile(/tmp/multipartBody255683798452409434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_58_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bce786b2b63941dd1b1fae06c45ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody5602426776428978052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_58_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be689098e240256bfedbc53ce6a19c90.jpg","text":"TemporaryFile(/tmp/multipartBody661217453709120341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292613304,"filename":"image_10042025_12_57_56_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351182706","file1":"1351182699","file0":"1351182681","file4":"1351182732","file5":"1351182746","file3":"1351182724"},"map_files_photo_id_array":[{"photo_id":"1351182746","filename":"file5"},{"photo_id":"1351182706","filename":"file2"},{"photo_id":"1351182732","filename":"file4"},{"photo_id":"1351182699","filename":"file1"},{"photo_id":"1351182681","filename":"file0"},{"photo_id":"1351182724","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351182732":["hashtag1","hashtag2"]},{"1351182681":["hashtag1","hashtag2"]},{"1351182746":["hashtag1","hashtag2"]},{"1351182724":["hashtag1","hashtag2"]},{"1351182706":["hashtag1","hashtag2"]},{"1351182699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351182732, 1351182681, 1351182746, 1351182724, 1351182706, 1351182699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.360063552856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:43:33.086574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_46_10388.jpg', '/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_56_9433.jpg', '/home/pi/Desktop/images/10042025/12/58/image_10042025_12_59_06_10330.jpg', '/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_16_10378.jpg', '/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_26_9386.jpg', '/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_46_10388.jpg
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_58_56_9433.jpg
/home/pi/Desktop/images/10042025/12/58/image_10042025_12_59_06_10330.jpg
/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_16_10378.jpg
/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_26_9386.jpg
/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351182835","1351182829","1351182823","1351182832","1351182826","1351182820"],"photo_ids_order":["1351182820","1351182823","1351182826","1351182829","1351182832","1351182835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1aa43982e40b008f668140b0b3ba0a26.jpg","text":"TemporaryFile(/tmp/multipartBody6415249025781007129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_59_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b84e8842c6d1c649ed6a553a9d99fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody4248870961368738561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_59_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66142cdcb1ee8e71852637035c712341.jpg","text":"TemporaryFile(/tmp/multipartBody6020177908715462727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_58_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c453ba45ad8ae364a3bb4f0c138e609.jpg","text":"TemporaryFile(/tmp/multipartBody4635264423815882958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_59_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6225cf38fd111114dd2c1e8303a5829.jpg","text":"TemporaryFile(/tmp/multipartBody6050240584786380394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_59_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c64be92101d104359a41736c3d27508.jpg","text":"TemporaryFile(/tmp/multipartBody6035135087508612982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292673524,"filename":"image_10042025_12_58_46_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351182826","file1":"1351182823","file0":"1351182820","file4":"1351182832","file5":"1351182835","file3":"1351182829"},"map_files_photo_id_array":[{"photo_id":"1351182835","filename":"file5"},{"photo_id":"1351182826","filename":"file2"},{"photo_id":"1351182832","filename":"file4"},{"photo_id":"1351182823","filename":"file1"},{"photo_id":"1351182820","filename":"file0"},{"photo_id":"1351182829","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351182835":["hashtag1","hashtag2"]},{"1351182829":["hashtag1","hashtag2"]},{"1351182823":["hashtag1","hashtag2"]},{"1351182832":["hashtag1","hashtag2"]},{"1351182826":["hashtag1","hashtag2"]},{"1351182820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351182835, 1351182829, 1351182823, 1351182832, 1351182826, 1351182820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92144846916199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:44:32.241193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_46_9450.jpg', '/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_56_10373.jpg', '/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_16_10075.jpg', '/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_26_10384.jpg', '/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_37_10362.jpg', '/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_46_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_46_9450.jpg
/home/pi/Desktop/images/10042025/12/59/image_10042025_12_59_56_10373.jpg
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_16_10075.jpg
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_26_10384.jpg
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_37_10362.jpg
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_46_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351183058","1351183043","1351183037","1351182988","1351183053","1351183047"],"photo_ids_order":["1351182988","1351183037","1351183043","1351183047","1351183053","1351183058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/289ed14dfacd51de755475ebf5b60703.jpg","text":"TemporaryFile(/tmp/multipartBody7499811537905575077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_13_00_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f8288108f2f4abf29b5ebd22e297fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3807105673332797181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_13_00_16_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acdad173628b8ff988782a0294756f2c.jpg","text":"TemporaryFile(/tmp/multipartBody9008723754442197930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_12_59_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e428ee7cdb5aea5d4b2f3b5c9177479.jpg","text":"TemporaryFile(/tmp/multipartBody8762445628999711937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_12_59_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/edceaa0bc261e345ef3b23dd9bd6bc7d.jpg","text":"TemporaryFile(/tmp/multipartBody170407830661213962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_13_00_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b31e15897bebac0e6ccecad91e0776f.jpg","text":"TemporaryFile(/tmp/multipartBody4451978052820876432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292732696,"filename":"image_10042025_13_00_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351183043","file1":"1351183037","file0":"1351182988","file4":"1351183053","file5":"1351183058","file3":"1351183047"},"map_files_photo_id_array":[{"photo_id":"1351183058","filename":"file5"},{"photo_id":"1351183043","filename":"file2"},{"photo_id":"1351183053","filename":"file4"},{"photo_id":"1351183037","filename":"file1"},{"photo_id":"1351182988","filename":"file0"},{"photo_id":"1351183047","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351183058":["hashtag1","hashtag2"]},{"1351183043":["hashtag1","hashtag2"]},{"1351183037":["hashtag1","hashtag2"]},{"1351182988":["hashtag1","hashtag2"]},{"1351183053":["hashtag1","hashtag2"]},{"1351183047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351183058, 1351183043, 1351183037, 1351182988, 1351183053, 1351183047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.093592405319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:45:32.445896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_56_10490.jpg', '/home/pi/Desktop/images/10042025/13/00/image_10042025_13_01_06_9355.jpg', '/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_16_10575.jpg', '/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_26_9443.jpg', '/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_36_10361.jpg', '/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_47_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_00_56_10490.jpg
/home/pi/Desktop/images/10042025/13/00/image_10042025_13_01_06_9355.jpg
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_16_10575.jpg
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_26_9443.jpg
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_36_10361.jpg
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_47_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351183116","1351183127","1351183100","1351183120","1351183114","1351183125"],"photo_ids_order":["1351183100","1351183114","1351183116","1351183120","1351183125","1351183127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91f18d1ddad66856c0cde677f7f38b75.jpg","text":"TemporaryFile(/tmp/multipartBody8675841793006093408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_01_16_10575.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87ee00afd3a464c4efafd5ac2fbdbed9.jpg","text":"TemporaryFile(/tmp/multipartBody8370062427256539459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_01_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0155926b95d29ca7f7810ab8b5bfaa65.jpg","text":"TemporaryFile(/tmp/multipartBody548234153060335294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_00_56_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e57d7fcb602f4061303cc76380ee1fa.jpg","text":"TemporaryFile(/tmp/multipartBody2634526834450381321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_01_26_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8841dc70255aa8ecd76c49320729e521.jpg","text":"TemporaryFile(/tmp/multipartBody3226661251980208832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_01_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/203910192830f34cd0e3e27c8e1957b0.jpg","text":"TemporaryFile(/tmp/multipartBody2815884679010004657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292792895,"filename":"image_10042025_13_01_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351183116","file1":"1351183114","file0":"1351183100","file4":"1351183125","file5":"1351183127","file3":"1351183120"},"map_files_photo_id_array":[{"photo_id":"1351183127","filename":"file5"},{"photo_id":"1351183116","filename":"file2"},{"photo_id":"1351183125","filename":"file4"},{"photo_id":"1351183114","filename":"file1"},{"photo_id":"1351183100","filename":"file0"},{"photo_id":"1351183120","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351183116":["hashtag1","hashtag2"]},{"1351183127":["hashtag1","hashtag2"]},{"1351183100":["hashtag1","hashtag2"]},{"1351183120":["hashtag1","hashtag2"]},{"1351183114":["hashtag1","hashtag2"]},{"1351183125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351183116, 1351183127, 1351183100, 1351183120, 1351183114, 1351183125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.009429693222046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:46:32.685214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_56_9357.jpg', '/home/pi/Desktop/images/10042025/13/01/image_10042025_13_02_06_10487.jpg', '/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_16_9330.jpg', '/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_26_10362.jpg', '/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_37_10461.jpg', '/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_46_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_01_56_9357.jpg
/home/pi/Desktop/images/10042025/13/01/image_10042025_13_02_06_10487.jpg
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_16_9330.jpg
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_26_10362.jpg
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_37_10461.jpg
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_46_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351183212","1351183298","1351183277","1351183202","1351183226","1351183230"],"photo_ids_order":["1351183202","1351183212","1351183226","1351183230","1351183277","1351183298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a07c15216cea5cb3132f014da4a82746.jpg","text":"TemporaryFile(/tmp/multipartBody3471816015791006937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_02_06_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83f7a0834020ba14c5d5289017bd323c.jpg","text":"TemporaryFile(/tmp/multipartBody3506505518536254964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_02_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd9a61b976c56b92436a211b39ac7755.jpg","text":"TemporaryFile(/tmp/multipartBody1838185400725785019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_02_37_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2399db49c58c0ae566db044d835edf97.jpg","text":"TemporaryFile(/tmp/multipartBody1428717722895174401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_01_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4581283e1351099c48a05881129c4aed.jpg","text":"TemporaryFile(/tmp/multipartBody4961661040684209214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_02_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de6e0409321913114e0fc424a8826034.jpg","text":"TemporaryFile(/tmp/multipartBody6966858879639835473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292853133,"filename":"image_10042025_13_02_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351183226","file1":"1351183212","file0":"1351183202","file4":"1351183277","file5":"1351183298","file3":"1351183230"},"map_files_photo_id_array":[{"photo_id":"1351183298","filename":"file5"},{"photo_id":"1351183226","filename":"file2"},{"photo_id":"1351183277","filename":"file4"},{"photo_id":"1351183212","filename":"file1"},{"photo_id":"1351183202","filename":"file0"},{"photo_id":"1351183230","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351183212":["hashtag1","hashtag2"]},{"1351183298":["hashtag1","hashtag2"]},{"1351183277":["hashtag1","hashtag2"]},{"1351183202":["hashtag1","hashtag2"]},{"1351183226":["hashtag1","hashtag2"]},{"1351183230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351183212, 1351183298, 1351183277, 1351183202, 1351183226, 1351183230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93625068664551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:47:32.868341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_56_10491.jpg', '/home/pi/Desktop/images/10042025/13/02/image_10042025_13_03_06_9348.jpg', '/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_16_10340.jpg', '/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_27_10434.jpg', '/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_36_9352.jpg', '/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_46_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_02_56_10491.jpg
/home/pi/Desktop/images/10042025/13/02/image_10042025_13_03_06_9348.jpg
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_16_10340.jpg
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_27_10434.jpg
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_36_9352.jpg
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_46_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351183487","1351183450","1351183528","1351183482","1351183491","1351183473"],"photo_ids_order":["1351183450","1351183473","1351183482","1351183487","1351183491","1351183528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d29917ff8ec35343f8a41cb88a35f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3948635413979205688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_03_27_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98742360d1052a784d40b29b1c947960.jpg","text":"TemporaryFile(/tmp/multipartBody7368636346113011362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_02_56_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b071587f942a068e0b0f9f137767da1.jpg","text":"TemporaryFile(/tmp/multipartBody3757536698901324426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_03_46_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89a3879815d2ea4144ca8114e24da003.jpg","text":"TemporaryFile(/tmp/multipartBody4414645643996573852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_03_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10e4d707f2c0037327b0408c5775728b.jpg","text":"TemporaryFile(/tmp/multipartBody7746787582293901542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_03_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51373b93acf06e5158e2de7cb9df75e8.jpg","text":"TemporaryFile(/tmp/multipartBody6788581505622820005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292913325,"filename":"image_10042025_13_03_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351183482","file1":"1351183473","file0":"1351183450","file4":"1351183491","file5":"1351183528","file3":"1351183487"},"map_files_photo_id_array":[{"photo_id":"1351183528","filename":"file5"},{"photo_id":"1351183482","filename":"file2"},{"photo_id":"1351183491","filename":"file4"},{"photo_id":"1351183473","filename":"file1"},{"photo_id":"1351183450","filename":"file0"},{"photo_id":"1351183487","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351183487":["hashtag1","hashtag2"]},{"1351183450":["hashtag1","hashtag2"]},{"1351183528":["hashtag1","hashtag2"]},{"1351183482":["hashtag1","hashtag2"]},{"1351183491":["hashtag1","hashtag2"]},{"1351183473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351183487, 1351183450, 1351183528, 1351183482, 1351183491, 1351183473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37338614463806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:48:32.220545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_56_9346.jpg', '/home/pi/Desktop/images/10042025/13/03/image_10042025_13_04_06_10372.jpg', '/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_17_10457.jpg', '/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_26_9369.jpg', '/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_36_10411.jpg', '/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_47_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_03_56_9346.jpg
/home/pi/Desktop/images/10042025/13/03/image_10042025_13_04_06_10372.jpg
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_17_10457.jpg
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_26_9369.jpg
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_36_10411.jpg
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_47_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351184138","1351184080","1351184098","1351184016","1351184103","1351184031"],"photo_ids_order":["1351184016","1351184031","1351184080","1351184098","1351184103","1351184138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68236138ef443bc6436e19a4684b1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2089898819299826157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_04_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5b541138908e5fd368d25c000e68600.jpg","text":"TemporaryFile(/tmp/multipartBody3902131508747236781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_04_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d24a30a350fada80e3923a683c431d28.jpg","text":"TemporaryFile(/tmp/multipartBody8855233531890184913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_04_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/107a0a2bb1e299f88d6c9a5ed1b15e31.jpg","text":"TemporaryFile(/tmp/multipartBody7136388318180085277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_03_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfb44591927a890fe110a2bb9910b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8093857689192360429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_04_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3454847f69d0eb47ad5027cffd3f3932.jpg","text":"TemporaryFile(/tmp/multipartBody6618619685888547588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744292972673,"filename":"image_10042025_13_04_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351184080","file1":"1351184031","file0":"1351184016","file4":"1351184103","file5":"1351184138","file3":"1351184098"},"map_files_photo_id_array":[{"photo_id":"1351184138","filename":"file5"},{"photo_id":"1351184080","filename":"file2"},{"photo_id":"1351184103","filename":"file4"},{"photo_id":"1351184031","filename":"file1"},{"photo_id":"1351184016","filename":"file0"},{"photo_id":"1351184098","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351184138":["hashtag1","hashtag2"]},{"1351184080":["hashtag1","hashtag2"]},{"1351184098":["hashtag1","hashtag2"]},{"1351184016":["hashtag1","hashtag2"]},{"1351184103":["hashtag1","hashtag2"]},{"1351184031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351184138, 1351184080, 1351184098, 1351184016, 1351184103, 1351184031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96708083152771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:49:32.472342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_56_9344.jpg', '/home/pi/Desktop/images/10042025/13/04/image_10042025_13_05_06_10351.jpg', '/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_16_9338.jpg', '/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_26_10354.jpg', '/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_36_10364.jpg', '/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_46_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_04_56_9344.jpg
/home/pi/Desktop/images/10042025/13/04/image_10042025_13_05_06_10351.jpg
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_16_9338.jpg
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_26_10354.jpg
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_36_10364.jpg
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_46_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351184549","1351184595","1351184589","1351184397","1351184613","1351184468"],"photo_ids_order":["1351184397","1351184468","1351184549","1351184589","1351184595","1351184613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63e5bb2f7335957a0d219a2fe114e20f.jpg","text":"TemporaryFile(/tmp/multipartBody4178817380311514255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_05_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56deb343d73b2269582fc6ac3ae1da5e.jpg","text":"TemporaryFile(/tmp/multipartBody1119883162724937412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_05_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d52414442f65e6ca3a88e31244cf396.jpg","text":"TemporaryFile(/tmp/multipartBody965222386815724606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_05_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6ca79587f579818aab3dd4e6465f164.jpg","text":"TemporaryFile(/tmp/multipartBody2365131897577253226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_04_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2391c9b2dc9ea8c0d49cc74b76a3dee4.jpg","text":"TemporaryFile(/tmp/multipartBody5091395645032778290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_05_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df682f6ab368b2df95a8b5f6f3a91dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3818623134046276268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293032925,"filename":"image_10042025_13_05_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351184549","file1":"1351184468","file0":"1351184397","file4":"1351184595","file5":"1351184613","file3":"1351184589"},"map_files_photo_id_array":[{"photo_id":"1351184613","filename":"file5"},{"photo_id":"1351184549","filename":"file2"},{"photo_id":"1351184595","filename":"file4"},{"photo_id":"1351184468","filename":"file1"},{"photo_id":"1351184397","filename":"file0"},{"photo_id":"1351184589","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351184549":["hashtag1","hashtag2"]},{"1351184595":["hashtag1","hashtag2"]},{"1351184589":["hashtag1","hashtag2"]},{"1351184397":["hashtag1","hashtag2"]},{"1351184613":["hashtag1","hashtag2"]},{"1351184468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351184549, 1351184595, 1351184589, 1351184397, 1351184613, 1351184468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78931164741516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:50:32.651791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_56_10417.jpg', '/home/pi/Desktop/images/10042025/13/05/image_10042025_13_06_07_10422.jpg', '/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_16_9332.jpg', '/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_26_10488.jpg', '/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_36_9353.jpg', '/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_46_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_05_56_10417.jpg
/home/pi/Desktop/images/10042025/13/05/image_10042025_13_06_07_10422.jpg
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_16_9332.jpg
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_26_10488.jpg
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_36_9353.jpg
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_46_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351184723","1351184708","1351184713","1351184697","1351184682","1351184718"],"photo_ids_order":["1351184682","1351184697","1351184708","1351184713","1351184718","1351184723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce741fd54432ab182ed1366fa6581b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2229923586930230643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_06_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/299766d802b0c4c51524b4d3f4705d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5545957800448338323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_06_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aead04eb35d88c37fd2c2ed0f33563fd.jpg","text":"TemporaryFile(/tmp/multipartBody5049994145449411152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_06_26_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c113b47933ca618d9b13ef4dee618dab.jpg","text":"TemporaryFile(/tmp/multipartBody8601582872394870427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_06_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4456eae39dbf9252ba5f340e05753de3.jpg","text":"TemporaryFile(/tmp/multipartBody7990032465876970043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_05_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c54060b6c2b9bb1d8cd0ef92022e93ae.jpg","text":"TemporaryFile(/tmp/multipartBody9215460693223636546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293093103,"filename":"image_10042025_13_06_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351184708","file1":"1351184697","file0":"1351184682","file4":"1351184718","file5":"1351184723","file3":"1351184713"},"map_files_photo_id_array":[{"photo_id":"1351184723","filename":"file5"},{"photo_id":"1351184708","filename":"file2"},{"photo_id":"1351184718","filename":"file4"},{"photo_id":"1351184697","filename":"file1"},{"photo_id":"1351184682","filename":"file0"},{"photo_id":"1351184713","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351184723":["hashtag1","hashtag2"]},{"1351184708":["hashtag1","hashtag2"]},{"1351184713":["hashtag1","hashtag2"]},{"1351184697":["hashtag1","hashtag2"]},{"1351184682":["hashtag1","hashtag2"]},{"1351184718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351184723, 1351184708, 1351184713, 1351184697, 1351184682, 1351184718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10587549209595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:51:32.797715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_57_10367.jpg', '/home/pi/Desktop/images/10042025/13/06/image_10042025_13_07_06_9341.jpg', '/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_16_10459.jpg', '/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_26_9363.jpg', '/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_36_10367.jpg', '/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_47_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_06_57_10367.jpg
/home/pi/Desktop/images/10042025/13/06/image_10042025_13_07_06_9341.jpg
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_16_10459.jpg
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_26_9363.jpg
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_36_10367.jpg
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_47_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351184840","1351184863","1351184787","1351184775","1351184814","1351184765"],"photo_ids_order":["1351184765","1351184775","1351184787","1351184814","1351184840","1351184863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1166bca66157d3cc90b525af0164a753.jpg","text":"TemporaryFile(/tmp/multipartBody5852155528125704719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_07_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b893cfc8952b6126a6e27ace05749962.jpg","text":"TemporaryFile(/tmp/multipartBody4308840997961795291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_07_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94892037a5e65e6a6a55323a7f499692.jpg","text":"TemporaryFile(/tmp/multipartBody8600159974932893860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_07_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ed7e5bba61d68fdfdd20db814fd6db8.jpg","text":"TemporaryFile(/tmp/multipartBody2827435938186041738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_07_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/490400f893be95acaef413f3019940a4.jpg","text":"TemporaryFile(/tmp/multipartBody5290293288142892682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_07_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d05c5c167d08919e3b220082664e8bae.jpg","text":"TemporaryFile(/tmp/multipartBody625016777765656085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293153258,"filename":"image_10042025_13_06_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351184787","file1":"1351184775","file0":"1351184765","file4":"1351184840","file5":"1351184863","file3":"1351184814"},"map_files_photo_id_array":[{"photo_id":"1351184863","filename":"file5"},{"photo_id":"1351184787","filename":"file2"},{"photo_id":"1351184840","filename":"file4"},{"photo_id":"1351184775","filename":"file1"},{"photo_id":"1351184765","filename":"file0"},{"photo_id":"1351184814","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351184840":["hashtag1","hashtag2"]},{"1351184863":["hashtag1","hashtag2"]},{"1351184787":["hashtag1","hashtag2"]},{"1351184775":["hashtag1","hashtag2"]},{"1351184814":["hashtag1","hashtag2"]},{"1351184765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351184840, 1351184863, 1351184787, 1351184775, 1351184814, 1351184765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21385717391968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:52:32.935289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_56_9339.jpg', '/home/pi/Desktop/images/10042025/13/07/image_10042025_13_08_06_10335.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_16_9642.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_26_10371.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_37_10445.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_07_56_9339.jpg
/home/pi/Desktop/images/10042025/13/07/image_10042025_13_08_06_10335.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_16_9642.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_26_10371.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_37_10445.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351184971","1351184924","1351184947","1351184929","1351185027","1351185000"],"photo_ids_order":["1351184924","1351184929","1351184947","1351184971","1351185000","1351185027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85aa2ccd6a70949331a6e1832798ee2a.jpg","text":"TemporaryFile(/tmp/multipartBody1691364864115255635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_08_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2eb050f4f3d73467dc45ea391abbee25.jpg","text":"TemporaryFile(/tmp/multipartBody4605969980767654390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_07_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/963a4009a5bfbac9abe1d2749242a92f.jpg","text":"TemporaryFile(/tmp/multipartBody8566371572328587309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_08_16_9642.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c70fdf8a627eab3f7fb0b7f9e3dbe562.jpg","text":"TemporaryFile(/tmp/multipartBody6266388463157799163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_08_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87b77a047f07af30edb6eeaf82b5c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody6375880850066792423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_08_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cde351df1e27ce7747660dd166f6b786.jpg","text":"TemporaryFile(/tmp/multipartBody7484153612586504994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293213386,"filename":"image_10042025_13_08_37_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351184947","file1":"1351184929","file0":"1351184924","file4":"1351185000","file5":"1351185027","file3":"1351184971"},"map_files_photo_id_array":[{"photo_id":"1351185027","filename":"file5"},{"photo_id":"1351184947","filename":"file2"},{"photo_id":"1351185000","filename":"file4"},{"photo_id":"1351184929","filename":"file1"},{"photo_id":"1351184924","filename":"file0"},{"photo_id":"1351184971","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351184971":["hashtag1","hashtag2"]},{"1351184924":["hashtag1","hashtag2"]},{"1351184947":["hashtag1","hashtag2"]},{"1351184929":["hashtag1","hashtag2"]},{"1351185027":["hashtag1","hashtag2"]},{"1351185000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351184971, 1351184924, 1351184947, 1351184929, 1351185027, 1351185000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52333950996399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:53:33.155888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_56_10415.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_09_06_9341.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_16_10338.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_27_10446.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_36_9387.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_56_10415.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_09_06_9341.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_16_10338.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_27_10446.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_36_9387.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_46_10438.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37653422355651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 15:53:43.182299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_56_10415.jpg', '/home/pi/Desktop/images/10042025/13/08/image_10042025_13_09_06_9341.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_16_10338.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_27_10446.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_36_9387.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_08_56_10415.jpg
/home/pi/Desktop/images/10042025/13/08/image_10042025_13_09_06_9341.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_16_10338.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_27_10446.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_36_9387.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351185209","1351185265","1351185232","1351185180","1351185246","1351185141"],"photo_ids_order":["1351185141","1351185180","1351185209","1351185232","1351185246","1351185265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4ebf0dd7c6ad3b303eb99b257ca798d.jpg","text":"TemporaryFile(/tmp/multipartBody4161307187205042097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_09_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ac7485422596482b456a3bffa99ee9f.jpg","text":"TemporaryFile(/tmp/multipartBody2735078280500090252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_09_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfd1dd93947f760ab583182762026a54.jpg","text":"TemporaryFile(/tmp/multipartBody4746919245946311568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_09_27_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6a2e1cc7f894d59a756ee45c01c098f.jpg","text":"TemporaryFile(/tmp/multipartBody8418242922151930323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_09_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48114ec7d6bae8ecba3c9661da57cf79.jpg","text":"TemporaryFile(/tmp/multipartBody1384596529711035009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_09_36_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe5e72dfd69b29ca217883e85d2e294d.jpg","text":"TemporaryFile(/tmp/multipartBody6093339893901960272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293283638,"filename":"image_10042025_13_08_56_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351185209","file1":"1351185180","file0":"1351185141","file4":"1351185246","file5":"1351185265","file3":"1351185232"},"map_files_photo_id_array":[{"photo_id":"1351185265","filename":"file5"},{"photo_id":"1351185209","filename":"file2"},{"photo_id":"1351185246","filename":"file4"},{"photo_id":"1351185180","filename":"file1"},{"photo_id":"1351185141","filename":"file0"},{"photo_id":"1351185232","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351185209":["hashtag1","hashtag2"]},{"1351185265":["hashtag1","hashtag2"]},{"1351185232":["hashtag1","hashtag2"]},{"1351185180":["hashtag1","hashtag2"]},{"1351185246":["hashtag1","hashtag2"]},{"1351185141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351185209, 1351185265, 1351185232, 1351185180, 1351185246, 1351185141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.349772930145264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:54:32.277692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_56_9357.jpg', '/home/pi/Desktop/images/10042025/13/09/image_10042025_13_10_06_10345.jpg', '/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_17_10450.jpg', '/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_26_9332.jpg', '/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_36_10506.jpg', '/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_46_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_09_56_9357.jpg
/home/pi/Desktop/images/10042025/13/09/image_10042025_13_10_06_10345.jpg
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_17_10450.jpg
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_26_9332.jpg
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_36_10506.jpg
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_46_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351185391","1351185331","1351185396","1351185347","1351185356","1351185350"],"photo_ids_order":["1351185331","1351185347","1351185350","1351185356","1351185391","1351185396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a9547bea90b19a196b4ed4499c2adda.jpg","text":"TemporaryFile(/tmp/multipartBody466741632428800364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_10_36_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a49f24fcec9d8d089bc163f022c8f452.jpg","text":"TemporaryFile(/tmp/multipartBody2656392360209528998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_09_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b615c17133de2ccd77e3bccd34eb6ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5818874719675934387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_10_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b673387e138e4de1eba91b1249f17ab2.jpg","text":"TemporaryFile(/tmp/multipartBody1079871660057174562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_10_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4a667c588866e2306644a5dc348f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6546545987375913346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_10_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7ce39c636607da6c4e29fcde6a732c5.jpg","text":"TemporaryFile(/tmp/multipartBody4354103306273770077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293332758,"filename":"image_10042025_13_10_17_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351185350","file1":"1351185347","file0":"1351185331","file4":"1351185391","file5":"1351185396","file3":"1351185356"},"map_files_photo_id_array":[{"photo_id":"1351185396","filename":"file5"},{"photo_id":"1351185350","filename":"file2"},{"photo_id":"1351185391","filename":"file4"},{"photo_id":"1351185347","filename":"file1"},{"photo_id":"1351185331","filename":"file0"},{"photo_id":"1351185356","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351185391":["hashtag1","hashtag2"]},{"1351185331":["hashtag1","hashtag2"]},{"1351185396":["hashtag1","hashtag2"]},{"1351185347":["hashtag1","hashtag2"]},{"1351185356":["hashtag1","hashtag2"]},{"1351185350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351185391, 1351185331, 1351185396, 1351185347, 1351185356, 1351185350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83921766281128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:55:32.405832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_56_10361.jpg', '/home/pi/Desktop/images/10042025/13/10/image_10042025_13_11_07_10430.jpg', '/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_16_9343.jpg', '/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_26_10420.jpg', '/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_37_10360.jpg', '/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_10_56_10361.jpg
/home/pi/Desktop/images/10042025/13/10/image_10042025_13_11_07_10430.jpg
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_16_9343.jpg
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_26_10420.jpg
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_37_10360.jpg
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_46_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351185460","1351185451","1351185445","1351185456","1351185461","1351185449"],"photo_ids_order":["1351185445","1351185449","1351185451","1351185456","1351185460","1351185461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/575f6063d25a425481838339a1eac35b.jpg","text":"TemporaryFile(/tmp/multipartBody7981180138573267558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_11_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c18f45edbdb8f98a3bcb6696000d34a.jpg","text":"TemporaryFile(/tmp/multipartBody3086574333656265138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_11_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60ec6a9837fed5b9d0846c10c556631b.jpg","text":"TemporaryFile(/tmp/multipartBody3897537286285834153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_10_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9265fffd888adb002956723c5b428bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1385593032776501222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_11_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8cf3e02aef97fe713179b237c310a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3331493368104899624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_11_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67d7a007707384a7d72e678703af7037.jpg","text":"TemporaryFile(/tmp/multipartBody6039501318271703347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293392872,"filename":"image_10042025_13_11_07_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351185451","file1":"1351185449","file0":"1351185445","file4":"1351185460","file5":"1351185461","file3":"1351185456"},"map_files_photo_id_array":[{"photo_id":"1351185461","filename":"file5"},{"photo_id":"1351185451","filename":"file2"},{"photo_id":"1351185460","filename":"file4"},{"photo_id":"1351185449","filename":"file1"},{"photo_id":"1351185445","filename":"file0"},{"photo_id":"1351185456","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351185460":["hashtag1","hashtag2"]},{"1351185451":["hashtag1","hashtag2"]},{"1351185445":["hashtag1","hashtag2"]},{"1351185456":["hashtag1","hashtag2"]},{"1351185461":["hashtag1","hashtag2"]},{"1351185449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351185460, 1351185451, 1351185445, 1351185456, 1351185461, 1351185449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30784225463867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:56:32.558566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_56_10375.jpg', '/home/pi/Desktop/images/10042025/13/11/image_10042025_13_12_06_9434.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_16_10344.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_27_10413.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_36_9341.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_46_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_11_56_10375.jpg
/home/pi/Desktop/images/10042025/13/11/image_10042025_13_12_06_9434.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_16_10344.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_27_10413.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_36_9341.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_46_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351185490","1351185505","1351185495","1351185510","1351185513","1351185500"],"photo_ids_order":["1351185490","1351185495","1351185500","1351185505","1351185510","1351185513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/175a17c7e8dd04c2be24309f099eeecf.jpg","text":"TemporaryFile(/tmp/multipartBody6884607487517647417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_11_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2c64765bf20a947a25b48999c57a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4146896777932137049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_12_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32c529759c0565eaae07d09ef333776e.jpg","text":"TemporaryFile(/tmp/multipartBody4221879177694622896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_12_06_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c44ce339c5bc68138b7e8b1677dedca8.jpg","text":"TemporaryFile(/tmp/multipartBody1945269092282989451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_12_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92334e04a267255b78f79bfa7f98c53b.jpg","text":"TemporaryFile(/tmp/multipartBody1854242722579000803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_12_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbfe575795baf57d501ddccb99c8663a.jpg","text":"TemporaryFile(/tmp/multipartBody8167235687671585940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293453082,"filename":"image_10042025_13_12_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351185500","file1":"1351185495","file0":"1351185490","file4":"1351185510","file5":"1351185513","file3":"1351185505"},"map_files_photo_id_array":[{"photo_id":"1351185513","filename":"file5"},{"photo_id":"1351185500","filename":"file2"},{"photo_id":"1351185510","filename":"file4"},{"photo_id":"1351185495","filename":"file1"},{"photo_id":"1351185490","filename":"file0"},{"photo_id":"1351185505","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351185490":["hashtag1","hashtag2"]},{"1351185505":["hashtag1","hashtag2"]},{"1351185495":["hashtag1","hashtag2"]},{"1351185510":["hashtag1","hashtag2"]},{"1351185513":["hashtag1","hashtag2"]},{"1351185500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351185490, 1351185505, 1351185495, 1351185510, 1351185513, 1351185500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.860384702682495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:57:32.905313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_56_9345.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_13_06_10368.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_16_10351.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_26_9346.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_36_10379.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_47_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_56_9345.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_13_06_10368.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_16_10351.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_26_9346.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_36_10379.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_47_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 15:59:03.618633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_56_9345.jpg', '/home/pi/Desktop/images/10042025/13/12/image_10042025_13_13_06_10368.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_16_10351.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_26_9346.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_36_10379.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_47_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_12_56_9345.jpg
/home/pi/Desktop/images/10042025/13/12/image_10042025_13_13_06_10368.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_16_10351.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_26_9346.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_36_10379.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_47_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351186168","1351186135","1351186094","1351186073","1351185998","1351186162"],"photo_ids_order":["1351185998","1351186073","1351186094","1351186135","1351186162","1351186168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/410527c9ca89eda665d0a531f2a26510.jpg","text":"TemporaryFile(/tmp/multipartBody707378964172924051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_13_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dc4910183b759a7d8a06d10da0b9e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1266373210647046630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_13_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efebb1bfac247a00ef4d7b92b5540f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2605671593571398385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_13_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/095dc14bae37d986fcc322bec9cd9499.jpg","text":"TemporaryFile(/tmp/multipartBody6154734644937360171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_13_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13cdbbf0dbfd3040ed7be7ec4ab8dc54.jpg","text":"TemporaryFile(/tmp/multipartBody2288901144728394740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_12_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c91add61b08f2ab9e912777048f90e92.jpg","text":"TemporaryFile(/tmp/multipartBody6238033981534870670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293604296,"filename":"image_10042025_13_13_36_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351186094","file1":"1351186073","file0":"1351185998","file4":"1351186162","file5":"1351186168","file3":"1351186135"},"map_files_photo_id_array":[{"photo_id":"1351186168","filename":"file5"},{"photo_id":"1351186094","filename":"file2"},{"photo_id":"1351186162","filename":"file4"},{"photo_id":"1351186073","filename":"file1"},{"photo_id":"1351185998","filename":"file0"},{"photo_id":"1351186135","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351186168":["hashtag1","hashtag2"]},{"1351186135":["hashtag1","hashtag2"]},{"1351186094":["hashtag1","hashtag2"]},{"1351186073":["hashtag1","hashtag2"]},{"1351185998":["hashtag1","hashtag2"]},{"1351186162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351186168, 1351186135, 1351186094, 1351186073, 1351185998, 1351186162)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.885711669921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 15:59:52.472714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_56_9348.jpg', '/home/pi/Desktop/images/10042025/13/13/image_10042025_13_14_06_10356.jpg', '/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_17_10392.jpg', '/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_26_9415.jpg', '/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_37_10439.jpg', '/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_56_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_13_56_9348.jpg
/home/pi/Desktop/images/10042025/13/13/image_10042025_13_14_06_10356.jpg
/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_17_10392.jpg
/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_26_9415.jpg
/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_37_10439.jpg
/home/pi/Desktop/images/10042025/13/14/image_10042025_13_14_56_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351186429","1351186303","1351186437","1351186410","1351186442","1351186375"],"photo_ids_order":["1351186303","1351186375","1351186410","1351186429","1351186437","1351186442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f6dd85aec7e8e8e6270211b86630558.jpg","text":"TemporaryFile(/tmp/multipartBody7666622936250386869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_14_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e4c97de0357f9e5d6ee76c6d2b5a0fd.jpg","text":"TemporaryFile(/tmp/multipartBody5933294336412290325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_13_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e85a2f418c1960f44a27520aabcc2890.jpg","text":"TemporaryFile(/tmp/multipartBody4947419285140367800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_14_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82746209c7a9725d7f24a70999c4bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody541149301281267447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_14_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/230506583c6fa2aa494a1705c8656d59.jpg","text":"TemporaryFile(/tmp/multipartBody4160756540521884435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_14_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/837dd333172ee8a21ce3052af82d3d10.jpg","text":"TemporaryFile(/tmp/multipartBody4281721657853549382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293652923,"filename":"image_10042025_13_14_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351186410","file1":"1351186375","file0":"1351186303","file4":"1351186437","file5":"1351186442","file3":"1351186429"},"map_files_photo_id_array":[{"photo_id":"1351186442","filename":"file5"},{"photo_id":"1351186410","filename":"file2"},{"photo_id":"1351186437","filename":"file4"},{"photo_id":"1351186375","filename":"file1"},{"photo_id":"1351186303","filename":"file0"},{"photo_id":"1351186429","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351186429":["hashtag1","hashtag2"]},{"1351186303":["hashtag1","hashtag2"]},{"1351186437":["hashtag1","hashtag2"]},{"1351186410":["hashtag1","hashtag2"]},{"1351186442":["hashtag1","hashtag2"]},{"1351186375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351186429, 1351186303, 1351186437, 1351186410, 1351186442, 1351186375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44691181182861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:00:32.683052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_16_9335.jpg', '/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_26_10439.jpg', '/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_36_9427.jpg', '/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_46_10356.jpg', '/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_57_10392.jpg', '/home/pi/Desktop/images/10042025/13/15/image_10042025_13_16_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_16_9335.jpg
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_26_10439.jpg
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_36_9427.jpg
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_46_10356.jpg
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_15_57_10392.jpg
/home/pi/Desktop/images/10042025/13/15/image_10042025_13_16_06_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351186576","1351186558","1351186546","1351186528","1351186507","1351186584"],"photo_ids_order":["1351186507","1351186528","1351186546","1351186558","1351186576","1351186584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78eec80baec56827722e09b2b15aa183.jpg","text":"TemporaryFile(/tmp/multipartBody589122305869589558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_15_57_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb3fe49c84a47211e96b9e8257003251.jpg","text":"TemporaryFile(/tmp/multipartBody4306933790494755280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_15_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1458214489602854785558ffdf8dacd.jpg","text":"TemporaryFile(/tmp/multipartBody6607410820389678561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_15_36_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b95796904ba11392a4136edcdbcda882.jpg","text":"TemporaryFile(/tmp/multipartBody8017199173856352677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_15_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d92275346680b8f89047e0efdfd6cff.jpg","text":"TemporaryFile(/tmp/multipartBody366251045449793405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_15_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f4fa40b3f8b222e9a7eea68abf61cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7232233536636722502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293693145,"filename":"image_10042025_13_16_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351186546","file1":"1351186528","file0":"1351186507","file4":"1351186576","file5":"1351186584","file3":"1351186558"},"map_files_photo_id_array":[{"photo_id":"1351186584","filename":"file5"},{"photo_id":"1351186546","filename":"file2"},{"photo_id":"1351186576","filename":"file4"},{"photo_id":"1351186528","filename":"file1"},{"photo_id":"1351186507","filename":"file0"},{"photo_id":"1351186558","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351186576":["hashtag1","hashtag2"]},{"1351186558":["hashtag1","hashtag2"]},{"1351186546":["hashtag1","hashtag2"]},{"1351186528":["hashtag1","hashtag2"]},{"1351186507":["hashtag1","hashtag2"]},{"1351186584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351186576, 1351186558, 1351186546, 1351186528, 1351186507, 1351186584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51455879211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:01:32.988991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_27_10451.jpg', '/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_36_9338.jpg', '/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_47_10476.jpg', '/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_56_9334.jpg', '/home/pi/Desktop/images/10042025/13/16/image_10042025_13_17_06_10349.jpg', '/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_17_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_27_10451.jpg
/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_36_9338.jpg
/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_47_10476.jpg
/home/pi/Desktop/images/10042025/13/16/image_10042025_13_16_56_9334.jpg
/home/pi/Desktop/images/10042025/13/16/image_10042025_13_17_06_10349.jpg
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_17_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351186831","1351186774","1351186692","1351186757","1351186802","1351186709"],"photo_ids_order":["1351186692","1351186709","1351186757","1351186774","1351186802","1351186831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbb4ae439b2ae88c52e6012d03127cf1.jpg","text":"TemporaryFile(/tmp/multipartBody2762016810638733728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_17_17_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99066f72bd22fc0dc112ea91e56f1a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4297622857667196711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_16_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cec9fe4f204ac07d3b8cee722a43b67.jpg","text":"TemporaryFile(/tmp/multipartBody2445862811942563470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_16_27_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47c3b636e0328bc292db9b932872fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody5123872984093006622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_16_47_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4b5caedb233dfc905c523d22f3fd8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4019050636071720026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_17_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87cfb92d825fba83ed137d595cf5a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody998094811706030995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293753443,"filename":"image_10042025_13_16_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351186757","file1":"1351186709","file0":"1351186692","file4":"1351186802","file5":"1351186831","file3":"1351186774"},"map_files_photo_id_array":[{"photo_id":"1351186831","filename":"file5"},{"photo_id":"1351186757","filename":"file2"},{"photo_id":"1351186802","filename":"file4"},{"photo_id":"1351186709","filename":"file1"},{"photo_id":"1351186692","filename":"file0"},{"photo_id":"1351186774","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351186831":["hashtag1","hashtag2"]},{"1351186774":["hashtag1","hashtag2"]},{"1351186692":["hashtag1","hashtag2"]},{"1351186757":["hashtag1","hashtag2"]},{"1351186802":["hashtag1","hashtag2"]},{"1351186709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351186831, 1351186774, 1351186692, 1351186757, 1351186802, 1351186709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.540642738342285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:02:33.078772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_26_9358.jpg', '/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_36_10423.jpg', '/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_46_9410.jpg', '/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_56_10357.jpg', '/home/pi/Desktop/images/10042025/13/17/image_10042025_13_18_07_10399.jpg', '/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_16_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_26_9358.jpg
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_36_10423.jpg
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_46_9410.jpg
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_17_56_10357.jpg
/home/pi/Desktop/images/10042025/13/17/image_10042025_13_18_07_10399.jpg
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_16_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351187029","1351187115","1351187139","1351187066","1351186976","1351186949"],"photo_ids_order":["1351186949","1351186976","1351187029","1351187066","1351187115","1351187139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cdeee7e793cc7cf6f85df4575073463.jpg","text":"TemporaryFile(/tmp/multipartBody9007651746742961109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_17_46_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d50408732651db9edea940c621fa64a4.jpg","text":"TemporaryFile(/tmp/multipartBody7865204649525280935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_18_07_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a2323133054173f979c9eaade7430df.jpg","text":"TemporaryFile(/tmp/multipartBody8235855724054397457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_18_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f69eecbfe177be3ce92ae62269523305.jpg","text":"TemporaryFile(/tmp/multipartBody3511446579025097957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_17_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e98e60e93488a57f34518a6f6c9fb90.jpg","text":"TemporaryFile(/tmp/multipartBody4782041296019522330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_17_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06df16182da1f7f552531881b44e3ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4400482494398489437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293813534,"filename":"image_10042025_13_17_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351187029","file1":"1351186976","file0":"1351186949","file4":"1351187115","file5":"1351187139","file3":"1351187066"},"map_files_photo_id_array":[{"photo_id":"1351187139","filename":"file5"},{"photo_id":"1351187029","filename":"file2"},{"photo_id":"1351187115","filename":"file4"},{"photo_id":"1351186976","filename":"file1"},{"photo_id":"1351186949","filename":"file0"},{"photo_id":"1351187066","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351187029":["hashtag1","hashtag2"]},{"1351187115":["hashtag1","hashtag2"]},{"1351187139":["hashtag1","hashtag2"]},{"1351187066":["hashtag1","hashtag2"]},{"1351186976":["hashtag1","hashtag2"]},{"1351186949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351187029, 1351187115, 1351187139, 1351187066, 1351186976, 1351186949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23759055137634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:03:32.304591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_26_10477.jpg', '/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_36_9343.jpg', '/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_46_10363.jpg', '/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_57_10421.jpg', '/home/pi/Desktop/images/10042025/13/18/image_10042025_13_19_06_9329.jpg', '/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_16_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_26_10477.jpg
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_36_9343.jpg
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_46_10363.jpg
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_18_57_10421.jpg
/home/pi/Desktop/images/10042025/13/18/image_10042025_13_19_06_9329.jpg
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_16_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351187454","1351187378","1351187426","1351187507","1351187476","1351187402"],"photo_ids_order":["1351187378","1351187402","1351187426","1351187454","1351187476","1351187507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54ccec4b319149e3dd359012a263d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1350443306902079970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_18_57_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6d482c84341ee48858559ff7701e5a9.jpg","text":"TemporaryFile(/tmp/multipartBody4763855672864835798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_18_26_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/967a71829e0608f9489dc591b48d786a.jpg","text":"TemporaryFile(/tmp/multipartBody6150566893262702126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_18_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61a7fc0bbbf0f3b9d9fa380372e7e141.jpg","text":"TemporaryFile(/tmp/multipartBody850665348062524150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_19_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5e7546ed05da253a744f3eeac0ac402.jpg","text":"TemporaryFile(/tmp/multipartBody1465990178709066926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_19_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c874502f893465dff12d0aabd686a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7968969154456648999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293872767,"filename":"image_10042025_13_18_36_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351187426","file1":"1351187402","file0":"1351187378","file4":"1351187476","file5":"1351187507","file3":"1351187454"},"map_files_photo_id_array":[{"photo_id":"1351187507","filename":"file5"},{"photo_id":"1351187426","filename":"file2"},{"photo_id":"1351187476","filename":"file4"},{"photo_id":"1351187402","filename":"file1"},{"photo_id":"1351187378","filename":"file0"},{"photo_id":"1351187454","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351187454":["hashtag1","hashtag2"]},{"1351187378":["hashtag1","hashtag2"]},{"1351187426":["hashtag1","hashtag2"]},{"1351187507":["hashtag1","hashtag2"]},{"1351187476":["hashtag1","hashtag2"]},{"1351187402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351187454, 1351187378, 1351187426, 1351187507, 1351187476, 1351187402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0195677280426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:04:32.424505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_27_10440.jpg', '/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_36_9338.jpg', '/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_46_10396.jpg', '/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_56_9355.jpg', '/home/pi/Desktop/images/10042025/13/19/image_10042025_13_20_06_10350.jpg', '/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_17_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_27_10440.jpg
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_36_9338.jpg
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_46_10396.jpg
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_19_56_9355.jpg
/home/pi/Desktop/images/10042025/13/19/image_10042025_13_20_06_10350.jpg
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_17_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351187787","1351187754","1351187702","1351187863","1351187806","1351187728"],"photo_ids_order":["1351187702","1351187728","1351187754","1351187787","1351187806","1351187863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a518ce519cfb95fc1ef67c71db6a5390.jpg","text":"TemporaryFile(/tmp/multipartBody1449544246722042699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_19_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c9716dd5b2bc9270e101b202e2fce4f.jpg","text":"TemporaryFile(/tmp/multipartBody6601774738706816057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_19_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/279ed729011246197d2efa5961210b27.jpg","text":"TemporaryFile(/tmp/multipartBody8130417393323219064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_19_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff4be1454ddf74edbc14b55cb40ef3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8863281225894290300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_20_17_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c62cb70141a87eaba0c13ccc3a31526.jpg","text":"TemporaryFile(/tmp/multipartBody2620678672900689461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_20_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7d4a8c46e2bf5bc9af2ea92f8698835.jpg","text":"TemporaryFile(/tmp/multipartBody1453927700133080683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293932877,"filename":"image_10042025_13_19_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351187754","file1":"1351187728","file0":"1351187702","file4":"1351187806","file5":"1351187863","file3":"1351187787"},"map_files_photo_id_array":[{"photo_id":"1351187863","filename":"file5"},{"photo_id":"1351187754","filename":"file2"},{"photo_id":"1351187806","filename":"file4"},{"photo_id":"1351187728","filename":"file1"},{"photo_id":"1351187702","filename":"file0"},{"photo_id":"1351187787","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351187787":["hashtag1","hashtag2"]},{"1351187754":["hashtag1","hashtag2"]},{"1351187702":["hashtag1","hashtag2"]},{"1351187863":["hashtag1","hashtag2"]},{"1351187806":["hashtag1","hashtag2"]},{"1351187728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351187787, 1351187754, 1351187702, 1351187863, 1351187806, 1351187728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372456550598145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:05:32.602171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_26_9372.jpg', '/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_36_10466.jpg', '/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_47_10358.jpg', '/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_56_9357.jpg', '/home/pi/Desktop/images/10042025/13/20/image_10042025_13_21_06_10417.jpg', '/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_26_9372.jpg
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_36_10466.jpg
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_47_10358.jpg
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_20_56_9357.jpg
/home/pi/Desktop/images/10042025/13/20/image_10042025_13_21_06_10417.jpg
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_16_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351188363","1351188336","1351188258","1351188194","1351188475","1351188412"],"photo_ids_order":["1351188194","1351188258","1351188336","1351188363","1351188412","1351188475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41ec34edfa20daa6ee951936f8a53f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6295680955600575179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_20_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b39f1b841760ee328971b5bdbf6404b6.jpg","text":"TemporaryFile(/tmp/multipartBody2960913144422375335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_20_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c76a1345bb3082bfd0ec3895a4057116.jpg","text":"TemporaryFile(/tmp/multipartBody807830650741362672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_20_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/245afb0cd5c6e7ccd911b71135e9d310.jpg","text":"TemporaryFile(/tmp/multipartBody4320829448829671984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_20_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea756da26191f146e62ea777bd1dad66.jpg","text":"TemporaryFile(/tmp/multipartBody9181708568721891295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_21_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6e4e9db3f16d46ec260e7f6331a42dd.jpg","text":"TemporaryFile(/tmp/multipartBody4760959245873357818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744293993091,"filename":"image_10042025_13_21_06_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351188336","file1":"1351188258","file0":"1351188194","file4":"1351188412","file5":"1351188475","file3":"1351188363"},"map_files_photo_id_array":[{"photo_id":"1351188475","filename":"file5"},{"photo_id":"1351188336","filename":"file2"},{"photo_id":"1351188412","filename":"file4"},{"photo_id":"1351188258","filename":"file1"},{"photo_id":"1351188194","filename":"file0"},{"photo_id":"1351188363","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351188363":["hashtag1","hashtag2"]},{"1351188336":["hashtag1","hashtag2"]},{"1351188258":["hashtag1","hashtag2"]},{"1351188194":["hashtag1","hashtag2"]},{"1351188475":["hashtag1","hashtag2"]},{"1351188412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351188363, 1351188336, 1351188258, 1351188194, 1351188475, 1351188412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50490689277649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:06:32.699475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_26_10367.jpg', '/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_37_10432.jpg', '/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_46_9357.jpg', '/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_56_10416.jpg', '/home/pi/Desktop/images/10042025/13/21/image_10042025_13_22_06_9335.jpg', '/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_16_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_26_10367.jpg
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_37_10432.jpg
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_46_9357.jpg
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_21_56_10416.jpg
/home/pi/Desktop/images/10042025/13/21/image_10042025_13_22_06_9335.jpg
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_16_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351188828","1351188909","1351189022","1351188944","1351188856","1351188978"],"photo_ids_order":["1351188828","1351188856","1351188909","1351188944","1351188978","1351189022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd984233257bc145aafe6edc9afd2b99.jpg","text":"TemporaryFile(/tmp/multipartBody9157476613273650682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_21_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53db8996fe0bc8648ca454272e0304ce.jpg","text":"TemporaryFile(/tmp/multipartBody4433408628707916848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_21_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba4a1d884d9d5e71d96a0a190190a58a.jpg","text":"TemporaryFile(/tmp/multipartBody5220291209191511671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_22_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a20316889d044a3033edd8ac43a1b56.jpg","text":"TemporaryFile(/tmp/multipartBody857324936993060627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_21_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/621c0018ea806009b036be95db2c21b6.jpg","text":"TemporaryFile(/tmp/multipartBody4690807934966767222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_21_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b1b50d5bff8bca79c33079e36cb298d.jpg","text":"TemporaryFile(/tmp/multipartBody771547113176831406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294053176,"filename":"image_10042025_13_22_06_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351188909","file1":"1351188856","file0":"1351188828","file4":"1351188978","file5":"1351189022","file3":"1351188944"},"map_files_photo_id_array":[{"photo_id":"1351189022","filename":"file5"},{"photo_id":"1351188909","filename":"file2"},{"photo_id":"1351188978","filename":"file4"},{"photo_id":"1351188856","filename":"file1"},{"photo_id":"1351188828","filename":"file0"},{"photo_id":"1351188944","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351188828":["hashtag1","hashtag2"]},{"1351188909":["hashtag1","hashtag2"]},{"1351189022":["hashtag1","hashtag2"]},{"1351188944":["hashtag1","hashtag2"]},{"1351188856":["hashtag1","hashtag2"]},{"1351188978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351188828, 1351188909, 1351189022, 1351188944, 1351188856, 1351188978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.627102851867676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:07:32.858746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_26_10370.jpg', '/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_36_9337.jpg', '/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_46_10345.jpg', '/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_57_10443.jpg', '/home/pi/Desktop/images/10042025/13/22/image_10042025_13_23_06_9339.jpg', '/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_16_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_26_10370.jpg
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_36_9337.jpg
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_46_10345.jpg
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_22_57_10443.jpg
/home/pi/Desktop/images/10042025/13/22/image_10042025_13_23_06_9339.jpg
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_16_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351189307","1351189486","1351189351","1351189414","1351189548","1351189455"],"photo_ids_order":["1351189307","1351189351","1351189414","1351189455","1351189486","1351189548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f35519ddb1cba7d1fed286a9191d7c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1585482458833240236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_22_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43c731315e8f354d6b17536152cf70af.jpg","text":"TemporaryFile(/tmp/multipartBody7941561114789724391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_23_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c54965fb93d32a28948b11265937e357.jpg","text":"TemporaryFile(/tmp/multipartBody3525231156315713583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_22_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58768219bca238f89f404c68f0fdb5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8389264955023100799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_22_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f56187b650e87510139e65e80bf50c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3418566356984461953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_23_16_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/460a64e8e44418e25c43f31033aa79e8.jpg","text":"TemporaryFile(/tmp/multipartBody1261114091094169984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294113320,"filename":"image_10042025_13_22_57_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351189414","file1":"1351189351","file0":"1351189307","file4":"1351189486","file5":"1351189548","file3":"1351189455"},"map_files_photo_id_array":[{"photo_id":"1351189548","filename":"file5"},{"photo_id":"1351189414","filename":"file2"},{"photo_id":"1351189486","filename":"file4"},{"photo_id":"1351189351","filename":"file1"},{"photo_id":"1351189307","filename":"file0"},{"photo_id":"1351189455","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351189307":["hashtag1","hashtag2"]},{"1351189486":["hashtag1","hashtag2"]},{"1351189351":["hashtag1","hashtag2"]},{"1351189414":["hashtag1","hashtag2"]},{"1351189548":["hashtag1","hashtag2"]},{"1351189455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351189307, 1351189486, 1351189351, 1351189414, 1351189548, 1351189455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98687815666199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:08:33.077582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_26_9337.jpg', '/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_36_10352.jpg', '/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_47_10418.jpg', '/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_56_9360.jpg', '/home/pi/Desktop/images/10042025/13/23/image_10042025_13_24_06_10347.jpg', '/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_17_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_26_9337.jpg
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_36_10352.jpg
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_47_10418.jpg
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_23_56_9360.jpg
/home/pi/Desktop/images/10042025/13/23/image_10042025_13_24_06_10347.jpg
/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_17_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351190130","1351190007","1351190318","1351189981","1351190050","1351190239"],"photo_ids_order":["1351189981","1351190007","1351190050","1351190130","1351190239","1351190318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/919a97e597c6706e926a875c7b3fc557.jpg","text":"TemporaryFile(/tmp/multipartBody4275962334665742100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_23_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f72af44da0024c78bbd84e1738444ca.jpg","text":"TemporaryFile(/tmp/multipartBody1742899805846745982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_23_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c308eee440dd314a59fab0a1ec1dab1b.jpg","text":"TemporaryFile(/tmp/multipartBody4319401154601462717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_24_17_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d6e2a5bcf9ebcb43cbbc2f506e39aad.jpg","text":"TemporaryFile(/tmp/multipartBody7991756361652320494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_23_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f06f123ab4e8b5c9d0ba0e507402095.jpg","text":"TemporaryFile(/tmp/multipartBody1820176793753761940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_23_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2716cc291d39fe6979c91236f54cf088.jpg","text":"TemporaryFile(/tmp/multipartBody2908942968309322639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294173535,"filename":"image_10042025_13_24_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351190050","file1":"1351190007","file0":"1351189981","file4":"1351190239","file5":"1351190318","file3":"1351190130"},"map_files_photo_id_array":[{"photo_id":"1351190318","filename":"file5"},{"photo_id":"1351190050","filename":"file2"},{"photo_id":"1351190239","filename":"file4"},{"photo_id":"1351190007","filename":"file1"},{"photo_id":"1351189981","filename":"file0"},{"photo_id":"1351190130","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351190130":["hashtag1","hashtag2"]},{"1351190007":["hashtag1","hashtag2"]},{"1351190318":["hashtag1","hashtag2"]},{"1351189981":["hashtag1","hashtag2"]},{"1351190050":["hashtag1","hashtag2"]},{"1351190239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351190130, 1351190007, 1351190318, 1351189981, 1351190050, 1351190239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.041998863220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:09:32.420403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_26_9345.jpg', '/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_36_10414.jpg', '/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_46_9345.jpg', '/home/pi/Desktop/images/10042025/13/24/image_10042025_13_25_06_10349.jpg', '/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_16_9447.jpg', '/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_26_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_26_9345.jpg
/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_36_10414.jpg
/home/pi/Desktop/images/10042025/13/24/image_10042025_13_24_46_9345.jpg
/home/pi/Desktop/images/10042025/13/24/image_10042025_13_25_06_10349.jpg
/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_16_9447.jpg
/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_26_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351191123","1351191003","1351190823","1351191098","1351190867","1351190717"],"photo_ids_order":["1351190717","1351190823","1351190867","1351191003","1351191098","1351191123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a17336abf2302ced0559d8eefc91482c.jpg","text":"TemporaryFile(/tmp/multipartBody6233552748095649807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_25_26_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a908e5df5fcccc7e226ebc53c514a47.jpg","text":"TemporaryFile(/tmp/multipartBody5765390017674989484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_25_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/795976c3035aac3602208cf15d9dd74b.jpg","text":"TemporaryFile(/tmp/multipartBody6259034982365986409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_24_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5ec6ea9187f29b473c1828ed89b2286.jpg","text":"TemporaryFile(/tmp/multipartBody603855195802367439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_25_16_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc52c4aca640606ac20677e8d74a6ada.jpg","text":"TemporaryFile(/tmp/multipartBody600615178754919213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_24_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cfd5dac1528ed75fa1c42270436e91ee.jpg","text":"TemporaryFile(/tmp/multipartBody265260807561916713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294232882,"filename":"image_10042025_13_24_26_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351190867","file1":"1351190823","file0":"1351190717","file4":"1351191098","file5":"1351191123","file3":"1351191003"},"map_files_photo_id_array":[{"photo_id":"1351191123","filename":"file5"},{"photo_id":"1351190867","filename":"file2"},{"photo_id":"1351191098","filename":"file4"},{"photo_id":"1351190823","filename":"file1"},{"photo_id":"1351190717","filename":"file0"},{"photo_id":"1351191003","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351191123":["hashtag1","hashtag2"]},{"1351191003":["hashtag1","hashtag2"]},{"1351190823":["hashtag1","hashtag2"]},{"1351191098":["hashtag1","hashtag2"]},{"1351190867":["hashtag1","hashtag2"]},{"1351190717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351191123, 1351191003, 1351190823, 1351191098, 1351190867, 1351190717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22288107872009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:10:32.509071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_36_9350.jpg', '/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_46_10346.jpg', '/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_57_10449.jpg', '/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_16_10336.jpg', '/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_27_10452.jpg', '/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_36_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_36_9350.jpg
/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_46_10346.jpg
/home/pi/Desktop/images/10042025/13/25/image_10042025_13_25_57_10449.jpg
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_16_10336.jpg
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_27_10452.jpg
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_36_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351191893","1351191809","1351192048","1351191967","1351191832","1351191724"],"photo_ids_order":["1351191724","1351191809","1351191832","1351191893","1351191967","1351192048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/745e57cca6ea5baa5fe671b53f94f495.jpg","text":"TemporaryFile(/tmp/multipartBody5993950055858536818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_26_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67a3de18066bed6863b5d23fb5de04e3.jpg","text":"TemporaryFile(/tmp/multipartBody6981109045944627930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_25_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce11ae65a2b45111767551de48679af6.jpg","text":"TemporaryFile(/tmp/multipartBody3336776054269208720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_26_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8f14b92fe354e8a150576a2f226c11d.jpg","text":"TemporaryFile(/tmp/multipartBody1888633357885999752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_26_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9661cf8b2cefa57550ce91304f0cf6b4.jpg","text":"TemporaryFile(/tmp/multipartBody646408211692727954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_25_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3f80917cf7e3a0e30e0166f777cc222.jpg","text":"TemporaryFile(/tmp/multipartBody9190873574040138657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294293110,"filename":"image_10042025_13_25_36_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351191832","file1":"1351191809","file0":"1351191724","file4":"1351191967","file5":"1351192048","file3":"1351191893"},"map_files_photo_id_array":[{"photo_id":"1351192048","filename":"file5"},{"photo_id":"1351191832","filename":"file2"},{"photo_id":"1351191967","filename":"file4"},{"photo_id":"1351191809","filename":"file1"},{"photo_id":"1351191724","filename":"file0"},{"photo_id":"1351191893","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351191893":["hashtag1","hashtag2"]},{"1351191809":["hashtag1","hashtag2"]},{"1351192048":["hashtag1","hashtag2"]},{"1351191967":["hashtag1","hashtag2"]},{"1351191832":["hashtag1","hashtag2"]},{"1351191724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351191893, 1351191809, 1351192048, 1351191967, 1351191832, 1351191724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.117448806762695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:11:32.661998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_46_10396.jpg', '/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_56_9429.jpg', '/home/pi/Desktop/images/10042025/13/26/image_10042025_13_27_06_10418.jpg', '/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_17_10418.jpg', '/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_26_9394.jpg', '/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_37_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_46_10396.jpg
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_26_56_9429.jpg
/home/pi/Desktop/images/10042025/13/26/image_10042025_13_27_06_10418.jpg
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_17_10418.jpg
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_26_9394.jpg
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_37_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351192544","1351192588","1351192639","1351192411","1351192320","1351192478"],"photo_ids_order":["1351192320","1351192411","1351192478","1351192544","1351192588","1351192639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1831e26bc7566e169205ad8617c3298.jpg","text":"TemporaryFile(/tmp/multipartBody3010946395474301009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_27_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d19a3bd53a688e16f6f04a5530b1441c.jpg","text":"TemporaryFile(/tmp/multipartBody5303014595131068118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_27_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0913e81a101b457af500fe80c4c9716.jpg","text":"TemporaryFile(/tmp/multipartBody3956809167341208301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_27_37_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5280bdf4cd138ae31a9763bb2c5e2dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7534548689640152630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_26_56_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0eb48ce210fbe77c414b5f374c632855.jpg","text":"TemporaryFile(/tmp/multipartBody4453331995959719374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_26_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce8bda444365107e34ec7a82d931b253.jpg","text":"TemporaryFile(/tmp/multipartBody3472441630592400233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294353129,"filename":"image_10042025_13_27_06_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351192478","file1":"1351192411","file0":"1351192320","file4":"1351192588","file5":"1351192639","file3":"1351192544"},"map_files_photo_id_array":[{"photo_id":"1351192639","filename":"file5"},{"photo_id":"1351192478","filename":"file2"},{"photo_id":"1351192588","filename":"file4"},{"photo_id":"1351192411","filename":"file1"},{"photo_id":"1351192320","filename":"file0"},{"photo_id":"1351192544","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351192544":["hashtag1","hashtag2"]},{"1351192588":["hashtag1","hashtag2"]},{"1351192639":["hashtag1","hashtag2"]},{"1351192411":["hashtag1","hashtag2"]},{"1351192320":["hashtag1","hashtag2"]},{"1351192478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351192544, 1351192588, 1351192639, 1351192411, 1351192320, 1351192478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54432201385498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:12:32.824584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_46_9380.jpg', '/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_56_10472.jpg', '/home/pi/Desktop/images/10042025/13/27/image_10042025_13_28_07_10327.jpg', '/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_16_9332.jpg', '/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_27_10491.jpg', '/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_46_9380.jpg
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_27_56_10472.jpg
/home/pi/Desktop/images/10042025/13/27/image_10042025_13_28_07_10327.jpg
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_16_9332.jpg
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_27_10491.jpg
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_36_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351192937","1351192811","1351192867","1351192785","1351193012","1351192979"],"photo_ids_order":["1351192785","1351192811","1351192867","1351192937","1351192979","1351193012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1feaab6f063ae66da03b2522b13be14d.jpg","text":"TemporaryFile(/tmp/multipartBody4871894237835446933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_28_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/affa77700562147ef18d3113de4a93ff.jpg","text":"TemporaryFile(/tmp/multipartBody4769270676722894538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_27_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2367b04e03590516a1def4f93f5fa749.jpg","text":"TemporaryFile(/tmp/multipartBody44936344470250974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_28_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54dc943deb8fda453de0fd1ceb13e1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6878868305862778576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_27_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2052eca403803c1ea5929cf8346b0412.jpg","text":"TemporaryFile(/tmp/multipartBody1129879489423346373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_28_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fad4e183ed561783e521c231e357883.jpg","text":"TemporaryFile(/tmp/multipartBody877819913680988670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294413349,"filename":"image_10042025_13_28_27_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351192867","file1":"1351192811","file0":"1351192785","file4":"1351192979","file5":"1351193012","file3":"1351192937"},"map_files_photo_id_array":[{"photo_id":"1351193012","filename":"file5"},{"photo_id":"1351192867","filename":"file2"},{"photo_id":"1351192979","filename":"file4"},{"photo_id":"1351192811","filename":"file1"},{"photo_id":"1351192785","filename":"file0"},{"photo_id":"1351192937","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351192937":["hashtag1","hashtag2"]},{"1351192811":["hashtag1","hashtag2"]},{"1351192867":["hashtag1","hashtag2"]},{"1351192785":["hashtag1","hashtag2"]},{"1351193012":["hashtag1","hashtag2"]},{"1351192979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351192937, 1351192811, 1351192867, 1351192785, 1351193012, 1351192979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71617674827576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:13:33.065767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_46_10342.jpg', '/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_57_10453.jpg', '/home/pi/Desktop/images/10042025/13/28/image_10042025_13_29_06_9349.jpg', '/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_16_10389.jpg', '/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_26_9336.jpg', '/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_36_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_46_10342.jpg
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_28_57_10453.jpg
/home/pi/Desktop/images/10042025/13/28/image_10042025_13_29_06_9349.jpg
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_16_10389.jpg
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_26_9336.jpg
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_36_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351193527","1351193434","1351193748","1351193658","1351193601","1351193720"],"photo_ids_order":["1351193434","1351193527","1351193601","1351193658","1351193720","1351193748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2675d4dc93c0f0988d38da2bd8c5b85e.jpg","text":"TemporaryFile(/tmp/multipartBody3520644863084255551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_28_57_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/336fad1e8da516df3c8478f40af0ec60.jpg","text":"TemporaryFile(/tmp/multipartBody5795407881004006343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_28_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5b3b5abad6583d2e6eff8d2d01343f9.jpg","text":"TemporaryFile(/tmp/multipartBody6745237256915549284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_29_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33cfe308ff39efbe145004ed62cf915c.jpg","text":"TemporaryFile(/tmp/multipartBody3469126889621730266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_29_16_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a675a8ff178fa613944bb95e71e8d5b0.jpg","text":"TemporaryFile(/tmp/multipartBody116800715475789507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_29_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6572f9e4f0ccf7863953c4660435fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8494624984694118140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294473544,"filename":"image_10042025_13_29_26_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351193601","file1":"1351193527","file0":"1351193434","file4":"1351193720","file5":"1351193748","file3":"1351193658"},"map_files_photo_id_array":[{"photo_id":"1351193748","filename":"file5"},{"photo_id":"1351193601","filename":"file2"},{"photo_id":"1351193720","filename":"file4"},{"photo_id":"1351193527","filename":"file1"},{"photo_id":"1351193434","filename":"file0"},{"photo_id":"1351193658","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351193527":["hashtag1","hashtag2"]},{"1351193434":["hashtag1","hashtag2"]},{"1351193748":["hashtag1","hashtag2"]},{"1351193658":["hashtag1","hashtag2"]},{"1351193601":["hashtag1","hashtag2"]},{"1351193720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351193527, 1351193434, 1351193748, 1351193658, 1351193601, 1351193720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.39231085777283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:14:32.177054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_46_10384.jpg', '/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_56_9397.jpg', '/home/pi/Desktop/images/10042025/13/29/image_10042025_13_30_06_10352.jpg', '/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_17_10352.jpg', '/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_26_9388.jpg', '/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_36_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_46_10384.jpg
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_29_56_9397.jpg
/home/pi/Desktop/images/10042025/13/29/image_10042025_13_30_06_10352.jpg
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_17_10352.jpg
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_26_9388.jpg
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_36_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351194028","1351194310","1351194211","1351194159","1351194271","1351194052"],"photo_ids_order":["1351194028","1351194052","1351194159","1351194211","1351194271","1351194310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5a81debb41bd03ecd8d029ab6d378d8.jpg","text":"TemporaryFile(/tmp/multipartBody7310932301130795453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_29_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b83580fdcf1a7d44c5cbe3fe3a2daaa.jpg","text":"TemporaryFile(/tmp/multipartBody7966059726193697882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_30_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62ed03bac77ca73ddd52969f12ab85e3.jpg","text":"TemporaryFile(/tmp/multipartBody1654651476998634709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_30_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/100792365d16aa25b0b986409f363b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5241440352365536727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_30_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c53c207cc47ca0a2316cf2efc3af506.jpg","text":"TemporaryFile(/tmp/multipartBody2494961561219024466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_30_26_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9170632c0c16b6f2885538b37ab0ee76.jpg","text":"TemporaryFile(/tmp/multipartBody7457207707433311287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294532661,"filename":"image_10042025_13_29_56_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351194159","file1":"1351194052","file0":"1351194028","file4":"1351194271","file5":"1351194310","file3":"1351194211"},"map_files_photo_id_array":[{"photo_id":"1351194310","filename":"file5"},{"photo_id":"1351194159","filename":"file2"},{"photo_id":"1351194271","filename":"file4"},{"photo_id":"1351194052","filename":"file1"},{"photo_id":"1351194028","filename":"file0"},{"photo_id":"1351194211","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351194028":["hashtag1","hashtag2"]},{"1351194310":["hashtag1","hashtag2"]},{"1351194211":["hashtag1","hashtag2"]},{"1351194159":["hashtag1","hashtag2"]},{"1351194271":["hashtag1","hashtag2"]},{"1351194052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351194028, 1351194310, 1351194211, 1351194159, 1351194271, 1351194052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2840461730957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:15:32.404295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_46_9352.jpg', '/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_56_10349.jpg', '/home/pi/Desktop/images/10042025/13/30/image_10042025_13_31_07_10402.jpg', '/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_16_9337.jpg', '/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_26_10354.jpg', '/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_37_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_46_9352.jpg
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_30_56_10349.jpg
/home/pi/Desktop/images/10042025/13/30/image_10042025_13_31_07_10402.jpg
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_16_9337.jpg
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_26_10354.jpg
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_37_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351194913","1351195182","1351194807","1351195049","1351195115","1351194962"],"photo_ids_order":["1351194807","1351194913","1351194962","1351195049","1351195115","1351195182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4798429b5a1d5b62dad7512b8bdaea00.jpg","text":"TemporaryFile(/tmp/multipartBody3380472758198219489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_30_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1212f8230cec07b4876cd31dbe0db855.jpg","text":"TemporaryFile(/tmp/multipartBody6743483019048422495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_31_37_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dcfd0a8dbff7606244ccaa7688079e9.jpg","text":"TemporaryFile(/tmp/multipartBody5014420150368540698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_30_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58ff0bf6102dbce2bdaa4572419f8a11.jpg","text":"TemporaryFile(/tmp/multipartBody6336242418341163377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_31_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e1a463efac78beff03db3ffce7a86b6.jpg","text":"TemporaryFile(/tmp/multipartBody7080794213784900814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_31_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/465db5ca931b44597305d0ea839ba0d7.jpg","text":"TemporaryFile(/tmp/multipartBody7900552857161976997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294592865,"filename":"image_10042025_13_31_07_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351194962","file1":"1351194913","file0":"1351194807","file4":"1351195115","file5":"1351195182","file3":"1351195049"},"map_files_photo_id_array":[{"photo_id":"1351195182","filename":"file5"},{"photo_id":"1351194962","filename":"file2"},{"photo_id":"1351195115","filename":"file4"},{"photo_id":"1351194913","filename":"file1"},{"photo_id":"1351194807","filename":"file0"},{"photo_id":"1351195049","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351194913":["hashtag1","hashtag2"]},{"1351195182":["hashtag1","hashtag2"]},{"1351194807":["hashtag1","hashtag2"]},{"1351195049":["hashtag1","hashtag2"]},{"1351195115":["hashtag1","hashtag2"]},{"1351194962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351194913, 1351195182, 1351194807, 1351195049, 1351195115, 1351194962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64182162284851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:16:32.677688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_46_9347.jpg', '/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_56_10375.jpg', '/home/pi/Desktop/images/10042025/13/31/image_10042025_13_32_06_9421.jpg', '/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_16_10361.jpg', '/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_26_10395.jpg', '/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_36_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_46_9347.jpg
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_31_56_10375.jpg
/home/pi/Desktop/images/10042025/13/31/image_10042025_13_32_06_9421.jpg
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_16_10361.jpg
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_26_10395.jpg
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_36_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351195668","1351195665","1351195595","1351195505","1351195579","1351195474"],"photo_ids_order":["1351195474","1351195505","1351195579","1351195595","1351195665","1351195668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ba91503f88fea463d2848b58fffa25c.jpg","text":"TemporaryFile(/tmp/multipartBody8142392691241662946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_32_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1125c41965ddadb7e688aece12c236e5.jpg","text":"TemporaryFile(/tmp/multipartBody8004358691687685157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_32_26_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5edf09c74d5fc7360787d52c3469c492.jpg","text":"TemporaryFile(/tmp/multipartBody3329677128572488590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_32_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9efc2698bcc1073e0168308657eb285.jpg","text":"TemporaryFile(/tmp/multipartBody526006005604266291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_31_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/256636d0540c8589deaaa1beb2d7652c.jpg","text":"TemporaryFile(/tmp/multipartBody2757060332484101128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_32_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/018f0cd91c3cb7fcbe3c7b8328428744.jpg","text":"TemporaryFile(/tmp/multipartBody7049283926244376271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294653134,"filename":"image_10042025_13_31_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351195579","file1":"1351195505","file0":"1351195474","file4":"1351195665","file5":"1351195668","file3":"1351195595"},"map_files_photo_id_array":[{"photo_id":"1351195668","filename":"file5"},{"photo_id":"1351195579","filename":"file2"},{"photo_id":"1351195665","filename":"file4"},{"photo_id":"1351195505","filename":"file1"},{"photo_id":"1351195474","filename":"file0"},{"photo_id":"1351195595","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351195668":["hashtag1","hashtag2"]},{"1351195665":["hashtag1","hashtag2"]},{"1351195595":["hashtag1","hashtag2"]},{"1351195505":["hashtag1","hashtag2"]},{"1351195579":["hashtag1","hashtag2"]},{"1351195474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351195668, 1351195665, 1351195595, 1351195505, 1351195579, 1351195474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32717823982239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:17:32.838887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_46_10365.jpg', '/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_57_10444.jpg', '/home/pi/Desktop/images/10042025/13/32/image_10042025_13_33_06_9440.jpg', '/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_16_10374.jpg', '/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_26_9365.jpg', '/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_36_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_46_10365.jpg
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_32_57_10444.jpg
/home/pi/Desktop/images/10042025/13/32/image_10042025_13_33_06_9440.jpg
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_16_10374.jpg
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_26_9365.jpg
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351195997","1351196114","1351196170","1351196194","1351196269","1351196397"],"photo_ids_order":["1351195997","1351196114","1351196170","1351196194","1351196269","1351196397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3433873d3d8ae730dc932dab83c873be.jpg","text":"TemporaryFile(/tmp/multipartBody3666344458629681520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_32_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f130ffdb4a6b3e1eb152f0eeaa0ec9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6746257902945736806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_32_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45a9aebb442aa15f8c96c7d5d54d9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4238244830622304433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_33_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c2fb69af709b33bb3fa8b2818487ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1524873518300948132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_33_16_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a341dfaa0a40396ca08314a73878cffb.jpg","text":"TemporaryFile(/tmp/multipartBody5349637308577376466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_33_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a30a4847ced0750d9a04be5f34531fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8543868610724636630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294713289,"filename":"image_10042025_13_33_36_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351196170","file1":"1351196114","file0":"1351195997","file4":"1351196269","file5":"1351196397","file3":"1351196194"},"map_files_photo_id_array":[{"photo_id":"1351196397","filename":"file5"},{"photo_id":"1351196170","filename":"file2"},{"photo_id":"1351196269","filename":"file4"},{"photo_id":"1351196114","filename":"file1"},{"photo_id":"1351195997","filename":"file0"},{"photo_id":"1351196194","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351195997":["hashtag1","hashtag2"]},{"1351196114":["hashtag1","hashtag2"]},{"1351196170":["hashtag1","hashtag2"]},{"1351196194":["hashtag1","hashtag2"]},{"1351196269":["hashtag1","hashtag2"]},{"1351196397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351195997, 1351196114, 1351196170, 1351196194, 1351196269, 1351196397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.13454747200012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:18:32.970683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_47_10334.jpg', '/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_56_9341.jpg', '/home/pi/Desktop/images/10042025/13/33/image_10042025_13_34_06_10342.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_17_10427.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_26_9340.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_36_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_47_10334.jpg
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_33_56_9341.jpg
/home/pi/Desktop/images/10042025/13/33/image_10042025_13_34_06_10342.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_17_10427.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_26_9340.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_36_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351196747","1351196723","1351196788","1351196917","1351196682","1351196958"],"photo_ids_order":["1351196682","1351196723","1351196747","1351196788","1351196917","1351196958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/924f54b353da91bb159b824ccc694188.jpg","text":"TemporaryFile(/tmp/multipartBody3972565866141418189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_34_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48c01419acdeafd68752d58f516a3d19.jpg","text":"TemporaryFile(/tmp/multipartBody1502626589006036915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_33_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/377278076ecf7000f9b2c403198e8e07.jpg","text":"TemporaryFile(/tmp/multipartBody3690157325936415952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_34_17_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba4515c1cd1bbe3412bb78f670d025ff.jpg","text":"TemporaryFile(/tmp/multipartBody3420450234518068163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_34_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fb3d1c91b8b2a9bf47104820cf33fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2769062297808118458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_33_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9a8f66f13a5f12b1f3d4a657ffcc7fe.jpg","text":"TemporaryFile(/tmp/multipartBody8360803006587439179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294773431,"filename":"image_10042025_13_34_36_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351196747","file1":"1351196723","file0":"1351196682","file4":"1351196917","file5":"1351196958","file3":"1351196788"},"map_files_photo_id_array":[{"photo_id":"1351196958","filename":"file5"},{"photo_id":"1351196747","filename":"file2"},{"photo_id":"1351196917","filename":"file4"},{"photo_id":"1351196723","filename":"file1"},{"photo_id":"1351196682","filename":"file0"},{"photo_id":"1351196788","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351196747":["hashtag1","hashtag2"]},{"1351196723":["hashtag1","hashtag2"]},{"1351196788":["hashtag1","hashtag2"]},{"1351196917":["hashtag1","hashtag2"]},{"1351196682":["hashtag1","hashtag2"]},{"1351196958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351196747, 1351196723, 1351196788, 1351196917, 1351196682, 1351196958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13228440284729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:19:33.155567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_46_9354.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_56_10428.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_35_07_10334.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_16_9349.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_26_10366.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_37_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_46_9354.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_56_10428.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_35_07_10334.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_16_9349.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_26_10366.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_37_10390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36774516105651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 16:19:45.634828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_46_9354.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_56_10428.jpg', '/home/pi/Desktop/images/10042025/13/34/image_10042025_13_35_07_10334.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_16_9349.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_26_10366.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_37_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_46_9354.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_34_56_10428.jpg
/home/pi/Desktop/images/10042025/13/34/image_10042025_13_35_07_10334.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_16_9349.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_26_10366.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_37_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351197668","1351197803","1351197868","1351197760","1351197582","1351197717"],"photo_ids_order":["1351197582","1351197668","1351197717","1351197760","1351197803","1351197868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3641b7cf790cc790f6d835af5d3faa61.jpg","text":"TemporaryFile(/tmp/multipartBody7630881676553102620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_34_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/842237355f7177189141ae171748a411.jpg","text":"TemporaryFile(/tmp/multipartBody2903595662258044599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_35_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14d29fee7f344fe0e20e463931b2d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4749423218395135715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_35_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaf0d5eb415627389ddaa4df695a5827.jpg","text":"TemporaryFile(/tmp/multipartBody973577514569552964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_35_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9d76fbfd1eb18ee745293d3efd8947f.jpg","text":"TemporaryFile(/tmp/multipartBody3637709675498914996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_34_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23d48c322705e3bab077d43b064f6ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8404984766699614520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294846094,"filename":"image_10042025_13_35_07_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351197717","file1":"1351197668","file0":"1351197582","file4":"1351197803","file5":"1351197868","file3":"1351197760"},"map_files_photo_id_array":[{"photo_id":"1351197868","filename":"file5"},{"photo_id":"1351197717","filename":"file2"},{"photo_id":"1351197803","filename":"file4"},{"photo_id":"1351197668","filename":"file1"},{"photo_id":"1351197582","filename":"file0"},{"photo_id":"1351197760","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351197668":["hashtag1","hashtag2"]},{"1351197803":["hashtag1","hashtag2"]},{"1351197868":["hashtag1","hashtag2"]},{"1351197760":["hashtag1","hashtag2"]},{"1351197582":["hashtag1","hashtag2"]},{"1351197717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351197668, 1351197803, 1351197868, 1351197760, 1351197582, 1351197717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76992344856262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:20:32.371984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_46_9376.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_56_10434.jpg', '/home/pi/Desktop/images/10042025/13/35/image_10042025_13_36_06_9376.jpg', '/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_16_10399.jpg', '/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_27_10429.jpg', '/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_36_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_46_9376.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_35_56_10434.jpg
/home/pi/Desktop/images/10042025/13/35/image_10042025_13_36_06_9376.jpg
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_16_10399.jpg
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_27_10429.jpg
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_36_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351198099","1351198171","1351198273","1351198045","1351198233","1351198094"],"photo_ids_order":["1351198045","1351198094","1351198099","1351198171","1351198233","1351198273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c0815c08393fe8a876b4568a1756044.jpg","text":"TemporaryFile(/tmp/multipartBody930109675194187107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_36_06_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/942705001618e9e124c44488623fd694.jpg","text":"TemporaryFile(/tmp/multipartBody7817000826982977577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_36_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7bca2bfc7400a61740c580ffff101cb.jpg","text":"TemporaryFile(/tmp/multipartBody8219810986338966933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_36_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8f92ab6d7db955abe524ee0570c9cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5352543839937601187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_35_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c89c204c159fee519cbed68db1f5033.jpg","text":"TemporaryFile(/tmp/multipartBody95828515517620004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_36_27_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e09c413e010249a34833282c0c697e0.jpg","text":"TemporaryFile(/tmp/multipartBody7119231235179367610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294892830,"filename":"image_10042025_13_35_56_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351198099","file1":"1351198094","file0":"1351198045","file4":"1351198233","file5":"1351198273","file3":"1351198171"},"map_files_photo_id_array":[{"photo_id":"1351198273","filename":"file5"},{"photo_id":"1351198099","filename":"file2"},{"photo_id":"1351198233","filename":"file4"},{"photo_id":"1351198094","filename":"file1"},{"photo_id":"1351198045","filename":"file0"},{"photo_id":"1351198171","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351198099":["hashtag1","hashtag2"]},{"1351198171":["hashtag1","hashtag2"]},{"1351198273":["hashtag1","hashtag2"]},{"1351198045":["hashtag1","hashtag2"]},{"1351198233":["hashtag1","hashtag2"]},{"1351198094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351198099, 1351198171, 1351198273, 1351198045, 1351198233, 1351198094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60147571563721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:21:32.593909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_47_10500.jpg', '/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_56_9369.jpg', '/home/pi/Desktop/images/10042025/13/36/image_10042025_13_37_06_10357.jpg', '/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_17_10426.jpg', '/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_26_9376.jpg', '/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_36_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_47_10500.jpg
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_36_56_9369.jpg
/home/pi/Desktop/images/10042025/13/36/image_10042025_13_37_06_10357.jpg
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_17_10426.jpg
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_26_9376.jpg
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_36_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351198715","1351198771","1351198654","1351198600","1351198668","1351198641"],"photo_ids_order":["1351198600","1351198641","1351198654","1351198668","1351198715","1351198771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7589a3ee36334dee9f6cb6d3a799c5ae.jpg","text":"TemporaryFile(/tmp/multipartBody4334976728032583076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_37_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/964704017f5e595f6be3c1b137d0e787.jpg","text":"TemporaryFile(/tmp/multipartBody4481195480229909154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_37_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77a2c596dd7b786848cb030e504c1b43.jpg","text":"TemporaryFile(/tmp/multipartBody8190567069458293359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_37_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6403912e8998d59b79f9a5f0096c5a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8238998927753697518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_36_47_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31e075e66bdac1b813615aef7058023c.jpg","text":"TemporaryFile(/tmp/multipartBody2493666693884064398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_37_17_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ca9840c3f706ed5ba562822339f7224.jpg","text":"TemporaryFile(/tmp/multipartBody174395374989819996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744294953061,"filename":"image_10042025_13_36_56_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351198654","file1":"1351198641","file0":"1351198600","file4":"1351198715","file5":"1351198771","file3":"1351198668"},"map_files_photo_id_array":[{"photo_id":"1351198771","filename":"file5"},{"photo_id":"1351198654","filename":"file2"},{"photo_id":"1351198715","filename":"file4"},{"photo_id":"1351198641","filename":"file1"},{"photo_id":"1351198600","filename":"file0"},{"photo_id":"1351198668","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351198715":["hashtag1","hashtag2"]},{"1351198771":["hashtag1","hashtag2"]},{"1351198654":["hashtag1","hashtag2"]},{"1351198600":["hashtag1","hashtag2"]},{"1351198668":["hashtag1","hashtag2"]},{"1351198641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351198715, 1351198771, 1351198654, 1351198600, 1351198668, 1351198641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.836607694625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:22:32.708929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_46_9347.jpg', '/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_56_10424.jpg', '/home/pi/Desktop/images/10042025/13/37/image_10042025_13_38_06_9454.jpg', '/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_16_10380.jpg', '/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_26_10365.jpg', '/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_36_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_46_9347.jpg
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_37_56_10424.jpg
/home/pi/Desktop/images/10042025/13/37/image_10042025_13_38_06_9454.jpg
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_16_10380.jpg
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_26_10365.jpg
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_36_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351199035","1351199076","1351198989","1351199007","1351199057","1351198967"],"photo_ids_order":["1351198967","1351198989","1351199007","1351199035","1351199057","1351199076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5481052113195b1ed0ef4c1882b786f4.jpg","text":"TemporaryFile(/tmp/multipartBody8964982023961160540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_38_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09be0cf57b15df95591e0eef2489469f.jpg","text":"TemporaryFile(/tmp/multipartBody8591090817473751865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_38_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0ab99946cbf0e019523aceb8ea8bf50.jpg","text":"TemporaryFile(/tmp/multipartBody6274248062797324623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_37_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a62931959a424e4b355811485386d7b6.jpg","text":"TemporaryFile(/tmp/multipartBody2970637729910372868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_38_06_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f3cb179b6c55c9369c884792e2b1b96.jpg","text":"TemporaryFile(/tmp/multipartBody3415428419002893265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_38_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5dc97e688785e03fc4c3b561d0e8d47.jpg","text":"TemporaryFile(/tmp/multipartBody2501416390166022702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295013177,"filename":"image_10042025_13_37_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351199007","file1":"1351198989","file0":"1351198967","file4":"1351199057","file5":"1351199076","file3":"1351199035"},"map_files_photo_id_array":[{"photo_id":"1351199076","filename":"file5"},{"photo_id":"1351199007","filename":"file2"},{"photo_id":"1351199057","filename":"file4"},{"photo_id":"1351198989","filename":"file1"},{"photo_id":"1351198967","filename":"file0"},{"photo_id":"1351199035","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351199035":["hashtag1","hashtag2"]},{"1351199076":["hashtag1","hashtag2"]},{"1351198989":["hashtag1","hashtag2"]},{"1351199007":["hashtag1","hashtag2"]},{"1351199057":["hashtag1","hashtag2"]},{"1351198967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351199035, 1351199076, 1351198989, 1351199007, 1351199057, 1351198967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.422730922698975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:23:32.842586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_46_10408.jpg', '/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_57_10477.jpg', '/home/pi/Desktop/images/10042025/13/38/image_10042025_13_39_06_9353.jpg', '/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_16_10371.jpg', '/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_26_9358.jpg', '/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_36_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_46_10408.jpg
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_38_57_10477.jpg
/home/pi/Desktop/images/10042025/13/38/image_10042025_13_39_06_9353.jpg
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_16_10371.jpg
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_26_9358.jpg
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_36_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351199674","1351199394","1351199640","1351199463","1351199505","1351199607"],"photo_ids_order":["1351199394","1351199463","1351199505","1351199607","1351199640","1351199674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/354c1c1d6c2426efa9fb57e03ad76b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1506822768323550401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_39_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63e61c348d0d8bc3fa625c94cfecf962.jpg","text":"TemporaryFile(/tmp/multipartBody8385733124657805608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_38_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b393fc176e4cd9ddd3c91ebee6884b2e.jpg","text":"TemporaryFile(/tmp/multipartBody349928060242673660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_39_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5901e514ac28f1e8984fde264c3437da.jpg","text":"TemporaryFile(/tmp/multipartBody2725624847380657137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_38_57_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd3d9ca8d3d529cfb45d72b148e0620c.jpg","text":"TemporaryFile(/tmp/multipartBody7702851743616123490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_39_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b92dc567c42c7c8a7dfdb0863b4764f1.jpg","text":"TemporaryFile(/tmp/multipartBody7838362738111327470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295078359,"filename":"image_10042025_13_39_16_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351199505","file1":"1351199463","file0":"1351199394","file4":"1351199640","file5":"1351199674","file3":"1351199607"},"map_files_photo_id_array":[{"photo_id":"1351199674","filename":"file5"},{"photo_id":"1351199505","filename":"file2"},{"photo_id":"1351199640","filename":"file4"},{"photo_id":"1351199463","filename":"file1"},{"photo_id":"1351199394","filename":"file0"},{"photo_id":"1351199607","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351199674":["hashtag1","hashtag2"]},{"1351199394":["hashtag1","hashtag2"]},{"1351199640":["hashtag1","hashtag2"]},{"1351199463":["hashtag1","hashtag2"]},{"1351199505":["hashtag1","hashtag2"]},{"1351199607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351199674, 1351199394, 1351199640, 1351199463, 1351199505, 1351199607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57598614692688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:24:32.973882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_47_10351.jpg', '/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_56_9351.jpg', '/home/pi/Desktop/images/10042025/13/39/image_10042025_13_40_06_10340.jpg', '/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_16_10082.jpg', '/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_26_9427.jpg', '/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_47_10351.jpg
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_39_56_9351.jpg
/home/pi/Desktop/images/10042025/13/39/image_10042025_13_40_06_10340.jpg
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_16_10082.jpg
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_26_9427.jpg
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351200276","1351200183","1351200234","1351200012","1351200296","1351200116"],"photo_ids_order":["1351200012","1351200116","1351200183","1351200234","1351200276","1351200296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84e1c6634883c5527b56af369a3e27a4.jpg","text":"TemporaryFile(/tmp/multipartBody8568297966469288194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_40_26_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e87fd365f1c6b102a2c897b26e63c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3353194280913842604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_40_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9d2f83ba5987d9136b505d05dbbdf71.jpg","text":"TemporaryFile(/tmp/multipartBody2714355147848938410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_40_16_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07019d15004a6d9694912354fb49c716.jpg","text":"TemporaryFile(/tmp/multipartBody1038652538760443066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_39_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f08f92d32319a6484b784842956fbdd.jpg","text":"TemporaryFile(/tmp/multipartBody7971993846428156798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_40_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ad9a39fe75d781b7fdf5ddabc552e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6643218090650213045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295133430,"filename":"image_10042025_13_39_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351200183","file1":"1351200116","file0":"1351200012","file4":"1351200276","file5":"1351200296","file3":"1351200234"},"map_files_photo_id_array":[{"photo_id":"1351200296","filename":"file5"},{"photo_id":"1351200183","filename":"file2"},{"photo_id":"1351200276","filename":"file4"},{"photo_id":"1351200116","filename":"file1"},{"photo_id":"1351200012","filename":"file0"},{"photo_id":"1351200234","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351200276":["hashtag1","hashtag2"]},{"1351200183":["hashtag1","hashtag2"]},{"1351200234":["hashtag1","hashtag2"]},{"1351200012":["hashtag1","hashtag2"]},{"1351200296":["hashtag1","hashtag2"]},{"1351200116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351200276, 1351200183, 1351200234, 1351200012, 1351200296, 1351200116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.139955282211304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:25:33.195587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_47_10448.jpg', '/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_56_9398.jpg', '/home/pi/Desktop/images/10042025/13/40/image_10042025_13_41_06_10429.jpg', '/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_16_9343.jpg', '/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_26_10434.jpg', '/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_37_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_47_10448.jpg
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_40_56_9398.jpg
/home/pi/Desktop/images/10042025/13/40/image_10042025_13_41_06_10429.jpg
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_16_9343.jpg
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_26_10434.jpg
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_37_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351200462","1351200450","1351200452","1351200472","1351200460","1351200454"],"photo_ids_order":["1351200450","1351200452","1351200454","1351200460","1351200462","1351200472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6f39136958767f372584c095a433e2f.jpg","text":"TemporaryFile(/tmp/multipartBody9059446110539134699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_41_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b66e466ca43c8a2b9b99d2492ffc9efc.jpg","text":"TemporaryFile(/tmp/multipartBody1461122471189450678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_40_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d34e7c793937e0e876e073748d801d24.jpg","text":"TemporaryFile(/tmp/multipartBody5634615294054548762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_40_56_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a9c8c11bad1a7b06ed8c2869f761738.jpg","text":"TemporaryFile(/tmp/multipartBody8492680919980273167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_41_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1fc2e4e8b364fed2454a520fe589d30.jpg","text":"TemporaryFile(/tmp/multipartBody8133832285836508961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_41_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f9255c1f33a27805003e3881ec3787d.jpg","text":"TemporaryFile(/tmp/multipartBody1855674481670859246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295193659,"filename":"image_10042025_13_41_06_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351200454","file1":"1351200452","file0":"1351200450","file4":"1351200462","file5":"1351200472","file3":"1351200460"},"map_files_photo_id_array":[{"photo_id":"1351200472","filename":"file5"},{"photo_id":"1351200454","filename":"file2"},{"photo_id":"1351200462","filename":"file4"},{"photo_id":"1351200452","filename":"file1"},{"photo_id":"1351200450","filename":"file0"},{"photo_id":"1351200460","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351200462":["hashtag1","hashtag2"]},{"1351200450":["hashtag1","hashtag2"]},{"1351200452":["hashtag1","hashtag2"]},{"1351200472":["hashtag1","hashtag2"]},{"1351200460":["hashtag1","hashtag2"]},{"1351200454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351200462, 1351200450, 1351200452, 1351200472, 1351200460, 1351200454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8712317943573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:26:32.445665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_46_9353.jpg', '/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_56_10511.jpg', '/home/pi/Desktop/images/10042025/13/41/image_10042025_13_42_06_9334.jpg', '/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_16_10373.jpg', '/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_26_10363.jpg', '/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_36_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_46_9353.jpg
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_41_56_10511.jpg
/home/pi/Desktop/images/10042025/13/41/image_10042025_13_42_06_9334.jpg
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_16_10373.jpg
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_26_10363.jpg
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_36_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351200867","1351200816","1351200819","1351200845","1351200803","1351200853"],"photo_ids_order":["1351200803","1351200816","1351200819","1351200845","1351200853","1351200867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7ec1b49ddb324d16d4162a40a2b5ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4977837539311167037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_42_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a543445454656e034ea2e1fc76e17802.jpg","text":"TemporaryFile(/tmp/multipartBody4985388689649108249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_41_56_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78cd60e110b2629b577a10eed3330b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3777696650607062655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_42_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d00623ffc032f3e8bfa3ccb2d63f9f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6751654758037659641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_42_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb735162c149b1c82880218e61b70df9.jpg","text":"TemporaryFile(/tmp/multipartBody8955161278913232830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_41_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35cc88c2838557729b53f57b80e5b412.jpg","text":"TemporaryFile(/tmp/multipartBody1751063263959140488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295252898,"filename":"image_10042025_13_42_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351200819","file1":"1351200816","file0":"1351200803","file4":"1351200853","file5":"1351200867","file3":"1351200845"},"map_files_photo_id_array":[{"photo_id":"1351200867","filename":"file5"},{"photo_id":"1351200819","filename":"file2"},{"photo_id":"1351200853","filename":"file4"},{"photo_id":"1351200816","filename":"file1"},{"photo_id":"1351200803","filename":"file0"},{"photo_id":"1351200845","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351200867":["hashtag1","hashtag2"]},{"1351200816":["hashtag1","hashtag2"]},{"1351200819":["hashtag1","hashtag2"]},{"1351200845":["hashtag1","hashtag2"]},{"1351200803":["hashtag1","hashtag2"]},{"1351200853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351200867, 1351200816, 1351200819, 1351200845, 1351200803, 1351200853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32061529159546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:27:32.578085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_46_10477.jpg', '/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_56_9446.jpg', '/home/pi/Desktop/images/10042025/13/42/image_10042025_13_43_06_10347.jpg', '/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_17_10435.jpg', '/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_26_9372.jpg', '/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_36_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_46_10477.jpg
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_42_56_9446.jpg
/home/pi/Desktop/images/10042025/13/42/image_10042025_13_43_06_10347.jpg
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_17_10435.jpg
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_26_9372.jpg
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_36_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351201101","1351201280","1351201154","1351201205","1351201127","1351201249"],"photo_ids_order":["1351201101","1351201127","1351201154","1351201205","1351201249","1351201280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/182d4aa7a4afd7df276e854ff040f233.jpg","text":"TemporaryFile(/tmp/multipartBody4647302558856019256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_42_46_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21c2f00f8c6766e036889a2c50e8a559.jpg","text":"TemporaryFile(/tmp/multipartBody1576959557457137384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_43_36_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31d787e6e12fcf047814412d31be0b89.jpg","text":"TemporaryFile(/tmp/multipartBody5045264655065792789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_43_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb97477c77671cd02ceaa0f18dbc32a4.jpg","text":"TemporaryFile(/tmp/multipartBody4186337532017257193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_43_17_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55d225d9114a6002e62a04fbbb52f993.jpg","text":"TemporaryFile(/tmp/multipartBody1159720201437736903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_42_56_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd4755b78063997b27881964235f855a.jpg","text":"TemporaryFile(/tmp/multipartBody1951747777204439887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295313034,"filename":"image_10042025_13_43_26_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351201154","file1":"1351201127","file0":"1351201101","file4":"1351201249","file5":"1351201280","file3":"1351201205"},"map_files_photo_id_array":[{"photo_id":"1351201280","filename":"file5"},{"photo_id":"1351201154","filename":"file2"},{"photo_id":"1351201249","filename":"file4"},{"photo_id":"1351201127","filename":"file1"},{"photo_id":"1351201101","filename":"file0"},{"photo_id":"1351201205","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351201101":["hashtag1","hashtag2"]},{"1351201280":["hashtag1","hashtag2"]},{"1351201154":["hashtag1","hashtag2"]},{"1351201205":["hashtag1","hashtag2"]},{"1351201127":["hashtag1","hashtag2"]},{"1351201249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351201101, 1351201280, 1351201154, 1351201205, 1351201127, 1351201249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.892137050628662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:28:32.688880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_46_9346.jpg', '/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_56_10634.jpg', '/home/pi/Desktop/images/10042025/13/43/image_10042025_13_44_06_9413.jpg', '/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_16_10346.jpg', '/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_27_10428.jpg', '/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_36_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_46_9346.jpg
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_43_56_10634.jpg
/home/pi/Desktop/images/10042025/13/43/image_10042025_13_44_06_9413.jpg
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_16_10346.jpg
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_27_10428.jpg
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_36_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351201536","1351201530","1351201568","1351201526","1351201541","1351201523"],"photo_ids_order":["1351201523","1351201526","1351201530","1351201536","1351201541","1351201568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fe4b5ec8ed2b0cfb25d87a8daff4162.jpg","text":"TemporaryFile(/tmp/multipartBody4880869284170748902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_44_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fc712b533338f9b60fbd67741291c5a.jpg","text":"TemporaryFile(/tmp/multipartBody9223033210396464659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_44_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11c6ccce804e88d3dcc81b2568ddc3e3.jpg","text":"TemporaryFile(/tmp/multipartBody6499006119973194507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_44_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d771f8453c10facfe03ef1ffb4424ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7109212822385326092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_43_56_10634.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/725983c0263076dee5373bf345aebae3.jpg","text":"TemporaryFile(/tmp/multipartBody1882823844123514095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_44_27_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12b1bb2cbdf59161ca589958a5ba18b0.jpg","text":"TemporaryFile(/tmp/multipartBody6630012230487306114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295373161,"filename":"image_10042025_13_43_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351201530","file1":"1351201526","file0":"1351201523","file4":"1351201541","file5":"1351201568","file3":"1351201536"},"map_files_photo_id_array":[{"photo_id":"1351201568","filename":"file5"},{"photo_id":"1351201530","filename":"file2"},{"photo_id":"1351201541","filename":"file4"},{"photo_id":"1351201526","filename":"file1"},{"photo_id":"1351201523","filename":"file0"},{"photo_id":"1351201536","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351201536":["hashtag1","hashtag2"]},{"1351201530":["hashtag1","hashtag2"]},{"1351201568":["hashtag1","hashtag2"]},{"1351201526":["hashtag1","hashtag2"]},{"1351201541":["hashtag1","hashtag2"]},{"1351201523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351201536, 1351201530, 1351201568, 1351201526, 1351201541, 1351201523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.656346082687378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:29:33.039318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_46_10489.jpg', '/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_56_9451.jpg', '/home/pi/Desktop/images/10042025/13/44/image_10042025_13_45_06_10420.jpg', '/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_17_10341.jpg', '/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_26_9359.jpg', '/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_36_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_46_10489.jpg
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_44_56_9451.jpg
/home/pi/Desktop/images/10042025/13/44/image_10042025_13_45_06_10420.jpg
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_17_10341.jpg
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_26_9359.jpg
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_36_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351201833","1351201892","1351201778","1351201919","1351201879","1351201807"],"photo_ids_order":["1351201778","1351201807","1351201833","1351201879","1351201892","1351201919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0df225df1255d78d38f24ba4e8a7b45.jpg","text":"TemporaryFile(/tmp/multipartBody8140189111603017640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_45_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22a4cf47d943164fe73649b905e6a581.jpg","text":"TemporaryFile(/tmp/multipartBody8849929447361752125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_45_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ccbe962b366d26f3abf374e35d28bb6.jpg","text":"TemporaryFile(/tmp/multipartBody1361876921644782096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_44_46_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50d5d0595c6843e65c443b21cea08e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7246534556509718409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_45_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f8088e944a4c950949f30d296d7ca29.jpg","text":"TemporaryFile(/tmp/multipartBody1171220104454642844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_45_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7ba61f50a457523135721119bdea984.jpg","text":"TemporaryFile(/tmp/multipartBody3773616252328575912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295433505,"filename":"image_10042025_13_44_56_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351201833","file1":"1351201807","file0":"1351201778","file4":"1351201892","file5":"1351201919","file3":"1351201879"},"map_files_photo_id_array":[{"photo_id":"1351201919","filename":"file5"},{"photo_id":"1351201833","filename":"file2"},{"photo_id":"1351201892","filename":"file4"},{"photo_id":"1351201807","filename":"file1"},{"photo_id":"1351201778","filename":"file0"},{"photo_id":"1351201879","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351201833":["hashtag1","hashtag2"]},{"1351201892":["hashtag1","hashtag2"]},{"1351201778":["hashtag1","hashtag2"]},{"1351201919":["hashtag1","hashtag2"]},{"1351201879":["hashtag1","hashtag2"]},{"1351201807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351201833, 1351201892, 1351201778, 1351201919, 1351201879, 1351201807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30801320075989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:30:33.235029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_46_9344.jpg', '/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_56_10353.jpg', '/home/pi/Desktop/images/10042025/13/45/image_10042025_13_46_07_10439.jpg', '/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_16_9356.jpg', '/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_26_10471.jpg', '/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_36_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_46_9344.jpg
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_45_56_10353.jpg
/home/pi/Desktop/images/10042025/13/45/image_10042025_13_46_07_10439.jpg
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_16_9356.jpg
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_26_10471.jpg
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_36_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351202115","1351202060","1351202045","1351202068","1351202091","1351202055"],"photo_ids_order":["1351202045","1351202055","1351202060","1351202068","1351202091","1351202115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/279971d9272d9ba8865acbcf4a4f749f.jpg","text":"TemporaryFile(/tmp/multipartBody7978620271722014097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_46_36_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9987841097ea3f42d90b522220ca8e09.jpg","text":"TemporaryFile(/tmp/multipartBody5669025278636107979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_46_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55ee343fe9b4471a593137a2e8b9554a.jpg","text":"TemporaryFile(/tmp/multipartBody5710322547753501793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_45_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a27f5c886da544829fa880b58f7f347.jpg","text":"TemporaryFile(/tmp/multipartBody5782171606443898499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_46_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/540dc18ec95b81b873ffb28e3b7ab3f9.jpg","text":"TemporaryFile(/tmp/multipartBody3430882497430651742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_46_26_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c23017e71174649ec3374222e21c831.jpg","text":"TemporaryFile(/tmp/multipartBody6422006946220826070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295493698,"filename":"image_10042025_13_45_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351202060","file1":"1351202055","file0":"1351202045","file4":"1351202091","file5":"1351202115","file3":"1351202068"},"map_files_photo_id_array":[{"photo_id":"1351202115","filename":"file5"},{"photo_id":"1351202060","filename":"file2"},{"photo_id":"1351202091","filename":"file4"},{"photo_id":"1351202055","filename":"file1"},{"photo_id":"1351202045","filename":"file0"},{"photo_id":"1351202068","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351202115":["hashtag1","hashtag2"]},{"1351202060":["hashtag1","hashtag2"]},{"1351202045":["hashtag1","hashtag2"]},{"1351202068":["hashtag1","hashtag2"]},{"1351202091":["hashtag1","hashtag2"]},{"1351202055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351202115, 1351202060, 1351202045, 1351202068, 1351202091, 1351202055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38507270812988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:31:32.187387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_46_10414.jpg', '/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_57_10465.jpg', '/home/pi/Desktop/images/10042025/13/46/image_10042025_13_47_06_9372.jpg', '/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_16_10463.jpg', '/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_26_9426.jpg', '/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_46_10414.jpg
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_46_57_10465.jpg
/home/pi/Desktop/images/10042025/13/46/image_10042025_13_47_06_9372.jpg
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_16_10463.jpg
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_26_9426.jpg
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_36_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351202351","1351202432","1351202452","1351202320","1351202370","1351202393"],"photo_ids_order":["1351202320","1351202351","1351202370","1351202393","1351202432","1351202452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d66fbf0ac860e0c2f8d4c6c056e7fedc.jpg","text":"TemporaryFile(/tmp/multipartBody5153987669268665992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_46_57_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5219fb3f2e153a16022788362ed0aabd.jpg","text":"TemporaryFile(/tmp/multipartBody4729649767773632561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_47_26_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6a82e338a6b2299157692950e6736d5.jpg","text":"TemporaryFile(/tmp/multipartBody4090206771531706423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_47_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc8484f3dec108e40d90f424642e26f8.jpg","text":"TemporaryFile(/tmp/multipartBody79901604397907186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_46_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/380d3974d597ca1f76bf68a18a6adb03.jpg","text":"TemporaryFile(/tmp/multipartBody1339262822029768297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_47_06_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/267b6ccda1c995c297963a67f0ba9b82.jpg","text":"TemporaryFile(/tmp/multipartBody2570802315689327681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295552651,"filename":"image_10042025_13_47_16_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351202370","file1":"1351202351","file0":"1351202320","file4":"1351202432","file5":"1351202452","file3":"1351202393"},"map_files_photo_id_array":[{"photo_id":"1351202452","filename":"file5"},{"photo_id":"1351202370","filename":"file2"},{"photo_id":"1351202432","filename":"file4"},{"photo_id":"1351202351","filename":"file1"},{"photo_id":"1351202320","filename":"file0"},{"photo_id":"1351202393","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351202351":["hashtag1","hashtag2"]},{"1351202432":["hashtag1","hashtag2"]},{"1351202452":["hashtag1","hashtag2"]},{"1351202320":["hashtag1","hashtag2"]},{"1351202370":["hashtag1","hashtag2"]},{"1351202393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351202351, 1351202432, 1351202452, 1351202320, 1351202370, 1351202393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11203718185425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:32:32.477697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_47_10366.jpg', '/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_56_9340.jpg', '/home/pi/Desktop/images/10042025/13/47/image_10042025_13_48_06_10341.jpg', '/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_17_10416.jpg', '/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_26_9360.jpg', '/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_36_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_47_10366.jpg
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_47_56_9340.jpg
/home/pi/Desktop/images/10042025/13/47/image_10042025_13_48_06_10341.jpg
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_17_10416.jpg
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_26_9360.jpg
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_36_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351202957","1351202954","1351202834","1351202851","1351202809","1351202931"],"photo_ids_order":["1351202809","1351202834","1351202851","1351202931","1351202954","1351202957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b15c25c2422af2e759ec7c27d43d8cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8920640027797007613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_48_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5422c5fd6bba483cf5a304d87bff9518.jpg","text":"TemporaryFile(/tmp/multipartBody8862027862598057230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_48_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a04bd748de75712095f45386ec96ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7355149275656357982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_47_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deb1631e2947c660fcec4fa99e1c21ad.jpg","text":"TemporaryFile(/tmp/multipartBody7978774479665804484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_48_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad864822e5f70ba36976efaa41a12626.jpg","text":"TemporaryFile(/tmp/multipartBody4623706064237425221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_47_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/daa98333c99b952bc4924b5484b20809.jpg","text":"TemporaryFile(/tmp/multipartBody1839292535687638127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295612936,"filename":"image_10042025_13_48_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351202851","file1":"1351202834","file0":"1351202809","file4":"1351202954","file5":"1351202957","file3":"1351202931"},"map_files_photo_id_array":[{"photo_id":"1351202957","filename":"file5"},{"photo_id":"1351202851","filename":"file2"},{"photo_id":"1351202954","filename":"file4"},{"photo_id":"1351202834","filename":"file1"},{"photo_id":"1351202809","filename":"file0"},{"photo_id":"1351202931","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351202957":["hashtag1","hashtag2"]},{"1351202954":["hashtag1","hashtag2"]},{"1351202834":["hashtag1","hashtag2"]},{"1351202851":["hashtag1","hashtag2"]},{"1351202809":["hashtag1","hashtag2"]},{"1351202931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351202957, 1351202954, 1351202834, 1351202851, 1351202809, 1351202931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.759715795516968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:33:32.586199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_46_9356.jpg', '/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_56_10375.jpg', '/home/pi/Desktop/images/10042025/13/48/image_10042025_13_49_07_10416.jpg', '/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_16_9361.jpg', '/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_26_10466.jpg', '/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_46_9356.jpg
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_48_56_10375.jpg
/home/pi/Desktop/images/10042025/13/48/image_10042025_13_49_07_10416.jpg
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_16_9361.jpg
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_26_10466.jpg
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_36_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351203253","1351203291","1351203258","1351203306","1351203284","1351203263"],"photo_ids_order":["1351203253","1351203258","1351203263","1351203284","1351203291","1351203306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed3e3c9c2d660a78d244589d627562e3.jpg","text":"TemporaryFile(/tmp/multipartBody1432782440472873592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_48_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c70ac5a59300870bed2ed1038e9cedee.jpg","text":"TemporaryFile(/tmp/multipartBody4434127701389942109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_49_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11433dc2a8d60176d772f5984c0d384f.jpg","text":"TemporaryFile(/tmp/multipartBody3337350565686540698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_48_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c5e0133d7791eaeabc7e91fb3b973fd.jpg","text":"TemporaryFile(/tmp/multipartBody7167104125587288477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_49_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3555f070e7b9b578588334d34f32244.jpg","text":"TemporaryFile(/tmp/multipartBody4617557174632160899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_49_16_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5fb2872f01d930a90a2c46adc022acf.jpg","text":"TemporaryFile(/tmp/multipartBody3793631411935277718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295673057,"filename":"image_10042025_13_49_07_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351203263","file1":"1351203258","file0":"1351203253","file4":"1351203291","file5":"1351203306","file3":"1351203284"},"map_files_photo_id_array":[{"photo_id":"1351203306","filename":"file5"},{"photo_id":"1351203263","filename":"file2"},{"photo_id":"1351203291","filename":"file4"},{"photo_id":"1351203258","filename":"file1"},{"photo_id":"1351203253","filename":"file0"},{"photo_id":"1351203284","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351203253":["hashtag1","hashtag2"]},{"1351203291":["hashtag1","hashtag2"]},{"1351203258":["hashtag1","hashtag2"]},{"1351203306":["hashtag1","hashtag2"]},{"1351203284":["hashtag1","hashtag2"]},{"1351203263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351203253, 1351203291, 1351203258, 1351203306, 1351203284, 1351203263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.51316523551941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:34:32.697020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_46_10354.jpg', '/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_57_10450.jpg', '/home/pi/Desktop/images/10042025/13/49/image_10042025_13_50_06_9401.jpg', '/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_16_10423.jpg', '/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_26_9422.jpg', '/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_46_10354.jpg
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_49_57_10450.jpg
/home/pi/Desktop/images/10042025/13/49/image_10042025_13_50_06_9401.jpg
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_16_10423.jpg
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_26_9422.jpg
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_36_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351203557","1351203602","1351203503","1351203739","1351203631","1351203680"],"photo_ids_order":["1351203503","1351203557","1351203602","1351203631","1351203680","1351203739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c004582e4c400a2d37a9eca46468c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8322134834674692824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_49_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ab265c68c2337405a7e53b9035d5434.jpg","text":"TemporaryFile(/tmp/multipartBody8727440287701860059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_50_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/771ee6edbc8caadff4f7b6e205c2336c.jpg","text":"TemporaryFile(/tmp/multipartBody1209210652539001724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_49_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93d1950feda20e86112b4b1bfdc79856.jpg","text":"TemporaryFile(/tmp/multipartBody3662241990731148885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_50_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e346f38256b7db409dbc3f81c787e34.jpg","text":"TemporaryFile(/tmp/multipartBody3665552619314629484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_50_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4105f9467192155d03347fa91cb313a3.jpg","text":"TemporaryFile(/tmp/multipartBody8192965684774850046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295733150,"filename":"image_10042025_13_50_26_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351203602","file1":"1351203557","file0":"1351203503","file4":"1351203680","file5":"1351203739","file3":"1351203631"},"map_files_photo_id_array":[{"photo_id":"1351203739","filename":"file5"},{"photo_id":"1351203602","filename":"file2"},{"photo_id":"1351203680","filename":"file4"},{"photo_id":"1351203557","filename":"file1"},{"photo_id":"1351203503","filename":"file0"},{"photo_id":"1351203631","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351203557":["hashtag1","hashtag2"]},{"1351203602":["hashtag1","hashtag2"]},{"1351203503":["hashtag1","hashtag2"]},{"1351203739":["hashtag1","hashtag2"]},{"1351203631":["hashtag1","hashtag2"]},{"1351203680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351203557, 1351203602, 1351203503, 1351203739, 1351203631, 1351203680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47947120666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:35:32.856306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_47_10358.jpg', '/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_56_9360.jpg', '/home/pi/Desktop/images/10042025/13/50/image_10042025_13_51_06_10436.jpg', '/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_16_9362.jpg', '/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_26_10419.jpg', '/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_37_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_47_10358.jpg
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_50_56_9360.jpg
/home/pi/Desktop/images/10042025/13/50/image_10042025_13_51_06_10436.jpg
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_16_9362.jpg
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_26_10419.jpg
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_37_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351204192","1351204114","1351204242","1351204152","1351204088","1351204046"],"photo_ids_order":["1351204046","1351204088","1351204114","1351204152","1351204192","1351204242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68f822a7cfd89494f81e9e34cfe1f449.jpg","text":"TemporaryFile(/tmp/multipartBody4734268729201592884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_51_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e00bbddeedaf4dfc5e37b342a215f99.jpg","text":"TemporaryFile(/tmp/multipartBody3260424647953398284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_51_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fc5ef7dd3ac58e7849b89be7329d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2473252411916626551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_51_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b76f94d07a2d053c511ec8effbfcf5d7.jpg","text":"TemporaryFile(/tmp/multipartBody7704398387092144995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_51_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c8414d4b489aa81d2f75b4342b2fbdf.jpg","text":"TemporaryFile(/tmp/multipartBody3003328319800855989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_50_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ceb76852dc5759c01fcc785cec3dcf7.jpg","text":"TemporaryFile(/tmp/multipartBody3705335814757122421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295793320,"filename":"image_10042025_13_50_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351204114","file1":"1351204088","file0":"1351204046","file4":"1351204192","file5":"1351204242","file3":"1351204152"},"map_files_photo_id_array":[{"photo_id":"1351204242","filename":"file5"},{"photo_id":"1351204114","filename":"file2"},{"photo_id":"1351204192","filename":"file4"},{"photo_id":"1351204088","filename":"file1"},{"photo_id":"1351204046","filename":"file0"},{"photo_id":"1351204152","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351204192":["hashtag1","hashtag2"]},{"1351204114":["hashtag1","hashtag2"]},{"1351204242":["hashtag1","hashtag2"]},{"1351204152":["hashtag1","hashtag2"]},{"1351204088":["hashtag1","hashtag2"]},{"1351204046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351204192, 1351204114, 1351204242, 1351204152, 1351204088, 1351204046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85585355758667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:36:33.020406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_46_9352.jpg', '/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_56_10417.jpg', '/home/pi/Desktop/images/10042025/13/51/image_10042025_13_52_06_9431.jpg', '/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_16_10397.jpg', '/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_27_10373.jpg', '/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_36_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_46_9352.jpg
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_51_56_10417.jpg
/home/pi/Desktop/images/10042025/13/51/image_10042025_13_52_06_9431.jpg
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_16_10397.jpg
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_27_10373.jpg
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_36_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351204537","1351204557","1351204565","1351204550","1351204634","1351204601"],"photo_ids_order":["1351204537","1351204550","1351204557","1351204565","1351204601","1351204634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/020b5d28a07ab04e2e70fb77336702da.jpg","text":"TemporaryFile(/tmp/multipartBody416996004852965476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_51_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8c21c7cedbcb6586e8f5636e7c3d627.jpg","text":"TemporaryFile(/tmp/multipartBody6606974806837545544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_52_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/136a638fc0ab6fe7e950f70523bc3742.jpg","text":"TemporaryFile(/tmp/multipartBody586511590895105294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_52_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9c695e459108fed9959ef3a37a29a93.jpg","text":"TemporaryFile(/tmp/multipartBody2661005799598287128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_51_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c373fb1f9a578e22365cb81dbb082259.jpg","text":"TemporaryFile(/tmp/multipartBody9015049940912899378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_52_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ac8c616c47e56ada73fd7eb4d4c180a.jpg","text":"TemporaryFile(/tmp/multipartBody27526113684265546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295853474,"filename":"image_10042025_13_52_27_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351204557","file1":"1351204550","file0":"1351204537","file4":"1351204601","file5":"1351204634","file3":"1351204565"},"map_files_photo_id_array":[{"photo_id":"1351204634","filename":"file5"},{"photo_id":"1351204557","filename":"file2"},{"photo_id":"1351204601","filename":"file4"},{"photo_id":"1351204550","filename":"file1"},{"photo_id":"1351204537","filename":"file0"},{"photo_id":"1351204565","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351204537":["hashtag1","hashtag2"]},{"1351204557":["hashtag1","hashtag2"]},{"1351204565":["hashtag1","hashtag2"]},{"1351204550":["hashtag1","hashtag2"]},{"1351204634":["hashtag1","hashtag2"]},{"1351204601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351204537, 1351204557, 1351204565, 1351204550, 1351204634, 1351204601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.729177474975586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:37:33.110689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_46_10453.jpg', '/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_56_9370.jpg', '/home/pi/Desktop/images/10042025/13/52/image_10042025_13_53_06_10442.jpg', '/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_17_10335.jpg', '/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_26_9346.jpg', '/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_36_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_46_10453.jpg
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_52_56_9370.jpg
/home/pi/Desktop/images/10042025/13/52/image_10042025_13_53_06_10442.jpg
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_17_10335.jpg
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_26_9346.jpg
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_36_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351205004","1351204983","1351204938","1351205001","1351204914","1351204952"],"photo_ids_order":["1351204914","1351204938","1351204952","1351204983","1351205001","1351205004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8df53bd76c2aa24ba926f7767b3d5ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8920167980493934222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_53_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1f95a0b486090a0acd1c6c5b792edbd.jpg","text":"TemporaryFile(/tmp/multipartBody5871859091990351595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_53_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2175215f48524313337f593fa1fb8eef.jpg","text":"TemporaryFile(/tmp/multipartBody6771826888667463658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_52_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e6d6b5d94adb1a49be18fe1934dbaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2015241925767986974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_53_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81aae09868fe4850b9c777ad8968fd85.jpg","text":"TemporaryFile(/tmp/multipartBody1893203815505956157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_52_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/743074836123ab3c13907aec8c85f301.jpg","text":"TemporaryFile(/tmp/multipartBody399196665754170881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295913565,"filename":"image_10042025_13_53_06_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351204952","file1":"1351204938","file0":"1351204914","file4":"1351205001","file5":"1351205004","file3":"1351204983"},"map_files_photo_id_array":[{"photo_id":"1351205004","filename":"file5"},{"photo_id":"1351204952","filename":"file2"},{"photo_id":"1351205001","filename":"file4"},{"photo_id":"1351204938","filename":"file1"},{"photo_id":"1351204914","filename":"file0"},{"photo_id":"1351204983","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351205004":["hashtag1","hashtag2"]},{"1351204983":["hashtag1","hashtag2"]},{"1351204938":["hashtag1","hashtag2"]},{"1351205001":["hashtag1","hashtag2"]},{"1351204914":["hashtag1","hashtag2"]},{"1351204952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351205004, 1351204983, 1351204938, 1351205001, 1351204914, 1351204952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65180802345276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:38:32.453218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_47_10357.jpg', '/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_56_9365.jpg', '/home/pi/Desktop/images/10042025/13/53/image_10042025_13_54_06_10469.jpg', '/home/pi/Desktop/images/10042025/13/54/image_10042025_13_54_16_9355.jpg', '/home/pi/Desktop/images/10042025/13/54/image_10042025_13_54_26_10412.jpg', '/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_47_10357.jpg
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_53_56_9365.jpg
/home/pi/Desktop/images/10042025/13/53/image_10042025_13_54_06_10469.jpg
/home/pi/Desktop/images/10042025/13/54/image_10042025_13_54_16_9355.jpg
/home/pi/Desktop/images/10042025/13/54/image_10042025_13_54_26_10412.jpg
/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351205200","1351205203","1351205220","1351205208","1351205192","1351205213"],"photo_ids_order":["1351205192","1351205200","1351205203","1351205208","1351205213","1351205220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb9e494ba13a4fc67c7a7edf74d371a7.jpg","text":"TemporaryFile(/tmp/multipartBody3795777469020636529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_53_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec017a6583d945206e14ca4f0c17531c.jpg","text":"TemporaryFile(/tmp/multipartBody4250590407050961882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_54_06_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15063c125d2d330bb8be9dddb5a9a07a.jpg","text":"TemporaryFile(/tmp/multipartBody2074377444046461980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_55_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fabb06932bb03f895ee4b07c75f0238.jpg","text":"TemporaryFile(/tmp/multipartBody2945146900374328809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_54_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db9afe7f734e535a01685c9361c3800d.jpg","text":"TemporaryFile(/tmp/multipartBody7143751448458661324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_53_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17c1b89093f7b5476a92fd6453d37271.jpg","text":"TemporaryFile(/tmp/multipartBody1019510913965466054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744295972909,"filename":"image_10042025_13_54_26_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351205203","file1":"1351205200","file0":"1351205192","file4":"1351205213","file5":"1351205220","file3":"1351205208"},"map_files_photo_id_array":[{"photo_id":"1351205220","filename":"file5"},{"photo_id":"1351205203","filename":"file2"},{"photo_id":"1351205213","filename":"file4"},{"photo_id":"1351205200","filename":"file1"},{"photo_id":"1351205192","filename":"file0"},{"photo_id":"1351205208","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351205200":["hashtag1","hashtag2"]},{"1351205203":["hashtag1","hashtag2"]},{"1351205220":["hashtag1","hashtag2"]},{"1351205208":["hashtag1","hashtag2"]},{"1351205192":["hashtag1","hashtag2"]},{"1351205213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351205200, 1351205203, 1351205220, 1351205208, 1351205192, 1351205213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36141777038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:39:32.613470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_36_9341.jpg', '/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_46_10343.jpg', '/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_57_10371.jpg', '/home/pi/Desktop/images/10042025/13/55/image_10042025_13_56_06_9461.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_17_10455.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_36_9341.jpg
/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_46_10343.jpg
/home/pi/Desktop/images/10042025/13/55/image_10042025_13_55_57_10371.jpg
/home/pi/Desktop/images/10042025/13/55/image_10042025_13_56_06_9461.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_17_10455.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_26_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351205458","1351205427","1351205517","1351205489","1351205398","1351205365"],"photo_ids_order":["1351205365","1351205398","1351205427","1351205458","1351205489","1351205517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2df5d0bcd7a9cdf44a76b1ceb26d3d87.jpg","text":"TemporaryFile(/tmp/multipartBody96027620176873585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_56_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f23cd9b3fcfc47b4312897a60a11fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody1620785971306784971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_55_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adbff818f5e6ad1d36a479b5ed7efef2.jpg","text":"TemporaryFile(/tmp/multipartBody8787672867134469188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_56_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/572e1e1d6c8cff28af834e0743e1803d.jpg","text":"TemporaryFile(/tmp/multipartBody8292445172953506415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_56_17_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/394516e066aae436aaa9e75179c2a9aa.jpg","text":"TemporaryFile(/tmp/multipartBody5571025640157841359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_55_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dadc2293a6b4e6f2db6908ec2767939f.jpg","text":"TemporaryFile(/tmp/multipartBody9005732978637955470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296033068,"filename":"image_10042025_13_55_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351205427","file1":"1351205398","file0":"1351205365","file4":"1351205489","file5":"1351205517","file3":"1351205458"},"map_files_photo_id_array":[{"photo_id":"1351205517","filename":"file5"},{"photo_id":"1351205427","filename":"file2"},{"photo_id":"1351205489","filename":"file4"},{"photo_id":"1351205398","filename":"file1"},{"photo_id":"1351205365","filename":"file0"},{"photo_id":"1351205458","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351205458":["hashtag1","hashtag2"]},{"1351205427":["hashtag1","hashtag2"]},{"1351205517":["hashtag1","hashtag2"]},{"1351205489":["hashtag1","hashtag2"]},{"1351205398":["hashtag1","hashtag2"]},{"1351205365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351205458, 1351205427, 1351205517, 1351205489, 1351205398, 1351205365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20597791671753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:40:32.841833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_36_10414.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_47_10356.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_56_9343.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_16_9338.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_26_10351.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_36_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_36_10414.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_47_10356.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_56_9343.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_16_9338.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_26_10351.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_36_10358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3750953674316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 16:40:42.920604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_36_10414.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_47_10356.jpg', '/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_56_9343.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_16_9338.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_26_10351.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_36_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_36_10414.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_47_10356.jpg
/home/pi/Desktop/images/10042025/13/56/image_10042025_13_56_56_9343.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_16_9338.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_26_10351.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_36_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351205833","1351205766","1351205919","1351205789","1351205890","1351205857"],"photo_ids_order":["1351205766","1351205789","1351205833","1351205857","1351205890","1351205919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c82dcf9e14b00ce7f35a70b88e27766c.jpg","text":"TemporaryFile(/tmp/multipartBody6703963122676543583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_56_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb96895e75a130b421a33d868bcf5512.jpg","text":"TemporaryFile(/tmp/multipartBody7895940625495021932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_56_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6721db44680707fff82fc419792cc84.jpg","text":"TemporaryFile(/tmp/multipartBody6524691196796199426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_57_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ccb9f7090a5ee97bc903f95800ed2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2159721266471914679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_56_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72cbbdd575c560705427768415939797.jpg","text":"TemporaryFile(/tmp/multipartBody5195259444602404693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_57_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91ee156a82e5a81fb5e5f2da6f64dad3.jpg","text":"TemporaryFile(/tmp/multipartBody1487674377135522704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296103370,"filename":"image_10042025_13_57_16_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351205833","file1":"1351205789","file0":"1351205766","file4":"1351205890","file5":"1351205919","file3":"1351205857"},"map_files_photo_id_array":[{"photo_id":"1351205919","filename":"file5"},{"photo_id":"1351205833","filename":"file2"},{"photo_id":"1351205890","filename":"file4"},{"photo_id":"1351205789","filename":"file1"},{"photo_id":"1351205766","filename":"file0"},{"photo_id":"1351205857","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351205833":["hashtag1","hashtag2"]},{"1351205766":["hashtag1","hashtag2"]},{"1351205919":["hashtag1","hashtag2"]},{"1351205789":["hashtag1","hashtag2"]},{"1351205890":["hashtag1","hashtag2"]},{"1351205857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351205833, 1351205766, 1351205919, 1351205789, 1351205890, 1351205857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89332723617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:41:32.966542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_46_9363.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_56_10364.jpg', '/home/pi/Desktop/images/10042025/13/57/image_10042025_13_58_07_10444.jpg', '/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_16_9347.jpg', '/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_27_10524.jpg', '/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_36_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_46_9363.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_57_56_10364.jpg
/home/pi/Desktop/images/10042025/13/57/image_10042025_13_58_07_10444.jpg
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_16_9347.jpg
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_27_10524.jpg
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_36_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351205979","1351205964","1351205955","1351205958","1351205951","1351205960"],"photo_ids_order":["1351205951","1351205955","1351205958","1351205960","1351205964","1351205979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/054eefef2538ee975921bcfd2e383390.jpg","text":"TemporaryFile(/tmp/multipartBody1102208454983055332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_58_36_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c12d6963eb37ebd29953fb760143dea4.jpg","text":"TemporaryFile(/tmp/multipartBody2450376887965696968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_58_27_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62e64c21d168510141f7c3d00ae0b660.jpg","text":"TemporaryFile(/tmp/multipartBody2524724501592685267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_57_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/713b3580a1e8e47a566cea73909c9d42.jpg","text":"TemporaryFile(/tmp/multipartBody6093197760292995845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_58_07_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/168bac58d97151a3dca5d64d803a34c3.jpg","text":"TemporaryFile(/tmp/multipartBody698733702728245026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_57_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b776df534d3b3d6ffe37b0d0bde724a6.jpg","text":"TemporaryFile(/tmp/multipartBody5441823630742025066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296153423,"filename":"image_10042025_13_58_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351205958","file1":"1351205955","file0":"1351205951","file4":"1351205964","file5":"1351205979","file3":"1351205960"},"map_files_photo_id_array":[{"photo_id":"1351205979","filename":"file5"},{"photo_id":"1351205958","filename":"file2"},{"photo_id":"1351205964","filename":"file4"},{"photo_id":"1351205955","filename":"file1"},{"photo_id":"1351205951","filename":"file0"},{"photo_id":"1351205960","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351205979":["hashtag1","hashtag2"]},{"1351205964":["hashtag1","hashtag2"]},{"1351205955":["hashtag1","hashtag2"]},{"1351205958":["hashtag1","hashtag2"]},{"1351205951":["hashtag1","hashtag2"]},{"1351205960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351205979, 1351205964, 1351205955, 1351205958, 1351205951, 1351205960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.595654010772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:42:33.228263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_46_10340.jpg', '/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_57_10413.jpg', '/home/pi/Desktop/images/10042025/13/58/image_10042025_13_59_06_9332.jpg', '/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_16_10469.jpg', '/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_26_9462.jpg', '/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_36_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_46_10340.jpg
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_58_57_10413.jpg
/home/pi/Desktop/images/10042025/13/58/image_10042025_13_59_06_9332.jpg
/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_16_10469.jpg
/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_26_9462.jpg
/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_36_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351206219","1351206222","1351206173","1351206151","1351206154","1351206148"],"photo_ids_order":["1351206148","1351206151","1351206154","1351206173","1351206219","1351206222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcbdc8d9a7c1352f08169ff639522270.jpg","text":"TemporaryFile(/tmp/multipartBody6897773819250743053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_59_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af148721bc4a3342d74c2d5761948a5b.jpg","text":"TemporaryFile(/tmp/multipartBody525265085562041254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_59_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfadefb4f778f3a9b9f61116435c1d98.jpg","text":"TemporaryFile(/tmp/multipartBody1899933813480292397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_59_16_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c564abb2a8a999703cb3a1b6a0c62103.jpg","text":"TemporaryFile(/tmp/multipartBody4468423069621527121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_58_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b889bbe84c4237dee0b9d2e129bac6ef.jpg","text":"TemporaryFile(/tmp/multipartBody3447352515306107434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_59_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aae4cb94268e25ab14dde2e207f09227.jpg","text":"TemporaryFile(/tmp/multipartBody6006506474176229199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296213693,"filename":"image_10042025_13_58_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351206154","file1":"1351206151","file0":"1351206148","file4":"1351206219","file5":"1351206222","file3":"1351206173"},"map_files_photo_id_array":[{"photo_id":"1351206222","filename":"file5"},{"photo_id":"1351206154","filename":"file2"},{"photo_id":"1351206219","filename":"file4"},{"photo_id":"1351206151","filename":"file1"},{"photo_id":"1351206148","filename":"file0"},{"photo_id":"1351206173","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351206219":["hashtag1","hashtag2"]},{"1351206222":["hashtag1","hashtag2"]},{"1351206173":["hashtag1","hashtag2"]},{"1351206151":["hashtag1","hashtag2"]},{"1351206154":["hashtag1","hashtag2"]},{"1351206148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351206219, 1351206222, 1351206173, 1351206151, 1351206154, 1351206148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31042003631592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:43:32.239126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_47_10366.jpg', '/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_56_9349.jpg', '/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_16_10078.jpg', '/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_26_10385.jpg', '/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_36_10378.jpg', '/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_46_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_47_10366.jpg
/home/pi/Desktop/images/10042025/13/59/image_10042025_13_59_56_9349.jpg
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_16_10078.jpg
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_26_10385.jpg
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_36_10378.jpg
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_46_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351206887","1351206810","1351206599","1351206694","1351206506","1351206874"],"photo_ids_order":["1351206506","1351206599","1351206694","1351206810","1351206874","1351206887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9de449e2255f23220356ffd9e5c72091.jpg","text":"TemporaryFile(/tmp/multipartBody1926931827752830123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_14_00_46_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/087b89b5d8923cb7600628c503d9e843.jpg","text":"TemporaryFile(/tmp/multipartBody7432960444360916104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_14_00_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57d924240ea847f57a0295e83bc4bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3627539333385497949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_13_59_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16f3f502a061f5ca8c0c725d7d08e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8301615957514890518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_14_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/987a2f630ee8c7cb423cb746fa7bfca7.jpg","text":"TemporaryFile(/tmp/multipartBody350627724927424074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_13_59_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fc00cf1081e7fb4c0f6d8f51e20dae3.jpg","text":"TemporaryFile(/tmp/multipartBody6336771290282688786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296272683,"filename":"image_10042025_14_00_36_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351206694","file1":"1351206599","file0":"1351206506","file4":"1351206874","file5":"1351206887","file3":"1351206810"},"map_files_photo_id_array":[{"photo_id":"1351206887","filename":"file5"},{"photo_id":"1351206694","filename":"file2"},{"photo_id":"1351206874","filename":"file4"},{"photo_id":"1351206599","filename":"file1"},{"photo_id":"1351206506","filename":"file0"},{"photo_id":"1351206810","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351206887":["hashtag1","hashtag2"]},{"1351206810":["hashtag1","hashtag2"]},{"1351206599":["hashtag1","hashtag2"]},{"1351206694":["hashtag1","hashtag2"]},{"1351206506":["hashtag1","hashtag2"]},{"1351206874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351206887, 1351206810, 1351206599, 1351206694, 1351206506, 1351206874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40389323234558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:44:32.503723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_56_10375.jpg', '/home/pi/Desktop/images/10042025/14/00/image_10042025_14_01_05_9418.jpg', '/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_16_10375.jpg', '/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_26_10351.jpg', '/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_36_9429.jpg', '/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_46_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_00_56_10375.jpg
/home/pi/Desktop/images/10042025/14/00/image_10042025_14_01_05_9418.jpg
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_16_10375.jpg
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_26_10351.jpg
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_36_9429.jpg
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_46_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351207305","1351207295","1351207300","1351207290","1351207303","1351207296"],"photo_ids_order":["1351207290","1351207295","1351207296","1351207300","1351207303","1351207305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3469693e2732607ff6d8714ab31550c.jpg","text":"TemporaryFile(/tmp/multipartBody7621716306829738649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_01_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29c483b1b330f1064b9fdb6738a8ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody7504921572604631986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_01_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f779bebacd8e2b2c04dc8a7e460650b.jpg","text":"TemporaryFile(/tmp/multipartBody9204307581050329413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_01_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68088de0f7b8ee0e2c65efb65c59632c.jpg","text":"TemporaryFile(/tmp/multipartBody5221852965939181647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_00_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd660ee6bc7df59c524f8a442d12dbad.jpg","text":"TemporaryFile(/tmp/multipartBody182765676152204099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_01_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4ce58694a1b5d5c92733041ffaeb08f.jpg","text":"TemporaryFile(/tmp/multipartBody6979653208059931768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296332951,"filename":"image_10042025_14_01_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351207296","file1":"1351207295","file0":"1351207290","file4":"1351207303","file5":"1351207305","file3":"1351207300"},"map_files_photo_id_array":[{"photo_id":"1351207305","filename":"file5"},{"photo_id":"1351207296","filename":"file2"},{"photo_id":"1351207303","filename":"file4"},{"photo_id":"1351207295","filename":"file1"},{"photo_id":"1351207290","filename":"file0"},{"photo_id":"1351207300","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351207305":["hashtag1","hashtag2"]},{"1351207295":["hashtag1","hashtag2"]},{"1351207300":["hashtag1","hashtag2"]},{"1351207290":["hashtag1","hashtag2"]},{"1351207303":["hashtag1","hashtag2"]},{"1351207296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351207305, 1351207295, 1351207300, 1351207290, 1351207303, 1351207296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01489472389221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:45:32.702305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_56_10430.jpg', '/home/pi/Desktop/images/10042025/14/01/image_10042025_14_02_06_9345.jpg', '/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_25_9361.jpg', '/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_36_10313.jpg', '/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_46_10363.jpg', '/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_56_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_01_56_10430.jpg
/home/pi/Desktop/images/10042025/14/01/image_10042025_14_02_06_9345.jpg
/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_25_9361.jpg
/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_36_10313.jpg
/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_46_10363.jpg
/home/pi/Desktop/images/10042025/14/02/image_10042025_14_02_56_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351207358","1351207373","1351207369","1351207366","1351207371","1351207353"],"photo_ids_order":["1351207353","1351207358","1351207366","1351207369","1351207371","1351207373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16c47f11e356bf3b84740dcbf4380c03.jpg","text":"TemporaryFile(/tmp/multipartBody5628170278401602878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_02_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62d50defce62292499838f2f976fe262.jpg","text":"TemporaryFile(/tmp/multipartBody4463208909431501065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_02_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abb6f3891399f1b58af0c1128cc75266.jpg","text":"TemporaryFile(/tmp/multipartBody8980814909603947125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_02_36_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/334fe70fdb6ae29ae3c8fe6fb4b1e294.jpg","text":"TemporaryFile(/tmp/multipartBody8091185536024888437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_02_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df0f2a5e76a9896a5fbcf85bb6727557.jpg","text":"TemporaryFile(/tmp/multipartBody1264644309129322024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_02_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10d36e6641c233fcc7e6ef8eb07ad67d.jpg","text":"TemporaryFile(/tmp/multipartBody3013544278804645303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296393161,"filename":"image_10042025_14_01_56_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351207366","file1":"1351207358","file0":"1351207353","file4":"1351207371","file5":"1351207373","file3":"1351207369"},"map_files_photo_id_array":[{"photo_id":"1351207373","filename":"file5"},{"photo_id":"1351207366","filename":"file2"},{"photo_id":"1351207371","filename":"file4"},{"photo_id":"1351207358","filename":"file1"},{"photo_id":"1351207353","filename":"file0"},{"photo_id":"1351207369","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351207358":["hashtag1","hashtag2"]},{"1351207373":["hashtag1","hashtag2"]},{"1351207369":["hashtag1","hashtag2"]},{"1351207366":["hashtag1","hashtag2"]},{"1351207371":["hashtag1","hashtag2"]},{"1351207353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351207358, 1351207373, 1351207369, 1351207366, 1351207371, 1351207353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00652551651001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:46:32.856919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/02/image_10042025_14_03_06_10441.jpg', '/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_15_9467.jpg', '/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_26_10378.jpg', '/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_36_10349.jpg', '/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_46_9452.jpg', '/home/pi/Desktop/images/10042025/14/03/image_10042025_14_04_05_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/02/image_10042025_14_03_06_10441.jpg
/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_15_9467.jpg
/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_26_10378.jpg
/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_36_10349.jpg
/home/pi/Desktop/images/10042025/14/03/image_10042025_14_03_46_9452.jpg
/home/pi/Desktop/images/10042025/14/03/image_10042025_14_04_05_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351207740","1351207589","1351207775","1351207664","1351207705","1351207632"],"photo_ids_order":["1351207589","1351207632","1351207664","1351207705","1351207740","1351207775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75953edca4769089000db263ec2cbf82.jpg","text":"TemporaryFile(/tmp/multipartBody2906621999963038059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_03_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0708a1755cee4b9633927ddb0e597e2.jpg","text":"TemporaryFile(/tmp/multipartBody4817675367393819934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_03_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d59e557c202cefb6501ea117978c0a29.jpg","text":"TemporaryFile(/tmp/multipartBody9091806438821100302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_04_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88c2659aeb0ca7554f4f890386ff89ae.jpg","text":"TemporaryFile(/tmp/multipartBody8655593273580173694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_03_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e7e16a0f2f3d6b9850e116b556ee46e.jpg","text":"TemporaryFile(/tmp/multipartBody1425163137564807325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_03_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d9575378b42d23654c0aa890f18596b.jpg","text":"TemporaryFile(/tmp/multipartBody6555100781241953008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296453319,"filename":"image_10042025_14_03_15_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351207664","file1":"1351207632","file0":"1351207589","file4":"1351207740","file5":"1351207775","file3":"1351207705"},"map_files_photo_id_array":[{"photo_id":"1351207775","filename":"file5"},{"photo_id":"1351207664","filename":"file2"},{"photo_id":"1351207740","filename":"file4"},{"photo_id":"1351207632","filename":"file1"},{"photo_id":"1351207589","filename":"file0"},{"photo_id":"1351207705","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351207740":["hashtag1","hashtag2"]},{"1351207589":["hashtag1","hashtag2"]},{"1351207775":["hashtag1","hashtag2"]},{"1351207664":["hashtag1","hashtag2"]},{"1351207705":["hashtag1","hashtag2"]},{"1351207632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351207740, 1351207589, 1351207775, 1351207664, 1351207705, 1351207632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.833985567092896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:47:33.038741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_16_10342.jpg', '/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_26_10348.jpg', '/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_36_9439.jpg', '/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_46_10362.jpg', '/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_16_10353.jpg', '/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_26_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_16_10342.jpg
/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_26_10348.jpg
/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_36_9439.jpg
/home/pi/Desktop/images/10042025/14/04/image_10042025_14_04_46_10362.jpg
/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_16_10353.jpg
/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_26_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351208087","1351208069","1351208155","1351208131","1351208206","1351208082"],"photo_ids_order":["1351208069","1351208082","1351208087","1351208131","1351208155","1351208206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8260ce7a93e2c4a39a2e7bca85d34116.jpg","text":"TemporaryFile(/tmp/multipartBody3799589725910879142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_04_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6c2687918d10863dde9db43cbff0674.jpg","text":"TemporaryFile(/tmp/multipartBody2133197528937380223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_04_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ed226b583aa486878aa18d7f843f984.jpg","text":"TemporaryFile(/tmp/multipartBody6690284436297412721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_05_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a37fb52f55a1c2243ccffd156713014.jpg","text":"TemporaryFile(/tmp/multipartBody8064984432442033426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_04_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4261ba3ebb3073705c47264583c4b9be.jpg","text":"TemporaryFile(/tmp/multipartBody6706859931794198233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_05_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c984a8464f96febe9617d50ea5d78a6.jpg","text":"TemporaryFile(/tmp/multipartBody5932898006120366174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296513495,"filename":"image_10042025_14_04_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351208087","file1":"1351208082","file0":"1351208069","file4":"1351208155","file5":"1351208206","file3":"1351208131"},"map_files_photo_id_array":[{"photo_id":"1351208206","filename":"file5"},{"photo_id":"1351208087","filename":"file2"},{"photo_id":"1351208155","filename":"file4"},{"photo_id":"1351208082","filename":"file1"},{"photo_id":"1351208069","filename":"file0"},{"photo_id":"1351208131","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351208087":["hashtag1","hashtag2"]},{"1351208069":["hashtag1","hashtag2"]},{"1351208155":["hashtag1","hashtag2"]},{"1351208131":["hashtag1","hashtag2"]},{"1351208206":["hashtag1","hashtag2"]},{"1351208082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351208087, 1351208069, 1351208155, 1351208131, 1351208206, 1351208082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56205224990845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:48:32.171560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_46_10335.jpg', '/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_56_9400.jpg', '/home/pi/Desktop/images/10042025/14/05/image_10042025_14_06_06_10339.jpg', '/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_16_10357.jpg', '/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_26_9416.jpg', '/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_46_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_46_10335.jpg
/home/pi/Desktop/images/10042025/14/05/image_10042025_14_05_56_9400.jpg
/home/pi/Desktop/images/10042025/14/05/image_10042025_14_06_06_10339.jpg
/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_16_10357.jpg
/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_26_9416.jpg
/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_46_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351208489","1351208659","1351208566","1351208611","1351208463","1351208535"],"photo_ids_order":["1351208463","1351208489","1351208535","1351208566","1351208611","1351208659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/944d5a5547394b14395b6d82f10d6f68.jpg","text":"TemporaryFile(/tmp/multipartBody3563741919965210218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_05_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b00720c08fdb41d7cd0ebd6fa0d1c57.jpg","text":"TemporaryFile(/tmp/multipartBody2716079947149439352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_06_46_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c751e95d29652d4c7cc76e201b97bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5008648483114915797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_06_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8be64cbff2cd036392fa84f821a62554.jpg","text":"TemporaryFile(/tmp/multipartBody2687539172811583858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_06_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cfd200e43e671592e4d1e9c5a4636f23.jpg","text":"TemporaryFile(/tmp/multipartBody2734189651273085659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_05_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/716391a92c478e876560e1362fe78866.jpg","text":"TemporaryFile(/tmp/multipartBody4708865242036163817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296572619,"filename":"image_10042025_14_06_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351208535","file1":"1351208489","file0":"1351208463","file4":"1351208611","file5":"1351208659","file3":"1351208566"},"map_files_photo_id_array":[{"photo_id":"1351208659","filename":"file5"},{"photo_id":"1351208535","filename":"file2"},{"photo_id":"1351208611","filename":"file4"},{"photo_id":"1351208489","filename":"file1"},{"photo_id":"1351208463","filename":"file0"},{"photo_id":"1351208566","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351208489":["hashtag1","hashtag2"]},{"1351208659":["hashtag1","hashtag2"]},{"1351208566":["hashtag1","hashtag2"]},{"1351208611":["hashtag1","hashtag2"]},{"1351208463":["hashtag1","hashtag2"]},{"1351208535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351208489, 1351208659, 1351208566, 1351208611, 1351208463, 1351208535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.278520584106445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:49:32.415706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_56_10437.jpg', '/home/pi/Desktop/images/10042025/14/06/image_10042025_14_07_06_10450.jpg', '/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_16_9118.jpg', '/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_46_9456.jpg', '/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_56_9904.jpg', '/home/pi/Desktop/images/10042025/14/07/image_10042025_14_08_06_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/06/image_10042025_14_06_56_10437.jpg
/home/pi/Desktop/images/10042025/14/06/image_10042025_14_07_06_10450.jpg
/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_16_9118.jpg
/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_46_9456.jpg
/home/pi/Desktop/images/10042025/14/07/image_10042025_14_07_56_9904.jpg
/home/pi/Desktop/images/10042025/14/07/image_10042025_14_08_06_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351209812","1351209416","1351209946","1351209349","1351209714","1351209590"],"photo_ids_order":["1351209349","1351209416","1351209590","1351209714","1351209812","1351209946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdb51114a371970be7eb6acfda991296.jpg","text":"TemporaryFile(/tmp/multipartBody4462251800384327972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_07_56_9904.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/420c099d2bffa9f4730279697f715d40.jpg","text":"TemporaryFile(/tmp/multipartBody7471495639546790428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_07_06_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/686af3a3e44125b0310d9d513aa950d5.jpg","text":"TemporaryFile(/tmp/multipartBody5865257508798330885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_08_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/109d2bd804ecec64ef10d198e0858812.jpg","text":"TemporaryFile(/tmp/multipartBody7620046719278910937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_06_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a80e8a8343379b193fdb178542e2c87.jpg","text":"TemporaryFile(/tmp/multipartBody2522059184909898900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_07_46_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2f4e9c01a56fd6130566690e7dd6dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7954951523862012218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296632886,"filename":"image_10042025_14_07_16_9118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351209590","file1":"1351209416","file0":"1351209349","file4":"1351209812","file5":"1351209946","file3":"1351209714"},"map_files_photo_id_array":[{"photo_id":"1351209946","filename":"file5"},{"photo_id":"1351209590","filename":"file2"},{"photo_id":"1351209812","filename":"file4"},{"photo_id":"1351209416","filename":"file1"},{"photo_id":"1351209349","filename":"file0"},{"photo_id":"1351209714","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351209812":["hashtag1","hashtag2"]},{"1351209416":["hashtag1","hashtag2"]},{"1351209946":["hashtag1","hashtag2"]},{"1351209349":["hashtag1","hashtag2"]},{"1351209714":["hashtag1","hashtag2"]},{"1351209590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351209812, 1351209416, 1351209946, 1351209349, 1351209714, 1351209590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60573673248291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:50:32.529388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_15_9426.jpg', '/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_26_10350.jpg', '/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_36_10356.jpg', '/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_46_9348.jpg', '/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_56_10360.jpg', '/home/pi/Desktop/images/10042025/14/08/image_10042025_14_09_06_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_15_9426.jpg
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_26_10350.jpg
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_36_10356.jpg
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_46_9348.jpg
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_08_56_10360.jpg
/home/pi/Desktop/images/10042025/14/08/image_10042025_14_09_06_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351210430","1351210706","1351210681","1351210618","1351210402","1351210595"],"photo_ids_order":["1351210402","1351210430","1351210595","1351210618","1351210681","1351210706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd8344cac5e8bd8d5465add98a1732bb.jpg","text":"TemporaryFile(/tmp/multipartBody1136682111001419543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_08_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/258a9d1d932dd7bc783b815141bcfce4.jpg","text":"TemporaryFile(/tmp/multipartBody7557907407123346242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_09_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cacd17f93b19da5c260062be1826cc14.jpg","text":"TemporaryFile(/tmp/multipartBody7003306519265103997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_08_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee0d103f44413c4c986c3901c653e20b.jpg","text":"TemporaryFile(/tmp/multipartBody6526805525878564831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_08_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ac9f56eed41d651dd88470603f185bd.jpg","text":"TemporaryFile(/tmp/multipartBody8774712212153247139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_08_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2266035eda59c4c727979c908965252.jpg","text":"TemporaryFile(/tmp/multipartBody6741155819486961570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296692989,"filename":"image_10042025_14_08_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351210595","file1":"1351210430","file0":"1351210402","file4":"1351210681","file5":"1351210706","file3":"1351210618"},"map_files_photo_id_array":[{"photo_id":"1351210706","filename":"file5"},{"photo_id":"1351210595","filename":"file2"},{"photo_id":"1351210681","filename":"file4"},{"photo_id":"1351210430","filename":"file1"},{"photo_id":"1351210402","filename":"file0"},{"photo_id":"1351210618","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351210430":["hashtag1","hashtag2"]},{"1351210706":["hashtag1","hashtag2"]},{"1351210681":["hashtag1","hashtag2"]},{"1351210618":["hashtag1","hashtag2"]},{"1351210402":["hashtag1","hashtag2"]},{"1351210595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351210430, 1351210706, 1351210681, 1351210618, 1351210402, 1351210595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93458390235901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:51:32.756970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_16_9349.jpg', '/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_26_10372.jpg', '/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_35_9382.jpg', '/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_46_10356.jpg', '/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_56_10451.jpg', '/home/pi/Desktop/images/10042025/14/09/image_10042025_14_10_06_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_16_9349.jpg
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_26_10372.jpg
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_35_9382.jpg
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_46_10356.jpg
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_09_56_10451.jpg
/home/pi/Desktop/images/10042025/14/09/image_10042025_14_10_06_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351211191","1351210980","1351210959","1351211100","1351211063","1351210865"],"photo_ids_order":["1351210865","1351210959","1351210980","1351211063","1351211100","1351211191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd5e7ffaf16c4beacbd19c2469ad0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6366644313380930815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_10_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fc0db2ace1e3ea8783eb9fff32d2a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6710485734342793787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_09_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa13abc3f31e08eccc0f71800721fc6a.jpg","text":"TemporaryFile(/tmp/multipartBody741109450006829435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_09_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baf2015cd783ef62db529c5e7c91b3da.jpg","text":"TemporaryFile(/tmp/multipartBody6563713447501945313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_09_56_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71f45763a93d49ab53f909ef16736660.jpg","text":"TemporaryFile(/tmp/multipartBody4025975658309147817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_09_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90e043e4656fc8f362a01a61582e9aab.jpg","text":"TemporaryFile(/tmp/multipartBody2925453365215390942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296753206,"filename":"image_10042025_14_09_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351210980","file1":"1351210959","file0":"1351210865","file4":"1351211100","file5":"1351211191","file3":"1351211063"},"map_files_photo_id_array":[{"photo_id":"1351211191","filename":"file5"},{"photo_id":"1351210980","filename":"file2"},{"photo_id":"1351211100","filename":"file4"},{"photo_id":"1351210959","filename":"file1"},{"photo_id":"1351210865","filename":"file0"},{"photo_id":"1351211063","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351211191":["hashtag1","hashtag2"]},{"1351210980":["hashtag1","hashtag2"]},{"1351210959":["hashtag1","hashtag2"]},{"1351211100":["hashtag1","hashtag2"]},{"1351211063":["hashtag1","hashtag2"]},{"1351210865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351211191, 1351210980, 1351210959, 1351211100, 1351211063, 1351210865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23761820793152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:52:33.141156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_16_10411.jpg', '/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_25_9475.jpg', '/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_36_10335.jpg', '/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_46_10421.jpg', '/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_56_9336.jpg', '/home/pi/Desktop/images/10042025/14/10/image_10042025_14_11_06_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_16_10411.jpg
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_25_9475.jpg
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_36_10335.jpg
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_46_10421.jpg
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_10_56_9336.jpg
/home/pi/Desktop/images/10042025/14/10/image_10042025_14_11_06_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351211513","1351211578","1351211479","1351211541","1351211634","1351211456"],"photo_ids_order":["1351211456","1351211479","1351211513","1351211541","1351211578","1351211634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0f773420d29e21aa402dda0ca9156b8.jpg","text":"TemporaryFile(/tmp/multipartBody709829320287653599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_10_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbd36453d91e00274d7e63a06d3c70f2.jpg","text":"TemporaryFile(/tmp/multipartBody1051011545933394479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_10_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2459594625e7548c5b59c184c7163c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7636636546980203799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_10_25_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8e431ed314d6259cf9b7ef7a94bdd11.jpg","text":"TemporaryFile(/tmp/multipartBody3316994702452041647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_10_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c56d997c00c95841400676a67b575fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7415422768701842937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_11_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd066a3db8e53342c2e36c07c2bd8ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1528881835893530415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296813591,"filename":"image_10042025_14_10_16_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351211513","file1":"1351211479","file0":"1351211456","file4":"1351211578","file5":"1351211634","file3":"1351211541"},"map_files_photo_id_array":[{"photo_id":"1351211634","filename":"file5"},{"photo_id":"1351211513","filename":"file2"},{"photo_id":"1351211578","filename":"file4"},{"photo_id":"1351211479","filename":"file1"},{"photo_id":"1351211456","filename":"file0"},{"photo_id":"1351211541","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351211513":["hashtag1","hashtag2"]},{"1351211578":["hashtag1","hashtag2"]},{"1351211479":["hashtag1","hashtag2"]},{"1351211541":["hashtag1","hashtag2"]},{"1351211634":["hashtag1","hashtag2"]},{"1351211456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351211513, 1351211578, 1351211479, 1351211541, 1351211634, 1351211456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07111477851868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:53:32.220112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_16_10342.jpg', '/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_26_9396.jpg', '/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_36_10341.jpg', '/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_45_9444.jpg', '/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_56_10366.jpg', '/home/pi/Desktop/images/10042025/14/11/image_10042025_14_12_06_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_16_10342.jpg
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_26_9396.jpg
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_36_10341.jpg
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_45_9444.jpg
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_11_56_10366.jpg
/home/pi/Desktop/images/10042025/14/11/image_10042025_14_12_06_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351212084","1351212060","1351212033","1351212012","1351212114","1351211946"],"photo_ids_order":["1351211946","1351212012","1351212033","1351212060","1351212084","1351212114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f961d548c36df548924c459f54271db0.jpg","text":"TemporaryFile(/tmp/multipartBody8680068281750428755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_11_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc5c7ccc7587767251588463046d5f49.jpg","text":"TemporaryFile(/tmp/multipartBody2152481490023371507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_11_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7054c2a29147a232fe1d759b1cbdfec.jpg","text":"TemporaryFile(/tmp/multipartBody9035575185740561981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_11_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/531e9768c3133126b36939136ceab943.jpg","text":"TemporaryFile(/tmp/multipartBody8491575194082369270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_11_26_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db87ba47fdca0455aa87ef255afded66.jpg","text":"TemporaryFile(/tmp/multipartBody5582008180174552014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_12_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea4350d5e60d623e8d048daf487d4f17.jpg","text":"TemporaryFile(/tmp/multipartBody2731275674507212554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296872685,"filename":"image_10042025_14_11_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351212033","file1":"1351212012","file0":"1351211946","file4":"1351212084","file5":"1351212114","file3":"1351212060"},"map_files_photo_id_array":[{"photo_id":"1351212114","filename":"file5"},{"photo_id":"1351212033","filename":"file2"},{"photo_id":"1351212084","filename":"file4"},{"photo_id":"1351212012","filename":"file1"},{"photo_id":"1351211946","filename":"file0"},{"photo_id":"1351212060","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351212084":["hashtag1","hashtag2"]},{"1351212060":["hashtag1","hashtag2"]},{"1351212033":["hashtag1","hashtag2"]},{"1351212012":["hashtag1","hashtag2"]},{"1351212114":["hashtag1","hashtag2"]},{"1351211946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351212084, 1351212060, 1351212033, 1351212012, 1351212114, 1351211946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.162639141082764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:54:32.420196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_16_9418.jpg', '/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_36_10399.jpg', '/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_46_9378.jpg', '/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_56_10371.jpg', '/home/pi/Desktop/images/10042025/14/12/image_10042025_14_13_05_9354.jpg', '/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_16_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_16_9418.jpg
/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_36_10399.jpg
/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_46_9378.jpg
/home/pi/Desktop/images/10042025/14/12/image_10042025_14_12_56_10371.jpg
/home/pi/Desktop/images/10042025/14/12/image_10042025_14_13_05_9354.jpg
/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_16_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351212364","1351212274","1351212409","1351212301","1351212335","1351212388"],"photo_ids_order":["1351212274","1351212301","1351212335","1351212364","1351212388","1351212409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/905716bc6c90a8960d89cd8ad9e9b35d.jpg","text":"TemporaryFile(/tmp/multipartBody4897214426743423142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_12_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c692cb58e0f470c0134bcd0491fba581.jpg","text":"TemporaryFile(/tmp/multipartBody8809240339901950481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_12_16_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5925eaba8503ba641fb71fdc934dd0df.jpg","text":"TemporaryFile(/tmp/multipartBody3026169801433648796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_13_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b534db40b6a7a9e3f57aad0efdb9f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody5496471920583093301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_12_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7398e0557b808cbdb7e3ab635c285753.jpg","text":"TemporaryFile(/tmp/multipartBody6920538249373749999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_12_46_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd207bdd66a9a69ec4da91a6fd520267.jpg","text":"TemporaryFile(/tmp/multipartBody1439566947382442652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296932869,"filename":"image_10042025_14_13_05_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351212335","file1":"1351212301","file0":"1351212274","file4":"1351212388","file5":"1351212409","file3":"1351212364"},"map_files_photo_id_array":[{"photo_id":"1351212409","filename":"file5"},{"photo_id":"1351212335","filename":"file2"},{"photo_id":"1351212388","filename":"file4"},{"photo_id":"1351212301","filename":"file1"},{"photo_id":"1351212274","filename":"file0"},{"photo_id":"1351212364","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351212364":["hashtag1","hashtag2"]},{"1351212274":["hashtag1","hashtag2"]},{"1351212409":["hashtag1","hashtag2"]},{"1351212301":["hashtag1","hashtag2"]},{"1351212335":["hashtag1","hashtag2"]},{"1351212388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351212364, 1351212274, 1351212409, 1351212301, 1351212335, 1351212388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43558406829834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:55:32.643684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_26_10370.jpg', '/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_36_9446.jpg', '/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_55_9422.jpg', '/home/pi/Desktop/images/10042025/14/13/image_10042025_14_14_06_10384.jpg', '/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_16_10342.jpg', '/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_26_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_26_10370.jpg
/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_36_9446.jpg
/home/pi/Desktop/images/10042025/14/13/image_10042025_14_13_55_9422.jpg
/home/pi/Desktop/images/10042025/14/13/image_10042025_14_14_06_10384.jpg
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_16_10342.jpg
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_26_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351212649","1351212658","1351212637","1351212613","1351212645","1351212641"],"photo_ids_order":["1351212613","1351212637","1351212641","1351212645","1351212649","1351212658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28666505f4bd5cf302496858df4ac361.jpg","text":"TemporaryFile(/tmp/multipartBody5458295645075822744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_14_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e50c9685773f9af577d76ae1c06141a.jpg","text":"TemporaryFile(/tmp/multipartBody1557403604392812004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_14_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81569008fb655e952175d209ae0d113d.jpg","text":"TemporaryFile(/tmp/multipartBody6405001293213241271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_13_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8aa270b096db4ca685f6f9efdaab0f49.jpg","text":"TemporaryFile(/tmp/multipartBody2214073342690290672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_13_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/410dc82f1f11d8e70f4e9f845796f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7980359792458348352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_14_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b6ffa7e426dca36c07c3bd6bcaef7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8630402641390270706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744296993089,"filename":"image_10042025_14_13_55_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351212641","file1":"1351212637","file0":"1351212613","file4":"1351212649","file5":"1351212658","file3":"1351212645"},"map_files_photo_id_array":[{"photo_id":"1351212658","filename":"file5"},{"photo_id":"1351212641","filename":"file2"},{"photo_id":"1351212649","filename":"file4"},{"photo_id":"1351212637","filename":"file1"},{"photo_id":"1351212613","filename":"file0"},{"photo_id":"1351212645","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351212649":["hashtag1","hashtag2"]},{"1351212658":["hashtag1","hashtag2"]},{"1351212637":["hashtag1","hashtag2"]},{"1351212613":["hashtag1","hashtag2"]},{"1351212645":["hashtag1","hashtag2"]},{"1351212641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351212649, 1351212658, 1351212637, 1351212613, 1351212645, 1351212641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1371955871582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:56:32.808501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_36_10340.jpg', '/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_46_10423.jpg', '/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_56_9348.jpg', '/home/pi/Desktop/images/10042025/14/14/image_10042025_14_15_06_9945.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_16_10436.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_25_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_36_10340.jpg
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_46_10423.jpg
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_14_56_9348.jpg
/home/pi/Desktop/images/10042025/14/14/image_10042025_14_15_06_9945.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_16_10436.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_25_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351212874","1351212831","1351212804","1351212848","1351212911","1351212886"],"photo_ids_order":["1351212804","1351212831","1351212848","1351212874","1351212886","1351212911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27eea4327971240aea6552637b76a339.jpg","text":"TemporaryFile(/tmp/multipartBody1536615945858774215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_15_06_9945.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a58e47b73a3d62bb65f30937935324c.jpg","text":"TemporaryFile(/tmp/multipartBody8449243064133869855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_14_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1094299d87270fa15a2cd98ad770c850.jpg","text":"TemporaryFile(/tmp/multipartBody9150567782493571623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_14_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6680045dad261858e13e0471ca5cfb10.jpg","text":"TemporaryFile(/tmp/multipartBody1485716948858651342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_14_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/934d6fbc0ab2bc4f0c89b68b0c22feec.jpg","text":"TemporaryFile(/tmp/multipartBody127619650602956265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_15_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa856b50199f8dddb199f188031c25c1.jpg","text":"TemporaryFile(/tmp/multipartBody1489005869431122064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297053248,"filename":"image_10042025_14_15_16_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351212848","file1":"1351212831","file0":"1351212804","file4":"1351212886","file5":"1351212911","file3":"1351212874"},"map_files_photo_id_array":[{"photo_id":"1351212911","filename":"file5"},{"photo_id":"1351212848","filename":"file2"},{"photo_id":"1351212886","filename":"file4"},{"photo_id":"1351212831","filename":"file1"},{"photo_id":"1351212804","filename":"file0"},{"photo_id":"1351212874","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351212874":["hashtag1","hashtag2"]},{"1351212831":["hashtag1","hashtag2"]},{"1351212804":["hashtag1","hashtag2"]},{"1351212848":["hashtag1","hashtag2"]},{"1351212911":["hashtag1","hashtag2"]},{"1351212886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351212874, 1351212831, 1351212804, 1351212848, 1351212911, 1351212886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53177070617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 16:57:32.919996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_36_10340.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_46_10353.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_56_9423.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_16_06_10347.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_16_10453.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_26_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_36_10340.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_46_10353.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_56_9423.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_16_06_10347.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_16_10453.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_26_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 16:59:03.742220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_36_10340.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_46_10353.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_56_9423.jpg', '/home/pi/Desktop/images/10042025/14/15/image_10042025_14_16_06_10347.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_16_10453.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_26_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_36_10340.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_46_10353.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_15_56_9423.jpg
/home/pi/Desktop/images/10042025/14/15/image_10042025_14_16_06_10347.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_16_10453.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_26_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351213785","1351213728","1351213515","1351213437","1351213610","1351213675"],"photo_ids_order":["1351213437","1351213515","1351213610","1351213675","1351213728","1351213785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21361cf145c4f1fd22d12c06b9835179.jpg","text":"TemporaryFile(/tmp/multipartBody8723638798328502413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_16_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43ef2f593ecf6f757e7b83a2ee170d81.jpg","text":"TemporaryFile(/tmp/multipartBody9139626775264148336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_16_16_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76223e741dd5225f9be952408ef07895.jpg","text":"TemporaryFile(/tmp/multipartBody8109362388266131347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_15_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb110d4d99abddfa8c44e37e3a0baac7.jpg","text":"TemporaryFile(/tmp/multipartBody2831308173981530869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_15_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/375ccee04abff7cc9b9bfdedbf008f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1527498085217861797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_15_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09b02eedd27cb56637fa32f9a03cd105.jpg","text":"TemporaryFile(/tmp/multipartBody8378544311456899057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297204307,"filename":"image_10042025_14_16_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351213610","file1":"1351213515","file0":"1351213437","file4":"1351213728","file5":"1351213785","file3":"1351213675"},"map_files_photo_id_array":[{"photo_id":"1351213785","filename":"file5"},{"photo_id":"1351213610","filename":"file2"},{"photo_id":"1351213728","filename":"file4"},{"photo_id":"1351213515","filename":"file1"},{"photo_id":"1351213437","filename":"file0"},{"photo_id":"1351213675","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351213785":["hashtag1","hashtag2"]},{"1351213728":["hashtag1","hashtag2"]},{"1351213515":["hashtag1","hashtag2"]},{"1351213437":["hashtag1","hashtag2"]},{"1351213610":["hashtag1","hashtag2"]},{"1351213675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351213785, 1351213728, 1351213515, 1351213437, 1351213610, 1351213675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.60920596122742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 17:00:03.343616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_36_10385.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_46_9413.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_56_10418.jpg', '/home/pi/Desktop/images/10042025/14/16/image_10042025_14_17_06_10392.jpg', '/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_16_9433.jpg', '/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_36_10385.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_46_9413.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_16_56_10418.jpg
/home/pi/Desktop/images/10042025/14/16/image_10042025_14_17_06_10392.jpg
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_16_9433.jpg
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351214166","1351214145","1351214067","1351214241","1351214171","1351214266"],"photo_ids_order":["1351214067","1351214145","1351214166","1351214171","1351214241","1351214266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c429fc5ab67690a07633c62d96540fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2143305740133611201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_16_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87db131401bab96c3d326b4911b6f15d.jpg","text":"TemporaryFile(/tmp/multipartBody8336596622905211861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_16_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9066fa45a6c46e60b7d06e59849abf3.jpg","text":"TemporaryFile(/tmp/multipartBody7798506237948679800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_16_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/792f313efd1bcf20bc9ac3deb7d01e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4084908181830549597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_17_16_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4809c21c8c60e309f55e2a592a0cba3e.jpg","text":"TemporaryFile(/tmp/multipartBody6623434851134865920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_17_06_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8ac12551f89d5432840fa36291afc02.jpg","text":"TemporaryFile(/tmp/multipartBody3670000944636314591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297263825,"filename":"image_10042025_14_17_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351214166","file1":"1351214145","file0":"1351214067","file4":"1351214241","file5":"1351214266","file3":"1351214171"},"map_files_photo_id_array":[{"photo_id":"1351214266","filename":"file5"},{"photo_id":"1351214166","filename":"file2"},{"photo_id":"1351214241","filename":"file4"},{"photo_id":"1351214145","filename":"file1"},{"photo_id":"1351214067","filename":"file0"},{"photo_id":"1351214171","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351214166":["hashtag1","hashtag2"]},{"1351214145":["hashtag1","hashtag2"]},{"1351214067":["hashtag1","hashtag2"]},{"1351214241":["hashtag1","hashtag2"]},{"1351214171":["hashtag1","hashtag2"]},{"1351214266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351214166, 1351214145, 1351214067, 1351214241, 1351214171, 1351214266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.147316455841064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:00:52.614982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_36_9396.jpg', '/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_46_10362.jpg', '/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_55_9489.jpg', '/home/pi/Desktop/images/10042025/14/17/image_10042025_14_18_06_10350.jpg', '/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_26_9402.jpg', '/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_36_9396.jpg
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_46_10362.jpg
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_17_55_9489.jpg
/home/pi/Desktop/images/10042025/14/17/image_10042025_14_18_06_10350.jpg
/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_26_9402.jpg
/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_36_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351214436","1351214466","1351214511","1351214558","1351214497","1351214388"],"photo_ids_order":["1351214388","1351214436","1351214466","1351214497","1351214511","1351214558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3aa3682944c85bcbee81626c36a386a7.jpg","text":"TemporaryFile(/tmp/multipartBody457333650970890959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_17_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/665011583a4ed7c13a058a6604415866.jpg","text":"TemporaryFile(/tmp/multipartBody210315226821246326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_17_55_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fd72958f1e36aecd88ffb6151123519.jpg","text":"TemporaryFile(/tmp/multipartBody206979434579534882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_18_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b68bc713cc7909adc89499119e607eb8.jpg","text":"TemporaryFile(/tmp/multipartBody8828439197199937982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_18_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48ee1a8722c73e3aa3c1ea681f5542f8.jpg","text":"TemporaryFile(/tmp/multipartBody6604825597729683698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_18_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56f842105061b9de62bd8e9fef290714.jpg","text":"TemporaryFile(/tmp/multipartBody1799405631121944447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297313065,"filename":"image_10042025_14_17_36_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351214466","file1":"1351214436","file0":"1351214388","file4":"1351214511","file5":"1351214558","file3":"1351214497"},"map_files_photo_id_array":[{"photo_id":"1351214558","filename":"file5"},{"photo_id":"1351214466","filename":"file2"},{"photo_id":"1351214511","filename":"file4"},{"photo_id":"1351214436","filename":"file1"},{"photo_id":"1351214388","filename":"file0"},{"photo_id":"1351214497","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351214436":["hashtag1","hashtag2"]},{"1351214466":["hashtag1","hashtag2"]},{"1351214511":["hashtag1","hashtag2"]},{"1351214558":["hashtag1","hashtag2"]},{"1351214497":["hashtag1","hashtag2"]},{"1351214388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351214436, 1351214466, 1351214511, 1351214558, 1351214497, 1351214388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25290489196777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:01:32.856428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_46_10451.jpg', '/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_56_9383.jpg', '/home/pi/Desktop/images/10042025/14/18/image_10042025_14_19_06_10401.jpg', '/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_16_9351.jpg', '/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_26_10358.jpg', '/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_46_10451.jpg
/home/pi/Desktop/images/10042025/14/18/image_10042025_14_18_56_9383.jpg
/home/pi/Desktop/images/10042025/14/18/image_10042025_14_19_06_10401.jpg
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_16_9351.jpg
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_26_10358.jpg
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_36_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351214832","1351214987","1351214753","1351214909","1351214875","1351214790"],"photo_ids_order":["1351214753","1351214790","1351214832","1351214875","1351214909","1351214987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ee034c800a9f067f30bafe93e4a5567.jpg","text":"TemporaryFile(/tmp/multipartBody5345855980974522242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_19_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7eae741441035ef4f59f7b6e84d688fd.jpg","text":"TemporaryFile(/tmp/multipartBody9122856254442211276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_19_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c43ca2c02e930b51fc33a9d4c0fab7d.jpg","text":"TemporaryFile(/tmp/multipartBody3164730323161978878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_18_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/754e8a6ecdace14d5b749f32e515bd90.jpg","text":"TemporaryFile(/tmp/multipartBody2899523534956845721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_19_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a029d7d016fd0535f8593590107c5484.jpg","text":"TemporaryFile(/tmp/multipartBody2438778735968785732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_19_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f141070fb8d7c8cde05b73d2ff43dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7040183437451229213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297353295,"filename":"image_10042025_14_18_56_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351214832","file1":"1351214790","file0":"1351214753","file4":"1351214909","file5":"1351214987","file3":"1351214875"},"map_files_photo_id_array":[{"photo_id":"1351214987","filename":"file5"},{"photo_id":"1351214832","filename":"file2"},{"photo_id":"1351214909","filename":"file4"},{"photo_id":"1351214790","filename":"file1"},{"photo_id":"1351214753","filename":"file0"},{"photo_id":"1351214875","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351214832":["hashtag1","hashtag2"]},{"1351214987":["hashtag1","hashtag2"]},{"1351214753":["hashtag1","hashtag2"]},{"1351214909":["hashtag1","hashtag2"]},{"1351214875":["hashtag1","hashtag2"]},{"1351214790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351214832, 1351214987, 1351214753, 1351214909, 1351214875, 1351214790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44583177566528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:02:32.993354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_46_9380.jpg', '/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_56_10341.jpg', '/home/pi/Desktop/images/10042025/14/19/image_10042025_14_20_05_9466.jpg', '/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_16_10392.jpg', '/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_36_9417.jpg', '/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_46_9380.jpg
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_19_56_10341.jpg
/home/pi/Desktop/images/10042025/14/19/image_10042025_14_20_05_9466.jpg
/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_16_10392.jpg
/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_36_9417.jpg
/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351215989","1351215641","1351215455","1351215734","1351215550","1351215870"],"photo_ids_order":["1351215455","1351215550","1351215641","1351215734","1351215870","1351215989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3078b533bd2a85be0a188341d1bce15.jpg","text":"TemporaryFile(/tmp/multipartBody4116370521122756029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_20_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c37334a416d6cc8a4ef4fc3e65999511.jpg","text":"TemporaryFile(/tmp/multipartBody7045785792553598116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_20_05_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7416187ed7f89c237ac961493aafa9f6.jpg","text":"TemporaryFile(/tmp/multipartBody8302824066275711242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_19_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/941ab555c40b20b0fea88749cb1a8a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2023284888328046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_20_16_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f1b4e32f6eafa663c60320d312553c1.jpg","text":"TemporaryFile(/tmp/multipartBody2062183513219551250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_19_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26b9f238ea1686dbcfaf6e6749296a02.jpg","text":"TemporaryFile(/tmp/multipartBody2285466133021445544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297413436,"filename":"image_10042025_14_20_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351215641","file1":"1351215550","file0":"1351215455","file4":"1351215870","file5":"1351215989","file3":"1351215734"},"map_files_photo_id_array":[{"photo_id":"1351215989","filename":"file5"},{"photo_id":"1351215641","filename":"file2"},{"photo_id":"1351215870","filename":"file4"},{"photo_id":"1351215550","filename":"file1"},{"photo_id":"1351215455","filename":"file0"},{"photo_id":"1351215734","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351215989":["hashtag1","hashtag2"]},{"1351215641":["hashtag1","hashtag2"]},{"1351215455":["hashtag1","hashtag2"]},{"1351215734":["hashtag1","hashtag2"]},{"1351215550":["hashtag1","hashtag2"]},{"1351215870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351215989, 1351215641, 1351215455, 1351215734, 1351215550, 1351215870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4351224899292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:03:32.200488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_56_10412.jpg', '/home/pi/Desktop/images/10042025/14/20/image_10042025_14_21_06_9436.jpg', '/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_16_10363.jpg', '/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_26_9430.jpg', '/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_36_10436.jpg', '/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_46_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/20/image_10042025_14_20_56_10412.jpg
/home/pi/Desktop/images/10042025/14/20/image_10042025_14_21_06_9436.jpg
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_16_10363.jpg
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_26_9430.jpg
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_36_10436.jpg
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_46_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351216610","1351216783","1351216543","1351216697","1351216908","1351216859"],"photo_ids_order":["1351216543","1351216610","1351216697","1351216783","1351216859","1351216908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/601c967c6164bdd3d20dc83f21bb9ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7637099477068268339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_21_06_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59124777d9261c9cb13b2987005948bb.jpg","text":"TemporaryFile(/tmp/multipartBody4290488797881597050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_21_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2afb40743066f8727bb5e680ab5ae069.jpg","text":"TemporaryFile(/tmp/multipartBody4801637194264516690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_20_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a87de5231a7eb338a18bdeae4927a61.jpg","text":"TemporaryFile(/tmp/multipartBody5622321299953429339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_21_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61aa51994bf18ffb015960e48fee7252.jpg","text":"TemporaryFile(/tmp/multipartBody6644509725187432777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_21_46_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15b69440ea42e5573a8c03f85eefe87b.jpg","text":"TemporaryFile(/tmp/multipartBody3353702988047336921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297472643,"filename":"image_10042025_14_21_36_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351216697","file1":"1351216610","file0":"1351216543","file4":"1351216859","file5":"1351216908","file3":"1351216783"},"map_files_photo_id_array":[{"photo_id":"1351216908","filename":"file5"},{"photo_id":"1351216697","filename":"file2"},{"photo_id":"1351216859","filename":"file4"},{"photo_id":"1351216610","filename":"file1"},{"photo_id":"1351216543","filename":"file0"},{"photo_id":"1351216783","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351216610":["hashtag1","hashtag2"]},{"1351216783":["hashtag1","hashtag2"]},{"1351216543":["hashtag1","hashtag2"]},{"1351216697":["hashtag1","hashtag2"]},{"1351216908":["hashtag1","hashtag2"]},{"1351216859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351216610, 1351216783, 1351216543, 1351216697, 1351216908, 1351216859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69993567466736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:04:32.343904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_56_10359.jpg', '/home/pi/Desktop/images/10042025/14/21/image_10042025_14_22_06_10406.jpg', '/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_16_9410.jpg', '/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_36_9434.jpg', '/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_56_10347.jpg', '/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_25_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_21_56_10359.jpg
/home/pi/Desktop/images/10042025/14/21/image_10042025_14_22_06_10406.jpg
/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_16_9410.jpg
/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_36_9434.jpg
/home/pi/Desktop/images/10042025/14/22/image_10042025_14_22_56_10347.jpg
/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_25_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351217590","1351217499","1351217401","1351217664","1351217738","1351217339"],"photo_ids_order":["1351217339","1351217401","1351217499","1351217590","1351217664","1351217738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79d7f15cc8566c24659a29e0fd1e8195.jpg","text":"TemporaryFile(/tmp/multipartBody592368663757629052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_22_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e935b1b4803c7a54d7878afcc8cfe50c.jpg","text":"TemporaryFile(/tmp/multipartBody4243362671879456593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_22_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c270ac15ee9be714f22cd98f4783d50e.jpg","text":"TemporaryFile(/tmp/multipartBody4186542964268657665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_22_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa8674b6bb665be3ee325f3a34075e04.jpg","text":"TemporaryFile(/tmp/multipartBody8682752814429302824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_22_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f07b8eed9250e453d3326f36983e2c55.jpg","text":"TemporaryFile(/tmp/multipartBody1907806342311531803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_23_25_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a9cecd604a63bf8f3ce98654f3a74d9.jpg","text":"TemporaryFile(/tmp/multipartBody6115762002906670792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297532791,"filename":"image_10042025_14_21_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351217499","file1":"1351217401","file0":"1351217339","file4":"1351217664","file5":"1351217738","file3":"1351217590"},"map_files_photo_id_array":[{"photo_id":"1351217738","filename":"file5"},{"photo_id":"1351217499","filename":"file2"},{"photo_id":"1351217664","filename":"file4"},{"photo_id":"1351217401","filename":"file1"},{"photo_id":"1351217339","filename":"file0"},{"photo_id":"1351217590","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351217590":["hashtag1","hashtag2"]},{"1351217499":["hashtag1","hashtag2"]},{"1351217401":["hashtag1","hashtag2"]},{"1351217664":["hashtag1","hashtag2"]},{"1351217738":["hashtag1","hashtag2"]},{"1351217339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351217590, 1351217499, 1351217401, 1351217664, 1351217738, 1351217339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.246867179870605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:05:32.538897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_36_10345.jpg', '/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_46_10450.jpg', '/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_56_9354.jpg', '/home/pi/Desktop/images/10042025/14/23/image_10042025_14_24_06_10348.jpg', '/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_16_10367.jpg', '/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_36_10345.jpg
/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_46_10450.jpg
/home/pi/Desktop/images/10042025/14/23/image_10042025_14_23_56_9354.jpg
/home/pi/Desktop/images/10042025/14/23/image_10042025_14_24_06_10348.jpg
/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_16_10367.jpg
/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_26_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351218436","1351218663","1351218522","1351218362","1351218293","1351218200"],"photo_ids_order":["1351218200","1351218293","1351218362","1351218436","1351218522","1351218663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f17d90fde2084e9a000480c3201024a1.jpg","text":"TemporaryFile(/tmp/multipartBody1099009417089784525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_24_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79db22c9bfc9f5fe3c091eb19f41c693.jpg","text":"TemporaryFile(/tmp/multipartBody3502311809279444427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_24_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ef13acf2a807abe30c287dfade771c8.jpg","text":"TemporaryFile(/tmp/multipartBody7151756770813622799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_24_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2668fc4b33355522393017d91bf32cda.jpg","text":"TemporaryFile(/tmp/multipartBody1896457984123379437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_23_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14ef483d983d52d4de5a133048a882fb.jpg","text":"TemporaryFile(/tmp/multipartBody2419554855471357760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_23_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a122d203f3462462a1616f67d693ad9b.jpg","text":"TemporaryFile(/tmp/multipartBody644772731423030834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297592986,"filename":"image_10042025_14_23_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351218362","file1":"1351218293","file0":"1351218200","file4":"1351218522","file5":"1351218663","file3":"1351218436"},"map_files_photo_id_array":[{"photo_id":"1351218663","filename":"file5"},{"photo_id":"1351218362","filename":"file2"},{"photo_id":"1351218522","filename":"file4"},{"photo_id":"1351218293","filename":"file1"},{"photo_id":"1351218200","filename":"file0"},{"photo_id":"1351218436","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351218436":["hashtag1","hashtag2"]},{"1351218663":["hashtag1","hashtag2"]},{"1351218522":["hashtag1","hashtag2"]},{"1351218362":["hashtag1","hashtag2"]},{"1351218293":["hashtag1","hashtag2"]},{"1351218200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351218436, 1351218663, 1351218522, 1351218362, 1351218293, 1351218200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298797369003296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:06:32.832617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_45_9451.jpg', '/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_56_10392.jpg', '/home/pi/Desktop/images/10042025/14/24/image_10042025_14_25_06_10357.jpg', '/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_26_10358.jpg', '/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_35_9449.jpg', '/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_45_9451.jpg
/home/pi/Desktop/images/10042025/14/24/image_10042025_14_24_56_10392.jpg
/home/pi/Desktop/images/10042025/14/24/image_10042025_14_25_06_10357.jpg
/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_26_10358.jpg
/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_35_9449.jpg
/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_46_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351219411","1351219248","1351219119","1351219498","1351219316","1351219202"],"photo_ids_order":["1351219119","1351219202","1351219248","1351219316","1351219411","1351219498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f05babc9893e4d844d9807532af37ada.jpg","text":"TemporaryFile(/tmp/multipartBody185064593776810393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_25_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1045a4d1d126f82fe7f3fa1aa930793a.jpg","text":"TemporaryFile(/tmp/multipartBody4538293308081217348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_25_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb2c376620383d2cf769694e0b21c650.jpg","text":"TemporaryFile(/tmp/multipartBody782270039723209314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_24_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3f4de5299b49a60c76da25017448efa.jpg","text":"TemporaryFile(/tmp/multipartBody3719915242609958315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_25_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c67818340a0212aab8049ed940d2746f.jpg","text":"TemporaryFile(/tmp/multipartBody2662396158286158273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_25_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1426103a2bec6d0483c772ba09f0cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2541454523094563125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297653271,"filename":"image_10042025_14_24_56_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351219248","file1":"1351219202","file0":"1351219119","file4":"1351219411","file5":"1351219498","file3":"1351219316"},"map_files_photo_id_array":[{"photo_id":"1351219498","filename":"file5"},{"photo_id":"1351219248","filename":"file2"},{"photo_id":"1351219411","filename":"file4"},{"photo_id":"1351219202","filename":"file1"},{"photo_id":"1351219119","filename":"file0"},{"photo_id":"1351219316","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351219411":["hashtag1","hashtag2"]},{"1351219248":["hashtag1","hashtag2"]},{"1351219119":["hashtag1","hashtag2"]},{"1351219498":["hashtag1","hashtag2"]},{"1351219316":["hashtag1","hashtag2"]},{"1351219202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351219411, 1351219248, 1351219119, 1351219498, 1351219316, 1351219202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4494833946228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:07:32.892096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_56_10351.jpg', '/home/pi/Desktop/images/10042025/14/25/image_10042025_14_26_06_9416.jpg', '/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_16_10355.jpg', '/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_26_10483.jpg', '/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_36_9350.jpg', '/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_46_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/25/image_10042025_14_25_56_10351.jpg
/home/pi/Desktop/images/10042025/14/25/image_10042025_14_26_06_9416.jpg
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_16_10355.jpg
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_26_10483.jpg
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_36_9350.jpg
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_46_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351220082","1351219923","1351219985","1351220042","1351220120","1351219864"],"photo_ids_order":["1351219864","1351219923","1351219985","1351220042","1351220082","1351220120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f4af52dd83d05fcc5933b82c92f9921.jpg","text":"TemporaryFile(/tmp/multipartBody8870708996201695838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_26_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86567343e39cc9ad0a150485bff46d1b.jpg","text":"TemporaryFile(/tmp/multipartBody823752782665765950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_26_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b77af74d7222009d38661fb44eeeefc5.jpg","text":"TemporaryFile(/tmp/multipartBody5947004371216309952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_26_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7276e48cf9ec5a9a7189ccc66b7ad37e.jpg","text":"TemporaryFile(/tmp/multipartBody5973904471392460081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_26_26_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec33008cd4736071d4e3214d5cc56d0a.jpg","text":"TemporaryFile(/tmp/multipartBody288547746215531290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_26_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c099c4574171f719d41ae45a1098d3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4853448548282564831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297713342,"filename":"image_10042025_14_25_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351219985","file1":"1351219923","file0":"1351219864","file4":"1351220082","file5":"1351220120","file3":"1351220042"},"map_files_photo_id_array":[{"photo_id":"1351220120","filename":"file5"},{"photo_id":"1351219985","filename":"file2"},{"photo_id":"1351220082","filename":"file4"},{"photo_id":"1351219923","filename":"file1"},{"photo_id":"1351219864","filename":"file0"},{"photo_id":"1351220042","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351220082":["hashtag1","hashtag2"]},{"1351219923":["hashtag1","hashtag2"]},{"1351219985":["hashtag1","hashtag2"]},{"1351220042":["hashtag1","hashtag2"]},{"1351220120":["hashtag1","hashtag2"]},{"1351219864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351220082, 1351219923, 1351219985, 1351220042, 1351220120, 1351219864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.409416913986206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:08:33.041420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_56_9383.jpg', '/home/pi/Desktop/images/10042025/14/26/image_10042025_14_27_06_10340.jpg', '/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_16_10341.jpg', '/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_26_9410.jpg', '/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_36_10471.jpg', '/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_45_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_26_56_9383.jpg
/home/pi/Desktop/images/10042025/14/26/image_10042025_14_27_06_10340.jpg
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_16_10341.jpg
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_26_9410.jpg
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_36_10471.jpg
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_45_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351221012","1351220745","1351220952","1351220829","1351220631","1351220684"],"photo_ids_order":["1351220631","1351220684","1351220745","1351220829","1351220952","1351221012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96551e7017522fc58112e41f98b2401d.jpg","text":"TemporaryFile(/tmp/multipartBody8248598832348682787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_27_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7cd49e69c780f3f5e220c62a245ccb1.jpg","text":"TemporaryFile(/tmp/multipartBody8119558273248378037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_27_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9625fecc7faf2a239fb2495f84099bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3513706090236642176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_27_36_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b8a8914cffdd59ab2ed111934f28446.jpg","text":"TemporaryFile(/tmp/multipartBody5026661408511320471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_27_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d39580efbab8727bfbc1b645a9f9534c.jpg","text":"TemporaryFile(/tmp/multipartBody82102581056679819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_26_56_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10322da493f25edee763361e6631a969.jpg","text":"TemporaryFile(/tmp/multipartBody6818628902036626686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297773485,"filename":"image_10042025_14_27_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351220745","file1":"1351220684","file0":"1351220631","file4":"1351220952","file5":"1351221012","file3":"1351220829"},"map_files_photo_id_array":[{"photo_id":"1351221012","filename":"file5"},{"photo_id":"1351220745","filename":"file2"},{"photo_id":"1351220952","filename":"file4"},{"photo_id":"1351220684","filename":"file1"},{"photo_id":"1351220631","filename":"file0"},{"photo_id":"1351220829","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351221012":["hashtag1","hashtag2"]},{"1351220745":["hashtag1","hashtag2"]},{"1351220952":["hashtag1","hashtag2"]},{"1351220829":["hashtag1","hashtag2"]},{"1351220631":["hashtag1","hashtag2"]},{"1351220684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351221012, 1351220745, 1351220952, 1351220829, 1351220631, 1351220684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.62710404396057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:09:32.753830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_56_10339.jpg', '/home/pi/Desktop/images/10042025/14/27/image_10042025_14_28_06_10421.jpg', '/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_16_9399.jpg', '/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_26_10356.jpg', '/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_36_10404.jpg', '/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_46_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_27_56_10339.jpg
/home/pi/Desktop/images/10042025/14/27/image_10042025_14_28_06_10421.jpg
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_16_9399.jpg
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_26_10356.jpg
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_36_10404.jpg
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_46_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351221677","1351221557","1351221644","1351221527","1351221608","1351221481"],"photo_ids_order":["1351221481","1351221527","1351221557","1351221608","1351221644","1351221677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11d1cf24c411f638e0acf6cb1a21af60.jpg","text":"TemporaryFile(/tmp/multipartBody6590998420214415620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_28_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1365ca191235adf37644c9c196becce.jpg","text":"TemporaryFile(/tmp/multipartBody615423842085636252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_28_16_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69ae56a50522b54fbc2506ed4da21f82.jpg","text":"TemporaryFile(/tmp/multipartBody3613935452914901762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_28_36_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6697e8b1cec13c2e53460e9a2cd469c6.jpg","text":"TemporaryFile(/tmp/multipartBody5970392509803113168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_28_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2988f60250c7ddcd1ab730c91726bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody829760771770967641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_28_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/716d483e375df22614c71b19659a8a32.jpg","text":"TemporaryFile(/tmp/multipartBody2956335061799769982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297833201,"filename":"image_10042025_14_27_56_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351221557","file1":"1351221527","file0":"1351221481","file4":"1351221644","file5":"1351221677","file3":"1351221608"},"map_files_photo_id_array":[{"photo_id":"1351221677","filename":"file5"},{"photo_id":"1351221557","filename":"file2"},{"photo_id":"1351221644","filename":"file4"},{"photo_id":"1351221527","filename":"file1"},{"photo_id":"1351221481","filename":"file0"},{"photo_id":"1351221608","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351221677":["hashtag1","hashtag2"]},{"1351221557":["hashtag1","hashtag2"]},{"1351221644":["hashtag1","hashtag2"]},{"1351221527":["hashtag1","hashtag2"]},{"1351221608":["hashtag1","hashtag2"]},{"1351221481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351221677, 1351221557, 1351221644, 1351221527, 1351221608, 1351221481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26554322242737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:10:33.171235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_56_10363.jpg', '/home/pi/Desktop/images/10042025/14/28/image_10042025_14_29_06_10344.jpg', '/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_16_9361.jpg', '/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_26_10376.jpg', '/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_36_9349.jpg', '/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_28_56_10363.jpg
/home/pi/Desktop/images/10042025/14/28/image_10042025_14_29_06_10344.jpg
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_16_9361.jpg
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_26_10376.jpg
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_36_9349.jpg
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351222088","1351222142","1351222010","1351222060","1351222207","1351222114"],"photo_ids_order":["1351222010","1351222060","1351222088","1351222114","1351222142","1351222207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16052b0e393b5afa7e5586eb5982f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2851966115446341355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_29_16_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/783331a8546e60ab26f016cae3f8adbd.jpg","text":"TemporaryFile(/tmp/multipartBody7470267072289361986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_29_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce21e1e9762740e52d244689fc890edf.jpg","text":"TemporaryFile(/tmp/multipartBody9032226088194855489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_28_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7dc000db0ad8aae528610caa6d013679.jpg","text":"TemporaryFile(/tmp/multipartBody64605519761313589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_29_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/541f73cb4171c1ebe33ad8178224a269.jpg","text":"TemporaryFile(/tmp/multipartBody7858089422972942053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_29_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/349cbe72e32b4d9eff2c07b75b4d05cd.jpg","text":"TemporaryFile(/tmp/multipartBody8417647842613761853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297893627,"filename":"image_10042025_14_29_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351222088","file1":"1351222060","file0":"1351222010","file4":"1351222142","file5":"1351222207","file3":"1351222114"},"map_files_photo_id_array":[{"photo_id":"1351222207","filename":"file5"},{"photo_id":"1351222088","filename":"file2"},{"photo_id":"1351222142","filename":"file4"},{"photo_id":"1351222060","filename":"file1"},{"photo_id":"1351222010","filename":"file0"},{"photo_id":"1351222114","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351222088":["hashtag1","hashtag2"]},{"1351222142":["hashtag1","hashtag2"]},{"1351222010":["hashtag1","hashtag2"]},{"1351222060":["hashtag1","hashtag2"]},{"1351222207":["hashtag1","hashtag2"]},{"1351222114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351222088, 1351222142, 1351222010, 1351222060, 1351222207, 1351222114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86340260505676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:11:32.251769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_56_10360.jpg', '/home/pi/Desktop/images/10042025/14/29/image_10042025_14_30_06_9437.jpg', '/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_16_10343.jpg', '/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_25_9480.jpg', '/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_36_10362.jpg', '/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_29_56_10360.jpg
/home/pi/Desktop/images/10042025/14/29/image_10042025_14_30_06_9437.jpg
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_16_10343.jpg
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_25_9480.jpg
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_36_10362.jpg
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351222447","1351222507","1351222476","1351222461","1351222485","1351222479"],"photo_ids_order":["1351222447","1351222461","1351222476","1351222479","1351222485","1351222507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9632a96d5a0f9d0a0d86400763bd663c.jpg","text":"TemporaryFile(/tmp/multipartBody3069303063540390477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_29_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffd9060da7c25b369b2a59b6950fb834.jpg","text":"TemporaryFile(/tmp/multipartBody5284554297622186675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_30_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33babca56be578b6b64e768cc560a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody782043966153003309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_30_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c2fa7f2cbb0522a59076ea93bda2c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5281910848053240475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_30_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2081d49525fe703f480131f3a06fadc.jpg","text":"TemporaryFile(/tmp/multipartBody6352152777363961139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_30_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4dfb59c7078e045218e3fa36b15ee45e.jpg","text":"TemporaryFile(/tmp/multipartBody2997243394778589002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744297952698,"filename":"image_10042025_14_30_25_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351222476","file1":"1351222461","file0":"1351222447","file4":"1351222485","file5":"1351222507","file3":"1351222479"},"map_files_photo_id_array":[{"photo_id":"1351222507","filename":"file5"},{"photo_id":"1351222476","filename":"file2"},{"photo_id":"1351222485","filename":"file4"},{"photo_id":"1351222461","filename":"file1"},{"photo_id":"1351222447","filename":"file0"},{"photo_id":"1351222479","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351222447":["hashtag1","hashtag2"]},{"1351222507":["hashtag1","hashtag2"]},{"1351222476":["hashtag1","hashtag2"]},{"1351222461":["hashtag1","hashtag2"]},{"1351222485":["hashtag1","hashtag2"]},{"1351222479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351222447, 1351222507, 1351222476, 1351222461, 1351222485, 1351222479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86281752586365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:12:32.546189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_56_9371.jpg', '/home/pi/Desktop/images/10042025/14/30/image_10042025_14_31_06_10339.jpg', '/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_16_10363.jpg', '/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_26_9413.jpg', '/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_36_10366.jpg', '/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_45_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_30_56_9371.jpg
/home/pi/Desktop/images/10042025/14/30/image_10042025_14_31_06_10339.jpg
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_16_10363.jpg
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_26_9413.jpg
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_36_10366.jpg
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_45_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351222929","1351222902","1351222850","1351222913","1351222814","1351223001"],"photo_ids_order":["1351222814","1351222850","1351222902","1351222913","1351222929","1351223001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfcc6ecd0a3dcfb43a01edee67d9eaa9.jpg","text":"TemporaryFile(/tmp/multipartBody4123670358967705276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_31_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94c662e9d8b762193e516c567c965b9a.jpg","text":"TemporaryFile(/tmp/multipartBody924947973937026003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_31_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e95c854608fc62872276acbde10d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody3834134789656591728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_31_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ad1e54da12d7d3687ae9ef95e358a33.jpg","text":"TemporaryFile(/tmp/multipartBody1632093608715535374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_31_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37d670b4afb6cc47ea2ae28a07e197ad.jpg","text":"TemporaryFile(/tmp/multipartBody1455958871473376160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_30_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9931ab6135cfc5a1727f0ee7f5bcc33f.jpg","text":"TemporaryFile(/tmp/multipartBody3965965942626823764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298013081,"filename":"image_10042025_14_31_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351222902","file1":"1351222850","file0":"1351222814","file4":"1351222929","file5":"1351223001","file3":"1351222913"},"map_files_photo_id_array":[{"photo_id":"1351223001","filename":"file5"},{"photo_id":"1351222902","filename":"file2"},{"photo_id":"1351222929","filename":"file4"},{"photo_id":"1351222850","filename":"file1"},{"photo_id":"1351222814","filename":"file0"},{"photo_id":"1351222913","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351222929":["hashtag1","hashtag2"]},{"1351222902":["hashtag1","hashtag2"]},{"1351222850":["hashtag1","hashtag2"]},{"1351222913":["hashtag1","hashtag2"]},{"1351222814":["hashtag1","hashtag2"]},{"1351223001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351222929, 1351222902, 1351222850, 1351222913, 1351222814, 1351223001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68294644355774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:13:32.658782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_56_10368.jpg', '/home/pi/Desktop/images/10042025/14/31/image_10042025_14_32_06_10354.jpg', '/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_16_9437.jpg', '/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_26_10374.jpg', '/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_36_10415.jpg', '/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_46_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_31_56_10368.jpg
/home/pi/Desktop/images/10042025/14/31/image_10042025_14_32_06_10354.jpg
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_16_9437.jpg
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_26_10374.jpg
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_36_10415.jpg
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_46_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351223171","1351223168","1351223240","1351223222","1351223266","1351223196"],"photo_ids_order":["1351223168","1351223171","1351223196","1351223222","1351223240","1351223266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ba5e261afc1f3de05347d728e02d22.jpg","text":"TemporaryFile(/tmp/multipartBody1831697323273848076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_32_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00f44419755dbc3e14cd7f6dc9268f94.jpg","text":"TemporaryFile(/tmp/multipartBody5715405845378766236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_31_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/128f077840c6259b86db9802d0392838.jpg","text":"TemporaryFile(/tmp/multipartBody3362146781720480945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_32_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/031f03df41029c5f8f2afce6f6503b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5952362215200198226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_32_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37f21aa0a9ed30cd3a98f8e1acb6fb56.jpg","text":"TemporaryFile(/tmp/multipartBody8007558098370216324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_32_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbad1540c5831847d7997205ec950307.jpg","text":"TemporaryFile(/tmp/multipartBody8581846269324185147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298073109,"filename":"image_10042025_14_32_16_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351223196","file1":"1351223171","file0":"1351223168","file4":"1351223240","file5":"1351223266","file3":"1351223222"},"map_files_photo_id_array":[{"photo_id":"1351223266","filename":"file5"},{"photo_id":"1351223196","filename":"file2"},{"photo_id":"1351223240","filename":"file4"},{"photo_id":"1351223171","filename":"file1"},{"photo_id":"1351223168","filename":"file0"},{"photo_id":"1351223222","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351223171":["hashtag1","hashtag2"]},{"1351223168":["hashtag1","hashtag2"]},{"1351223240":["hashtag1","hashtag2"]},{"1351223222":["hashtag1","hashtag2"]},{"1351223266":["hashtag1","hashtag2"]},{"1351223196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351223171, 1351223168, 1351223240, 1351223222, 1351223266, 1351223196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87287950515747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:14:32.811927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_56_10421.jpg', '/home/pi/Desktop/images/10042025/14/32/image_10042025_14_33_06_9332.jpg', '/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_16_10333.jpg', '/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_26_10363.jpg', '/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_36_9374.jpg', '/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_56_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_32_56_10421.jpg
/home/pi/Desktop/images/10042025/14/32/image_10042025_14_33_06_9332.jpg
/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_16_10333.jpg
/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_26_10363.jpg
/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_36_9374.jpg
/home/pi/Desktop/images/10042025/14/33/image_10042025_14_33_56_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351223435","1351223572","1351223525","1351223592","1351223373","1351223475"],"photo_ids_order":["1351223373","1351223435","1351223475","1351223525","1351223572","1351223592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/490013a2efbefd7dbead6f2828b77496.jpg","text":"TemporaryFile(/tmp/multipartBody1836951887885675203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_33_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/426678e909ae824a1c970125d08eeffe.jpg","text":"TemporaryFile(/tmp/multipartBody7426927635243513442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_33_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/619b54c16df01743b211676c3a4a41d3.jpg","text":"TemporaryFile(/tmp/multipartBody7751891350822544523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_33_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/799dcb288c4a8787c88d93b85e80ab78.jpg","text":"TemporaryFile(/tmp/multipartBody4506477466759471832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_33_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2966e4b7a4f5922278de2bd6b83150da.jpg","text":"TemporaryFile(/tmp/multipartBody8237377427492947877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_32_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc2d0d2b42b3efe2a1a2c5c5f69377e4.jpg","text":"TemporaryFile(/tmp/multipartBody6003569002290813328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298133266,"filename":"image_10042025_14_33_16_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351223475","file1":"1351223435","file0":"1351223373","file4":"1351223572","file5":"1351223592","file3":"1351223525"},"map_files_photo_id_array":[{"photo_id":"1351223592","filename":"file5"},{"photo_id":"1351223475","filename":"file2"},{"photo_id":"1351223572","filename":"file4"},{"photo_id":"1351223435","filename":"file1"},{"photo_id":"1351223373","filename":"file0"},{"photo_id":"1351223525","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351223435":["hashtag1","hashtag2"]},{"1351223572":["hashtag1","hashtag2"]},{"1351223525":["hashtag1","hashtag2"]},{"1351223592":["hashtag1","hashtag2"]},{"1351223373":["hashtag1","hashtag2"]},{"1351223475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351223435, 1351223572, 1351223525, 1351223592, 1351223373, 1351223475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.496301889419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:15:33.118980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/33/image_10042025_14_34_06_9385.jpg', '/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_16_10342.jpg', '/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_26_10423.jpg', '/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_36_9353.jpg', '/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_46_10342.jpg', '/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_56_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/33/image_10042025_14_34_06_9385.jpg
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_16_10342.jpg
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_26_10423.jpg
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_36_9353.jpg
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_46_10342.jpg
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_34_56_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351224040","1351223773","1351224004","1351223871","1351223949","1351223928"],"photo_ids_order":["1351223773","1351223871","1351223928","1351223949","1351224004","1351224040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8db4d8b11c76a0fa3fc2da227ecba7b.jpg","text":"TemporaryFile(/tmp/multipartBody7129943109671549695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9c44ad859341be7feddcbc806fc0636.jpg","text":"TemporaryFile(/tmp/multipartBody2074936341680667968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_06_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fa706ffd1b2cf7191be31a13c65ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody8939951252559541975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12efc64397f53491e7a7a06d5efde620.jpg","text":"TemporaryFile(/tmp/multipartBody5696193564788809790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/befbc3f89dcc42e4eced9c19dce72c12.jpg","text":"TemporaryFile(/tmp/multipartBody8013273740220784513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c5cab1d51c8cf9e0e34b64ff747396d.jpg","text":"TemporaryFile(/tmp/multipartBody7837159581473034187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298193578,"filename":"image_10042025_14_34_26_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351223928","file1":"1351223871","file0":"1351223773","file4":"1351224004","file5":"1351224040","file3":"1351223949"},"map_files_photo_id_array":[{"photo_id":"1351224040","filename":"file5"},{"photo_id":"1351223928","filename":"file2"},{"photo_id":"1351224004","filename":"file4"},{"photo_id":"1351223871","filename":"file1"},{"photo_id":"1351223773","filename":"file0"},{"photo_id":"1351223949","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351224040":["hashtag1","hashtag2"]},{"1351223773":["hashtag1","hashtag2"]},{"1351224004":["hashtag1","hashtag2"]},{"1351223871":["hashtag1","hashtag2"]},{"1351223949":["hashtag1","hashtag2"]},{"1351223928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351224040, 1351223773, 1351224004, 1351223871, 1351223949, 1351223928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16044473648071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:16:32.189824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/34/image_10042025_14_35_06_10355.jpg', '/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_16_10369.jpg', '/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_26_9401.jpg', '/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_36_10358.jpg', '/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_46_10438.jpg', '/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_56_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/34/image_10042025_14_35_06_10355.jpg
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_16_10369.jpg
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_26_9401.jpg
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_36_10358.jpg
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_46_10438.jpg
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_35_56_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351224553","1351224649","1351224591","1351224698","1351224504","1351224398"],"photo_ids_order":["1351224398","1351224504","1351224553","1351224591","1351224649","1351224698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63b1f32e6c2666e4f78e3625c7e2376f.jpg","text":"TemporaryFile(/tmp/multipartBody1320585457181704839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9bdadd61fb41d4ab71644712b95e238.jpg","text":"TemporaryFile(/tmp/multipartBody883105215704405114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/191a36a859215c2b2ef3516fdb137a21.jpg","text":"TemporaryFile(/tmp/multipartBody7049399803731347536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55bf62b9dfdb825996de60b4d0592256.jpg","text":"TemporaryFile(/tmp/multipartBody3234260329726906222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9b21a0e5011e775d20098fe30817f43.jpg","text":"TemporaryFile(/tmp/multipartBody7965862897779908959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad68bb2f3d7092fb8ff84cea5f2aeeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7739674183934431284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298252650,"filename":"image_10042025_14_35_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351224553","file1":"1351224504","file0":"1351224398","file4":"1351224649","file5":"1351224698","file3":"1351224591"},"map_files_photo_id_array":[{"photo_id":"1351224698","filename":"file5"},{"photo_id":"1351224553","filename":"file2"},{"photo_id":"1351224649","filename":"file4"},{"photo_id":"1351224504","filename":"file1"},{"photo_id":"1351224398","filename":"file0"},{"photo_id":"1351224591","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351224553":["hashtag1","hashtag2"]},{"1351224649":["hashtag1","hashtag2"]},{"1351224591":["hashtag1","hashtag2"]},{"1351224698":["hashtag1","hashtag2"]},{"1351224504":["hashtag1","hashtag2"]},{"1351224398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351224553, 1351224649, 1351224591, 1351224698, 1351224504, 1351224398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50800633430481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:17:32.445395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/35/image_10042025_14_36_06_10363.jpg', '/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_16_9428.jpg', '/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_26_10429.jpg', '/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_35_9449.jpg', '/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_46_10450.jpg', '/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/35/image_10042025_14_36_06_10363.jpg
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_16_9428.jpg
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_26_10429.jpg
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_35_9449.jpg
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_46_10450.jpg
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_36_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351225915","1351225395","1351225947","1351225547","1351225655","1351225798"],"photo_ids_order":["1351225395","1351225547","1351225655","1351225798","1351225915","1351225947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5fd01f41416c8f01a81057b2d4efc68.jpg","text":"TemporaryFile(/tmp/multipartBody7719464182668522889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91ab37a8c57dbb1579b48a2a05bd0479.jpg","text":"TemporaryFile(/tmp/multipartBody5644799795706204767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be1d7f517f08867550dc46567a6fc311.jpg","text":"TemporaryFile(/tmp/multipartBody8467686044424947819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5784a561df913b1903575027d4585b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2315530210474823934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3446d831d73c74a87490900a0295a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody364498179818721227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25919c5572cabcd5fdaae8e90067263c.jpg","text":"TemporaryFile(/tmp/multipartBody1143930788847104643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298312911,"filename":"image_10042025_14_36_35_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351225655","file1":"1351225547","file0":"1351225395","file4":"1351225915","file5":"1351225947","file3":"1351225798"},"map_files_photo_id_array":[{"photo_id":"1351225947","filename":"file5"},{"photo_id":"1351225655","filename":"file2"},{"photo_id":"1351225915","filename":"file4"},{"photo_id":"1351225547","filename":"file1"},{"photo_id":"1351225395","filename":"file0"},{"photo_id":"1351225798","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351225915":["hashtag1","hashtag2"]},{"1351225395":["hashtag1","hashtag2"]},{"1351225947":["hashtag1","hashtag2"]},{"1351225547":["hashtag1","hashtag2"]},{"1351225655":["hashtag1","hashtag2"]},{"1351225798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351225915, 1351225395, 1351225947, 1351225547, 1351225655, 1351225798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.563366413116455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:18:32.604631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/36/image_10042025_14_37_06_9353.jpg', '/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_16_10373.jpg', '/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_25_9460.jpg', '/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_36_10407.jpg', '/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_46_10362.jpg', '/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_56_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/36/image_10042025_14_37_06_9353.jpg
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_16_10373.jpg
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_25_9460.jpg
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_36_10407.jpg
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_46_10362.jpg
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_37_56_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351226638","1351226631","1351226427","1351226552","1351226705","1351226600"],"photo_ids_order":["1351226427","1351226552","1351226600","1351226631","1351226638","1351226705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5afbea0eacb620862a945068823deacf.jpg","text":"TemporaryFile(/tmp/multipartBody2941791661589717099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0061621bf3253da03e2d323cbe62241a.jpg","text":"TemporaryFile(/tmp/multipartBody5992975475326891726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e88c5feacf81317d3140fe18b5bce465.jpg","text":"TemporaryFile(/tmp/multipartBody6308896714187402369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a7174f0fce167ce789bd2951d9fb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody6105784615492202153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/057e629b44a3c9678a8d44ee81c47fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6018846147834213196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_56_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b345655a9ce4b22cb3dc2d5801812608.jpg","text":"TemporaryFile(/tmp/multipartBody7518374129684066075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298373071,"filename":"image_10042025_14_37_25_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351226600","file1":"1351226552","file0":"1351226427","file4":"1351226638","file5":"1351226705","file3":"1351226631"},"map_files_photo_id_array":[{"photo_id":"1351226705","filename":"file5"},{"photo_id":"1351226600","filename":"file2"},{"photo_id":"1351226638","filename":"file4"},{"photo_id":"1351226552","filename":"file1"},{"photo_id":"1351226427","filename":"file0"},{"photo_id":"1351226631","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351226638":["hashtag1","hashtag2"]},{"1351226631":["hashtag1","hashtag2"]},{"1351226427":["hashtag1","hashtag2"]},{"1351226552":["hashtag1","hashtag2"]},{"1351226705":["hashtag1","hashtag2"]},{"1351226600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351226638, 1351226631, 1351226427, 1351226552, 1351226705, 1351226600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.824129581451416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:19:32.891655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/37/image_10042025_14_38_06_10349.jpg', '/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_16_10404.jpg', '/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_26_9386.jpg', '/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_36_10352.jpg', '/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_45_9335.jpg', '/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/37/image_10042025_14_38_06_10349.jpg
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_16_10404.jpg
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_26_9386.jpg
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_36_10352.jpg
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_45_9335.jpg
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_38_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351227144","1351226990","1351227044","1351227085","1351227100","1351227022"],"photo_ids_order":["1351226990","1351227022","1351227044","1351227085","1351227100","1351227144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/344ba04771f37fb6b5ead509e795ffd8.jpg","text":"TemporaryFile(/tmp/multipartBody4444123640920413283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b7b7d74f710c5c62f4ac3704ac770ac.jpg","text":"TemporaryFile(/tmp/multipartBody1578670443463667008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e910ec652fd753b04a8bc4928254ab90.jpg","text":"TemporaryFile(/tmp/multipartBody2029918133179356739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66bd0c9d2cf567d486b4e4b958efad81.jpg","text":"TemporaryFile(/tmp/multipartBody557470046704928863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/710b1e3b745cadf73bcc3ac9b9205f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2316856584797434114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0908feb739f5af69945958e83da1eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4375398932492081424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298433362,"filename":"image_10042025_14_38_16_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351227044","file1":"1351227022","file0":"1351226990","file4":"1351227100","file5":"1351227144","file3":"1351227085"},"map_files_photo_id_array":[{"photo_id":"1351227144","filename":"file5"},{"photo_id":"1351227044","filename":"file2"},{"photo_id":"1351227100","filename":"file4"},{"photo_id":"1351227022","filename":"file1"},{"photo_id":"1351226990","filename":"file0"},{"photo_id":"1351227085","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351227144":["hashtag1","hashtag2"]},{"1351226990":["hashtag1","hashtag2"]},{"1351227044":["hashtag1","hashtag2"]},{"1351227085":["hashtag1","hashtag2"]},{"1351227100":["hashtag1","hashtag2"]},{"1351227022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351227144, 1351226990, 1351227044, 1351227085, 1351227100, 1351227022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57934927940369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:20:32.934145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/38/image_10042025_14_39_06_10357.jpg', '/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_26_10459.jpg', '/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_36_9455.jpg', '/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_56_10367.jpg', '/home/pi/Desktop/images/10042025/14/39/image_10042025_14_40_06_9351.jpg', '/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_16_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/38/image_10042025_14_39_06_10357.jpg
/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_26_10459.jpg
/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_36_9455.jpg
/home/pi/Desktop/images/10042025/14/39/image_10042025_14_39_56_10367.jpg
/home/pi/Desktop/images/10042025/14/39/image_10042025_14_40_06_9351.jpg
/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_16_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351227558","1351227666","1351227612","1351227788","1351227734","1351227694"],"photo_ids_order":["1351227558","1351227612","1351227666","1351227694","1351227734","1351227788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d308a969528a871dc8bdc70d9cf254ae.jpg","text":"TemporaryFile(/tmp/multipartBody2380927126324609196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_39_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc84c2cdcfe643faa51cc86ab9711557.jpg","text":"TemporaryFile(/tmp/multipartBody5428442755330916781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_39_36_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7156fd9f184a9b05d3333d258af86e6b.jpg","text":"TemporaryFile(/tmp/multipartBody938350499059737157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_39_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94f310741625853f34aca0c0dbd87de5.jpg","text":"TemporaryFile(/tmp/multipartBody3520557866127504390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_40_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa69f344e55a161df06d0cd3968011d9.jpg","text":"TemporaryFile(/tmp/multipartBody7730461973880611918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_40_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e6784b7d08a996163baf88eb18f630f.jpg","text":"TemporaryFile(/tmp/multipartBody8328399487748896191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298493390,"filename":"image_10042025_14_39_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351227666","file1":"1351227612","file0":"1351227558","file4":"1351227734","file5":"1351227788","file3":"1351227694"},"map_files_photo_id_array":[{"photo_id":"1351227788","filename":"file5"},{"photo_id":"1351227666","filename":"file2"},{"photo_id":"1351227734","filename":"file4"},{"photo_id":"1351227612","filename":"file1"},{"photo_id":"1351227558","filename":"file0"},{"photo_id":"1351227694","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351227558":["hashtag1","hashtag2"]},{"1351227666":["hashtag1","hashtag2"]},{"1351227612":["hashtag1","hashtag2"]},{"1351227788":["hashtag1","hashtag2"]},{"1351227734":["hashtag1","hashtag2"]},{"1351227694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351227558, 1351227666, 1351227612, 1351227788, 1351227734, 1351227694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99840593338013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:21:33.085826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_26_10418.jpg', '/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_36_9344.jpg', '/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_46_10434.jpg', '/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_16_10493.jpg', '/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_36_10356.jpg', '/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_46_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_26_10418.jpg
/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_36_9344.jpg
/home/pi/Desktop/images/10042025/14/40/image_10042025_14_40_46_10434.jpg
/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_16_10493.jpg
/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_36_10356.jpg
/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_46_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351228104","1351228277","1351228238","1351228139","1351228189","1351228144"],"photo_ids_order":["1351228104","1351228139","1351228144","1351228189","1351228238","1351228277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c6ecabbb7d1dd2edf77a07da1108fd1.jpg","text":"TemporaryFile(/tmp/multipartBody186919297731675319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_40_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3804e66b0804d1527fa485dec01dac6.jpg","text":"TemporaryFile(/tmp/multipartBody4205559153770097926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_41_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1e9d2f4d931f3378dc42174a997e194.jpg","text":"TemporaryFile(/tmp/multipartBody1497569827779850313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_41_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cd12b85f70cd893539c10249d5bf934.jpg","text":"TemporaryFile(/tmp/multipartBody6316025287519025373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_40_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e44d7dcd648b6326df175b79f3b06812.jpg","text":"TemporaryFile(/tmp/multipartBody5653008604293896167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_41_16_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/919a47f9066f4d52e727e7d727463672.jpg","text":"TemporaryFile(/tmp/multipartBody2067573421366320209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298553540,"filename":"image_10042025_14_40_46_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351228144","file1":"1351228139","file0":"1351228104","file4":"1351228238","file5":"1351228277","file3":"1351228189"},"map_files_photo_id_array":[{"photo_id":"1351228277","filename":"file5"},{"photo_id":"1351228144","filename":"file2"},{"photo_id":"1351228238","filename":"file4"},{"photo_id":"1351228139","filename":"file1"},{"photo_id":"1351228104","filename":"file0"},{"photo_id":"1351228189","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351228104":["hashtag1","hashtag2"]},{"1351228277":["hashtag1","hashtag2"]},{"1351228238":["hashtag1","hashtag2"]},{"1351228139":["hashtag1","hashtag2"]},{"1351228189":["hashtag1","hashtag2"]},{"1351228144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351228104, 1351228277, 1351228238, 1351228139, 1351228189, 1351228144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520662784576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:22:32.343448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_56_10351.jpg', '/home/pi/Desktop/images/10042025/14/41/image_10042025_14_42_06_10408.jpg', '/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_16_9346.jpg', '/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_26_10361.jpg', '/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_36_10370.jpg', '/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_46_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/41/image_10042025_14_41_56_10351.jpg
/home/pi/Desktop/images/10042025/14/41/image_10042025_14_42_06_10408.jpg
/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_16_9346.jpg
/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_26_10361.jpg
/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_36_10370.jpg
/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_46_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351228379","1351228361","1351228420","1351228395","1351228368","1351228356"],"photo_ids_order":["1351228356","1351228361","1351228368","1351228379","1351228395","1351228420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2e7d7a10d686e15e4d08a903d07d172.jpg","text":"TemporaryFile(/tmp/multipartBody5163560618000522001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_42_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc4516428c310d8f74b404ce1177ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody761031078160284975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_42_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09fc5d39afbae16daf9c7604b1631ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5300106804024391920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_42_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1948df927acd69acc4e0f360e743811c.jpg","text":"TemporaryFile(/tmp/multipartBody8292655886856004820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_42_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0b59f29a42ff6f56cc610a284b783f8.jpg","text":"TemporaryFile(/tmp/multipartBody4559465150415233572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_42_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/382a24046ad52f6743a1d173a070ac70.jpg","text":"TemporaryFile(/tmp/multipartBody525798359165515193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298612800,"filename":"image_10042025_14_41_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351228368","file1":"1351228361","file0":"1351228356","file4":"1351228395","file5":"1351228420","file3":"1351228379"},"map_files_photo_id_array":[{"photo_id":"1351228420","filename":"file5"},{"photo_id":"1351228368","filename":"file2"},{"photo_id":"1351228395","filename":"file4"},{"photo_id":"1351228361","filename":"file1"},{"photo_id":"1351228356","filename":"file0"},{"photo_id":"1351228379","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351228379":["hashtag1","hashtag2"]},{"1351228361":["hashtag1","hashtag2"]},{"1351228420":["hashtag1","hashtag2"]},{"1351228395":["hashtag1","hashtag2"]},{"1351228368":["hashtag1","hashtag2"]},{"1351228356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351228379, 1351228361, 1351228420, 1351228395, 1351228368, 1351228356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96665573120117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:23:32.516073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_56_10346.jpg', '/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_26_10355.jpg', '/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_36_9449.jpg', '/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_46_10354.jpg', '/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_56_10414.jpg', '/home/pi/Desktop/images/10042025/14/43/image_10042025_14_44_06_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/42/image_10042025_14_42_56_10346.jpg
/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_26_10355.jpg
/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_36_9449.jpg
/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_46_10354.jpg
/home/pi/Desktop/images/10042025/14/43/image_10042025_14_43_56_10414.jpg
/home/pi/Desktop/images/10042025/14/43/image_10042025_14_44_06_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351228625","1351228654","1351228663","1351228570","1351228692","1351228596"],"photo_ids_order":["1351228570","1351228596","1351228625","1351228654","1351228663","1351228692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca08f74e564a93f0cb9b87c0d803882b.jpg","text":"TemporaryFile(/tmp/multipartBody5876154396084725119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_43_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74b549216ca7b9bf42dc109316424f56.jpg","text":"TemporaryFile(/tmp/multipartBody8958397802841290897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_43_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d4b793dee6739e5a174bf710bc56e41.jpg","text":"TemporaryFile(/tmp/multipartBody8311023859227288698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_43_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ae8de8ef5f76a66c5b80191694e60c3.jpg","text":"TemporaryFile(/tmp/multipartBody8713116016370653642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_42_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dfc2738d1bb468ee4bc7fcf1cdb6635.jpg","text":"TemporaryFile(/tmp/multipartBody6972513993584812243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_44_06_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5836b7129583359ecb50407dd2bc7f03.jpg","text":"TemporaryFile(/tmp/multipartBody5580677527744174778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298672971,"filename":"image_10042025_14_43_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351228625","file1":"1351228596","file0":"1351228570","file4":"1351228663","file5":"1351228692","file3":"1351228654"},"map_files_photo_id_array":[{"photo_id":"1351228692","filename":"file5"},{"photo_id":"1351228625","filename":"file2"},{"photo_id":"1351228663","filename":"file4"},{"photo_id":"1351228596","filename":"file1"},{"photo_id":"1351228570","filename":"file0"},{"photo_id":"1351228654","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351228625":["hashtag1","hashtag2"]},{"1351228654":["hashtag1","hashtag2"]},{"1351228663":["hashtag1","hashtag2"]},{"1351228570":["hashtag1","hashtag2"]},{"1351228692":["hashtag1","hashtag2"]},{"1351228596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351228625, 1351228654, 1351228663, 1351228570, 1351228692, 1351228596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05874562263489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:24:32.743815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_16_10367.jpg', '/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_26_9472.jpg', '/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_36_10353.jpg', '/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_46_10381.jpg', '/home/pi/Desktop/images/10042025/14/44/image_10042025_14_45_06_10350.jpg', '/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_16_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_16_10367.jpg
/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_26_9472.jpg
/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_36_10353.jpg
/home/pi/Desktop/images/10042025/14/44/image_10042025_14_44_46_10381.jpg
/home/pi/Desktop/images/10042025/14/44/image_10042025_14_45_06_10350.jpg
/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_16_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351228892","1351228889","1351228868","1351228826","1351228882","1351228900"],"photo_ids_order":["1351228826","1351228868","1351228882","1351228889","1351228892","1351228900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e6d3c71eafdf7cda743490e07da488e.jpg","text":"TemporaryFile(/tmp/multipartBody378611277597576425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_45_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f55fbbb75f4628d1704118290abe60aa.jpg","text":"TemporaryFile(/tmp/multipartBody7273961459390395048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_44_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b21767d1bf2f46f7dea702150fb85dc.jpg","text":"TemporaryFile(/tmp/multipartBody4111771702809618931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_44_26_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54edfd7510f46fe25f58567cae28b72e.jpg","text":"TemporaryFile(/tmp/multipartBody4058105214608519063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_44_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e3ae39aa7cd01ca460b7a9eff72dbd3.jpg","text":"TemporaryFile(/tmp/multipartBody798624561020891173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_44_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c56793e07f577c0a382e81b81fe8572b.jpg","text":"TemporaryFile(/tmp/multipartBody1187922980447583981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298733195,"filename":"image_10042025_14_45_16_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351228882","file1":"1351228868","file0":"1351228826","file4":"1351228892","file5":"1351228900","file3":"1351228889"},"map_files_photo_id_array":[{"photo_id":"1351228900","filename":"file5"},{"photo_id":"1351228882","filename":"file2"},{"photo_id":"1351228892","filename":"file4"},{"photo_id":"1351228868","filename":"file1"},{"photo_id":"1351228826","filename":"file0"},{"photo_id":"1351228889","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351228892":["hashtag1","hashtag2"]},{"1351228889":["hashtag1","hashtag2"]},{"1351228868":["hashtag1","hashtag2"]},{"1351228826":["hashtag1","hashtag2"]},{"1351228882":["hashtag1","hashtag2"]},{"1351228900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351228892, 1351228889, 1351228868, 1351228826, 1351228882, 1351228900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48066306114197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:25:32.851324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_26_10375.jpg', '/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_36_10351.jpg', '/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_46_9402.jpg', '/home/pi/Desktop/images/10042025/14/46/image_10042025_14_46_46_10338.jpg', '/home/pi/Desktop/images/10042025/14/46/image_10042025_14_46_56_10359.jpg', '/home/pi/Desktop/images/10042025/14/46/image_10042025_14_47_06_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_26_10375.jpg
/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_36_10351.jpg
/home/pi/Desktop/images/10042025/14/45/image_10042025_14_45_46_9402.jpg
/home/pi/Desktop/images/10042025/14/46/image_10042025_14_46_46_10338.jpg
/home/pi/Desktop/images/10042025/14/46/image_10042025_14_46_56_10359.jpg
/home/pi/Desktop/images/10042025/14/46/image_10042025_14_47_06_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351229054","1351229045","1351229182","1351229083","1351229125","1351229226"],"photo_ids_order":["1351229045","1351229054","1351229083","1351229125","1351229182","1351229226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/707e63352be595f8a7fe41ab2a96672f.jpg","text":"TemporaryFile(/tmp/multipartBody478179726877250953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_45_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8a71eee26e0b8964efdd3fc86c2ba66.jpg","text":"TemporaryFile(/tmp/multipartBody360210723628143386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_45_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40424707c3056285ce87b931597d23a5.jpg","text":"TemporaryFile(/tmp/multipartBody2347701288713750854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_46_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d7988b7734ffaca1669a1f4b0877e31.jpg","text":"TemporaryFile(/tmp/multipartBody5245076501510462396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_45_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52748bc7fbfa5113035daf1728ff26db.jpg","text":"TemporaryFile(/tmp/multipartBody6539184689741410801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_46_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0e54f42c32709a7d39d90e3b8adb024.jpg","text":"TemporaryFile(/tmp/multipartBody3742866889521932452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298793325,"filename":"image_10042025_14_47_06_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351229083","file1":"1351229054","file0":"1351229045","file4":"1351229182","file5":"1351229226","file3":"1351229125"},"map_files_photo_id_array":[{"photo_id":"1351229226","filename":"file5"},{"photo_id":"1351229083","filename":"file2"},{"photo_id":"1351229182","filename":"file4"},{"photo_id":"1351229054","filename":"file1"},{"photo_id":"1351229045","filename":"file0"},{"photo_id":"1351229125","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351229054":["hashtag1","hashtag2"]},{"1351229045":["hashtag1","hashtag2"]},{"1351229182":["hashtag1","hashtag2"]},{"1351229083":["hashtag1","hashtag2"]},{"1351229125":["hashtag1","hashtag2"]},{"1351229226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351229054, 1351229045, 1351229182, 1351229083, 1351229125, 1351229226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.011006116867065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:26:32.966215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_16_10336.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_26_10409.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_36_9375.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_46_10345.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_56_9349.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_16_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_16_10336.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_26_10409.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_36_9375.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_46_10345.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_56_9349.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_16_10424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3754148483276367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 17:26:43.003070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_16_10336.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_26_10409.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_36_9375.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_46_10345.jpg', '/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_56_9349.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_16_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_16_10336.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_26_10409.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_36_9375.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_46_10345.jpg
/home/pi/Desktop/images/10042025/14/47/image_10042025_14_47_56_9349.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_16_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351229723","1351229633","1351229665","1351229743","1351229568","1351229607"],"photo_ids_order":["1351229568","1351229607","1351229633","1351229665","1351229723","1351229743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c48c0509e58808d0bf9aeeca46faee00.jpg","text":"TemporaryFile(/tmp/multipartBody2451654645389543816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_47_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/492d9593f7d3f8c2367670aa69642675.jpg","text":"TemporaryFile(/tmp/multipartBody5672024364648874064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_47_36_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffb9d98923e5bd25b1e0bf124be894e3.jpg","text":"TemporaryFile(/tmp/multipartBody1853624062801797702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_47_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e17d32473decf4078856b96745d1960b.jpg","text":"TemporaryFile(/tmp/multipartBody1266414464840757566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_48_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2177c0535888e7a48161f341974705b3.jpg","text":"TemporaryFile(/tmp/multipartBody5898172503668977518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_47_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b75b33d7e10edf46678346e9ac66f726.jpg","text":"TemporaryFile(/tmp/multipartBody7915155501519207356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298863467,"filename":"image_10042025_14_47_26_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351229633","file1":"1351229607","file0":"1351229568","file4":"1351229723","file5":"1351229743","file3":"1351229665"},"map_files_photo_id_array":[{"photo_id":"1351229743","filename":"file5"},{"photo_id":"1351229633","filename":"file2"},{"photo_id":"1351229723","filename":"file4"},{"photo_id":"1351229607","filename":"file1"},{"photo_id":"1351229568","filename":"file0"},{"photo_id":"1351229665","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351229723":["hashtag1","hashtag2"]},{"1351229633":["hashtag1","hashtag2"]},{"1351229665":["hashtag1","hashtag2"]},{"1351229743":["hashtag1","hashtag2"]},{"1351229568":["hashtag1","hashtag2"]},{"1351229607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351229723, 1351229633, 1351229665, 1351229743, 1351229568, 1351229607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.894176721572876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:27:32.249545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_26_9430.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_36_10392.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_46_9429.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_56_10350.jpg', '/home/pi/Desktop/images/10042025/14/48/image_10042025_14_49_06_10491.jpg', '/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_16_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_26_9430.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_36_10392.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_46_9429.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_48_56_10350.jpg
/home/pi/Desktop/images/10042025/14/48/image_10042025_14_49_06_10491.jpg
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_16_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351229969","1351229909","1351229837","1351229935","1351229880","1351229811"],"photo_ids_order":["1351229811","1351229837","1351229880","1351229909","1351229935","1351229969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/013e057112b35a7c0cd75ecb3a27c49c.jpg","text":"TemporaryFile(/tmp/multipartBody5324041484543052626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_49_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/026d17fe5645dc8d552591c7ed1fffb8.jpg","text":"TemporaryFile(/tmp/multipartBody2160778245195656939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_48_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4fb46b90b74762a09c505fb56387168.jpg","text":"TemporaryFile(/tmp/multipartBody5265273193100466970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_48_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cc426b0aa01410ec8acd00821b2e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody2344797930009410106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_49_06_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fd372326bc234225355683a9f7dabb4.jpg","text":"TemporaryFile(/tmp/multipartBody7508763363757302009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_48_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5d61498b724ab02e902a899fe95984b.jpg","text":"TemporaryFile(/tmp/multipartBody7673408205618042786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298912704,"filename":"image_10042025_14_48_26_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351229880","file1":"1351229837","file0":"1351229811","file4":"1351229935","file5":"1351229969","file3":"1351229909"},"map_files_photo_id_array":[{"photo_id":"1351229969","filename":"file5"},{"photo_id":"1351229880","filename":"file2"},{"photo_id":"1351229935","filename":"file4"},{"photo_id":"1351229837","filename":"file1"},{"photo_id":"1351229811","filename":"file0"},{"photo_id":"1351229909","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351229969":["hashtag1","hashtag2"]},{"1351229909":["hashtag1","hashtag2"]},{"1351229837":["hashtag1","hashtag2"]},{"1351229935":["hashtag1","hashtag2"]},{"1351229880":["hashtag1","hashtag2"]},{"1351229811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351229969, 1351229909, 1351229837, 1351229935, 1351229880, 1351229811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.605684995651245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:28:32.439043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_26_10428.jpg', '/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_36_9352.jpg', '/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_46_10417.jpg', '/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_55_9430.jpg', '/home/pi/Desktop/images/10042025/14/49/image_10042025_14_50_06_10340.jpg', '/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_16_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_26_10428.jpg
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_36_9352.jpg
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_46_10417.jpg
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_49_55_9430.jpg
/home/pi/Desktop/images/10042025/14/49/image_10042025_14_50_06_10340.jpg
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_16_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351230490","1351230556","1351230442","1351230334","1351230508","1351230525"],"photo_ids_order":["1351230334","1351230442","1351230490","1351230508","1351230525","1351230556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b28105c2ba8b54a0c0f978c90bb8071.jpg","text":"TemporaryFile(/tmp/multipartBody4507600978636037970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_49_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb272fcacceeb9f037778e5ebf22945c.jpg","text":"TemporaryFile(/tmp/multipartBody111761584139469955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_50_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2d9aa375219d5ef26295aad57ce8105.jpg","text":"TemporaryFile(/tmp/multipartBody7143339568775254061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_49_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fb2e55a39d847e9f084856c54d4ca4c.jpg","text":"TemporaryFile(/tmp/multipartBody6909108999883525322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_49_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25f01b218635f115e901b54db33127bf.jpg","text":"TemporaryFile(/tmp/multipartBody7050795439855681026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_49_55_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/283e7ad826f7d9c0868eccb9dd9e1399.jpg","text":"TemporaryFile(/tmp/multipartBody2148282637508856291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744298972912,"filename":"image_10042025_14_50_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351230490","file1":"1351230442","file0":"1351230334","file4":"1351230525","file5":"1351230556","file3":"1351230508"},"map_files_photo_id_array":[{"photo_id":"1351230556","filename":"file5"},{"photo_id":"1351230490","filename":"file2"},{"photo_id":"1351230525","filename":"file4"},{"photo_id":"1351230442","filename":"file1"},{"photo_id":"1351230334","filename":"file0"},{"photo_id":"1351230508","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351230490":["hashtag1","hashtag2"]},{"1351230556":["hashtag1","hashtag2"]},{"1351230442":["hashtag1","hashtag2"]},{"1351230334":["hashtag1","hashtag2"]},{"1351230508":["hashtag1","hashtag2"]},{"1351230525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351230490, 1351230556, 1351230442, 1351230334, 1351230508, 1351230525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52013039588928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:29:32.684729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_26_9396.jpg', '/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_36_10335.jpg', '/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_46_10413.jpg', '/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_56_9462.jpg', '/home/pi/Desktop/images/10042025/14/50/image_10042025_14_51_06_10336.jpg', '/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_15_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_26_9396.jpg
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_36_10335.jpg
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_46_10413.jpg
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_50_56_9462.jpg
/home/pi/Desktop/images/10042025/14/50/image_10042025_14_51_06_10336.jpg
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_15_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351231361","1351231070","1351231343","1351230998","1351231228","1351231045"],"photo_ids_order":["1351230998","1351231045","1351231070","1351231228","1351231343","1351231361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5235bea4dc2f2cae3b6ddd9f44fb37a6.jpg","text":"TemporaryFile(/tmp/multipartBody582894835505537791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_51_15_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a0befae74d9ecec52e84feda0400d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3004002042755221684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_50_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6261f47854d060e04b9d52632c4a593c.jpg","text":"TemporaryFile(/tmp/multipartBody3019748963569911318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_51_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0e87d256b3c2884078429536187ab74.jpg","text":"TemporaryFile(/tmp/multipartBody7305119672810225686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_50_26_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/035b8c549c5b365528176b159da7e976.jpg","text":"TemporaryFile(/tmp/multipartBody5218685504150683509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_50_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2da28ad6ab828f662fc9e7e1d7ebcb0.jpg","text":"TemporaryFile(/tmp/multipartBody4587527649947795391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299033144,"filename":"image_10042025_14_50_36_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351231070","file1":"1351231045","file0":"1351230998","file4":"1351231343","file5":"1351231361","file3":"1351231228"},"map_files_photo_id_array":[{"photo_id":"1351231361","filename":"file5"},{"photo_id":"1351231070","filename":"file2"},{"photo_id":"1351231343","filename":"file4"},{"photo_id":"1351231045","filename":"file1"},{"photo_id":"1351230998","filename":"file0"},{"photo_id":"1351231228","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351231361":["hashtag1","hashtag2"]},{"1351231070":["hashtag1","hashtag2"]},{"1351231343":["hashtag1","hashtag2"]},{"1351230998":["hashtag1","hashtag2"]},{"1351231228":["hashtag1","hashtag2"]},{"1351231045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351231361, 1351231070, 1351231343, 1351230998, 1351231228, 1351231045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93812656402588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:30:32.885209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_26_10370.jpg', '/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_36_10418.jpg', '/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_46_9344.jpg', '/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_56_10382.jpg', '/home/pi/Desktop/images/10042025/14/51/image_10042025_14_52_06_10398.jpg', '/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_16_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_26_10370.jpg
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_36_10418.jpg
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_46_9344.jpg
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_51_56_10382.jpg
/home/pi/Desktop/images/10042025/14/51/image_10042025_14_52_06_10398.jpg
/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_16_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351231547","1351231655","1351231523","1351231625","1351231582","1351231682"],"photo_ids_order":["1351231523","1351231547","1351231582","1351231625","1351231655","1351231682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec6cdb3a03549bbe1bd47cc187a24afe.jpg","text":"TemporaryFile(/tmp/multipartBody1956942617956087010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_51_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e63932a80344815be5fed9c9c474156.jpg","text":"TemporaryFile(/tmp/multipartBody3615446681670441553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_52_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24c16c54a9b077f00c2d19645f397ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4524240087995465547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_51_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f317271424209eebdceae9d3d21f3440.jpg","text":"TemporaryFile(/tmp/multipartBody8928888092920547928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_51_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47577684eb70240d0dd91192819b5531.jpg","text":"TemporaryFile(/tmp/multipartBody6900109097885440044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_51_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00ef25ed47b29e36f87b3e02bf9ca8da.jpg","text":"TemporaryFile(/tmp/multipartBody6328200167989824454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299093378,"filename":"image_10042025_14_52_16_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351231582","file1":"1351231547","file0":"1351231523","file4":"1351231655","file5":"1351231682","file3":"1351231625"},"map_files_photo_id_array":[{"photo_id":"1351231682","filename":"file5"},{"photo_id":"1351231582","filename":"file2"},{"photo_id":"1351231655","filename":"file4"},{"photo_id":"1351231547","filename":"file1"},{"photo_id":"1351231523","filename":"file0"},{"photo_id":"1351231625","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351231547":["hashtag1","hashtag2"]},{"1351231655":["hashtag1","hashtag2"]},{"1351231523":["hashtag1","hashtag2"]},{"1351231625":["hashtag1","hashtag2"]},{"1351231582":["hashtag1","hashtag2"]},{"1351231682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351231547, 1351231655, 1351231523, 1351231625, 1351231582, 1351231682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31899428367615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:31:33.068964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_26_10438.jpg', '/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_35_9332.jpg', '/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_46_10358.jpg', '/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_56_10361.jpg', '/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_16_10344.jpg', '/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_26_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_26_10438.jpg
/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_35_9332.jpg
/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_46_10358.jpg
/home/pi/Desktop/images/10042025/14/52/image_10042025_14_52_56_10361.jpg
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_16_10344.jpg
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_26_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":["1351231841","1351231916","1351231864","1351231903","1351231909","1351231880"],"photo_ids_order":["1351231841","1351231864","1351231880","1351231903","1351231909","1351231916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c53fde9fccfca29c3a239dab933b5efa.jpg","text":"TemporaryFile(/tmp/multipartBody324327399914796473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_52_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dba42828a8ce28c318e3441a83eb6756.jpg","text":"TemporaryFile(/tmp/multipartBody4615914846254999708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_53_26_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2a23603b95aa03a940b2752e5897e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2187036680868503101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_52_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a23a0fea1befb02a9f934a924c3594bd.jpg","text":"TemporaryFile(/tmp/multipartBody4709592842927985518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_52_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bc591fa71445d19a8c57dc9c7b69f48.jpg","text":"TemporaryFile(/tmp/multipartBody4366014110215387078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_53_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a627aade7981866adf1b63f5458f4948.jpg","text":"TemporaryFile(/tmp/multipartBody5658687300516553800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299153530,"filename":"image_10042025_14_52_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351231880","file1":"1351231864","file0":"1351231841","file4":"1351231909","file5":"1351231916","file3":"1351231903"},"map_files_photo_id_array":[{"photo_id":"1351231916","filename":"file5"},{"photo_id":"1351231880","filename":"file2"},{"photo_id":"1351231909","filename":"file4"},{"photo_id":"1351231864","filename":"file1"},{"photo_id":"1351231841","filename":"file0"},{"photo_id":"1351231903","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351231841":["hashtag1","hashtag2"]},{"1351231916":["hashtag1","hashtag2"]},{"1351231864":["hashtag1","hashtag2"]},{"1351231903":["hashtag1","hashtag2"]},{"1351231909":["hashtag1","hashtag2"]},{"1351231880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351231841, 1351231916, 1351231864, 1351231903, 1351231909, 1351231880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61439490318298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:32:32.228725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_36_9409.jpg', '/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_46_10333.jpg', '/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_56_9466.jpg', '/home/pi/Desktop/images/10042025/14/53/image_10042025_14_54_06_10375.jpg', '/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_16_10357.jpg', '/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_26_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_36_9409.jpg
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_46_10333.jpg
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_53_56_9466.jpg
/home/pi/Desktop/images/10042025/14/53/image_10042025_14_54_06_10375.jpg
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_16_10357.jpg
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_26_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351232105","1351232077","1351232050","1351232032","1351232116","1351232008"],"photo_ids_order":["1351232008","1351232032","1351232050","1351232077","1351232105","1351232116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/943127c6b0ff97888ad7cc0921d73df3.jpg","text":"TemporaryFile(/tmp/multipartBody2567682380423814558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_54_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3b3d15458e9c45204004a3000533bde.jpg","text":"TemporaryFile(/tmp/multipartBody5856659604319446590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_54_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d46b89fc1cd5382d713a1f1415ea54fc.jpg","text":"TemporaryFile(/tmp/multipartBody3870687558455266257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_53_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c27f138fa51b5773eb7c96a8ab66b6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2047523434922076944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_53_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/534e926df1e0ef8480ad43575680ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody2983909605050348232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_54_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea11b119052c028ecd4241d8aaf88416.jpg","text":"TemporaryFile(/tmp/multipartBody8672893849396623868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299212778,"filename":"image_10042025_14_53_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351232050","file1":"1351232032","file0":"1351232008","file4":"1351232105","file5":"1351232116","file3":"1351232077"},"map_files_photo_id_array":[{"photo_id":"1351232116","filename":"file5"},{"photo_id":"1351232050","filename":"file2"},{"photo_id":"1351232105","filename":"file4"},{"photo_id":"1351232032","filename":"file1"},{"photo_id":"1351232008","filename":"file0"},{"photo_id":"1351232077","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351232105":["hashtag1","hashtag2"]},{"1351232077":["hashtag1","hashtag2"]},{"1351232050":["hashtag1","hashtag2"]},{"1351232032":["hashtag1","hashtag2"]},{"1351232116":["hashtag1","hashtag2"]},{"1351232008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351232105, 1351232077, 1351232050, 1351232032, 1351232116, 1351232008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5881245136261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:33:32.457143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_36_10385.jpg', '/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_45_9447.jpg', '/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_56_10455.jpg', '/home/pi/Desktop/images/10042025/14/54/image_10042025_14_55_06_10358.jpg', '/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_16_9334.jpg', '/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_26_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_36_10385.jpg
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_45_9447.jpg
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_54_56_10455.jpg
/home/pi/Desktop/images/10042025/14/54/image_10042025_14_55_06_10358.jpg
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_16_9334.jpg
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_26_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351232185","1351232170","1351232178","1351232166","1351232183","1351232174"],"photo_ids_order":["1351232166","1351232170","1351232174","1351232178","1351232183","1351232185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55c0c23e0a714a71575624524a25a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3905080617102210579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_55_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b789a40e0152d2cdf8d0694ac50de752.jpg","text":"TemporaryFile(/tmp/multipartBody7630891380392295028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_54_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac9b193f891799a368e0eb872a2c7468.jpg","text":"TemporaryFile(/tmp/multipartBody4180210802416527828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_55_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7aa7f65684e83b423e80e9653bce953.jpg","text":"TemporaryFile(/tmp/multipartBody6295701936466758461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_54_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ddd09f40fed58d1727f628b9a715628.jpg","text":"TemporaryFile(/tmp/multipartBody7860045766002554668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_55_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2603cc1bc5897ae727d8737b0915327.jpg","text":"TemporaryFile(/tmp/multipartBody1931593313212122747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299272914,"filename":"image_10042025_14_54_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351232174","file1":"1351232170","file0":"1351232166","file4":"1351232183","file5":"1351232185","file3":"1351232178"},"map_files_photo_id_array":[{"photo_id":"1351232185","filename":"file5"},{"photo_id":"1351232174","filename":"file2"},{"photo_id":"1351232183","filename":"file4"},{"photo_id":"1351232170","filename":"file1"},{"photo_id":"1351232166","filename":"file0"},{"photo_id":"1351232178","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351232185":["hashtag1","hashtag2"]},{"1351232170":["hashtag1","hashtag2"]},{"1351232178":["hashtag1","hashtag2"]},{"1351232166":["hashtag1","hashtag2"]},{"1351232183":["hashtag1","hashtag2"]},{"1351232174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351232185, 1351232170, 1351232178, 1351232166, 1351232183, 1351232174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16429591178894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:34:32.586185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_36_10440.jpg', '/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_46_9353.jpg', '/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_56_10338.jpg', '/home/pi/Desktop/images/10042025/14/55/image_10042025_14_56_06_9418.jpg', '/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_16_10349.jpg', '/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_26_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_36_10440.jpg
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_46_9353.jpg
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_55_56_10338.jpg
/home/pi/Desktop/images/10042025/14/55/image_10042025_14_56_06_9418.jpg
/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_16_10349.jpg
/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_26_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351232606","1351232516","1351232491","1351232542","1351232388","1351232570"],"photo_ids_order":["1351232388","1351232491","1351232516","1351232542","1351232570","1351232606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6265b73763c91a297bf3fc9ff6fd4355.jpg","text":"TemporaryFile(/tmp/multipartBody8793927345827435767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_56_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31ddd4237f713c2935b6bb49997dbff4.jpg","text":"TemporaryFile(/tmp/multipartBody877830888004147070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_55_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bea88f0c12fa1fc9ce923e510e50be21.jpg","text":"TemporaryFile(/tmp/multipartBody1511628800248594073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_55_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/378679c37b6d6f4ce793f79a7e870c81.jpg","text":"TemporaryFile(/tmp/multipartBody718880701797346216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_56_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/366584bfe11baeafaaddca6393303476.jpg","text":"TemporaryFile(/tmp/multipartBody2750223990209797803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_55_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82b3c44827f23dd586a6f6cb03faeb1f.jpg","text":"TemporaryFile(/tmp/multipartBody7037702418437444620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299333061,"filename":"image_10042025_14_56_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351232516","file1":"1351232491","file0":"1351232388","file4":"1351232570","file5":"1351232606","file3":"1351232542"},"map_files_photo_id_array":[{"photo_id":"1351232606","filename":"file5"},{"photo_id":"1351232516","filename":"file2"},{"photo_id":"1351232570","filename":"file4"},{"photo_id":"1351232491","filename":"file1"},{"photo_id":"1351232388","filename":"file0"},{"photo_id":"1351232542","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351232606":["hashtag1","hashtag2"]},{"1351232516":["hashtag1","hashtag2"]},{"1351232491":["hashtag1","hashtag2"]},{"1351232542":["hashtag1","hashtag2"]},{"1351232388":["hashtag1","hashtag2"]},{"1351232570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351232606, 1351232516, 1351232491, 1351232542, 1351232388, 1351232570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13839030265808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:35:32.872370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_36_9398.jpg', '/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_56_10426.jpg', '/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_36_10364.jpg', '/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_46_10360.jpg', '/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_56_9436.jpg', '/home/pi/Desktop/images/10042025/14/57/image_10042025_14_58_06_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_36_9398.jpg
/home/pi/Desktop/images/10042025/14/56/image_10042025_14_56_56_10426.jpg
/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_36_10364.jpg
/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_46_10360.jpg
/home/pi/Desktop/images/10042025/14/57/image_10042025_14_57_56_9436.jpg
/home/pi/Desktop/images/10042025/14/57/image_10042025_14_58_06_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351232747","1351232647","1351232691","1351232643","1351232721","1351232651"],"photo_ids_order":["1351232643","1351232647","1351232651","1351232691","1351232721","1351232747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c278250b0cf9c76bc414bffd7b3b388.jpg","text":"TemporaryFile(/tmp/multipartBody2048836903773789234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_58_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5424dbfd25c06bf1c248f65d4e26f76.jpg","text":"TemporaryFile(/tmp/multipartBody4537648941794797169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_56_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d59af48584429c42d9694f88a966a73c.jpg","text":"TemporaryFile(/tmp/multipartBody6018692282186734933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_57_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22de03a5de475f9e7570f4790fb37140.jpg","text":"TemporaryFile(/tmp/multipartBody1871350385112610996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_56_36_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/198b7fc609443cdfeef58ec68715e5e1.jpg","text":"TemporaryFile(/tmp/multipartBody8788421632514620838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_57_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbac64ce5c43fa78428dfb573be51fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3518920767717085052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299393334,"filename":"image_10042025_14_57_36_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351232651","file1":"1351232647","file0":"1351232643","file4":"1351232721","file5":"1351232747","file3":"1351232691"},"map_files_photo_id_array":[{"photo_id":"1351232747","filename":"file5"},{"photo_id":"1351232651","filename":"file2"},{"photo_id":"1351232721","filename":"file4"},{"photo_id":"1351232647","filename":"file1"},{"photo_id":"1351232643","filename":"file0"},{"photo_id":"1351232691","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351232747":["hashtag1","hashtag2"]},{"1351232647":["hashtag1","hashtag2"]},{"1351232691":["hashtag1","hashtag2"]},{"1351232643":["hashtag1","hashtag2"]},{"1351232721":["hashtag1","hashtag2"]},{"1351232651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351232747, 1351232647, 1351232691, 1351232643, 1351232721, 1351232651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.881550550460815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:36:32.915707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_26_10378.jpg', '/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_36_10359.jpg', '/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_46_9395.jpg', '/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_56_10449.jpg', '/home/pi/Desktop/images/10042025/14/58/image_10042025_14_59_05_9424.jpg', '/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_16_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_26_10378.jpg
/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_36_10359.jpg
/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_46_9395.jpg
/home/pi/Desktop/images/10042025/14/58/image_10042025_14_58_56_10449.jpg
/home/pi/Desktop/images/10042025/14/58/image_10042025_14_59_05_9424.jpg
/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_16_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351232807","1351232851","1351232809","1351232844","1351232838","1351232829"],"photo_ids_order":["1351232807","1351232809","1351232829","1351232838","1351232844","1351232851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/248dc2ab3cd531b20fe8660d06d4f07e.jpg","text":"TemporaryFile(/tmp/multipartBody8661443551198097068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_58_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7d91ab04c7494d7c9cc4b7861d605b7.jpg","text":"TemporaryFile(/tmp/multipartBody1917976083486952978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_59_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5d271fc4aab365b6aed032ed4a65f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1335708951486842035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_58_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03df3fbd6ea1dc52e780b0ef9351996e.jpg","text":"TemporaryFile(/tmp/multipartBody3664131531424304364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_59_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c315e74ad4eea3f23075074e525a8bd6.jpg","text":"TemporaryFile(/tmp/multipartBody899025075748714966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_58_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a4bd90e7f1f2d01d6f7fa25d3cfa143.jpg","text":"TemporaryFile(/tmp/multipartBody2556388530169125659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299453382,"filename":"image_10042025_14_58_46_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351232829","file1":"1351232809","file0":"1351232807","file4":"1351232844","file5":"1351232851","file3":"1351232838"},"map_files_photo_id_array":[{"photo_id":"1351232851","filename":"file5"},{"photo_id":"1351232829","filename":"file2"},{"photo_id":"1351232844","filename":"file4"},{"photo_id":"1351232809","filename":"file1"},{"photo_id":"1351232807","filename":"file0"},{"photo_id":"1351232838","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351232807":["hashtag1","hashtag2"]},{"1351232851":["hashtag1","hashtag2"]},{"1351232809":["hashtag1","hashtag2"]},{"1351232844":["hashtag1","hashtag2"]},{"1351232838":["hashtag1","hashtag2"]},{"1351232829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351232807, 1351232851, 1351232809, 1351232844, 1351232838, 1351232829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91799306869507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:37:33.041674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_26_10345.jpg', '/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_36_9355.jpg', '/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_46_10352.jpg', '/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_56_10401.jpg', '/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_14_10079.jpg', '/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_25_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_26_10345.jpg
/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_36_9355.jpg
/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_46_10352.jpg
/home/pi/Desktop/images/10042025/14/59/image_10042025_14_59_56_10401.jpg
/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_14_10079.jpg
/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_25_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351233700","1351233579","1351233342","1351233542","1351233458","1351233218"],"photo_ids_order":["1351233218","1351233342","1351233458","1351233542","1351233579","1351233700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4583bb1c54efad22501afe870a95b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5060141213858376953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_15_01_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69af239243feab7dfd8871f823c87492.jpg","text":"TemporaryFile(/tmp/multipartBody7530047361084658585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_15_01_14_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac04a7463ed774a1ce0863486577f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8212086837449350433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_14_59_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4b776963397f8df3db4c8be47b68996.jpg","text":"TemporaryFile(/tmp/multipartBody8110575338501835920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_14_59_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13019f32a55756ad9464248de581bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody5379193634754489119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_14_59_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6baf2784fe034448f502ad54d5f857f7.jpg","text":"TemporaryFile(/tmp/multipartBody8287040594932370056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299513506,"filename":"image_10042025_14_59_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351233458","file1":"1351233342","file0":"1351233218","file4":"1351233579","file5":"1351233700","file3":"1351233542"},"map_files_photo_id_array":[{"photo_id":"1351233700","filename":"file5"},{"photo_id":"1351233458","filename":"file2"},{"photo_id":"1351233579","filename":"file4"},{"photo_id":"1351233342","filename":"file1"},{"photo_id":"1351233218","filename":"file0"},{"photo_id":"1351233542","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351233700":["hashtag1","hashtag2"]},{"1351233579":["hashtag1","hashtag2"]},{"1351233342":["hashtag1","hashtag2"]},{"1351233542":["hashtag1","hashtag2"]},{"1351233458":["hashtag1","hashtag2"]},{"1351233218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351233700, 1351233579, 1351233342, 1351233542, 1351233458, 1351233218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45403265953064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:38:32.161192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_35_10343.jpg', '/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_45_9457.jpg', '/home/pi/Desktop/images/10042025/15/01/image_10042025_15_02_04_9357.jpg', '/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_15_10369.jpg', '/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_25_10365.jpg', '/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_34_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_35_10343.jpg
/home/pi/Desktop/images/10042025/15/01/image_10042025_15_01_45_9457.jpg
/home/pi/Desktop/images/10042025/15/01/image_10042025_15_02_04_9357.jpg
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_15_10369.jpg
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_25_10365.jpg
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_34_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234051","1351234080","1351234106","1351233968","1351234048","1351233979"],"photo_ids_order":["1351233968","1351233979","1351234048","1351234051","1351234080","1351234106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6480adcb22aa683eb748de3cab33e75e.jpg","text":"TemporaryFile(/tmp/multipartBody5040116806039702581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_02_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e895304fbccacb5bd55c432277ed8689.jpg","text":"TemporaryFile(/tmp/multipartBody2752131808469392757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_02_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adc3cc3ca4aa341ddc28a5b5f1e05127.jpg","text":"TemporaryFile(/tmp/multipartBody8121045685214576376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_02_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fae427f694cdd48eb952c7abd8df4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7895201507318863972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_01_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bfff88c0331684730bd2a2b1ddd98cc.jpg","text":"TemporaryFile(/tmp/multipartBody8012488618259194218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_02_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29ffc851afcefd0a460a90a614d7c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody4033528198594165383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299572639,"filename":"image_10042025_15_01_45_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234048","file1":"1351233979","file0":"1351233968","file4":"1351234080","file5":"1351234106","file3":"1351234051"},"map_files_photo_id_array":[{"photo_id":"1351234106","filename":"file5"},{"photo_id":"1351234048","filename":"file2"},{"photo_id":"1351234080","filename":"file4"},{"photo_id":"1351233979","filename":"file1"},{"photo_id":"1351233968","filename":"file0"},{"photo_id":"1351234051","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234051":["hashtag1","hashtag2"]},{"1351234080":["hashtag1","hashtag2"]},{"1351234106":["hashtag1","hashtag2"]},{"1351233968":["hashtag1","hashtag2"]},{"1351234048":["hashtag1","hashtag2"]},{"1351233979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234051, 1351234080, 1351234106, 1351233968, 1351234048, 1351233979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09963297843933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:39:32.671902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_45_10357.jpg', '/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_55_10360.jpg', '/home/pi/Desktop/images/10042025/15/02/image_10042025_15_03_05_9336.jpg', '/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_15_10330.jpg', '/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_24_9400.jpg', '/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_35_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_45_10357.jpg
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_02_55_10360.jpg
/home/pi/Desktop/images/10042025/15/02/image_10042025_15_03_05_9336.jpg
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_15_10330.jpg
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_24_9400.jpg
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_35_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234336","1351234194","1351234278","1351234198","1351234189","1351234213"],"photo_ids_order":["1351234189","1351234194","1351234198","1351234213","1351234278","1351234336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9095db319bea64dfe98d457f603900de.jpg","text":"TemporaryFile(/tmp/multipartBody7209771625178615910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_03_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe21fd1cd170f61fdbcce64f29201cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1018005297104337337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_02_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29348551addeb75270e576f291894875.jpg","text":"TemporaryFile(/tmp/multipartBody3576779973006080143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_03_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bcf8b1d4a8cda14b243055f084cd2161.jpg","text":"TemporaryFile(/tmp/multipartBody2189839838428157680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_03_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c11a17864fa3593063b22b35ea0521f.jpg","text":"TemporaryFile(/tmp/multipartBody468675606914538533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_02_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e72600e9a9ea160ef3d680ba2da7050f.jpg","text":"TemporaryFile(/tmp/multipartBody5297579500156822562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299633145,"filename":"image_10042025_15_03_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234198","file1":"1351234194","file0":"1351234189","file4":"1351234278","file5":"1351234336","file3":"1351234213"},"map_files_photo_id_array":[{"photo_id":"1351234336","filename":"file5"},{"photo_id":"1351234198","filename":"file2"},{"photo_id":"1351234278","filename":"file4"},{"photo_id":"1351234194","filename":"file1"},{"photo_id":"1351234189","filename":"file0"},{"photo_id":"1351234213","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234336":["hashtag1","hashtag2"]},{"1351234194":["hashtag1","hashtag2"]},{"1351234278":["hashtag1","hashtag2"]},{"1351234198":["hashtag1","hashtag2"]},{"1351234189":["hashtag1","hashtag2"]},{"1351234213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234336, 1351234194, 1351234278, 1351234198, 1351234189, 1351234213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.490458965301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:40:32.688589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_45_10364.jpg', '/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_54_9406.jpg', '/home/pi/Desktop/images/10042025/15/03/image_10042025_15_04_05_10364.jpg', '/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_15_10391.jpg', '/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_25_9408.jpg', '/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_35_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_45_10364.jpg
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_03_54_9406.jpg
/home/pi/Desktop/images/10042025/15/03/image_10042025_15_04_05_10364.jpg
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_15_10391.jpg
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_25_9408.jpg
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_35_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234584","1351234593","1351234575","1351234589","1351234568","1351234556"],"photo_ids_order":["1351234556","1351234568","1351234575","1351234584","1351234589","1351234593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46130c884c0da1c16ad420380b4bd3cf.jpg","text":"TemporaryFile(/tmp/multipartBody783707454073760702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_04_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/006de4f270c392b34ab39a882c21eb2b.jpg","text":"TemporaryFile(/tmp/multipartBody6906385727102060055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_04_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50617435b2f585ef1f9489cc7de35ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6836601175144690998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_04_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3c7d06c5b90a3ddbaae02401c730fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4879089545415266024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_04_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e37fd46efaf11164efe94421b0edca63.jpg","text":"TemporaryFile(/tmp/multipartBody836419762308496518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_03_54_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44950ce2a3d32dee36ff677768726333.jpg","text":"TemporaryFile(/tmp/multipartBody720140731987983327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299693153,"filename":"image_10042025_15_03_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234575","file1":"1351234568","file0":"1351234556","file4":"1351234589","file5":"1351234593","file3":"1351234584"},"map_files_photo_id_array":[{"photo_id":"1351234593","filename":"file5"},{"photo_id":"1351234575","filename":"file2"},{"photo_id":"1351234589","filename":"file4"},{"photo_id":"1351234568","filename":"file1"},{"photo_id":"1351234556","filename":"file0"},{"photo_id":"1351234584","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234584":["hashtag1","hashtag2"]},{"1351234593":["hashtag1","hashtag2"]},{"1351234575":["hashtag1","hashtag2"]},{"1351234589":["hashtag1","hashtag2"]},{"1351234568":["hashtag1","hashtag2"]},{"1351234556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234584, 1351234593, 1351234575, 1351234589, 1351234568, 1351234556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.173941135406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:41:32.975025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_44_9489.jpg', '/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_55_10360.jpg', '/home/pi/Desktop/images/10042025/15/04/image_10042025_15_05_05_10366.jpg', '/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_15_9347.jpg', '/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_25_10381.jpg', '/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_34_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_44_9489.jpg
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_04_55_10360.jpg
/home/pi/Desktop/images/10042025/15/04/image_10042025_15_05_05_10366.jpg
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_15_9347.jpg
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_25_10381.jpg
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_34_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234650","1351234629","1351234620","1351234608","1351234625","1351234613"],"photo_ids_order":["1351234608","1351234613","1351234620","1351234625","1351234629","1351234650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/809f8c7fd007832dd7fa4e9aa17d09a8.jpg","text":"TemporaryFile(/tmp/multipartBody8345323629045403829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_05_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13860df51fc25e495ac52c82428b531e.jpg","text":"TemporaryFile(/tmp/multipartBody1157109858361340125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_05_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/390c13cc4bf105f98cb55566a527592a.jpg","text":"TemporaryFile(/tmp/multipartBody9160265400768469814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_05_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b10f6911a6621ca20ba48235a2476630.jpg","text":"TemporaryFile(/tmp/multipartBody2452350258283030509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_04_44_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3e2dd46d5f592a6640ac5d13ba5da8d.jpg","text":"TemporaryFile(/tmp/multipartBody6837227557499628756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_05_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/272d41e7441f0961d8eccbb9a0fbee90.jpg","text":"TemporaryFile(/tmp/multipartBody9212623519754812881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299753435,"filename":"image_10042025_15_04_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234620","file1":"1351234613","file0":"1351234608","file4":"1351234629","file5":"1351234650","file3":"1351234625"},"map_files_photo_id_array":[{"photo_id":"1351234650","filename":"file5"},{"photo_id":"1351234620","filename":"file2"},{"photo_id":"1351234629","filename":"file4"},{"photo_id":"1351234613","filename":"file1"},{"photo_id":"1351234608","filename":"file0"},{"photo_id":"1351234625","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234650":["hashtag1","hashtag2"]},{"1351234629":["hashtag1","hashtag2"]},{"1351234620":["hashtag1","hashtag2"]},{"1351234608":["hashtag1","hashtag2"]},{"1351234625":["hashtag1","hashtag2"]},{"1351234613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234650, 1351234629, 1351234620, 1351234608, 1351234625, 1351234613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03979444503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:42:32.174451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_45_10410.jpg', '/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_55_10366.jpg', '/home/pi/Desktop/images/10042025/15/05/image_10042025_15_06_05_9507.jpg', '/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_15_10332.jpg', '/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_25_10355.jpg', '/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_45_10410.jpg
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_05_55_10366.jpg
/home/pi/Desktop/images/10042025/15/05/image_10042025_15_06_05_9507.jpg
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_15_10332.jpg
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_25_10355.jpg
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234686","1351234731","1351234740","1351234743","1351234737","1351234762"],"photo_ids_order":["1351234686","1351234731","1351234737","1351234740","1351234743","1351234762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56c3f6f42f6e1b85eedb394898525ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6941348438628016206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_05_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5487eb1b2a16ba52275c28b20394387e.jpg","text":"TemporaryFile(/tmp/multipartBody5610146519796439923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_05_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5ed340a741fd2c3e73c9d5a972048cf.jpg","text":"TemporaryFile(/tmp/multipartBody2556306395568088056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_06_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9a649ed124f9b1af9dbc84591f67afb.jpg","text":"TemporaryFile(/tmp/multipartBody7603286884107855908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_06_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d8b732196249b60adea3c0692aff69a.jpg","text":"TemporaryFile(/tmp/multipartBody1597057360373652197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_06_05_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da81ee43274aac07321057b41ffaa064.jpg","text":"TemporaryFile(/tmp/multipartBody5131579251855536142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299812644,"filename":"image_10042025_15_06_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234737","file1":"1351234731","file0":"1351234686","file4":"1351234743","file5":"1351234762","file3":"1351234740"},"map_files_photo_id_array":[{"photo_id":"1351234762","filename":"file5"},{"photo_id":"1351234737","filename":"file2"},{"photo_id":"1351234743","filename":"file4"},{"photo_id":"1351234731","filename":"file1"},{"photo_id":"1351234686","filename":"file0"},{"photo_id":"1351234740","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234686":["hashtag1","hashtag2"]},{"1351234731":["hashtag1","hashtag2"]},{"1351234740":["hashtag1","hashtag2"]},{"1351234743":["hashtag1","hashtag2"]},{"1351234737":["hashtag1","hashtag2"]},{"1351234762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234686, 1351234731, 1351234740, 1351234743, 1351234737, 1351234762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.686147212982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:43:32.472468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_45_10330.jpg', '/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_54_9477.jpg', '/home/pi/Desktop/images/10042025/15/06/image_10042025_15_07_05_10437.jpg', '/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_15_10334.jpg', '/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_25_9428.jpg', '/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_35_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_45_10330.jpg
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_06_54_9477.jpg
/home/pi/Desktop/images/10042025/15/06/image_10042025_15_07_05_10437.jpg
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_15_10334.jpg
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_25_9428.jpg
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_35_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351234986","1351234917","1351234955","1351234910","1351234913","1351235029"],"photo_ids_order":["1351234910","1351234913","1351234917","1351234955","1351234986","1351235029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4609f9435ca631356eacf3d23c4de73a.jpg","text":"TemporaryFile(/tmp/multipartBody4751247262412691761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_07_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85cced245e57e59a3327d75a635bda20.jpg","text":"TemporaryFile(/tmp/multipartBody219551655450020587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_07_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5793d4c083e9302b146e421e81d71798.jpg","text":"TemporaryFile(/tmp/multipartBody7992642117803579547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_07_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97bf528fe8146260751cb2bc638a5896.jpg","text":"TemporaryFile(/tmp/multipartBody6210717537730183061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_06_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0b044da60ef5679b919f0c4d8cb526e.jpg","text":"TemporaryFile(/tmp/multipartBody7295574901939465054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_06_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ee01a65af9959836a73882afe858217.jpg","text":"TemporaryFile(/tmp/multipartBody2912455893410547437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299872927,"filename":"image_10042025_15_07_35_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351234917","file1":"1351234913","file0":"1351234910","file4":"1351234986","file5":"1351235029","file3":"1351234955"},"map_files_photo_id_array":[{"photo_id":"1351235029","filename":"file5"},{"photo_id":"1351234917","filename":"file2"},{"photo_id":"1351234986","filename":"file4"},{"photo_id":"1351234913","filename":"file1"},{"photo_id":"1351234910","filename":"file0"},{"photo_id":"1351234955","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351234986":["hashtag1","hashtag2"]},{"1351234917":["hashtag1","hashtag2"]},{"1351234955":["hashtag1","hashtag2"]},{"1351234910":["hashtag1","hashtag2"]},{"1351234913":["hashtag1","hashtag2"]},{"1351235029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351234986, 1351234917, 1351234955, 1351234910, 1351234913, 1351235029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19097137451172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:44:32.537706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_44_9463.jpg', '/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_55_10369.jpg', '/home/pi/Desktop/images/10042025/15/07/image_10042025_15_08_05_10353.jpg', '/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_14_9346.jpg', '/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_25_10365.jpg', '/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_35_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_44_9463.jpg
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_07_55_10369.jpg
/home/pi/Desktop/images/10042025/15/07/image_10042025_15_08_05_10353.jpg
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_14_9346.jpg
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_25_10365.jpg
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_35_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351235145","1351235159","1351235150","1351235156","1351235212","1351235140"],"photo_ids_order":["1351235140","1351235145","1351235150","1351235156","1351235159","1351235212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb1f61118a060baf7600b37702358e76.jpg","text":"TemporaryFile(/tmp/multipartBody4920748152152213367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_07_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f82cd0abdc8811bbb2403ccc835c36e4.jpg","text":"TemporaryFile(/tmp/multipartBody5420471245425888817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_08_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e81ef0ae23c7239d9ed6692e64d0b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2380203684002987809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_08_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36d7f1985407009ec9a8a3892aa0e38c.jpg","text":"TemporaryFile(/tmp/multipartBody6191480987840392994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_08_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d71eed05e2233c727cda44bdb02e6030.jpg","text":"TemporaryFile(/tmp/multipartBody3013774803512663485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_08_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32519f66781dadcc3f95d1ef98f6fdfc.jpg","text":"TemporaryFile(/tmp/multipartBody6901011842958368278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299932994,"filename":"image_10042025_15_07_44_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351235150","file1":"1351235145","file0":"1351235140","file4":"1351235159","file5":"1351235212","file3":"1351235156"},"map_files_photo_id_array":[{"photo_id":"1351235212","filename":"file5"},{"photo_id":"1351235150","filename":"file2"},{"photo_id":"1351235159","filename":"file4"},{"photo_id":"1351235145","filename":"file1"},{"photo_id":"1351235140","filename":"file0"},{"photo_id":"1351235156","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351235145":["hashtag1","hashtag2"]},{"1351235159":["hashtag1","hashtag2"]},{"1351235150":["hashtag1","hashtag2"]},{"1351235156":["hashtag1","hashtag2"]},{"1351235212":["hashtag1","hashtag2"]},{"1351235140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351235145, 1351235159, 1351235150, 1351235156, 1351235212, 1351235140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.677218437194824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:45:32.723224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_45_9444.jpg', '/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_55_10422.jpg', '/home/pi/Desktop/images/10042025/15/08/image_10042025_15_09_04_9335.jpg', '/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_15_10335.jpg', '/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_25_10366.jpg', '/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_35_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_45_9444.jpg
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_08_55_10422.jpg
/home/pi/Desktop/images/10042025/15/08/image_10042025_15_09_04_9335.jpg
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_15_10335.jpg
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_25_10366.jpg
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_35_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351235466","1351235396","1351235477","1351235456","1351235432","1351235496"],"photo_ids_order":["1351235396","1351235432","1351235456","1351235466","1351235477","1351235496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee5aa2450d2eea8c3a9d4e81f3017986.jpg","text":"TemporaryFile(/tmp/multipartBody2002140253236827877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_09_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8219ebeafb38057c4e8e53a6bf563526.jpg","text":"TemporaryFile(/tmp/multipartBody736249644878417671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_08_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7f9887bf2bca54f48048a069abf6359.jpg","text":"TemporaryFile(/tmp/multipartBody7834236800282911143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_09_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a92ecb39d230f5a2d38157a803c80e8.jpg","text":"TemporaryFile(/tmp/multipartBody7553240919633255040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_09_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eedf47c05065c870f0120456d3a68be0.jpg","text":"TemporaryFile(/tmp/multipartBody491354542302502620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_08_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d626283d9c92ad6deecb17852059c24c.jpg","text":"TemporaryFile(/tmp/multipartBody8940938154274566144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744299993194,"filename":"image_10042025_15_09_35_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351235456","file1":"1351235432","file0":"1351235396","file4":"1351235477","file5":"1351235496","file3":"1351235466"},"map_files_photo_id_array":[{"photo_id":"1351235496","filename":"file5"},{"photo_id":"1351235456","filename":"file2"},{"photo_id":"1351235477","filename":"file4"},{"photo_id":"1351235432","filename":"file1"},{"photo_id":"1351235396","filename":"file0"},{"photo_id":"1351235466","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351235466":["hashtag1","hashtag2"]},{"1351235396":["hashtag1","hashtag2"]},{"1351235477":["hashtag1","hashtag2"]},{"1351235456":["hashtag1","hashtag2"]},{"1351235432":["hashtag1","hashtag2"]},{"1351235496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351235466, 1351235396, 1351235477, 1351235456, 1351235432, 1351235496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.052756547927856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:46:32.948891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_45_10456.jpg', '/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_54_9391.jpg', '/home/pi/Desktop/images/10042025/15/09/image_10042025_15_10_05_10457.jpg', '/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_15_10345.jpg', '/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_25_9445.jpg', '/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_35_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_45_10456.jpg
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_09_54_9391.jpg
/home/pi/Desktop/images/10042025/15/09/image_10042025_15_10_05_10457.jpg
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_15_10345.jpg
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_25_9445.jpg
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_35_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351235727","1351235663","1351235711","1351235767","1351235746","1351235689"],"photo_ids_order":["1351235663","1351235689","1351235711","1351235727","1351235746","1351235767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8025a84c7e6d951f488b2a468fb42cf.jpg","text":"TemporaryFile(/tmp/multipartBody2798345164773530524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_10_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58775da7de9f159696b0ccdaec829dff.jpg","text":"TemporaryFile(/tmp/multipartBody5974157182490407705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_09_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fbf838ad5668ef19030d4b0cc1f25ce.jpg","text":"TemporaryFile(/tmp/multipartBody5175301063954980883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_10_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85fc8a6a4950a4bb8f234cada7ea49d4.jpg","text":"TemporaryFile(/tmp/multipartBody8030051180548562959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_10_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fcf8f74dc83cccfe4d34f2c08f8486f.jpg","text":"TemporaryFile(/tmp/multipartBody2551567346965640006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_10_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3136c3e376bb1db28b9aedd87d608d1.jpg","text":"TemporaryFile(/tmp/multipartBody6780661754983311174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300053401,"filename":"image_10042025_15_09_54_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351235711","file1":"1351235689","file0":"1351235663","file4":"1351235746","file5":"1351235767","file3":"1351235727"},"map_files_photo_id_array":[{"photo_id":"1351235767","filename":"file5"},{"photo_id":"1351235711","filename":"file2"},{"photo_id":"1351235746","filename":"file4"},{"photo_id":"1351235689","filename":"file1"},{"photo_id":"1351235663","filename":"file0"},{"photo_id":"1351235727","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351235727":["hashtag1","hashtag2"]},{"1351235663":["hashtag1","hashtag2"]},{"1351235711":["hashtag1","hashtag2"]},{"1351235767":["hashtag1","hashtag2"]},{"1351235746":["hashtag1","hashtag2"]},{"1351235689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351235727, 1351235663, 1351235711, 1351235767, 1351235746, 1351235689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9623966217041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:47:33.083138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_44_9359.jpg', '/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_55_10368.jpg', '/home/pi/Desktop/images/10042025/15/10/image_10042025_15_11_05_10357.jpg', '/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_15_9423.jpg', '/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_25_10363.jpg', '/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_34_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_44_9359.jpg
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_10_55_10368.jpg
/home/pi/Desktop/images/10042025/15/10/image_10042025_15_11_05_10357.jpg
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_15_9423.jpg
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_25_10363.jpg
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_34_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351235982","1351236070","1351236010","1351235953","1351236060","1351235991"],"photo_ids_order":["1351235953","1351235982","1351235991","1351236010","1351236060","1351236070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9d2614ad8ef074729e24eff0f4b64ac.jpg","text":"TemporaryFile(/tmp/multipartBody7834708903729231962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_10_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9cd0aa3d646179644e7663be0e32925.jpg","text":"TemporaryFile(/tmp/multipartBody287268186588947726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_11_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/018547176ba98a4c5235d4311c262897.jpg","text":"TemporaryFile(/tmp/multipartBody813782943092854024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_11_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fdfd84dac147b5b0530025ea86ffd716.jpg","text":"TemporaryFile(/tmp/multipartBody7939116135659528349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_10_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc5195e987f7c0ff5a6eccc0c60b7380.jpg","text":"TemporaryFile(/tmp/multipartBody3769654064560408103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_11_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/223856594b1eb56878254be2c54f8e24.jpg","text":"TemporaryFile(/tmp/multipartBody2868582113289806873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300113550,"filename":"image_10042025_15_11_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351235991","file1":"1351235982","file0":"1351235953","file4":"1351236060","file5":"1351236070","file3":"1351236010"},"map_files_photo_id_array":[{"photo_id":"1351236070","filename":"file5"},{"photo_id":"1351235991","filename":"file2"},{"photo_id":"1351236060","filename":"file4"},{"photo_id":"1351235982","filename":"file1"},{"photo_id":"1351235953","filename":"file0"},{"photo_id":"1351236010","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351235982":["hashtag1","hashtag2"]},{"1351236070":["hashtag1","hashtag2"]},{"1351236010":["hashtag1","hashtag2"]},{"1351235953":["hashtag1","hashtag2"]},{"1351236060":["hashtag1","hashtag2"]},{"1351235991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351235982, 1351236070, 1351236010, 1351235953, 1351236060, 1351235991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.912424564361572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:48:32.176195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_45_10363.jpg', '/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_55_10375.jpg', '/home/pi/Desktop/images/10042025/15/11/image_10042025_15_12_05_9490.jpg', '/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_15_10340.jpg', '/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_25_10363.jpg', '/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_35_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_45_10363.jpg
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_11_55_10375.jpg
/home/pi/Desktop/images/10042025/15/11/image_10042025_15_12_05_9490.jpg
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_15_10340.jpg
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_25_10363.jpg
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_35_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351236713","1351236464","1351236535","1351236406","1351236597","1351236540"],"photo_ids_order":["1351236406","1351236464","1351236535","1351236540","1351236597","1351236713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ac15a4f241fb72709b1fcea8cdd7f28.jpg","text":"TemporaryFile(/tmp/multipartBody1295444245305427919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_12_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4bca7c854879818b381cec11d9afbfb.jpg","text":"TemporaryFile(/tmp/multipartBody1074726890487667921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_11_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8bcd1f2c8a939d4f3d6b3e7d31d324b.jpg","text":"TemporaryFile(/tmp/multipartBody7151361506276210171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_12_05_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14478d1927443b864e21aeb4e5b7d005.jpg","text":"TemporaryFile(/tmp/multipartBody671729420065006157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_11_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e567e208f1c4cb93e169e4a404050bb.jpg","text":"TemporaryFile(/tmp/multipartBody1114218878830176923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_12_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8861a0acede05b9373c0317f71f7a7cb.jpg","text":"TemporaryFile(/tmp/multipartBody6004288995939831962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300172636,"filename":"image_10042025_15_12_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351236535","file1":"1351236464","file0":"1351236406","file4":"1351236597","file5":"1351236713","file3":"1351236540"},"map_files_photo_id_array":[{"photo_id":"1351236713","filename":"file5"},{"photo_id":"1351236535","filename":"file2"},{"photo_id":"1351236597","filename":"file4"},{"photo_id":"1351236464","filename":"file1"},{"photo_id":"1351236406","filename":"file0"},{"photo_id":"1351236540","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351236713":["hashtag1","hashtag2"]},{"1351236464":["hashtag1","hashtag2"]},{"1351236535":["hashtag1","hashtag2"]},{"1351236406":["hashtag1","hashtag2"]},{"1351236597":["hashtag1","hashtag2"]},{"1351236540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351236713, 1351236464, 1351236535, 1351236406, 1351236597, 1351236540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40150833129883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:49:32.438923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_45_10350.jpg', '/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_55_9488.jpg', '/home/pi/Desktop/images/10042025/15/12/image_10042025_15_13_05_10345.jpg', '/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_15_10348.jpg', '/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_25_9365.jpg', '/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_45_10350.jpg
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_12_55_9488.jpg
/home/pi/Desktop/images/10042025/15/12/image_10042025_15_13_05_10345.jpg
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_15_10348.jpg
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_25_9365.jpg
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351236906","1351236878","1351236923","1351236880","1351236874","1351236870"],"photo_ids_order":["1351236870","1351236874","1351236878","1351236880","1351236906","1351236923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5df8c2463fb767afae1bb702d7330a78.jpg","text":"TemporaryFile(/tmp/multipartBody1263713483739099959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_13_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5c02947d916bdf7c8f4e4581c6258ce.jpg","text":"TemporaryFile(/tmp/multipartBody3429448306211866580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_13_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a560edda3357c395fc0b75afffb113ae.jpg","text":"TemporaryFile(/tmp/multipartBody8138282980462597858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_13_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7ed49df00782c3b8bcbb66912e6844b.jpg","text":"TemporaryFile(/tmp/multipartBody465365661705370880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_13_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51f2e42fb82ced0dbe1df1f232a7e713.jpg","text":"TemporaryFile(/tmp/multipartBody2889708550602462305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_12_55_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a18fad86aaba2063c52a820d160746bf.jpg","text":"TemporaryFile(/tmp/multipartBody263563474953111702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300232890,"filename":"image_10042025_15_12_45_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351236878","file1":"1351236874","file0":"1351236870","file4":"1351236906","file5":"1351236923","file3":"1351236880"},"map_files_photo_id_array":[{"photo_id":"1351236923","filename":"file5"},{"photo_id":"1351236878","filename":"file2"},{"photo_id":"1351236906","filename":"file4"},{"photo_id":"1351236874","filename":"file1"},{"photo_id":"1351236870","filename":"file0"},{"photo_id":"1351236880","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351236906":["hashtag1","hashtag2"]},{"1351236878":["hashtag1","hashtag2"]},{"1351236923":["hashtag1","hashtag2"]},{"1351236880":["hashtag1","hashtag2"]},{"1351236874":["hashtag1","hashtag2"]},{"1351236870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351236906, 1351236878, 1351236923, 1351236880, 1351236874, 1351236870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3694794178009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:50:32.642001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_44_9508.jpg', '/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_55_10344.jpg', '/home/pi/Desktop/images/10042025/15/13/image_10042025_15_14_05_10329.jpg', '/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_14_9330.jpg', '/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_25_10363.jpg', '/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_44_9508.jpg
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_13_55_10344.jpg
/home/pi/Desktop/images/10042025/15/13/image_10042025_15_14_05_10329.jpg
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_14_9330.jpg
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_25_10363.jpg
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237010","1351237013","1351237007","1351237001","1351236997","1351237003"],"photo_ids_order":["1351236997","1351237001","1351237003","1351237007","1351237010","1351237013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b347db99579f30822b4cd18333c2238a.jpg","text":"TemporaryFile(/tmp/multipartBody8365778719900503634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_14_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3513a2439da7612d475a5f32e3472475.jpg","text":"TemporaryFile(/tmp/multipartBody6283409821890531306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_14_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9ce84f4184efd35ca4b1a1a62b075a3.jpg","text":"TemporaryFile(/tmp/multipartBody1035770862101649721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_14_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3bcf32d9385e574f0e8c439ee675c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5738514720489096285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_13_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3eb0507c87863d07f07a8734e0514219.jpg","text":"TemporaryFile(/tmp/multipartBody3380235388239275208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_13_44_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/513cad659161239e424789d0244e3978.jpg","text":"TemporaryFile(/tmp/multipartBody944590824453113871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300293091,"filename":"image_10042025_15_14_05_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237003","file1":"1351237001","file0":"1351236997","file4":"1351237010","file5":"1351237013","file3":"1351237007"},"map_files_photo_id_array":[{"photo_id":"1351237013","filename":"file5"},{"photo_id":"1351237003","filename":"file2"},{"photo_id":"1351237010","filename":"file4"},{"photo_id":"1351237001","filename":"file1"},{"photo_id":"1351236997","filename":"file0"},{"photo_id":"1351237007","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237010":["hashtag1","hashtag2"]},{"1351237013":["hashtag1","hashtag2"]},{"1351237007":["hashtag1","hashtag2"]},{"1351237001":["hashtag1","hashtag2"]},{"1351236997":["hashtag1","hashtag2"]},{"1351237003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237010, 1351237013, 1351237007, 1351237001, 1351236997, 1351237003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18891406059265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:51:32.904543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_45_9342.jpg', '/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_55_10465.jpg', '/home/pi/Desktop/images/10042025/15/14/image_10042025_15_15_04_9467.jpg', '/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_15_10337.jpg', '/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_25_10393.jpg', '/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_45_9342.jpg
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_14_55_10465.jpg
/home/pi/Desktop/images/10042025/15/14/image_10042025_15_15_04_9467.jpg
/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_15_10337.jpg
/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_25_10393.jpg
/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237228","1351237210","1351237204","1351237197","1351237236","1351237179"],"photo_ids_order":["1351237179","1351237197","1351237204","1351237210","1351237228","1351237236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37e0b9d44ecd246d6c609e2c6e1dcf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3844102515433759571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_15_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3dfec4294292965a26acd6c24b694f1.jpg","text":"TemporaryFile(/tmp/multipartBody8502820780869508766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_15_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05f13ff352a67d7dc8089f8076c07e40.jpg","text":"TemporaryFile(/tmp/multipartBody2619232479531980029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_15_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e2d61dc5d8b60bd0262b6401c4f94f3.jpg","text":"TemporaryFile(/tmp/multipartBody5832800131681585846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_14_55_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0c97b1e07825e0dc6b86f8dcc628cead.jpg","text":"TemporaryFile(/tmp/multipartBody7335677552772429836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_15_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99a656383b7a5fe12167b50e2ec57fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5268268346157557924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300353357,"filename":"image_10042025_15_14_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237204","file1":"1351237197","file0":"1351237179","file4":"1351237228","file5":"1351237236","file3":"1351237210"},"map_files_photo_id_array":[{"photo_id":"1351237236","filename":"file5"},{"photo_id":"1351237204","filename":"file2"},{"photo_id":"1351237228","filename":"file4"},{"photo_id":"1351237197","filename":"file1"},{"photo_id":"1351237179","filename":"file0"},{"photo_id":"1351237210","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237228":["hashtag1","hashtag2"]},{"1351237210":["hashtag1","hashtag2"]},{"1351237204":["hashtag1","hashtag2"]},{"1351237197":["hashtag1","hashtag2"]},{"1351237236":["hashtag1","hashtag2"]},{"1351237179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237228, 1351237210, 1351237204, 1351237197, 1351237236, 1351237179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04925298690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:52:33.226012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_54_9492.jpg', '/home/pi/Desktop/images/10042025/15/15/image_10042025_15_16_05_10363.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_15_10344.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_25_9465.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_35_10344.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_44_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/15/image_10042025_15_15_54_9492.jpg
/home/pi/Desktop/images/10042025/15/15/image_10042025_15_16_05_10363.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_15_10344.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_25_9465.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_35_10344.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_44_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237523","1351237418","1351237390","1351237444","1351237580","1351237484"],"photo_ids_order":["1351237390","1351237418","1351237444","1351237484","1351237523","1351237580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7203c4bd8392c9c628c62b61eab75666.jpg","text":"TemporaryFile(/tmp/multipartBody7817308135963490006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_16_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faedd7e18952e99c69f1d03149867362.jpg","text":"TemporaryFile(/tmp/multipartBody5539402698247127614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_16_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/104ae8f070dbc2a52938b1a2d4d466ac.jpg","text":"TemporaryFile(/tmp/multipartBody7843083915929230740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_15_54_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a6f3fbe7bf73428d40c6e89f6385e17.jpg","text":"TemporaryFile(/tmp/multipartBody3927492926812796750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_16_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72e72f679bb54bb90aae9af7e7ba28fb.jpg","text":"TemporaryFile(/tmp/multipartBody7000985827418165555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_16_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d37d4fde28d033037ea6604701cb12cb.jpg","text":"TemporaryFile(/tmp/multipartBody7296236352770670653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300413676,"filename":"image_10042025_15_16_25_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237444","file1":"1351237418","file0":"1351237390","file4":"1351237523","file5":"1351237580","file3":"1351237484"},"map_files_photo_id_array":[{"photo_id":"1351237580","filename":"file5"},{"photo_id":"1351237444","filename":"file2"},{"photo_id":"1351237523","filename":"file4"},{"photo_id":"1351237418","filename":"file1"},{"photo_id":"1351237390","filename":"file0"},{"photo_id":"1351237484","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237523":["hashtag1","hashtag2"]},{"1351237418":["hashtag1","hashtag2"]},{"1351237390":["hashtag1","hashtag2"]},{"1351237444":["hashtag1","hashtag2"]},{"1351237580":["hashtag1","hashtag2"]},{"1351237484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237523, 1351237418, 1351237390, 1351237444, 1351237580, 1351237484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01509928703308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:53:32.336798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_55_10378.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_17_05_10372.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_15_9363.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_25_10400.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_34_9362.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_55_10378.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_17_05_10372.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_15_9363.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_25_10400.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_34_9362.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_45_10430.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3704111576080322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 17:53:42.314999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_55_10378.jpg', '/home/pi/Desktop/images/10042025/15/16/image_10042025_15_17_05_10372.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_15_9363.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_25_10400.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_34_9362.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_16_55_10378.jpg
/home/pi/Desktop/images/10042025/15/16/image_10042025_15_17_05_10372.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_15_9363.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_25_10400.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_34_9362.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_45_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237865","1351237859","1351237850","1351237861","1351237831","1351237845"],"photo_ids_order":["1351237831","1351237845","1351237850","1351237859","1351237861","1351237865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b46d9d2d6e6aeca7cd0acaadc51e8af9.jpg","text":"TemporaryFile(/tmp/multipartBody4510784728466035542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_17_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/369051fc0200a401c0e44e426248b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody2443904943397555953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_17_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae1d3a6c098e1fa866645b61d700cc90.jpg","text":"TemporaryFile(/tmp/multipartBody5206207129357010964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_17_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42f508b3d1e495c2a9257e324dcb86ab.jpg","text":"TemporaryFile(/tmp/multipartBody4336554425562946426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_17_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22eed2930e35840d8ec352323b9356e7.jpg","text":"TemporaryFile(/tmp/multipartBody1589774973795217652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_16_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/342905045a9c4c9228884a108a73e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody6459973740491749787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300482764,"filename":"image_10042025_15_17_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237850","file1":"1351237845","file0":"1351237831","file4":"1351237861","file5":"1351237865","file3":"1351237859"},"map_files_photo_id_array":[{"photo_id":"1351237865","filename":"file5"},{"photo_id":"1351237850","filename":"file2"},{"photo_id":"1351237861","filename":"file4"},{"photo_id":"1351237845","filename":"file1"},{"photo_id":"1351237831","filename":"file0"},{"photo_id":"1351237859","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237865":["hashtag1","hashtag2"]},{"1351237859":["hashtag1","hashtag2"]},{"1351237850":["hashtag1","hashtag2"]},{"1351237861":["hashtag1","hashtag2"]},{"1351237831":["hashtag1","hashtag2"]},{"1351237845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237865, 1351237859, 1351237850, 1351237861, 1351237831, 1351237845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7131609916687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:54:32.565492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_55_10374.jpg', '/home/pi/Desktop/images/10042025/15/17/image_10042025_15_18_05_9486.jpg', '/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_15_10603.jpg', '/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_25_9499.jpg', '/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_35_10376.jpg', '/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_45_9505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_17_55_10374.jpg
/home/pi/Desktop/images/10042025/15/17/image_10042025_15_18_05_9486.jpg
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_15_10603.jpg
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_25_9499.jpg
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_35_10376.jpg
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_45_9505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237881","1351237890","1351237878","1351237886","1351237895","1351237874"],"photo_ids_order":["1351237874","1351237878","1351237881","1351237886","1351237890","1351237895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9a94bb1620b2d69ed79491916346468.jpg","text":"TemporaryFile(/tmp/multipartBody7573375445740294442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_18_15_10603.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d988050412d46e2b23a633f3477dfc74.jpg","text":"TemporaryFile(/tmp/multipartBody5330548274149775896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_18_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5bd7c5c9af07640099a3bb718375829.jpg","text":"TemporaryFile(/tmp/multipartBody2156814956517511126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_18_05_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45fac70a5fec6db3341be15ec3515e4f.jpg","text":"TemporaryFile(/tmp/multipartBody576490442719607997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_18_25_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e71effe0504cc11a5703ab27c3f9876.jpg","text":"TemporaryFile(/tmp/multipartBody7584296694931273034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_18_45_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/beb844e5ecb027b2318b247b75f7f3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8638220237391549081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300533028,"filename":"image_10042025_15_17_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237881","file1":"1351237878","file0":"1351237874","file4":"1351237890","file5":"1351237895","file3":"1351237886"},"map_files_photo_id_array":[{"photo_id":"1351237895","filename":"file5"},{"photo_id":"1351237881","filename":"file2"},{"photo_id":"1351237890","filename":"file4"},{"photo_id":"1351237878","filename":"file1"},{"photo_id":"1351237874","filename":"file0"},{"photo_id":"1351237886","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237881":["hashtag1","hashtag2"]},{"1351237890":["hashtag1","hashtag2"]},{"1351237878":["hashtag1","hashtag2"]},{"1351237886":["hashtag1","hashtag2"]},{"1351237895":["hashtag1","hashtag2"]},{"1351237874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237881, 1351237890, 1351237878, 1351237886, 1351237895, 1351237874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97377252578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:55:32.654101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_55_10352.jpg', '/home/pi/Desktop/images/10042025/15/18/image_10042025_15_19_04_9389.jpg', '/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_15_10395.jpg', '/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_25_10407.jpg', '/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_34_9383.jpg', '/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_18_55_10352.jpg
/home/pi/Desktop/images/10042025/15/18/image_10042025_15_19_04_9389.jpg
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_15_10395.jpg
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_25_10407.jpg
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_34_9383.jpg
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237931","1351237921","1351237912","1351237926","1351237908","1351237917"],"photo_ids_order":["1351237908","1351237912","1351237917","1351237921","1351237926","1351237931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35fe440bebe48d798f62b970abc28b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8508072330859320007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_19_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85048ff65d8de7f37d4dc158f84d706f.jpg","text":"TemporaryFile(/tmp/multipartBody1470922877062493547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_19_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0011a2988c07064b430784130b2eddc.jpg","text":"TemporaryFile(/tmp/multipartBody2492758238014949943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_19_04_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f2b34ebffc10ec1bc2e07bf2893a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody2398768707860441755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_19_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e745144cea64593066f0c07aca34368.jpg","text":"TemporaryFile(/tmp/multipartBody62761617823987088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_18_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04ef8586f5ede71d4cef10765395955d.jpg","text":"TemporaryFile(/tmp/multipartBody580582291612288424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300593119,"filename":"image_10042025_15_19_15_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237917","file1":"1351237912","file0":"1351237908","file4":"1351237926","file5":"1351237931","file3":"1351237921"},"map_files_photo_id_array":[{"photo_id":"1351237931","filename":"file5"},{"photo_id":"1351237917","filename":"file2"},{"photo_id":"1351237926","filename":"file4"},{"photo_id":"1351237912","filename":"file1"},{"photo_id":"1351237908","filename":"file0"},{"photo_id":"1351237921","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237931":["hashtag1","hashtag2"]},{"1351237921":["hashtag1","hashtag2"]},{"1351237912":["hashtag1","hashtag2"]},{"1351237926":["hashtag1","hashtag2"]},{"1351237908":["hashtag1","hashtag2"]},{"1351237917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237931, 1351237921, 1351237912, 1351237926, 1351237908, 1351237917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64624381065369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:56:32.810093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_55_10431.jpg', '/home/pi/Desktop/images/10042025/15/19/image_10042025_15_20_05_9422.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_15_10344.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_25_9478.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_35_10353.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_19_55_10431.jpg
/home/pi/Desktop/images/10042025/15/19/image_10042025_15_20_05_9422.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_15_10344.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_25_9478.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_35_10353.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351237966","1351237969","1351237974","1351237977","1351237941","1351237959"],"photo_ids_order":["1351237941","1351237959","1351237966","1351237969","1351237974","1351237977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dea53a62199326e1d9f2969c6373c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7870325146021367219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_20_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c659c463b51915a94d69a26c4a9d8865.jpg","text":"TemporaryFile(/tmp/multipartBody8789813309984548520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_20_25_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1431f599bc3b7938a083d0b80f78f0b6.jpg","text":"TemporaryFile(/tmp/multipartBody7547573943932986821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_20_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80e3afb1775976da31d6a7e4d6e6cda1.jpg","text":"TemporaryFile(/tmp/multipartBody543192628009531144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_20_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f8f71921bdda86537f63e760f4d6e15.jpg","text":"TemporaryFile(/tmp/multipartBody6408924525363182953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_19_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4469ce3a205ff9fab9499768a5f08834.jpg","text":"TemporaryFile(/tmp/multipartBody7344014403001065376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300653270,"filename":"image_10042025_15_20_05_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351237966","file1":"1351237959","file0":"1351237941","file4":"1351237974","file5":"1351237977","file3":"1351237969"},"map_files_photo_id_array":[{"photo_id":"1351237977","filename":"file5"},{"photo_id":"1351237966","filename":"file2"},{"photo_id":"1351237974","filename":"file4"},{"photo_id":"1351237959","filename":"file1"},{"photo_id":"1351237941","filename":"file0"},{"photo_id":"1351237969","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351237966":["hashtag1","hashtag2"]},{"1351237969":["hashtag1","hashtag2"]},{"1351237974":["hashtag1","hashtag2"]},{"1351237977":["hashtag1","hashtag2"]},{"1351237941":["hashtag1","hashtag2"]},{"1351237959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351237966, 1351237969, 1351237974, 1351237977, 1351237941, 1351237959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54510688781738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:57:33.006951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_55_9346.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_21_05_10338.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_14_9371.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_25_10429.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_45_9489.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_55_9346.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_21_05_10338.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_14_9371.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_25_10429.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_45_9489.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 17:59:03.930293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_55_9346.jpg', '/home/pi/Desktop/images/10042025/15/20/image_10042025_15_21_05_10338.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_14_9371.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_25_10429.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_45_9489.jpg', '/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_20_55_9346.jpg
/home/pi/Desktop/images/10042025/15/20/image_10042025_15_21_05_10338.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_14_9371.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_25_10429.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_45_9489.jpg
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_21_55_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351238299","1351238452","1351238416","1351238360","1351238384","1351238330"],"photo_ids_order":["1351238299","1351238330","1351238360","1351238384","1351238416","1351238452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd4c8f0ecaae0ec56fe69064960d0193.jpg","text":"TemporaryFile(/tmp/multipartBody2818295773946632812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_20_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8db9f41942fa5ad79d6131c7a13fbe7.jpg","text":"TemporaryFile(/tmp/multipartBody383680688301942919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_21_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f969c51da77361e98f87e2963f6c822.jpg","text":"TemporaryFile(/tmp/multipartBody8375521416147742968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_21_45_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63febf35f97a0b07cc0f56ff7278449a.jpg","text":"TemporaryFile(/tmp/multipartBody8559061256380072804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_21_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4da3f967602c4468f04dfb2a5cbb5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4173771150339913624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_21_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1754f54492cb6924e7110f1912aed505.jpg","text":"TemporaryFile(/tmp/multipartBody7182253179285854569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300804527,"filename":"image_10042025_15_21_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351238360","file1":"1351238330","file0":"1351238299","file4":"1351238416","file5":"1351238452","file3":"1351238384"},"map_files_photo_id_array":[{"photo_id":"1351238452","filename":"file5"},{"photo_id":"1351238360","filename":"file2"},{"photo_id":"1351238416","filename":"file4"},{"photo_id":"1351238330","filename":"file1"},{"photo_id":"1351238299","filename":"file0"},{"photo_id":"1351238384","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351238299":["hashtag1","hashtag2"]},{"1351238452":["hashtag1","hashtag2"]},{"1351238416":["hashtag1","hashtag2"]},{"1351238360":["hashtag1","hashtag2"]},{"1351238384":["hashtag1","hashtag2"]},{"1351238330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351238299, 1351238452, 1351238416, 1351238360, 1351238384, 1351238330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72625780105591 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 17:59:52.642008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/21/image_10042025_15_22_04_9381.jpg', '/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_15_10350.jpg', '/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_25_10380.jpg', '/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_34_9455.jpg', '/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_45_10336.jpg', '/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_55_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/21/image_10042025_15_22_04_9381.jpg
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_15_10350.jpg
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_25_10380.jpg
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_34_9455.jpg
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_45_10336.jpg
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_22_55_10414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351238830","1351238773","1351238614","1351238661","1351238727","1351238867"],"photo_ids_order":["1351238614","1351238661","1351238727","1351238773","1351238830","1351238867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/439db977cd05db6d0b734c5b46056862.jpg","text":"TemporaryFile(/tmp/multipartBody708480252006684930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6304b53dbe47a35d5694970d0863c882.jpg","text":"TemporaryFile(/tmp/multipartBody5123471227494913873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e87ee93660c76196949b8519dbadf3d.jpg","text":"TemporaryFile(/tmp/multipartBody5440337261519262306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_04_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7555a9d580d8c825a538cdf082a8cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4398207008957899737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bccab9f4e36c86d9c7f5f23c51703553.jpg","text":"TemporaryFile(/tmp/multipartBody4096656579307257628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81d1461dbc42d5578c182c54a752d0de.jpg","text":"TemporaryFile(/tmp/multipartBody6948573724559940613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300853097,"filename":"image_10042025_15_22_55_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351238727","file1":"1351238661","file0":"1351238614","file4":"1351238830","file5":"1351238867","file3":"1351238773"},"map_files_photo_id_array":[{"photo_id":"1351238867","filename":"file5"},{"photo_id":"1351238727","filename":"file2"},{"photo_id":"1351238830","filename":"file4"},{"photo_id":"1351238661","filename":"file1"},{"photo_id":"1351238614","filename":"file0"},{"photo_id":"1351238773","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351238830":["hashtag1","hashtag2"]},{"1351238773":["hashtag1","hashtag2"]},{"1351238614":["hashtag1","hashtag2"]},{"1351238661":["hashtag1","hashtag2"]},{"1351238727":["hashtag1","hashtag2"]},{"1351238867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351238830, 1351238773, 1351238614, 1351238661, 1351238727, 1351238867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2386908531189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:00:33.017657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/22/image_10042025_15_23_05_9418.jpg', '/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_15_10330.jpg', '/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_24_9446.jpg', '/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_35_10344.jpg', '/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_55_9364.jpg', '/home/pi/Desktop/images/10042025/15/23/image_10042025_15_24_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/22/image_10042025_15_23_05_9418.jpg
/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_15_10330.jpg
/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_24_9446.jpg
/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_35_10344.jpg
/home/pi/Desktop/images/10042025/15/23/image_10042025_15_23_55_9364.jpg
/home/pi/Desktop/images/10042025/15/23/image_10042025_15_24_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351239148","1351239301","1351239013","1351239087","1351239228","1351239265"],"photo_ids_order":["1351239013","1351239087","1351239148","1351239228","1351239265","1351239301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fba37a23b47b3aa2a5ff4d1f85bc118.jpg","text":"TemporaryFile(/tmp/multipartBody1837408884884051517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_23_24_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0245681a5038553bb373059e0e65320.jpg","text":"TemporaryFile(/tmp/multipartBody5954771023575053457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_24_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4b33cb2bbd42183a1ec8959e2452494.jpg","text":"TemporaryFile(/tmp/multipartBody5526589421310321486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_23_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c3d6fa0c5a0225eef56c104f8e87fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2402710305988040579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_23_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cef370f29b6dd680749e7d206a14948.jpg","text":"TemporaryFile(/tmp/multipartBody5609799523121564709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_23_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e40d5dedce31627923dab02c4dd4530a.jpg","text":"TemporaryFile(/tmp/multipartBody3838619118674158142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300895338,"filename":"image_10042025_15_23_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351239148","file1":"1351239087","file0":"1351239013","file4":"1351239265","file5":"1351239301","file3":"1351239228"},"map_files_photo_id_array":[{"photo_id":"1351239301","filename":"file5"},{"photo_id":"1351239148","filename":"file2"},{"photo_id":"1351239265","filename":"file4"},{"photo_id":"1351239087","filename":"file1"},{"photo_id":"1351239013","filename":"file0"},{"photo_id":"1351239228","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351239148":["hashtag1","hashtag2"]},{"1351239301":["hashtag1","hashtag2"]},{"1351239013":["hashtag1","hashtag2"]},{"1351239087":["hashtag1","hashtag2"]},{"1351239228":["hashtag1","hashtag2"]},{"1351239265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351239148, 1351239301, 1351239013, 1351239087, 1351239228, 1351239265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.688796043395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:01:33.021135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_14_9425.jpg', '/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_25_10415.jpg', '/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_55_10466.jpg', '/home/pi/Desktop/images/10042025/15/24/image_10042025_15_25_04_9345.jpg', '/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_15_10363.jpg', '/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_14_9425.jpg
/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_25_10415.jpg
/home/pi/Desktop/images/10042025/15/24/image_10042025_15_24_55_10466.jpg
/home/pi/Desktop/images/10042025/15/24/image_10042025_15_25_04_9345.jpg
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_15_10363.jpg
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351239792","1351239654","1351239849","1351239723","1351239935","1351240019"],"photo_ids_order":["1351239654","1351239723","1351239792","1351239849","1351239935","1351240019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/560be0708f101031862f6cc794340c4e.jpg","text":"TemporaryFile(/tmp/multipartBody426548843830079256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_24_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fc7e0303c8680b004ab68738971a8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7357884373806796053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_24_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2aca0bb61040c067c446a88160fa0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8810840678687085075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_25_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88abba6a078f857dcf25c8f1bb39bdc8.jpg","text":"TemporaryFile(/tmp/multipartBody4893460748967320376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_24_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ffc0417e6613f5307beff5eec9162644.jpg","text":"TemporaryFile(/tmp/multipartBody7600720703283674415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_25_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8613c45710bc216999eff0ca71c074ea.jpg","text":"TemporaryFile(/tmp/multipartBody2229606055828224423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744300953491,"filename":"image_10042025_15_25_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351239792","file1":"1351239723","file0":"1351239654","file4":"1351239935","file5":"1351240019","file3":"1351239849"},"map_files_photo_id_array":[{"photo_id":"1351240019","filename":"file5"},{"photo_id":"1351239792","filename":"file2"},{"photo_id":"1351239935","filename":"file4"},{"photo_id":"1351239723","filename":"file1"},{"photo_id":"1351239654","filename":"file0"},{"photo_id":"1351239849","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351239792":["hashtag1","hashtag2"]},{"1351239654":["hashtag1","hashtag2"]},{"1351239849":["hashtag1","hashtag2"]},{"1351239723":["hashtag1","hashtag2"]},{"1351239935":["hashtag1","hashtag2"]},{"1351240019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351239792, 1351239654, 1351239849, 1351239723, 1351239935, 1351240019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44999575614929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:02:33.117105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_34_9411.jpg', '/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_45_10339.jpg', '/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_55_10345.jpg', '/home/pi/Desktop/images/10042025/15/25/image_10042025_15_26_04_9405.jpg', '/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_15_10343.jpg', '/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_34_9411.jpg
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_45_10339.jpg
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_25_55_10345.jpg
/home/pi/Desktop/images/10042025/15/25/image_10042025_15_26_04_9405.jpg
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_15_10343.jpg
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351240570","1351240606","1351240507","1351240671","1351240530","1351240628"],"photo_ids_order":["1351240507","1351240530","1351240570","1351240606","1351240628","1351240671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8781a9393ebf319526e37fdd174815c.jpg","text":"TemporaryFile(/tmp/multipartBody8651784716903061431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_25_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6b5ac55180b12b7030e0ba04ee80c26.jpg","text":"TemporaryFile(/tmp/multipartBody3834546735189976909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_26_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9410e7d9826fdcc39c5dbec991b4325.jpg","text":"TemporaryFile(/tmp/multipartBody4713165190301154224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_25_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ada99ba8ec8efa40b25d9539c9857302.jpg","text":"TemporaryFile(/tmp/multipartBody4368834393526564852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_26_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/278c47474326740cb0b91068c667bb06.jpg","text":"TemporaryFile(/tmp/multipartBody688847102792240962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_25_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b308321b357fd3586ccb56d2a58f90f.jpg","text":"TemporaryFile(/tmp/multipartBody3438287178374321955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301013578,"filename":"image_10042025_15_26_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351240570","file1":"1351240530","file0":"1351240507","file4":"1351240628","file5":"1351240671","file3":"1351240606"},"map_files_photo_id_array":[{"photo_id":"1351240671","filename":"file5"},{"photo_id":"1351240570","filename":"file2"},{"photo_id":"1351240628","filename":"file4"},{"photo_id":"1351240530","filename":"file1"},{"photo_id":"1351240507","filename":"file0"},{"photo_id":"1351240606","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351240570":["hashtag1","hashtag2"]},{"1351240606":["hashtag1","hashtag2"]},{"1351240507":["hashtag1","hashtag2"]},{"1351240671":["hashtag1","hashtag2"]},{"1351240530":["hashtag1","hashtag2"]},{"1351240628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351240570, 1351240606, 1351240507, 1351240671, 1351240530, 1351240628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50896692276001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:03:32.384588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_35_9379.jpg', '/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_45_10334.jpg', '/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_54_9357.jpg', '/home/pi/Desktop/images/10042025/15/26/image_10042025_15_27_05_10430.jpg', '/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_15_10335.jpg', '/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_24_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_35_9379.jpg
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_45_10334.jpg
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_26_54_9357.jpg
/home/pi/Desktop/images/10042025/15/26/image_10042025_15_27_05_10430.jpg
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_15_10335.jpg
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_24_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351240907","1351240792","1351240873","1351240834","1351240812","1351240823"],"photo_ids_order":["1351240792","1351240812","1351240823","1351240834","1351240873","1351240907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd9175c8614cdcbba1d6e391a86e199d.jpg","text":"TemporaryFile(/tmp/multipartBody3986731983379356443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_27_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68e0409997f28049522ef660e82e176f.jpg","text":"TemporaryFile(/tmp/multipartBody1601903084035740061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_26_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8170435c4084741e8a0dd82f5a1a846.jpg","text":"TemporaryFile(/tmp/multipartBody8571044302812953102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_27_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7eb504b26231063491fc6849d9a4b913.jpg","text":"TemporaryFile(/tmp/multipartBody7015812243564573353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_27_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2b935873b8f1328974a2c5103a6cbf4.jpg","text":"TemporaryFile(/tmp/multipartBody5906140110897393789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_26_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb6d9367acfd7314cc0693b1768244dc.jpg","text":"TemporaryFile(/tmp/multipartBody4041717934743924104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301072840,"filename":"image_10042025_15_26_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351240823","file1":"1351240812","file0":"1351240792","file4":"1351240873","file5":"1351240907","file3":"1351240834"},"map_files_photo_id_array":[{"photo_id":"1351240907","filename":"file5"},{"photo_id":"1351240823","filename":"file2"},{"photo_id":"1351240873","filename":"file4"},{"photo_id":"1351240812","filename":"file1"},{"photo_id":"1351240792","filename":"file0"},{"photo_id":"1351240834","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351240907":["hashtag1","hashtag2"]},{"1351240792":["hashtag1","hashtag2"]},{"1351240873":["hashtag1","hashtag2"]},{"1351240834":["hashtag1","hashtag2"]},{"1351240812":["hashtag1","hashtag2"]},{"1351240823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351240907, 1351240792, 1351240873, 1351240834, 1351240812, 1351240823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.791492223739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:04:32.604394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_35_10352.jpg', '/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_45_10360.jpg', '/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_55_9350.jpg', '/home/pi/Desktop/images/10042025/15/27/image_10042025_15_28_05_10360.jpg', '/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_14_9403.jpg', '/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_25_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_35_10352.jpg
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_45_10360.jpg
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_27_55_9350.jpg
/home/pi/Desktop/images/10042025/15/27/image_10042025_15_28_05_10360.jpg
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_14_9403.jpg
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_25_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351241461","1351241365","1351241475","1351241285","1351241546","1351241612"],"photo_ids_order":["1351241285","1351241365","1351241461","1351241475","1351241546","1351241612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/259c6d3c8ba48a6f177b9fdf230f31ee.jpg","text":"TemporaryFile(/tmp/multipartBody8392270233857093159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_27_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e736438b489262f0dffa461640e4131.jpg","text":"TemporaryFile(/tmp/multipartBody225104176121618709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_27_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d9c7a6ef66ab3a0a89f1bcf34a570c2.jpg","text":"TemporaryFile(/tmp/multipartBody3202847546930393723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_28_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01e59b18e56b565f47727aac10f980b4.jpg","text":"TemporaryFile(/tmp/multipartBody7535673070270839954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_27_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/407fcc262289051ed3f9b9271ae72720.jpg","text":"TemporaryFile(/tmp/multipartBody1203038880272369633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_28_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02dce894bee108cae35afe7b2343e102.jpg","text":"TemporaryFile(/tmp/multipartBody8975133907677902266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301133049,"filename":"image_10042025_15_28_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351241461","file1":"1351241365","file0":"1351241285","file4":"1351241546","file5":"1351241612","file3":"1351241475"},"map_files_photo_id_array":[{"photo_id":"1351241612","filename":"file5"},{"photo_id":"1351241461","filename":"file2"},{"photo_id":"1351241546","filename":"file4"},{"photo_id":"1351241365","filename":"file1"},{"photo_id":"1351241285","filename":"file0"},{"photo_id":"1351241475","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351241461":["hashtag1","hashtag2"]},{"1351241365":["hashtag1","hashtag2"]},{"1351241475":["hashtag1","hashtag2"]},{"1351241285":["hashtag1","hashtag2"]},{"1351241546":["hashtag1","hashtag2"]},{"1351241612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351241461, 1351241365, 1351241475, 1351241285, 1351241546, 1351241612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85215187072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:05:32.889861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_35_10355.jpg', '/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_45_9475.jpg', '/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_55_10361.jpg', '/home/pi/Desktop/images/10042025/15/28/image_10042025_15_29_04_9359.jpg', '/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_15_10443.jpg', '/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_35_10355.jpg
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_45_9475.jpg
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_28_55_10361.jpg
/home/pi/Desktop/images/10042025/15/28/image_10042025_15_29_04_9359.jpg
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_15_10443.jpg
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351242057","1351242003","1351242098","1351242142","1351241968","1351242118"],"photo_ids_order":["1351241968","1351242003","1351242057","1351242098","1351242118","1351242142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16ea294942e567da67750ceca423ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody3812076454159292120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_28_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9b40d3b569420c3ad3595868e5801d0.jpg","text":"TemporaryFile(/tmp/multipartBody809233755100594074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_28_45_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/165a20bc41ba04ce3297099218c361f2.jpg","text":"TemporaryFile(/tmp/multipartBody3387894140775077784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_29_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad70cf61224b64b21191606b99349683.jpg","text":"TemporaryFile(/tmp/multipartBody5805035789433540956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_29_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d96359335959db58a2c401bbc571e03a.jpg","text":"TemporaryFile(/tmp/multipartBody1302223535734224864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_28_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f861cef121ee671c58a022be34b7933.jpg","text":"TemporaryFile(/tmp/multipartBody6290214353194962381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301193360,"filename":"image_10042025_15_29_15_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351242057","file1":"1351242003","file0":"1351241968","file4":"1351242118","file5":"1351242142","file3":"1351242098"},"map_files_photo_id_array":[{"photo_id":"1351242142","filename":"file5"},{"photo_id":"1351242057","filename":"file2"},{"photo_id":"1351242118","filename":"file4"},{"photo_id":"1351242003","filename":"file1"},{"photo_id":"1351241968","filename":"file0"},{"photo_id":"1351242098","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351242057":["hashtag1","hashtag2"]},{"1351242003":["hashtag1","hashtag2"]},{"1351242098":["hashtag1","hashtag2"]},{"1351242142":["hashtag1","hashtag2"]},{"1351241968":["hashtag1","hashtag2"]},{"1351242118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351242057, 1351242003, 1351242098, 1351242142, 1351241968, 1351242118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52224564552307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:06:33.127967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_35_9522.jpg', '/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_45_10356.jpg', '/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_54_9354.jpg', '/home/pi/Desktop/images/10042025/15/29/image_10042025_15_30_05_10419.jpg', '/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_15_10351.jpg', '/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_24_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_35_9522.jpg
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_45_10356.jpg
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_29_54_9354.jpg
/home/pi/Desktop/images/10042025/15/29/image_10042025_15_30_05_10419.jpg
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_15_10351.jpg
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_24_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351242459","1351242411","1351242507","1351242481","1351242565","1351242544"],"photo_ids_order":["1351242411","1351242459","1351242481","1351242507","1351242544","1351242565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a03c318f244f5c0eb2de3e693b010d1.jpg","text":"TemporaryFile(/tmp/multipartBody3511528215212292372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_29_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4086af9f25eec004f9ded49c0de8f74.jpg","text":"TemporaryFile(/tmp/multipartBody5350218738459700035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_29_35_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2e4515de32a71f3bcf2a3efed9ac669.jpg","text":"TemporaryFile(/tmp/multipartBody1679702223477815387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_30_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b8b12f8a07d1a37b5875a310e1dfaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6880187634104210827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_29_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/388c24d4066f6ffb0568f3e91147bd8a.jpg","text":"TemporaryFile(/tmp/multipartBody7197661818901620347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_30_24_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8204ce62afa7d6da9e3cec35520bfa52.jpg","text":"TemporaryFile(/tmp/multipartBody5566567000763886001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301253586,"filename":"image_10042025_15_30_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351242481","file1":"1351242459","file0":"1351242411","file4":"1351242544","file5":"1351242565","file3":"1351242507"},"map_files_photo_id_array":[{"photo_id":"1351242565","filename":"file5"},{"photo_id":"1351242481","filename":"file2"},{"photo_id":"1351242544","filename":"file4"},{"photo_id":"1351242459","filename":"file1"},{"photo_id":"1351242411","filename":"file0"},{"photo_id":"1351242507","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351242459":["hashtag1","hashtag2"]},{"1351242411":["hashtag1","hashtag2"]},{"1351242507":["hashtag1","hashtag2"]},{"1351242481":["hashtag1","hashtag2"]},{"1351242565":["hashtag1","hashtag2"]},{"1351242544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351242459, 1351242411, 1351242507, 1351242481, 1351242565, 1351242544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.678170919418335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:07:33.176972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_35_10406.jpg', '/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_45_10347.jpg', '/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_55_9463.jpg', '/home/pi/Desktop/images/10042025/15/30/image_10042025_15_31_05_10351.jpg', '/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_14_9387.jpg', '/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_35_10406.jpg
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_45_10347.jpg
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_30_55_9463.jpg
/home/pi/Desktop/images/10042025/15/30/image_10042025_15_31_05_10351.jpg
/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_14_9387.jpg
/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351242913","1351242798","1351242926","1351242803","1351242754","1351242841"],"photo_ids_order":["1351242754","1351242798","1351242803","1351242841","1351242913","1351242926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b348bfa1003154678a13691ffb8e790.jpg","text":"TemporaryFile(/tmp/multipartBody2708028267761445782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_31_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2bef4e60acbf4a0257976d5d7335abd.jpg","text":"TemporaryFile(/tmp/multipartBody4456136162762169978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_30_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7220cb1c50b4cbd24daf5b2eff86f070.jpg","text":"TemporaryFile(/tmp/multipartBody3668226334935869641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_31_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6888f92beaa0e00cc0b99a81a3e4452a.jpg","text":"TemporaryFile(/tmp/multipartBody1884208149583312033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_30_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a5832897c17dafa0f7f9069831cf69c.jpg","text":"TemporaryFile(/tmp/multipartBody4636503060516590675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_30_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c4d79780d4f0ecd8bd8797b13ed9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4149584737998766772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301313640,"filename":"image_10042025_15_31_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351242803","file1":"1351242798","file0":"1351242754","file4":"1351242913","file5":"1351242926","file3":"1351242841"},"map_files_photo_id_array":[{"photo_id":"1351242926","filename":"file5"},{"photo_id":"1351242803","filename":"file2"},{"photo_id":"1351242913","filename":"file4"},{"photo_id":"1351242798","filename":"file1"},{"photo_id":"1351242754","filename":"file0"},{"photo_id":"1351242841","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351242913":["hashtag1","hashtag2"]},{"1351242798":["hashtag1","hashtag2"]},{"1351242926":["hashtag1","hashtag2"]},{"1351242803":["hashtag1","hashtag2"]},{"1351242754":["hashtag1","hashtag2"]},{"1351242841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351242913, 1351242798, 1351242926, 1351242803, 1351242754, 1351242841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55726933479309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:08:32.346422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_45_9457.jpg', '/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_55_10372.jpg', '/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_15_10347.jpg', '/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_25_10381.jpg', '/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_35_9414.jpg', '/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_45_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_45_9457.jpg
/home/pi/Desktop/images/10042025/15/31/image_10042025_15_31_55_10372.jpg
/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_15_10347.jpg
/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_25_10381.jpg
/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_35_9414.jpg
/home/pi/Desktop/images/10042025/15/32/image_10042025_15_32_45_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243061","1351243019","1351243087","1351243027","1351243015","1351243012"],"photo_ids_order":["1351243012","1351243015","1351243019","1351243027","1351243061","1351243087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03551a4c71e5f6b3249857422d24bc44.jpg","text":"TemporaryFile(/tmp/multipartBody5979922745674202866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_32_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c213c61f1c654d234f9519a5e4de607.jpg","text":"TemporaryFile(/tmp/multipartBody2337476396869024394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_32_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7a4ba05035456c3fe9142c10afbb882.jpg","text":"TemporaryFile(/tmp/multipartBody4583645293072824916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_32_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b1acfe52fea152f4609e35d54613099.jpg","text":"TemporaryFile(/tmp/multipartBody4521998483342702041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_32_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64e06a5984dc36c21543b2e458e143c3.jpg","text":"TemporaryFile(/tmp/multipartBody9065801942632209244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_31_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f69c0ef4aeef0aaf41883698a5d00b57.jpg","text":"TemporaryFile(/tmp/multipartBody3162867780851387065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301372795,"filename":"image_10042025_15_31_45_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243019","file1":"1351243015","file0":"1351243012","file4":"1351243061","file5":"1351243087","file3":"1351243027"},"map_files_photo_id_array":[{"photo_id":"1351243087","filename":"file5"},{"photo_id":"1351243019","filename":"file2"},{"photo_id":"1351243061","filename":"file4"},{"photo_id":"1351243015","filename":"file1"},{"photo_id":"1351243012","filename":"file0"},{"photo_id":"1351243027","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243061":["hashtag1","hashtag2"]},{"1351243019":["hashtag1","hashtag2"]},{"1351243087":["hashtag1","hashtag2"]},{"1351243027":["hashtag1","hashtag2"]},{"1351243015":["hashtag1","hashtag2"]},{"1351243012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243061, 1351243019, 1351243087, 1351243027, 1351243015, 1351243012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.946327209472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:09:33.067816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/32/image_10042025_15_33_05_10375.jpg', '/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_15_10390.jpg', '/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_25_9399.jpg', '/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_55_10439.jpg', '/home/pi/Desktop/images/10042025/15/33/image_10042025_15_34_05_10428.jpg', '/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_15_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/32/image_10042025_15_33_05_10375.jpg
/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_15_10390.jpg
/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_25_9399.jpg
/home/pi/Desktop/images/10042025/15/33/image_10042025_15_33_55_10439.jpg
/home/pi/Desktop/images/10042025/15/33/image_10042025_15_34_05_10428.jpg
/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_15_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243167","1351243212","1351243190","1351243282","1351243279","1351243246"],"photo_ids_order":["1351243167","1351243190","1351243212","1351243246","1351243279","1351243282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e70ecbb4554e75e7a09cb739cd91656a.jpg","text":"TemporaryFile(/tmp/multipartBody4997577369285054296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_33_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b537ec36c756a72429cefd7ce97d6a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6325200292831374244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_33_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/640937af025cb68dcbb9c81840641483.jpg","text":"TemporaryFile(/tmp/multipartBody96071615724979675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_33_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84af03caab20e098af451c58d83f4d36.jpg","text":"TemporaryFile(/tmp/multipartBody2960151736529116393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_34_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fce2a7daea3ee62c381fb2500e15a56f.jpg","text":"TemporaryFile(/tmp/multipartBody4955074305651811921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_34_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c11bdf24c93abfcb3813d79a55558c10.jpg","text":"TemporaryFile(/tmp/multipartBody6364985823516688034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301433539,"filename":"image_10042025_15_33_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243212","file1":"1351243190","file0":"1351243167","file4":"1351243279","file5":"1351243282","file3":"1351243246"},"map_files_photo_id_array":[{"photo_id":"1351243282","filename":"file5"},{"photo_id":"1351243212","filename":"file2"},{"photo_id":"1351243279","filename":"file4"},{"photo_id":"1351243190","filename":"file1"},{"photo_id":"1351243167","filename":"file0"},{"photo_id":"1351243246","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243167":["hashtag1","hashtag2"]},{"1351243212":["hashtag1","hashtag2"]},{"1351243190":["hashtag1","hashtag2"]},{"1351243282":["hashtag1","hashtag2"]},{"1351243279":["hashtag1","hashtag2"]},{"1351243246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243167, 1351243212, 1351243190, 1351243282, 1351243279, 1351243246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.572935819625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:10:32.254044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_25_10412.jpg', '/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_34_9356.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_15_10413.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_25_10372.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_35_9341.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_25_10412.jpg
/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_34_9356.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_15_10413.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_25_10372.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_35_9341.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_45_10354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38878536224365234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 18:10:42.238895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_25_10412.jpg', '/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_34_9356.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_15_10413.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_25_10372.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_35_9341.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_25_10412.jpg
/home/pi/Desktop/images/10042025/15/34/image_10042025_15_34_34_9356.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_15_10413.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_25_10372.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_35_9341.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_45_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243682","1351243588","1351243505","1351243558","1351243630","1351243464"],"photo_ids_order":["1351243464","1351243505","1351243558","1351243588","1351243630","1351243682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81a1031d91cbb7dca65e5b3d46aac72b.jpg","text":"TemporaryFile(/tmp/multipartBody1104149041561863919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_35_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0c19024fe2463a6ce910bbd4928d897.jpg","text":"TemporaryFile(/tmp/multipartBody6114609936961325408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_35_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d8e36c17f99b6117b3e2e4d5ef069c8.jpg","text":"TemporaryFile(/tmp/multipartBody6358524498010490272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_34_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a0f810ccd5ba041bbe95feeb44b322a.jpg","text":"TemporaryFile(/tmp/multipartBody8787073474952899341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_35_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45bfb6f56a134b54e1bca45bf4f7cf86.jpg","text":"TemporaryFile(/tmp/multipartBody3047792312716631210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_35_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14c70984dc0ac131b53178302cc4fc99.jpg","text":"TemporaryFile(/tmp/multipartBody2489248576735637469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301502687,"filename":"image_10042025_15_34_25_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243558","file1":"1351243505","file0":"1351243464","file4":"1351243630","file5":"1351243682","file3":"1351243588"},"map_files_photo_id_array":[{"photo_id":"1351243682","filename":"file5"},{"photo_id":"1351243558","filename":"file2"},{"photo_id":"1351243630","filename":"file4"},{"photo_id":"1351243505","filename":"file1"},{"photo_id":"1351243464","filename":"file0"},{"photo_id":"1351243588","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243682":["hashtag1","hashtag2"]},{"1351243588":["hashtag1","hashtag2"]},{"1351243505":["hashtag1","hashtag2"]},{"1351243558":["hashtag1","hashtag2"]},{"1351243630":["hashtag1","hashtag2"]},{"1351243464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243682, 1351243588, 1351243505, 1351243558, 1351243630, 1351243464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74999117851257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:11:32.522768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_54_9457.jpg', '/home/pi/Desktop/images/10042025/15/35/image_10042025_15_36_05_10351.jpg', '/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_24_9370.jpg', '/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_35_10341.jpg', '/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_45_10380.jpg', '/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_55_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_35_54_9457.jpg
/home/pi/Desktop/images/10042025/15/35/image_10042025_15_36_05_10351.jpg
/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_24_9370.jpg
/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_35_10341.jpg
/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_45_10380.jpg
/home/pi/Desktop/images/10042025/15/36/image_10042025_15_36_55_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243851","1351243867","1351243846","1351243789","1351243822","1351243804"],"photo_ids_order":["1351243789","1351243804","1351243822","1351243846","1351243851","1351243867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acf480a98983c9d9d4c785ca2c6b9118.jpg","text":"TemporaryFile(/tmp/multipartBody2668818575809794103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_36_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66065d9efafe68be89d8f15b50ad67d0.jpg","text":"TemporaryFile(/tmp/multipartBody2310450218123849388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_36_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9b8326b9e4914f03cef38ef6f27d108.jpg","text":"TemporaryFile(/tmp/multipartBody869955243350286288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_36_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/997d7723334e32213a70de72fee303c9.jpg","text":"TemporaryFile(/tmp/multipartBody4393490742194735756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_35_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a403485f8f090244090cf152171284af.jpg","text":"TemporaryFile(/tmp/multipartBody7224744210248394111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_36_24_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/723678ffefcc32f294a6c1494c4948a8.jpg","text":"TemporaryFile(/tmp/multipartBody6227195215706280907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301552969,"filename":"image_10042025_15_36_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243822","file1":"1351243804","file0":"1351243789","file4":"1351243851","file5":"1351243867","file3":"1351243846"},"map_files_photo_id_array":[{"photo_id":"1351243867","filename":"file5"},{"photo_id":"1351243822","filename":"file2"},{"photo_id":"1351243851","filename":"file4"},{"photo_id":"1351243804","filename":"file1"},{"photo_id":"1351243789","filename":"file0"},{"photo_id":"1351243846","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243851":["hashtag1","hashtag2"]},{"1351243867":["hashtag1","hashtag2"]},{"1351243846":["hashtag1","hashtag2"]},{"1351243789":["hashtag1","hashtag2"]},{"1351243822":["hashtag1","hashtag2"]},{"1351243804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243851, 1351243867, 1351243846, 1351243789, 1351243822, 1351243804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29229712486267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:12:32.867245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/36/image_10042025_15_37_05_10368.jpg', '/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_14_9331.jpg', '/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_25_10413.jpg', '/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_35_10344.jpg', '/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_45_9483.jpg', '/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/36/image_10042025_15_37_05_10368.jpg
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_14_9331.jpg
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_25_10413.jpg
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_35_10344.jpg
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_45_9483.jpg
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_37_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243928","1351243912","1351243921","1351243915","1351243924","1351243918"],"photo_ids_order":["1351243912","1351243915","1351243918","1351243921","1351243924","1351243928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b489283047386698edfb15fb8891025.jpg","text":"TemporaryFile(/tmp/multipartBody9155259438119421701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac06c839222875452ece21d3bf397891.jpg","text":"TemporaryFile(/tmp/multipartBody7195057402205419303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446e5708f046411ee35839640fdfc4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1013562576500648878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a90ba2ad527026a8cdaf1ae3b5687bb.jpg","text":"TemporaryFile(/tmp/multipartBody5557187257600544785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c27ff3d526c53a6262f7ffd4f152ac6d.jpg","text":"TemporaryFile(/tmp/multipartBody3865874418987511191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_45_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fe902c497a1c562722ae76e45f924f3.jpg","text":"TemporaryFile(/tmp/multipartBody1776937474487012088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301613315,"filename":"image_10042025_15_37_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243918","file1":"1351243915","file0":"1351243912","file4":"1351243924","file5":"1351243928","file3":"1351243921"},"map_files_photo_id_array":[{"photo_id":"1351243928","filename":"file5"},{"photo_id":"1351243918","filename":"file2"},{"photo_id":"1351243924","filename":"file4"},{"photo_id":"1351243915","filename":"file1"},{"photo_id":"1351243912","filename":"file0"},{"photo_id":"1351243921","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243928":["hashtag1","hashtag2"]},{"1351243912":["hashtag1","hashtag2"]},{"1351243921":["hashtag1","hashtag2"]},{"1351243915":["hashtag1","hashtag2"]},{"1351243924":["hashtag1","hashtag2"]},{"1351243918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243928, 1351243912, 1351243921, 1351243915, 1351243924, 1351243918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.93339967727661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:13:32.996695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/37/image_10042025_15_38_04_9538.jpg', '/home/pi/Desktop/images/10042025/15/38/image_10042025_15_38_15_10417.jpg', '/home/pi/Desktop/images/10042025/15/38/image_10042025_15_38_45_10437.jpg', '/home/pi/Desktop/images/10042025/15/38/image_10042025_15_39_05_10340.jpg', '/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_25_9436.jpg', '/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_35_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/37/image_10042025_15_38_04_9538.jpg
/home/pi/Desktop/images/10042025/15/38/image_10042025_15_38_15_10417.jpg
/home/pi/Desktop/images/10042025/15/38/image_10042025_15_38_45_10437.jpg
/home/pi/Desktop/images/10042025/15/38/image_10042025_15_39_05_10340.jpg
/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_25_9436.jpg
/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_35_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351243961","1351243958","1351243984","1351243966","1351243974","1351243968"],"photo_ids_order":["1351243958","1351243961","1351243966","1351243968","1351243974","1351243984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c7c726343fd4315099946bc8728221d.jpg","text":"TemporaryFile(/tmp/multipartBody6159809533903171475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_38_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f32f61019a915ea2d02c7a6f95556499.jpg","text":"TemporaryFile(/tmp/multipartBody6254875551629356067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_38_04_9538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b19fd10f6f38fc5dafbcc7d89b3852a.jpg","text":"TemporaryFile(/tmp/multipartBody4062029043444741948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_39_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bc6e738ed49896a8cb0da154f590d93.jpg","text":"TemporaryFile(/tmp/multipartBody6946671337780747260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_38_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce5dfdf79134d7f9aacaedd0ca24262d.jpg","text":"TemporaryFile(/tmp/multipartBody4748227347004309873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_39_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fbc3713970baf6c3c2517c6e445436fc.jpg","text":"TemporaryFile(/tmp/multipartBody7903988662426114378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301673454,"filename":"image_10042025_15_39_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351243966","file1":"1351243961","file0":"1351243958","file4":"1351243974","file5":"1351243984","file3":"1351243968"},"map_files_photo_id_array":[{"photo_id":"1351243984","filename":"file5"},{"photo_id":"1351243966","filename":"file2"},{"photo_id":"1351243974","filename":"file4"},{"photo_id":"1351243961","filename":"file1"},{"photo_id":"1351243958","filename":"file0"},{"photo_id":"1351243968","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351243961":["hashtag1","hashtag2"]},{"1351243958":["hashtag1","hashtag2"]},{"1351243984":["hashtag1","hashtag2"]},{"1351243966":["hashtag1","hashtag2"]},{"1351243974":["hashtag1","hashtag2"]},{"1351243968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351243961, 1351243958, 1351243984, 1351243966, 1351243974, 1351243968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.281524658203125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:14:32.217936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_55_10347.jpg', '/home/pi/Desktop/images/10042025/15/39/image_10042025_15_40_04_9384.jpg', '/home/pi/Desktop/images/10042025/15/40/image_10042025_15_40_25_10344.jpg', '/home/pi/Desktop/images/10042025/15/40/image_10042025_15_40_45_10343.jpg', '/home/pi/Desktop/images/10042025/15/41/image_10042025_15_41_24_9475.jpg', '/home/pi/Desktop/images/10042025/15/41/image_10042025_15_41_55_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/39/image_10042025_15_39_55_10347.jpg
/home/pi/Desktop/images/10042025/15/39/image_10042025_15_40_04_9384.jpg
/home/pi/Desktop/images/10042025/15/40/image_10042025_15_40_25_10344.jpg
/home/pi/Desktop/images/10042025/15/40/image_10042025_15_40_45_10343.jpg
/home/pi/Desktop/images/10042025/15/41/image_10042025_15_41_24_9475.jpg
/home/pi/Desktop/images/10042025/15/41/image_10042025_15_41_55_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351244016","1351244132","1351244111","1351244035","1351244088","1351244061"],"photo_ids_order":["1351244016","1351244035","1351244061","1351244088","1351244111","1351244132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fa029440518fccb8e5a2a166f6c5304.jpg","text":"TemporaryFile(/tmp/multipartBody4216493416589724259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_39_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd3c3fd4cce14e3a729af98890944957.jpg","text":"TemporaryFile(/tmp/multipartBody5942085719602549936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_41_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76cd3f31953c08ebd9d8b42c8bc33fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3868768404565040477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_41_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/767d56fd4cba8c2e9debb1dc7484526a.jpg","text":"TemporaryFile(/tmp/multipartBody4086628448067064786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_40_04_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ff99d6bb016ba59a73fdaebec92bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody5445667598734444973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_40_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f00b2eda35e17ec62885d3ca88c41431.jpg","text":"TemporaryFile(/tmp/multipartBody8052948807758044611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301732665,"filename":"image_10042025_15_40_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351244061","file1":"1351244035","file0":"1351244016","file4":"1351244111","file5":"1351244132","file3":"1351244088"},"map_files_photo_id_array":[{"photo_id":"1351244132","filename":"file5"},{"photo_id":"1351244061","filename":"file2"},{"photo_id":"1351244111","filename":"file4"},{"photo_id":"1351244035","filename":"file1"},{"photo_id":"1351244016","filename":"file0"},{"photo_id":"1351244088","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351244016":["hashtag1","hashtag2"]},{"1351244132":["hashtag1","hashtag2"]},{"1351244111":["hashtag1","hashtag2"]},{"1351244035":["hashtag1","hashtag2"]},{"1351244088":["hashtag1","hashtag2"]},{"1351244061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351244016, 1351244132, 1351244111, 1351244035, 1351244088, 1351244061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85536479949951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:15:32.593997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/41/image_10042025_15_42_05_10409.jpg', '/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_14_9457.jpg', '/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_25_10343.jpg', '/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_35_10357.jpg', '/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_45_9431.jpg', '/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_54_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/41/image_10042025_15_42_05_10409.jpg
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_14_9457.jpg
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_25_10343.jpg
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_35_10357.jpg
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_45_9431.jpg
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_42_54_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351244432","1351244428","1351244335","1351244338","1351244332","1351244370"],"photo_ids_order":["1351244332","1351244335","1351244338","1351244370","1351244428","1351244432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12b222cc5b3e535f846a7cd89dcc34d7.jpg","text":"TemporaryFile(/tmp/multipartBody3213403235185668869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_54_9777.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0be6a573a254b8be761afb3585ceaccc.jpg","text":"TemporaryFile(/tmp/multipartBody2763722236812783700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7945707ef6739dae8ef9fecfc1d7cad9.jpg","text":"TemporaryFile(/tmp/multipartBody6970272547381416673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_14_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e71a011b07bf24abc5768cdde3f714a.jpg","text":"TemporaryFile(/tmp/multipartBody1277303191403681284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41b2dab54966a30924ffb9845cd131d3.jpg","text":"TemporaryFile(/tmp/multipartBody5330615150820268849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f80b38f14ec6715cfca76d14231ce923.jpg","text":"TemporaryFile(/tmp/multipartBody4272212869825287901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301793038,"filename":"image_10042025_15_42_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351244338","file1":"1351244335","file0":"1351244332","file4":"1351244428","file5":"1351244432","file3":"1351244370"},"map_files_photo_id_array":[{"photo_id":"1351244432","filename":"file5"},{"photo_id":"1351244338","filename":"file2"},{"photo_id":"1351244428","filename":"file4"},{"photo_id":"1351244335","filename":"file1"},{"photo_id":"1351244332","filename":"file0"},{"photo_id":"1351244370","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351244432":["hashtag1","hashtag2"]},{"1351244428":["hashtag1","hashtag2"]},{"1351244335":["hashtag1","hashtag2"]},{"1351244338":["hashtag1","hashtag2"]},{"1351244332":["hashtag1","hashtag2"]},{"1351244370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351244432, 1351244428, 1351244335, 1351244338, 1351244332, 1351244370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39083957672119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:16:32.742643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/42/image_10042025_15_43_05_10409.jpg', '/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_15_10361.jpg', '/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_24_9350.jpg', '/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_35_10353.jpg', '/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_45_10361.jpg', '/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_55_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/42/image_10042025_15_43_05_10409.jpg
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_15_10361.jpg
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_24_9350.jpg
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_35_10353.jpg
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_45_10361.jpg
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_43_55_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351244759","1351244711","1351244871","1351244796","1351244841","1351244736"],"photo_ids_order":["1351244711","1351244736","1351244759","1351244796","1351244841","1351244871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff125255c3bfeb186d761d2af98ac09b.jpg","text":"TemporaryFile(/tmp/multipartBody9037747696240407103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f82f2ba5e4fb2cbf39f09567c392cef.jpg","text":"TemporaryFile(/tmp/multipartBody1680949774092139608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1be15ce7da08fe79f7ed4f79f50cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody4702325231430283910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ef68511a0ad659498412721875444b5.jpg","text":"TemporaryFile(/tmp/multipartBody4739806506918894294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce7669d0a4249c8142326c49ab0ef9a3.jpg","text":"TemporaryFile(/tmp/multipartBody3361760575486130131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70ab5f9621290cadcbbf8f7671e6e689.jpg","text":"TemporaryFile(/tmp/multipartBody4063455547554338074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301853210,"filename":"image_10042025_15_43_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351244759","file1":"1351244736","file0":"1351244711","file4":"1351244841","file5":"1351244871","file3":"1351244796"},"map_files_photo_id_array":[{"photo_id":"1351244871","filename":"file5"},{"photo_id":"1351244759","filename":"file2"},{"photo_id":"1351244841","filename":"file4"},{"photo_id":"1351244736","filename":"file1"},{"photo_id":"1351244711","filename":"file0"},{"photo_id":"1351244796","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351244759":["hashtag1","hashtag2"]},{"1351244711":["hashtag1","hashtag2"]},{"1351244871":["hashtag1","hashtag2"]},{"1351244796":["hashtag1","hashtag2"]},{"1351244841":["hashtag1","hashtag2"]},{"1351244736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351244759, 1351244711, 1351244871, 1351244796, 1351244841, 1351244736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5791380405426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:17:32.844607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/43/image_10042025_15_44_05_10367.jpg', '/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_14_9347.jpg', '/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_25_10360.jpg', '/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_44_9451.jpg', '/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_55_10348.jpg', '/home/pi/Desktop/images/10042025/15/44/image_10042025_15_45_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/43/image_10042025_15_44_05_10367.jpg
/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_14_9347.jpg
/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_25_10360.jpg
/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_44_9451.jpg
/home/pi/Desktop/images/10042025/15/44/image_10042025_15_44_55_10348.jpg
/home/pi/Desktop/images/10042025/15/44/image_10042025_15_45_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351245053","1351245134","1351245115","1351245078","1351245123","1351245089"],"photo_ids_order":["1351245053","1351245078","1351245089","1351245115","1351245123","1351245134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/400ea984d510d40b4fee894909efdab4.jpg","text":"TemporaryFile(/tmp/multipartBody2430616454180559599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_44_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/443d2992fe5635856ac7b07381e17a07.jpg","text":"TemporaryFile(/tmp/multipartBody266766460054231134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_45_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7eaf5348022c9850a8b2a64d694b744b.jpg","text":"TemporaryFile(/tmp/multipartBody8799155041708963148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_44_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c1086a9510139de6cd597399a5fa357.jpg","text":"TemporaryFile(/tmp/multipartBody630799122771455541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_44_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68ec8bf68354fbe80bc20b3136110b04.jpg","text":"TemporaryFile(/tmp/multipartBody3646868781485480203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_44_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43a9d97a43f4295eb024cbb606a54398.jpg","text":"TemporaryFile(/tmp/multipartBody2017841837477847762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301913289,"filename":"image_10042025_15_44_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351245089","file1":"1351245078","file0":"1351245053","file4":"1351245123","file5":"1351245134","file3":"1351245115"},"map_files_photo_id_array":[{"photo_id":"1351245134","filename":"file5"},{"photo_id":"1351245089","filename":"file2"},{"photo_id":"1351245123","filename":"file4"},{"photo_id":"1351245078","filename":"file1"},{"photo_id":"1351245053","filename":"file0"},{"photo_id":"1351245115","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351245053":["hashtag1","hashtag2"]},{"1351245134":["hashtag1","hashtag2"]},{"1351245115":["hashtag1","hashtag2"]},{"1351245078":["hashtag1","hashtag2"]},{"1351245123":["hashtag1","hashtag2"]},{"1351245089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351245053, 1351245134, 1351245115, 1351245078, 1351245123, 1351245089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43759751319885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:18:33.013616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_15_9348.jpg', '/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_25_10339.jpg', '/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_35_10354.jpg', '/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_45_9358.jpg', '/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_55_10413.jpg', '/home/pi/Desktop/images/10042025/15/46/image_10042025_15_46_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_15_9348.jpg
/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_25_10339.jpg
/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_35_10354.jpg
/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_45_9358.jpg
/home/pi/Desktop/images/10042025/15/45/image_10042025_15_45_55_10413.jpg
/home/pi/Desktop/images/10042025/15/46/image_10042025_15_46_15_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351245239","1351245258","1351245243","1351245237","1351245234","1351245248"],"photo_ids_order":["1351245234","1351245237","1351245239","1351245243","1351245248","1351245258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31c79531824fff793bf6c2c393c32c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8416734244762673115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_45_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3e6b1f4d1393713e05d5435a9120a66.jpg","text":"TemporaryFile(/tmp/multipartBody2318324116518577946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_46_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4befd6f6156279d15c8d2dbacb2328c.jpg","text":"TemporaryFile(/tmp/multipartBody413333525414120485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_45_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1daf850d09f078310fed4419aa5db997.jpg","text":"TemporaryFile(/tmp/multipartBody7343212861213765038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_45_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53e62fc26603cd28069b85a8ddf975dc.jpg","text":"TemporaryFile(/tmp/multipartBody8047052775476990484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_45_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfff8155a5819ad9c193368781d84014.jpg","text":"TemporaryFile(/tmp/multipartBody1915523144109339375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744301973473,"filename":"image_10042025_15_45_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351245239","file1":"1351245237","file0":"1351245234","file4":"1351245248","file5":"1351245258","file3":"1351245243"},"map_files_photo_id_array":[{"photo_id":"1351245258","filename":"file5"},{"photo_id":"1351245239","filename":"file2"},{"photo_id":"1351245248","filename":"file4"},{"photo_id":"1351245237","filename":"file1"},{"photo_id":"1351245234","filename":"file0"},{"photo_id":"1351245243","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351245239":["hashtag1","hashtag2"]},{"1351245258":["hashtag1","hashtag2"]},{"1351245243":["hashtag1","hashtag2"]},{"1351245237":["hashtag1","hashtag2"]},{"1351245234":["hashtag1","hashtag2"]},{"1351245248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351245239, 1351245258, 1351245243, 1351245237, 1351245234, 1351245248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.922643423080444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:19:32.334467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/46/image_10042025_15_46_55_10380.jpg', '/home/pi/Desktop/images/10042025/15/46/image_10042025_15_47_05_9696.jpg', '/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_15_10353.jpg', '/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_25_9522.jpg', '/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_45_9435.jpg', '/home/pi/Desktop/images/10042025/15/47/image_10042025_15_48_04_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/46/image_10042025_15_46_55_10380.jpg
/home/pi/Desktop/images/10042025/15/46/image_10042025_15_47_05_9696.jpg
/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_15_10353.jpg
/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_25_9522.jpg
/home/pi/Desktop/images/10042025/15/47/image_10042025_15_47_45_9435.jpg
/home/pi/Desktop/images/10042025/15/47/image_10042025_15_48_04_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351245338","1351245592","1351245518","1351245439","1351245485","1351245347"],"photo_ids_order":["1351245338","1351245347","1351245439","1351245485","1351245518","1351245592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d7df3bcf11b38dae30978609eb1dd1e.jpg","text":"TemporaryFile(/tmp/multipartBody5751422853386723851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_46_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ec6bd972bc40f52c8d29f13a3f64fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7746007275095975651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_48_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41fa098fb1ba4f2a8483e73c4e0515e5.jpg","text":"TemporaryFile(/tmp/multipartBody1915279817140961290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_47_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/993687045e8e7d84ce21605a4b75a826.jpg","text":"TemporaryFile(/tmp/multipartBody4313691950314518161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_47_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/977b47472cd48c245b966f4d4b739175.jpg","text":"TemporaryFile(/tmp/multipartBody5699510969379945935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_47_25_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54d337b3343ca11d6fc0f17840c55603.jpg","text":"TemporaryFile(/tmp/multipartBody8921443786259690249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302032780,"filename":"image_10042025_15_47_05_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351245439","file1":"1351245347","file0":"1351245338","file4":"1351245518","file5":"1351245592","file3":"1351245485"},"map_files_photo_id_array":[{"photo_id":"1351245592","filename":"file5"},{"photo_id":"1351245439","filename":"file2"},{"photo_id":"1351245518","filename":"file4"},{"photo_id":"1351245347","filename":"file1"},{"photo_id":"1351245338","filename":"file0"},{"photo_id":"1351245485","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351245338":["hashtag1","hashtag2"]},{"1351245592":["hashtag1","hashtag2"]},{"1351245518":["hashtag1","hashtag2"]},{"1351245439":["hashtag1","hashtag2"]},{"1351245485":["hashtag1","hashtag2"]},{"1351245347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351245338, 1351245592, 1351245518, 1351245439, 1351245485, 1351245347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.516647815704346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:20:32.427538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_15_10419.jpg', '/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_25_10364.jpg', '/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_35_9436.jpg', '/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_45_10385.jpg', '/home/pi/Desktop/images/10042025/15/48/image_10042025_15_49_05_10348.jpg', '/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_15_10419.jpg
/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_25_10364.jpg
/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_35_9436.jpg
/home/pi/Desktop/images/10042025/15/48/image_10042025_15_48_45_10385.jpg
/home/pi/Desktop/images/10042025/15/48/image_10042025_15_49_05_10348.jpg
/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351245820","1351245891","1351245864","1351245843","1351245936","1351245872"],"photo_ids_order":["1351245820","1351245843","1351245864","1351245872","1351245891","1351245936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d3a43cfd8bfdeb1e6085adeed6c0cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8360769374768109017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_48_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0c7d4951ed0124d6956273206259e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1911252804322898909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_49_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6efdabe1ef177e33e7264b5836d93ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2317997182050206628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_48_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8d4c50327ae1edf9d7bceaf60a997db.jpg","text":"TemporaryFile(/tmp/multipartBody8148248045021813452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_48_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1db3060cd91ff85a7bdffc1b80339faf.jpg","text":"TemporaryFile(/tmp/multipartBody8972794953681422796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_49_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1b7ff9102315f5af2a8dbf15dd2bf55.jpg","text":"TemporaryFile(/tmp/multipartBody6830305406099921764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302092892,"filename":"image_10042025_15_48_45_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351245864","file1":"1351245843","file0":"1351245820","file4":"1351245891","file5":"1351245936","file3":"1351245872"},"map_files_photo_id_array":[{"photo_id":"1351245936","filename":"file5"},{"photo_id":"1351245864","filename":"file2"},{"photo_id":"1351245891","filename":"file4"},{"photo_id":"1351245843","filename":"file1"},{"photo_id":"1351245820","filename":"file0"},{"photo_id":"1351245872","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351245820":["hashtag1","hashtag2"]},{"1351245891":["hashtag1","hashtag2"]},{"1351245864":["hashtag1","hashtag2"]},{"1351245843":["hashtag1","hashtag2"]},{"1351245936":["hashtag1","hashtag2"]},{"1351245872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351245820, 1351245891, 1351245864, 1351245843, 1351245936, 1351245872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.767133712768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:21:32.634706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_24_9445.jpg', '/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_35_10434.jpg', '/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_44_9403.jpg', '/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_55_10358.jpg', '/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_14_9381.jpg', '/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_24_9445.jpg
/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_35_10434.jpg
/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_44_9403.jpg
/home/pi/Desktop/images/10042025/15/49/image_10042025_15_49_55_10358.jpg
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_14_9381.jpg
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_25_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351246045","1351246021","1351246039","1351246155","1351246263","1351246193"],"photo_ids_order":["1351246021","1351246039","1351246045","1351246155","1351246193","1351246263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6eed9c88680bff70141d328a9f3f878c.jpg","text":"TemporaryFile(/tmp/multipartBody72271760145096377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_49_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/afa72047bc1f8fcc1d6f355cf06ba346.jpg","text":"TemporaryFile(/tmp/multipartBody3211819489370642330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_49_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ddc1baf4b69619a3517ada4775b6a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2358182607586847419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_49_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79ac7ac54d3af368152b5bd87513f397.jpg","text":"TemporaryFile(/tmp/multipartBody5877982565784916438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_49_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06955d652ad1da35de61076ae48f08bd.jpg","text":"TemporaryFile(/tmp/multipartBody7610741260188519650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_50_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16a76b7387bcc536ece900b619299b70.jpg","text":"TemporaryFile(/tmp/multipartBody1644578553095527144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302153097,"filename":"image_10042025_15_50_14_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351246045","file1":"1351246039","file0":"1351246021","file4":"1351246193","file5":"1351246263","file3":"1351246155"},"map_files_photo_id_array":[{"photo_id":"1351246263","filename":"file5"},{"photo_id":"1351246045","filename":"file2"},{"photo_id":"1351246193","filename":"file4"},{"photo_id":"1351246039","filename":"file1"},{"photo_id":"1351246021","filename":"file0"},{"photo_id":"1351246155","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351246045":["hashtag1","hashtag2"]},{"1351246021":["hashtag1","hashtag2"]},{"1351246039":["hashtag1","hashtag2"]},{"1351246155":["hashtag1","hashtag2"]},{"1351246263":["hashtag1","hashtag2"]},{"1351246193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351246045, 1351246021, 1351246039, 1351246155, 1351246263, 1351246193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.536885499954224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:22:32.887651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_35_10415.jpg', '/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_45_9371.jpg', '/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_55_10367.jpg', '/home/pi/Desktop/images/10042025/15/50/image_10042025_15_51_04_9350.jpg', '/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_15_10356.jpg', '/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_45_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_35_10415.jpg
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_45_9371.jpg
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_50_55_10367.jpg
/home/pi/Desktop/images/10042025/15/50/image_10042025_15_51_04_9350.jpg
/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_15_10356.jpg
/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_45_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351246885","1351246972","1351246774","1351246747","1351246936","1351246818"],"photo_ids_order":["1351246747","1351246774","1351246818","1351246885","1351246936","1351246972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb9b804eb4292c5958cb8c99e89f8185.jpg","text":"TemporaryFile(/tmp/multipartBody555792598659699043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_51_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11c58663ba1343ab67b3dca4bd2d32c9.jpg","text":"TemporaryFile(/tmp/multipartBody3650950877825377639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_51_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe62080a18cd9cc638bda78f51ed486a.jpg","text":"TemporaryFile(/tmp/multipartBody8464052437745644115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_50_45_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c667b272e1da24226ff3551ac2c3611a.jpg","text":"TemporaryFile(/tmp/multipartBody9155248051174267539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_50_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6414ebfe023341e83f086d13224cc29d.jpg","text":"TemporaryFile(/tmp/multipartBody1909027277197830414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_51_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4885df0be6d7582826b7a6237d274a9e.jpg","text":"TemporaryFile(/tmp/multipartBody7461047197302058646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302213337,"filename":"image_10042025_15_50_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351246818","file1":"1351246774","file0":"1351246747","file4":"1351246936","file5":"1351246972","file3":"1351246885"},"map_files_photo_id_array":[{"photo_id":"1351246972","filename":"file5"},{"photo_id":"1351246818","filename":"file2"},{"photo_id":"1351246936","filename":"file4"},{"photo_id":"1351246774","filename":"file1"},{"photo_id":"1351246747","filename":"file0"},{"photo_id":"1351246885","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351246885":["hashtag1","hashtag2"]},{"1351246972":["hashtag1","hashtag2"]},{"1351246774":["hashtag1","hashtag2"]},{"1351246747":["hashtag1","hashtag2"]},{"1351246936":["hashtag1","hashtag2"]},{"1351246818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351246885, 1351246972, 1351246774, 1351246747, 1351246936, 1351246818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.814510345458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:23:33.029790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_55_10372.jpg', '/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_15_10400.jpg', '/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_25_9428.jpg', '/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_35_10348.jpg', '/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_45_10349.jpg', '/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_55_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/51/image_10042025_15_51_55_10372.jpg
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_15_10400.jpg
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_25_9428.jpg
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_35_10348.jpg
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_45_10349.jpg
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_52_55_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351247749","1351247685","1351247623","1351247718","1351247801","1351247659"],"photo_ids_order":["1351247623","1351247659","1351247685","1351247718","1351247749","1351247801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83b3d09037a17bb0e510768d0798c228.jpg","text":"TemporaryFile(/tmp/multipartBody99615702549490572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_52_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b10332937ba8e81dc93b8e28b1b6c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4861483140496229685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_52_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/357a1c16ff9040fd397e3df377ac628c.jpg","text":"TemporaryFile(/tmp/multipartBody5019783454984016379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_51_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d61cc19a6f114c17cd52a68e09dc23f.jpg","text":"TemporaryFile(/tmp/multipartBody4745808597806974210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_52_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5166aefb1da2ac0a7e97706edc1f1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2010806864882837437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_52_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f82f6e580b58d034d927d3b2fe838048.jpg","text":"TemporaryFile(/tmp/multipartBody7256473710466607532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302273483,"filename":"image_10042025_15_52_15_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351247685","file1":"1351247659","file0":"1351247623","file4":"1351247749","file5":"1351247801","file3":"1351247718"},"map_files_photo_id_array":[{"photo_id":"1351247801","filename":"file5"},{"photo_id":"1351247685","filename":"file2"},{"photo_id":"1351247749","filename":"file4"},{"photo_id":"1351247659","filename":"file1"},{"photo_id":"1351247623","filename":"file0"},{"photo_id":"1351247718","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351247749":["hashtag1","hashtag2"]},{"1351247685":["hashtag1","hashtag2"]},{"1351247623":["hashtag1","hashtag2"]},{"1351247718":["hashtag1","hashtag2"]},{"1351247801":["hashtag1","hashtag2"]},{"1351247659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351247749, 1351247685, 1351247623, 1351247718, 1351247801, 1351247659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.785199880599976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:24:33.138476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/52/image_10042025_15_53_05_10361.jpg', '/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_14_9319.jpg', '/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_25_10451.jpg', '/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_35_10360.jpg', '/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_45_9425.jpg', '/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_55_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/52/image_10042025_15_53_05_10361.jpg
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_14_9319.jpg
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_25_10451.jpg
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_35_10360.jpg
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_45_9425.jpg
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_53_55_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351248135","1351248245","1351248218","1351248082","1351248116","1351248187"],"photo_ids_order":["1351248082","1351248116","1351248135","1351248187","1351248218","1351248245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57e92d03c5fe1f8f7c6aa90b83191d32.jpg","text":"TemporaryFile(/tmp/multipartBody1984627385832994979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adc9d39fa808f6362e91ca4d12c09e71.jpg","text":"TemporaryFile(/tmp/multipartBody5916628398841813126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b6d0af0f9ff1002697268dfbdc1517b.jpg","text":"TemporaryFile(/tmp/multipartBody4810223151382447126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f2dc3acf961276a889477f4d4de4cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4889412206163746630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/637df6d8eb5c1c0b169c69ca60225d07.jpg","text":"TemporaryFile(/tmp/multipartBody5776865707022881862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_14_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4b7dd4b558140d6ad5921216438cd95.jpg","text":"TemporaryFile(/tmp/multipartBody4399345937404000598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302333655,"filename":"image_10042025_15_53_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351248135","file1":"1351248116","file0":"1351248082","file4":"1351248218","file5":"1351248245","file3":"1351248187"},"map_files_photo_id_array":[{"photo_id":"1351248245","filename":"file5"},{"photo_id":"1351248135","filename":"file2"},{"photo_id":"1351248218","filename":"file4"},{"photo_id":"1351248116","filename":"file1"},{"photo_id":"1351248082","filename":"file0"},{"photo_id":"1351248187","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351248135":["hashtag1","hashtag2"]},{"1351248245":["hashtag1","hashtag2"]},{"1351248218":["hashtag1","hashtag2"]},{"1351248082":["hashtag1","hashtag2"]},{"1351248116":["hashtag1","hashtag2"]},{"1351248187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351248135, 1351248245, 1351248218, 1351248082, 1351248116, 1351248187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36285948753357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:25:32.344497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/53/image_10042025_15_54_04_9476.jpg', '/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_15_10336.jpg', '/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_25_10379.jpg', '/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_35_9377.jpg', '/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_45_10360.jpg', '/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_55_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/53/image_10042025_15_54_04_9476.jpg
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_15_10336.jpg
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_25_10379.jpg
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_35_9377.jpg
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_45_10360.jpg
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_54_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351248477","1351248357","1351248426","1351248380","1351248404","1351248361"],"photo_ids_order":["1351248357","1351248361","1351248380","1351248404","1351248426","1351248477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1cef271ad153b7395bd0a4ed9a59e155.jpg","text":"TemporaryFile(/tmp/multipartBody2101293302688077974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cde1e6275a5c77a6abe72bd0f6c32d0.jpg","text":"TemporaryFile(/tmp/multipartBody1247473234957515155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_04_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cc20f00a2e67f1f126c415c45962ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3901754101041174141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78e4cf4410008600cb8a94a3857f5fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3503186719739154023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aee72c670b09c3cd96c704dee6ca6d6c.jpg","text":"TemporaryFile(/tmp/multipartBody5790704589584678283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_35_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f5400a4774bd7e85758194e3dd7ecdf.jpg","text":"TemporaryFile(/tmp/multipartBody5791679381340910376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302392795,"filename":"image_10042025_15_54_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351248380","file1":"1351248361","file0":"1351248357","file4":"1351248426","file5":"1351248477","file3":"1351248404"},"map_files_photo_id_array":[{"photo_id":"1351248477","filename":"file5"},{"photo_id":"1351248380","filename":"file2"},{"photo_id":"1351248426","filename":"file4"},{"photo_id":"1351248361","filename":"file1"},{"photo_id":"1351248357","filename":"file0"},{"photo_id":"1351248404","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351248477":["hashtag1","hashtag2"]},{"1351248357":["hashtag1","hashtag2"]},{"1351248426":["hashtag1","hashtag2"]},{"1351248380":["hashtag1","hashtag2"]},{"1351248404":["hashtag1","hashtag2"]},{"1351248361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351248477, 1351248357, 1351248426, 1351248380, 1351248404, 1351248361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82356333732605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:26:32.662876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/54/image_10042025_15_55_05_9339.jpg', '/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_15_10373.jpg', '/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_24_9354.jpg', '/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_35_10390.jpg', '/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_45_10354.jpg', '/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_55_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/54/image_10042025_15_55_05_9339.jpg
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_15_10373.jpg
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_24_9354.jpg
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_35_10390.jpg
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_45_10354.jpg
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_55_55_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351249212","1351249277","1351249358","1351249166","1351248994","1351249074"],"photo_ids_order":["1351248994","1351249074","1351249166","1351249212","1351249277","1351249358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d5733a9726e4c262d9c321417d724f2.jpg","text":"TemporaryFile(/tmp/multipartBody8708324971473834942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f11afa2bf68f47f13dbf61880711f762.jpg","text":"TemporaryFile(/tmp/multipartBody6345127106057983612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3473904e88bda7e103c00c9817f93e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1489964506994293471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db7df5a188e1d5fd29050bcae4813775.jpg","text":"TemporaryFile(/tmp/multipartBody5510988578237807700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/103cd733dc7c67aaf1211d41f273b6f5.jpg","text":"TemporaryFile(/tmp/multipartBody1827131723817060697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75e85415541600bb62c0723076e325c5.jpg","text":"TemporaryFile(/tmp/multipartBody4778449551948589873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302453116,"filename":"image_10042025_15_55_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351249166","file1":"1351249074","file0":"1351248994","file4":"1351249277","file5":"1351249358","file3":"1351249212"},"map_files_photo_id_array":[{"photo_id":"1351249358","filename":"file5"},{"photo_id":"1351249166","filename":"file2"},{"photo_id":"1351249277","filename":"file4"},{"photo_id":"1351249074","filename":"file1"},{"photo_id":"1351248994","filename":"file0"},{"photo_id":"1351249212","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351249212":["hashtag1","hashtag2"]},{"1351249277":["hashtag1","hashtag2"]},{"1351249358":["hashtag1","hashtag2"]},{"1351249166":["hashtag1","hashtag2"]},{"1351248994":["hashtag1","hashtag2"]},{"1351249074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351249212, 1351249277, 1351249358, 1351249166, 1351248994, 1351249074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68213248252869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:27:32.805379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/55/image_10042025_15_56_05_10352.jpg', '/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_14_9373.jpg', '/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_25_10417.jpg', '/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_35_10339.jpg', '/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_44_9411.jpg', '/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/55/image_10042025_15_56_05_10352.jpg
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_14_9373.jpg
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_25_10417.jpg
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_35_10339.jpg
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_44_9411.jpg
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_56_55_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351249988","1351250048","1351250033","1351250098","1351250062","1351249941"],"photo_ids_order":["1351249941","1351249988","1351250033","1351250048","1351250062","1351250098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5262453ce5023b5c71c513d3a2e927bf.jpg","text":"TemporaryFile(/tmp/multipartBody8270165068441349330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f620f2c59eb91705ce3542b3bb745c75.jpg","text":"TemporaryFile(/tmp/multipartBody4345702312944070714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5824ae24f2a9b7302ed2a7a3cae4429.jpg","text":"TemporaryFile(/tmp/multipartBody5567788528851984880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3019036095920b42756eb3bf5bbd6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6615392884946540345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71153eaf387d1dd80299318011d8bc63.jpg","text":"TemporaryFile(/tmp/multipartBody8684864541368477088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_44_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6219c30b9bc1ceb729d5c44a6ca143f.jpg","text":"TemporaryFile(/tmp/multipartBody643150422347630134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302513260,"filename":"image_10042025_15_56_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351250033","file1":"1351249988","file0":"1351249941","file4":"1351250062","file5":"1351250098","file3":"1351250048"},"map_files_photo_id_array":[{"photo_id":"1351250098","filename":"file5"},{"photo_id":"1351250033","filename":"file2"},{"photo_id":"1351250062","filename":"file4"},{"photo_id":"1351249988","filename":"file1"},{"photo_id":"1351249941","filename":"file0"},{"photo_id":"1351250048","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351249988":["hashtag1","hashtag2"]},{"1351250048":["hashtag1","hashtag2"]},{"1351250033":["hashtag1","hashtag2"]},{"1351250098":["hashtag1","hashtag2"]},{"1351250062":["hashtag1","hashtag2"]},{"1351249941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351249988, 1351250048, 1351250033, 1351250098, 1351250062, 1351249941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08142375946045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:28:32.933409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/56/image_10042025_15_57_05_10368.jpg', '/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_14_9331.jpg', '/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_25_10366.jpg', '/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_35_10348.jpg', '/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_45_9419.jpg', '/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/56/image_10042025_15_57_05_10368.jpg
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_14_9331.jpg
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_25_10366.jpg
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_35_10348.jpg
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_45_9419.jpg
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_57_55_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351250577","1351250466","1351250646","1351250409","1351250356","1351250515"],"photo_ids_order":["1351250356","1351250409","1351250466","1351250515","1351250577","1351250646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32af55f3d6b1769c5ba9c3ad073d3c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8637097970376171992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_45_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b815bc9e531bc3ac91fd7dca3dfbec3.jpg","text":"TemporaryFile(/tmp/multipartBody1038553325095167586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39b9434c685318f4d43d78831aea12d3.jpg","text":"TemporaryFile(/tmp/multipartBody7294114588688778326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d16251d3be31a0c5486aba32cb7af1f.jpg","text":"TemporaryFile(/tmp/multipartBody6940455935631937304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dff0a37055831bc5437fecd098ff14f.jpg","text":"TemporaryFile(/tmp/multipartBody4280480665956958286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3740704548c738ccca28f4284081d044.jpg","text":"TemporaryFile(/tmp/multipartBody7989152590291622584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302573384,"filename":"image_10042025_15_57_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351250466","file1":"1351250409","file0":"1351250356","file4":"1351250577","file5":"1351250646","file3":"1351250515"},"map_files_photo_id_array":[{"photo_id":"1351250646","filename":"file5"},{"photo_id":"1351250466","filename":"file2"},{"photo_id":"1351250577","filename":"file4"},{"photo_id":"1351250409","filename":"file1"},{"photo_id":"1351250356","filename":"file0"},{"photo_id":"1351250515","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351250577":["hashtag1","hashtag2"]},{"1351250466":["hashtag1","hashtag2"]},{"1351250646":["hashtag1","hashtag2"]},{"1351250409":["hashtag1","hashtag2"]},{"1351250356":["hashtag1","hashtag2"]},{"1351250515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351250577, 1351250466, 1351250646, 1351250409, 1351250356, 1351250515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.653475761413574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:29:33.073326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/57/image_10042025_15_58_04_9341.jpg', '/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_15_10437.jpg', '/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_25_10366.jpg', '/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_34_9357.jpg', '/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_45_10397.jpg', '/home/pi/Desktop/images/10042025/15/58/image_10042025_15_59_05_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/57/image_10042025_15_58_04_9341.jpg
/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_15_10437.jpg
/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_25_10366.jpg
/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_34_9357.jpg
/home/pi/Desktop/images/10042025/15/58/image_10042025_15_58_45_10397.jpg
/home/pi/Desktop/images/10042025/15/58/image_10042025_15_59_05_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351251182","1351251101","1351250974","1351251139","1351251025","1351251057"],"photo_ids_order":["1351250974","1351251025","1351251057","1351251101","1351251139","1351251182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/450a2db7b754cf04543c5aee7c3ff0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4554065248181654512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_59_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cdbc2f1b109d0994f8467c27ec604c5f.jpg","text":"TemporaryFile(/tmp/multipartBody309133283074981394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_58_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9b599804be36fda5b1e95fdeb7f57cd.jpg","text":"TemporaryFile(/tmp/multipartBody5134414161769737623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_58_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c64d500640b55004d057420d822d9cb.jpg","text":"TemporaryFile(/tmp/multipartBody2341805572813036085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_58_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24c2da0e1b5b0d5dbb8c7f859842d5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7897256227530152476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_58_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73ab3ac683889c4942810fdb2cc67328.jpg","text":"TemporaryFile(/tmp/multipartBody869645257761420451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302633531,"filename":"image_10042025_15_58_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351251057","file1":"1351251025","file0":"1351250974","file4":"1351251139","file5":"1351251182","file3":"1351251101"},"map_files_photo_id_array":[{"photo_id":"1351251182","filename":"file5"},{"photo_id":"1351251057","filename":"file2"},{"photo_id":"1351251139","filename":"file4"},{"photo_id":"1351251025","filename":"file1"},{"photo_id":"1351250974","filename":"file0"},{"photo_id":"1351251101","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351251182":["hashtag1","hashtag2"]},{"1351251101":["hashtag1","hashtag2"]},{"1351250974":["hashtag1","hashtag2"]},{"1351251139":["hashtag1","hashtag2"]},{"1351251025":["hashtag1","hashtag2"]},{"1351251057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351251182, 1351251101, 1351250974, 1351251139, 1351251025, 1351251057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.446701526641846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:30:32.289999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_15_10326.jpg', '/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_24_9344.jpg', '/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_35_10377.jpg', '/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_45_10358.jpg', '/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_54_9447.jpg', '/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_14_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_15_10326.jpg
/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_24_9344.jpg
/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_35_10377.jpg
/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_45_10358.jpg
/home/pi/Desktop/images/10042025/15/59/image_10042025_15_59_54_9447.jpg
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_14_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351251621","1351251531","1351251584","1351251649","1351251463","1351251529"],"photo_ids_order":["1351251463","1351251529","1351251531","1351251584","1351251621","1351251649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d51aa699a151208c70b9047705ecaef.jpg","text":"TemporaryFile(/tmp/multipartBody3531858026067440433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_15_59_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43b5aff0db20270981a457e247427c53.jpg","text":"TemporaryFile(/tmp/multipartBody7438602994541904439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_15_59_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/284891053b838561a8f027dcbb0f16a5.jpg","text":"TemporaryFile(/tmp/multipartBody2506689026055291954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_15_59_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/491ecdefbea6df42c4b75e8264975c67.jpg","text":"TemporaryFile(/tmp/multipartBody2271251732093210476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_16_01_14_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09d8a79cb107f3bf0b0dbf0c6d4611b9.jpg","text":"TemporaryFile(/tmp/multipartBody3911268501891297364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_15_59_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a571b9c15a1928d60cdf0704d480d42.jpg","text":"TemporaryFile(/tmp/multipartBody859160866603245454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302692754,"filename":"image_10042025_15_59_24_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351251531","file1":"1351251529","file0":"1351251463","file4":"1351251621","file5":"1351251649","file3":"1351251584"},"map_files_photo_id_array":[{"photo_id":"1351251649","filename":"file5"},{"photo_id":"1351251531","filename":"file2"},{"photo_id":"1351251621","filename":"file4"},{"photo_id":"1351251529","filename":"file1"},{"photo_id":"1351251463","filename":"file0"},{"photo_id":"1351251584","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351251621":["hashtag1","hashtag2"]},{"1351251531":["hashtag1","hashtag2"]},{"1351251584":["hashtag1","hashtag2"]},{"1351251649":["hashtag1","hashtag2"]},{"1351251463":["hashtag1","hashtag2"]},{"1351251529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351251621, 1351251531, 1351251584, 1351251649, 1351251463, 1351251529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446181297302246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:31:32.543231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_25_10436.jpg', '/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_35_10361.jpg', '/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_45_9390.jpg', '/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_55_10360.jpg', '/home/pi/Desktop/images/10042025/16/01/image_10042025_16_02_04_9472.jpg', '/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_15_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_25_10436.jpg
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_35_10361.jpg
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_45_9390.jpg
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_55_10360.jpg
/home/pi/Desktop/images/10042025/16/01/image_10042025_16_02_04_9472.jpg
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_15_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351251851","1351251800","1351251862","1351251910","1351251826","1351251873"],"photo_ids_order":["1351251800","1351251826","1351251851","1351251862","1351251873","1351251910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/004f72a567afb27d5c5b92b1729cbe16.jpg","text":"TemporaryFile(/tmp/multipartBody4317484206960283144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_01_45_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d76cbb79eafb1680abb56e53dfc38dab.jpg","text":"TemporaryFile(/tmp/multipartBody7348150431781505726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_01_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93d44e3fcf82d7dba3c99cadc423e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody3300973458258267625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_01_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0592a9bffa31a1cc2967e89052b5643b.jpg","text":"TemporaryFile(/tmp/multipartBody8626260962309805038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_02_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2acc4fb1053230f5fac4ca03f5ee0027.jpg","text":"TemporaryFile(/tmp/multipartBody5548310861770100571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_01_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08ab312d6b2782af457a2c8d6e098738.jpg","text":"TemporaryFile(/tmp/multipartBody1378083744376813965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302753007,"filename":"image_10042025_16_02_04_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351251851","file1":"1351251826","file0":"1351251800","file4":"1351251873","file5":"1351251910","file3":"1351251862"},"map_files_photo_id_array":[{"photo_id":"1351251910","filename":"file5"},{"photo_id":"1351251851","filename":"file2"},{"photo_id":"1351251873","filename":"file4"},{"photo_id":"1351251826","filename":"file1"},{"photo_id":"1351251800","filename":"file0"},{"photo_id":"1351251862","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351251851":["hashtag1","hashtag2"]},{"1351251800":["hashtag1","hashtag2"]},{"1351251862":["hashtag1","hashtag2"]},{"1351251910":["hashtag1","hashtag2"]},{"1351251826":["hashtag1","hashtag2"]},{"1351251873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351251851, 1351251800, 1351251862, 1351251910, 1351251826, 1351251873)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351251851 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10042025/16/01/image_10042025_16_01_45_9390.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.393537282943726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:32:32.649609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_25_10360.jpg', '/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_35_9408.jpg', '/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_45_10423.jpg', '/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_54_9483.jpg', '/home/pi/Desktop/images/10042025/16/02/image_10042025_16_03_05_10347.jpg', '/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_25_10360.jpg
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_35_9408.jpg
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_45_10423.jpg
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_02_54_9483.jpg
/home/pi/Desktop/images/10042025/16/02/image_10042025_16_03_05_10347.jpg
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_15_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351252190","1351252226","1351252148","1351252217","1351252084","1351252254"],"photo_ids_order":["1351252084","1351252148","1351252190","1351252217","1351252226","1351252254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5a7f03c33d726c0ce21dd7bca263f47.jpg","text":"TemporaryFile(/tmp/multipartBody8187285093983157869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_02_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c178cf0c4d3ad5ade0166a8378ee18a0.jpg","text":"TemporaryFile(/tmp/multipartBody7988693844124425898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_03_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f496a09a913dd61d094b5f4bc85d97b.jpg","text":"TemporaryFile(/tmp/multipartBody7573519169936899230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_02_35_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a5ce6951f3f3e38108921d8587c04f8.jpg","text":"TemporaryFile(/tmp/multipartBody1852561714999914559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_02_54_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40077f93be245c20e414168d4b0c00d6.jpg","text":"TemporaryFile(/tmp/multipartBody4834916648337336298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_02_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0dfe804ecccb2db012ee87bb9a90095.jpg","text":"TemporaryFile(/tmp/multipartBody1227924553745874848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302813274,"filename":"image_10042025_16_03_15_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351252190","file1":"1351252148","file0":"1351252084","file4":"1351252226","file5":"1351252254","file3":"1351252217"},"map_files_photo_id_array":[{"photo_id":"1351252254","filename":"file5"},{"photo_id":"1351252190","filename":"file2"},{"photo_id":"1351252226","filename":"file4"},{"photo_id":"1351252148","filename":"file1"},{"photo_id":"1351252084","filename":"file0"},{"photo_id":"1351252217","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351252190":["hashtag1","hashtag2"]},{"1351252226":["hashtag1","hashtag2"]},{"1351252148":["hashtag1","hashtag2"]},{"1351252217":["hashtag1","hashtag2"]},{"1351252084":["hashtag1","hashtag2"]},{"1351252254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351252190, 1351252226, 1351252148, 1351252217, 1351252084, 1351252254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.752509117126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:33:32.783762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_25_9427.jpg', '/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_35_10344.jpg', '/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_44_9428.jpg', '/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_55_10379.jpg', '/home/pi/Desktop/images/10042025/16/03/image_10042025_16_04_05_10334.jpg', '/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_15_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_25_9427.jpg
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_35_10344.jpg
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_44_9428.jpg
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_03_55_10379.jpg
/home/pi/Desktop/images/10042025/16/03/image_10042025_16_04_05_10334.jpg
/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_15_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351252652","1351252511","1351252444","1351252423","1351252426","1351252560"],"photo_ids_order":["1351252423","1351252426","1351252444","1351252511","1351252560","1351252652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a92ad0c2d35b5f1c9a41cbef3e9d6d56.jpg","text":"TemporaryFile(/tmp/multipartBody6975348454727312817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_04_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/129088c0bc0887b71e9a0cee781ad088.jpg","text":"TemporaryFile(/tmp/multipartBody3638734153387458661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_03_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f978b975cce361a630a376c4a19c6d34.jpg","text":"TemporaryFile(/tmp/multipartBody7971750044484578950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_03_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba07959713d8c6c9168950b24b165133.jpg","text":"TemporaryFile(/tmp/multipartBody7345796387658349487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_03_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44a5750f26514c4e2aec02d1d16b629f.jpg","text":"TemporaryFile(/tmp/multipartBody8682887830693671010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_03_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d784da7906d43022ce6f11a5b5b898c2.jpg","text":"TemporaryFile(/tmp/multipartBody4232073429436020315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302873235,"filename":"image_10042025_16_04_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351252444","file1":"1351252426","file0":"1351252423","file4":"1351252560","file5":"1351252652","file3":"1351252511"},"map_files_photo_id_array":[{"photo_id":"1351252652","filename":"file5"},{"photo_id":"1351252444","filename":"file2"},{"photo_id":"1351252560","filename":"file4"},{"photo_id":"1351252426","filename":"file1"},{"photo_id":"1351252423","filename":"file0"},{"photo_id":"1351252511","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351252652":["hashtag1","hashtag2"]},{"1351252511":["hashtag1","hashtag2"]},{"1351252444":["hashtag1","hashtag2"]},{"1351252423":["hashtag1","hashtag2"]},{"1351252426":["hashtag1","hashtag2"]},{"1351252560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351252652, 1351252511, 1351252444, 1351252423, 1351252426, 1351252560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58663296699524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:34:33.000278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_25_10425.jpg', '/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_34_9388.jpg', '/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_45_10402.jpg', '/home/pi/Desktop/images/10042025/16/04/image_10042025_16_05_05_9339.jpg', '/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_15_10358.jpg', '/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_24_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_25_10425.jpg
/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_34_9388.jpg
/home/pi/Desktop/images/10042025/16/04/image_10042025_16_04_45_10402.jpg
/home/pi/Desktop/images/10042025/16/04/image_10042025_16_05_05_9339.jpg
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_15_10358.jpg
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_24_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351253293","1351253233","1351253029","1351253193","1351253166","1351253112"],"photo_ids_order":["1351253029","1351253112","1351253166","1351253193","1351253233","1351253293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa0aee434c81921ef089e8772ca14f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4900169897094924775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_05_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db41c1a7c364266bd00feb76da8a393c.jpg","text":"TemporaryFile(/tmp/multipartBody1422425473657663329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_05_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d020f5734d79bc91574f7ea9923faa0e.jpg","text":"TemporaryFile(/tmp/multipartBody8340485431368452352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_04_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/169c65edce6a8f9e750c892194b6861d.jpg","text":"TemporaryFile(/tmp/multipartBody29080790094167752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_05_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34ed7b74f3c45aa05fc0af65b3e2e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody189503448421564236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_04_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9171020239c3504fbe9e2b6000ec9a5d.jpg","text":"TemporaryFile(/tmp/multipartBody940012407609849421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302933454,"filename":"image_10042025_16_04_34_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351253166","file1":"1351253112","file0":"1351253029","file4":"1351253233","file5":"1351253293","file3":"1351253193"},"map_files_photo_id_array":[{"photo_id":"1351253293","filename":"file5"},{"photo_id":"1351253166","filename":"file2"},{"photo_id":"1351253233","filename":"file4"},{"photo_id":"1351253112","filename":"file1"},{"photo_id":"1351253029","filename":"file0"},{"photo_id":"1351253193","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351253293":["hashtag1","hashtag2"]},{"1351253233":["hashtag1","hashtag2"]},{"1351253029":["hashtag1","hashtag2"]},{"1351253193":["hashtag1","hashtag2"]},{"1351253166":["hashtag1","hashtag2"]},{"1351253112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351253293, 1351253233, 1351253029, 1351253193, 1351253166, 1351253112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39804005622864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:35:33.163295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_35_10376.jpg', '/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_45_10352.jpg', '/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_55_9501.jpg', '/home/pi/Desktop/images/10042025/16/05/image_10042025_16_06_05_10341.jpg', '/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_15_10343.jpg', '/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_25_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_35_10376.jpg
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_45_10352.jpg
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_05_55_9501.jpg
/home/pi/Desktop/images/10042025/16/05/image_10042025_16_06_05_10341.jpg
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_15_10343.jpg
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_25_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351253584","1351253754","1351253664","1351253637","1351253613","1351253700"],"photo_ids_order":["1351253584","1351253613","1351253637","1351253664","1351253700","1351253754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e517184b3b3739b42838e4bb516cfd61.jpg","text":"TemporaryFile(/tmp/multipartBody8162562402722873794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_05_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7b69e7973220d2a92c9ea6ad78b297f.jpg","text":"TemporaryFile(/tmp/multipartBody4088347794113794319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_06_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cea07b084204f584adde41e945230bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7949507782739712443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_06_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04e38a676a3be96a932636f700f66eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6038149201729133159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_05_55_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38f654881e55df898c7309b1740299b8.jpg","text":"TemporaryFile(/tmp/multipartBody4726677217320782270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_05_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6318580abe796dc71a1cf08e508e0dee.jpg","text":"TemporaryFile(/tmp/multipartBody4179269482063085785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744302993625,"filename":"image_10042025_16_06_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351253637","file1":"1351253613","file0":"1351253584","file4":"1351253700","file5":"1351253754","file3":"1351253664"},"map_files_photo_id_array":[{"photo_id":"1351253754","filename":"file5"},{"photo_id":"1351253637","filename":"file2"},{"photo_id":"1351253700","filename":"file4"},{"photo_id":"1351253613","filename":"file1"},{"photo_id":"1351253584","filename":"file0"},{"photo_id":"1351253664","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351253584":["hashtag1","hashtag2"]},{"1351253754":["hashtag1","hashtag2"]},{"1351253664":["hashtag1","hashtag2"]},{"1351253637":["hashtag1","hashtag2"]},{"1351253613":["hashtag1","hashtag2"]},{"1351253700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351253584, 1351253754, 1351253664, 1351253637, 1351253613, 1351253700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.680828332901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:36:32.558041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_35_10357.jpg', '/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_44_9490.jpg', '/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_55_10353.jpg', '/home/pi/Desktop/images/10042025/16/06/image_10042025_16_07_05_10370.jpg', '/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_15_9371.jpg', '/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_35_10357.jpg
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_44_9490.jpg
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_06_55_10353.jpg
/home/pi/Desktop/images/10042025/16/06/image_10042025_16_07_05_10370.jpg
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_15_9371.jpg
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351254046","1351254175","1351253986","1351254109","1351253952","1351253943"],"photo_ids_order":["1351253943","1351253952","1351253986","1351254046","1351254109","1351254175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f03204fb330bf6d0838a446e5c73e27f.jpg","text":"TemporaryFile(/tmp/multipartBody5093850448140667382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_07_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed4d8f676f2c48c7f486e71309d409b4.jpg","text":"TemporaryFile(/tmp/multipartBody6320986592909742439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_07_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c07cee731cc3ec96e71112bd71650c5.jpg","text":"TemporaryFile(/tmp/multipartBody7750451404676841900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_06_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f7691534ca7fdd752ae39a03a8024f6.jpg","text":"TemporaryFile(/tmp/multipartBody8746071269845081168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_07_15_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34404767420b88bde161054de8e6bea1.jpg","text":"TemporaryFile(/tmp/multipartBody7435919227269536719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_06_44_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07541e8c5c669b0163714829cba29065.jpg","text":"TemporaryFile(/tmp/multipartBody4330040456437223253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303053029,"filename":"image_10042025_16_06_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351253986","file1":"1351253952","file0":"1351253943","file4":"1351254109","file5":"1351254175","file3":"1351254046"},"map_files_photo_id_array":[{"photo_id":"1351254175","filename":"file5"},{"photo_id":"1351253986","filename":"file2"},{"photo_id":"1351254109","filename":"file4"},{"photo_id":"1351253952","filename":"file1"},{"photo_id":"1351253943","filename":"file0"},{"photo_id":"1351254046","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351254046":["hashtag1","hashtag2"]},{"1351254175":["hashtag1","hashtag2"]},{"1351253986":["hashtag1","hashtag2"]},{"1351254109":["hashtag1","hashtag2"]},{"1351253952":["hashtag1","hashtag2"]},{"1351253943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351254046, 1351254175, 1351253986, 1351254109, 1351253952, 1351253943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98932218551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:37:32.648123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_34_9483.jpg', '/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_45_10359.jpg', '/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_55_10372.jpg', '/home/pi/Desktop/images/10042025/16/07/image_10042025_16_08_05_9342.jpg', '/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_15_10352.jpg', '/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_34_9483.jpg
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_45_10359.jpg
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_07_55_10372.jpg
/home/pi/Desktop/images/10042025/16/07/image_10042025_16_08_05_9342.jpg
/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_15_10352.jpg
/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351254585","1351254579","1351254519","1351254575","1351254557","1351254530"],"photo_ids_order":["1351254519","1351254530","1351254557","1351254575","1351254579","1351254585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31a87beb6a284814cbd143a0520e033a.jpg","text":"TemporaryFile(/tmp/multipartBody4502222690904289571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_08_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9eb43ec2e988bc97e2ab8e6372ce5f71.jpg","text":"TemporaryFile(/tmp/multipartBody2778177633468618339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_08_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de29e9df549770d18f6b57a66111227c.jpg","text":"TemporaryFile(/tmp/multipartBody6617809749171619596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_07_34_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db3055a98fa1f094a5dd714b59336239.jpg","text":"TemporaryFile(/tmp/multipartBody6197330617109481308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_08_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6afbba417b0b14f0eda45ba2f27358a.jpg","text":"TemporaryFile(/tmp/multipartBody2690990736322053525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_07_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a13e09b118e3d8eb8c689d444e8e8985.jpg","text":"TemporaryFile(/tmp/multipartBody9035124981650701554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303113114,"filename":"image_10042025_16_07_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351254557","file1":"1351254530","file0":"1351254519","file4":"1351254579","file5":"1351254585","file3":"1351254575"},"map_files_photo_id_array":[{"photo_id":"1351254585","filename":"file5"},{"photo_id":"1351254557","filename":"file2"},{"photo_id":"1351254579","filename":"file4"},{"photo_id":"1351254530","filename":"file1"},{"photo_id":"1351254519","filename":"file0"},{"photo_id":"1351254575","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351254585":["hashtag1","hashtag2"]},{"1351254579":["hashtag1","hashtag2"]},{"1351254519":["hashtag1","hashtag2"]},{"1351254575":["hashtag1","hashtag2"]},{"1351254557":["hashtag1","hashtag2"]},{"1351254530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351254585, 1351254579, 1351254519, 1351254575, 1351254557, 1351254530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93497610092163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:38:32.796995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_35_9389.jpg', '/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_54_9477.jpg', '/home/pi/Desktop/images/10042025/16/08/image_10042025_16_09_05_10355.jpg', '/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_15_10352.jpg', '/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_25_9356.jpg', '/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_35_9389.jpg
/home/pi/Desktop/images/10042025/16/08/image_10042025_16_08_54_9477.jpg
/home/pi/Desktop/images/10042025/16/08/image_10042025_16_09_05_10355.jpg
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_15_10352.jpg
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_25_9356.jpg
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351254964","1351255068","1351254987","1351255005","1351254948","1351255045"],"photo_ids_order":["1351254948","1351254964","1351254987","1351255005","1351255045","1351255068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0efa3e2460b2a14425c5c8a4a44a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody3219924575932261489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_08_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f89d8cd7a64b0d65adeaaa392361c283.jpg","text":"TemporaryFile(/tmp/multipartBody2489986324657063701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_09_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/410ccd7d64bfb9b4ce3b3d8a0dcc0ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5464652904611321136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_09_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47297d563db842a0a4e6dd193d8f386b.jpg","text":"TemporaryFile(/tmp/multipartBody737480987930698410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_09_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f6a5eb71c5075f4a158d94898eec32c.jpg","text":"TemporaryFile(/tmp/multipartBody7590482974036128067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_08_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5baea1a4d4136031a9054b319b779985.jpg","text":"TemporaryFile(/tmp/multipartBody4757537641186214285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303173328,"filename":"image_10042025_16_09_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351254987","file1":"1351254964","file0":"1351254948","file4":"1351255045","file5":"1351255068","file3":"1351255005"},"map_files_photo_id_array":[{"photo_id":"1351255068","filename":"file5"},{"photo_id":"1351254987","filename":"file2"},{"photo_id":"1351255045","filename":"file4"},{"photo_id":"1351254964","filename":"file1"},{"photo_id":"1351254948","filename":"file0"},{"photo_id":"1351255005","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351254964":["hashtag1","hashtag2"]},{"1351255068":["hashtag1","hashtag2"]},{"1351254987":["hashtag1","hashtag2"]},{"1351255005":["hashtag1","hashtag2"]},{"1351254948":["hashtag1","hashtag2"]},{"1351255045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351254964, 1351255068, 1351254987, 1351255005, 1351254948, 1351255045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.776600122451782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:39:32.918478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_45_10349.jpg', '/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_55_9359.jpg', '/home/pi/Desktop/images/10042025/16/09/image_10042025_16_10_05_10351.jpg', '/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_14_9344.jpg', '/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_25_10453.jpg', '/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_45_10349.jpg
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_09_55_9359.jpg
/home/pi/Desktop/images/10042025/16/09/image_10042025_16_10_05_10351.jpg
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_14_9344.jpg
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_25_10453.jpg
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351255773","1351255581","1351255509","1351255799","1351255745","1351255648"],"photo_ids_order":["1351255509","1351255581","1351255648","1351255745","1351255773","1351255799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fe9dc844bac2b7f6cbc54332e2b35ef.jpg","text":"TemporaryFile(/tmp/multipartBody23934982887723618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_10_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bec6cc475b29eb8fafcc7b7a891f4a10.jpg","text":"TemporaryFile(/tmp/multipartBody8432952375294124546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_09_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0ba977a2634c94153a295737bf4290e.jpg","text":"TemporaryFile(/tmp/multipartBody4461867563775277622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_09_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f609e88785f30f6c07a2c522eb170655.jpg","text":"TemporaryFile(/tmp/multipartBody6330556188592304330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_10_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07198ef540aef3154cba1ca2de6ec58d.jpg","text":"TemporaryFile(/tmp/multipartBody798170890782159259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_10_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71f0484d700c5d1d60a61b0dabb85bc4.jpg","text":"TemporaryFile(/tmp/multipartBody4072036357858517961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303233380,"filename":"image_10042025_16_10_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351255648","file1":"1351255581","file0":"1351255509","file4":"1351255773","file5":"1351255799","file3":"1351255745"},"map_files_photo_id_array":[{"photo_id":"1351255799","filename":"file5"},{"photo_id":"1351255648","filename":"file2"},{"photo_id":"1351255773","filename":"file4"},{"photo_id":"1351255581","filename":"file1"},{"photo_id":"1351255509","filename":"file0"},{"photo_id":"1351255745","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351255773":["hashtag1","hashtag2"]},{"1351255581":["hashtag1","hashtag2"]},{"1351255509":["hashtag1","hashtag2"]},{"1351255799":["hashtag1","hashtag2"]},{"1351255745":["hashtag1","hashtag2"]},{"1351255648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351255773, 1351255581, 1351255509, 1351255799, 1351255745, 1351255648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07753133773804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:40:33.119265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_45_9454.jpg', '/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_55_10356.jpg', '/home/pi/Desktop/images/10042025/16/10/image_10042025_16_11_04_9356.jpg', '/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_15_10329.jpg', '/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_25_10459.jpg', '/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_34_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_45_9454.jpg
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_10_55_10356.jpg
/home/pi/Desktop/images/10042025/16/10/image_10042025_16_11_04_9356.jpg
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_15_10329.jpg
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_25_10459.jpg
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_34_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351256001","1351256075","1351256150","1351256105","1351256056","1351255966"],"photo_ids_order":["1351255966","1351256001","1351256056","1351256075","1351256105","1351256150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc459dc62e3f8fdce0fec4637f7ece25.jpg","text":"TemporaryFile(/tmp/multipartBody5417769322289062972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_10_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58ca7ca1961431f303a03c7b8ade6681.jpg","text":"TemporaryFile(/tmp/multipartBody3598767041940061045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_11_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/803cb8d1d7ba7ab7a348dc912d1e1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5159082858914118312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_11_34_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02ddada4ed64c54f8ecc7597ea6297e1.jpg","text":"TemporaryFile(/tmp/multipartBody6479614373969820200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_11_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/478bfd9c8ceeca6a7716b050d4c49ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2386112097119105609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_11_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/698327caa28d7ba40d97c4e0cb55c949.jpg","text":"TemporaryFile(/tmp/multipartBody2314683107343681992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303293573,"filename":"image_10042025_16_10_45_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351256056","file1":"1351256001","file0":"1351255966","file4":"1351256105","file5":"1351256150","file3":"1351256075"},"map_files_photo_id_array":[{"photo_id":"1351256150","filename":"file5"},{"photo_id":"1351256056","filename":"file2"},{"photo_id":"1351256105","filename":"file4"},{"photo_id":"1351256001","filename":"file1"},{"photo_id":"1351255966","filename":"file0"},{"photo_id":"1351256075","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351256001":["hashtag1","hashtag2"]},{"1351256075":["hashtag1","hashtag2"]},{"1351256150":["hashtag1","hashtag2"]},{"1351256105":["hashtag1","hashtag2"]},{"1351256056":["hashtag1","hashtag2"]},{"1351255966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351256001, 1351256075, 1351256150, 1351256105, 1351256056, 1351255966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.770132064819336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:41:32.397963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_45_10374.jpg', '/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_55_10363.jpg', '/home/pi/Desktop/images/10042025/16/11/image_10042025_16_12_05_9339.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_15_10384.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_24_9345.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_35_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_45_10374.jpg
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_11_55_10363.jpg
/home/pi/Desktop/images/10042025/16/11/image_10042025_16_12_05_9339.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_15_10384.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_24_9345.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_35_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351256901","1351256823","1351256966","1351256636","1351256717","1351256548"],"photo_ids_order":["1351256548","1351256636","1351256717","1351256823","1351256901","1351256966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4ee6fb63a3b225e428ca854e0f553d4.jpg","text":"TemporaryFile(/tmp/multipartBody3011986601575962060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_12_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/092d30f9d879cbed94eb13360c2fb042.jpg","text":"TemporaryFile(/tmp/multipartBody2654416632707290004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_12_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c085322153c0d256d94a97ae13b0505e.jpg","text":"TemporaryFile(/tmp/multipartBody6014657024503170458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_12_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62f3f40b403532f079c6f0609f5b04e6.jpg","text":"TemporaryFile(/tmp/multipartBody2840940698371931457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_11_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40f3c8d15e11aa68a23e923493bad81e.jpg","text":"TemporaryFile(/tmp/multipartBody6314083935090640941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_12_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d48c82966095e3e5a2f6d730144abfa5.jpg","text":"TemporaryFile(/tmp/multipartBody216167962127840573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303352851,"filename":"image_10042025_16_11_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351256717","file1":"1351256636","file0":"1351256548","file4":"1351256901","file5":"1351256966","file3":"1351256823"},"map_files_photo_id_array":[{"photo_id":"1351256966","filename":"file5"},{"photo_id":"1351256717","filename":"file2"},{"photo_id":"1351256901","filename":"file4"},{"photo_id":"1351256636","filename":"file1"},{"photo_id":"1351256548","filename":"file0"},{"photo_id":"1351256823","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351256901":["hashtag1","hashtag2"]},{"1351256823":["hashtag1","hashtag2"]},{"1351256966":["hashtag1","hashtag2"]},{"1351256636":["hashtag1","hashtag2"]},{"1351256717":["hashtag1","hashtag2"]},{"1351256548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351256901, 1351256823, 1351256966, 1351256636, 1351256717, 1351256548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.260374784469604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:42:32.570890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_45_10354.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_55_9652.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_13_05_10413.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_14_9372.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_25_10427.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_34_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_45_10354.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_55_9652.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_13_05_10413.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_14_9372.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_25_10427.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_34_9489.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3888533115386963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 18:42:42.508726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_45_10354.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_55_9652.jpg', '/home/pi/Desktop/images/10042025/16/12/image_10042025_16_13_05_10413.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_14_9372.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_25_10427.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_34_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_45_10354.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_12_55_9652.jpg
/home/pi/Desktop/images/10042025/16/12/image_10042025_16_13_05_10413.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_14_9372.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_25_10427.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_34_9489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351257828","1351257911","1351257713","1351257883","1351257766","1351257673"],"photo_ids_order":["1351257673","1351257713","1351257766","1351257828","1351257883","1351257911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0638a2e7bce1a6f0c63a9cc558819450.jpg","text":"TemporaryFile(/tmp/multipartBody6437368800148156070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_13_14_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad485a64260211d86aad9e4cb1991cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7823898655483156655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_13_34_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68bf5b239402a56c703596e6594ae4af.jpg","text":"TemporaryFile(/tmp/multipartBody8153116665621207919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_12_55_9652.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5803db11b5450c8d95c0ddbf6691554.jpg","text":"TemporaryFile(/tmp/multipartBody4243661745465585352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_13_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f5a224c96c48f67ffcbd48928bea5da.jpg","text":"TemporaryFile(/tmp/multipartBody6907341370372207257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_13_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33275aa7f542e81218a6146551dbea7b.jpg","text":"TemporaryFile(/tmp/multipartBody6509448645968349742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303422972,"filename":"image_10042025_16_12_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351257766","file1":"1351257713","file0":"1351257673","file4":"1351257883","file5":"1351257911","file3":"1351257828"},"map_files_photo_id_array":[{"photo_id":"1351257911","filename":"file5"},{"photo_id":"1351257766","filename":"file2"},{"photo_id":"1351257883","filename":"file4"},{"photo_id":"1351257713","filename":"file1"},{"photo_id":"1351257673","filename":"file0"},{"photo_id":"1351257828","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351257828":["hashtag1","hashtag2"]},{"1351257911":["hashtag1","hashtag2"]},{"1351257713":["hashtag1","hashtag2"]},{"1351257883":["hashtag1","hashtag2"]},{"1351257766":["hashtag1","hashtag2"]},{"1351257673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351257828, 1351257911, 1351257713, 1351257883, 1351257766, 1351257673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38390374183655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:43:32.749503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_45_10374.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_55_10393.jpg', '/home/pi/Desktop/images/10042025/16/13/image_10042025_16_14_05_9335.jpg', '/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_15_10350.jpg', '/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_25_10352.jpg', '/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_35_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_45_10374.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_13_55_10393.jpg
/home/pi/Desktop/images/10042025/16/13/image_10042025_16_14_05_9335.jpg
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_15_10350.jpg
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_25_10352.jpg
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_35_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351258178","1351258064","1351258265","1351258231","1351258207","1351258122"],"photo_ids_order":["1351258064","1351258122","1351258178","1351258207","1351258231","1351258265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4233385dbe09dfd71ed8de7cb069c898.jpg","text":"TemporaryFile(/tmp/multipartBody5786007027614227864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_14_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61e5585ca0fce3845fae6bee1c39dd31.jpg","text":"TemporaryFile(/tmp/multipartBody6598119471453009471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_13_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5be939331824aaad2c05762f6056aa77.jpg","text":"TemporaryFile(/tmp/multipartBody8482963842306006969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_14_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3dfd620719f3c586097c454715a406d7.jpg","text":"TemporaryFile(/tmp/multipartBody3665847163148445602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_14_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b65b8a429a531497c198f97a457ba234.jpg","text":"TemporaryFile(/tmp/multipartBody8961213787361024453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_14_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/635623e008d2deea6e52e7bf700d62fe.jpg","text":"TemporaryFile(/tmp/multipartBody511766824125153024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303473207,"filename":"image_10042025_16_13_55_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351258178","file1":"1351258122","file0":"1351258064","file4":"1351258231","file5":"1351258265","file3":"1351258207"},"map_files_photo_id_array":[{"photo_id":"1351258265","filename":"file5"},{"photo_id":"1351258178","filename":"file2"},{"photo_id":"1351258231","filename":"file4"},{"photo_id":"1351258122","filename":"file1"},{"photo_id":"1351258064","filename":"file0"},{"photo_id":"1351258207","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351258178":["hashtag1","hashtag2"]},{"1351258064":["hashtag1","hashtag2"]},{"1351258265":["hashtag1","hashtag2"]},{"1351258231":["hashtag1","hashtag2"]},{"1351258207":["hashtag1","hashtag2"]},{"1351258122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351258178, 1351258064, 1351258265, 1351258231, 1351258207, 1351258122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67756104469299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:44:32.890278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_45_10413.jpg', '/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_54_9477.jpg', '/home/pi/Desktop/images/10042025/16/14/image_10042025_16_15_05_10353.jpg', '/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_15_10356.jpg', '/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_25_9362.jpg', '/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_35_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_45_10413.jpg
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_14_54_9477.jpg
/home/pi/Desktop/images/10042025/16/14/image_10042025_16_15_05_10353.jpg
/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_15_10356.jpg
/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_25_9362.jpg
/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_35_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351258847","1351259023","1351259064","1351258740","1351258944","1351259051"],"photo_ids_order":["1351258740","1351258847","1351258944","1351259023","1351259051","1351259064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37ee535ddc3e6dcfa9f562550c31c1f4.jpg","text":"TemporaryFile(/tmp/multipartBody6256796845340434960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_14_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a66979780dd668b21bc6ae3cfce6aa88.jpg","text":"TemporaryFile(/tmp/multipartBody1284544546188917881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_15_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a6024e077c6264956c43acf5010340b.jpg","text":"TemporaryFile(/tmp/multipartBody1486804347304059632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_15_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38d2fda5ba2d30dd3a40766fe1cfc806.jpg","text":"TemporaryFile(/tmp/multipartBody8721036161009832619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_14_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b8bcab08f636fa6389ae7cf488fa38c.jpg","text":"TemporaryFile(/tmp/multipartBody5206276324715322869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_15_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba61aec8107a68e346f96fe0fc61696f.jpg","text":"TemporaryFile(/tmp/multipartBody7864719478304563644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303533341,"filename":"image_10042025_16_15_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351258944","file1":"1351258847","file0":"1351258740","file4":"1351259051","file5":"1351259064","file3":"1351259023"},"map_files_photo_id_array":[{"photo_id":"1351259064","filename":"file5"},{"photo_id":"1351258944","filename":"file2"},{"photo_id":"1351259051","filename":"file4"},{"photo_id":"1351258847","filename":"file1"},{"photo_id":"1351258740","filename":"file0"},{"photo_id":"1351259023","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351258847":["hashtag1","hashtag2"]},{"1351259023":["hashtag1","hashtag2"]},{"1351259064":["hashtag1","hashtag2"]},{"1351258740":["hashtag1","hashtag2"]},{"1351258944":["hashtag1","hashtag2"]},{"1351259051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351258847, 1351259023, 1351259064, 1351258740, 1351258944, 1351259051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.594815731048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:45:33.031006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_44_9353.jpg', '/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_55_10359.jpg', '/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_25_10365.jpg', '/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_34_9434.jpg', '/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_45_10363.jpg', '/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_44_9353.jpg
/home/pi/Desktop/images/10042025/16/15/image_10042025_16_15_55_10359.jpg
/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_25_10365.jpg
/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_34_9434.jpg
/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_45_10363.jpg
/home/pi/Desktop/images/10042025/16/16/image_10042025_16_16_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351259417","1351259519","1351259296","1351259482","1351259320","1351259559"],"photo_ids_order":["1351259296","1351259320","1351259417","1351259482","1351259519","1351259559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8db6db252d117d12fd5fe1ce32fb3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1806845992741900439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_16_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c87116fd834d054295e9d2f67021c8ab.jpg","text":"TemporaryFile(/tmp/multipartBody144792279485059717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_16_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/826be12686ee795f2b85b5f480fcd2be.jpg","text":"TemporaryFile(/tmp/multipartBody4591552751131789499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_15_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e03f5fc3578e481824b566e1ec501f0.jpg","text":"TemporaryFile(/tmp/multipartBody9029501762951838403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_16_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/330d4310d3b27ba9edd60d1e34f97870.jpg","text":"TemporaryFile(/tmp/multipartBody4037866303335337071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_15_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9681fbb8dd620f0e090954b2f6ccd89.jpg","text":"TemporaryFile(/tmp/multipartBody8944335383690019029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303593486,"filename":"image_10042025_16_16_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351259417","file1":"1351259320","file0":"1351259296","file4":"1351259519","file5":"1351259559","file3":"1351259482"},"map_files_photo_id_array":[{"photo_id":"1351259559","filename":"file5"},{"photo_id":"1351259417","filename":"file2"},{"photo_id":"1351259519","filename":"file4"},{"photo_id":"1351259320","filename":"file1"},{"photo_id":"1351259296","filename":"file0"},{"photo_id":"1351259482","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351259417":["hashtag1","hashtag2"]},{"1351259519":["hashtag1","hashtag2"]},{"1351259296":["hashtag1","hashtag2"]},{"1351259482":["hashtag1","hashtag2"]},{"1351259320":["hashtag1","hashtag2"]},{"1351259559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351259417, 1351259519, 1351259296, 1351259482, 1351259320, 1351259559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75853633880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:46:32.176658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/16/image_10042025_16_17_04_9465.jpg', '/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_15_10345.jpg', '/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_25_10350.jpg', '/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_35_9349.jpg', '/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_45_10347.jpg', '/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/16/image_10042025_16_17_04_9465.jpg
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_15_10345.jpg
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_25_10350.jpg
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_35_9349.jpg
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_45_10347.jpg
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_17_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351259737","1351259793","1351259707","1351259838","1351259852","1351259804"],"photo_ids_order":["1351259707","1351259737","1351259793","1351259804","1351259838","1351259852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab60d48d45095e89dc6b8c5f84dd177c.jpg","text":"TemporaryFile(/tmp/multipartBody5509707232960263460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/151759c9049302a9743433b3601ba363.jpg","text":"TemporaryFile(/tmp/multipartBody8318104147808699161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e30755b60d620063e50a00771dbc489.jpg","text":"TemporaryFile(/tmp/multipartBody7893569984266007628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_04_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec444cbb229ee0da36015ab6ae983bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6096792498295391752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c6bd5070e0b6fe2150f7efe95864261.jpg","text":"TemporaryFile(/tmp/multipartBody7956355329121243967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb7df08fb2d62ace2623e02db317c12a.jpg","text":"TemporaryFile(/tmp/multipartBody6448703538057559905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303652639,"filename":"image_10042025_16_17_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351259793","file1":"1351259737","file0":"1351259707","file4":"1351259838","file5":"1351259852","file3":"1351259804"},"map_files_photo_id_array":[{"photo_id":"1351259852","filename":"file5"},{"photo_id":"1351259793","filename":"file2"},{"photo_id":"1351259838","filename":"file4"},{"photo_id":"1351259737","filename":"file1"},{"photo_id":"1351259707","filename":"file0"},{"photo_id":"1351259804","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351259737":["hashtag1","hashtag2"]},{"1351259793":["hashtag1","hashtag2"]},{"1351259707":["hashtag1","hashtag2"]},{"1351259838":["hashtag1","hashtag2"]},{"1351259852":["hashtag1","hashtag2"]},{"1351259804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351259737, 1351259793, 1351259707, 1351259838, 1351259852, 1351259804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0433828830719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:47:32.435027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/17/image_10042025_16_18_05_9399.jpg', '/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_15_10355.jpg', '/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_25_9508.jpg', '/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_35_10418.jpg', '/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_44_9351.jpg', '/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_55_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/17/image_10042025_16_18_05_9399.jpg
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_15_10355.jpg
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_25_9508.jpg
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_35_10418.jpg
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_44_9351.jpg
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_18_55_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351260005","1351260028","1351260013","1351260010","1351260054","1351260009"],"photo_ids_order":["1351260005","1351260009","1351260010","1351260013","1351260028","1351260054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb0ee722fa143e89852a5ecd632bf584.jpg","text":"TemporaryFile(/tmp/multipartBody2275589421068078125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_05_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e0a9caa82e04bafc659f517e9e0d6c5.jpg","text":"TemporaryFile(/tmp/multipartBody515395050827490760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fe46c5afc642603e2b2f42d617eb921.jpg","text":"TemporaryFile(/tmp/multipartBody7211983500133013700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/305a0cdcec96f2c5674f127e4b87a915.jpg","text":"TemporaryFile(/tmp/multipartBody6004145912097256227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_25_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7315b939bf7bef44d0e2feaaaf3240fd.jpg","text":"TemporaryFile(/tmp/multipartBody3311323317664618171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1032c3e294a300b098702466f2d68ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8469135791706781426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303712888,"filename":"image_10042025_16_18_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351260010","file1":"1351260009","file0":"1351260005","file4":"1351260028","file5":"1351260054","file3":"1351260013"},"map_files_photo_id_array":[{"photo_id":"1351260054","filename":"file5"},{"photo_id":"1351260010","filename":"file2"},{"photo_id":"1351260028","filename":"file4"},{"photo_id":"1351260009","filename":"file1"},{"photo_id":"1351260005","filename":"file0"},{"photo_id":"1351260013","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351260005":["hashtag1","hashtag2"]},{"1351260028":["hashtag1","hashtag2"]},{"1351260013":["hashtag1","hashtag2"]},{"1351260010":["hashtag1","hashtag2"]},{"1351260054":["hashtag1","hashtag2"]},{"1351260009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351260005, 1351260028, 1351260013, 1351260010, 1351260054, 1351260009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26196002960205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:48:32.585463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/18/image_10042025_16_19_05_10337.jpg', '/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_15_9472.jpg', '/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_25_10441.jpg', '/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_34_9376.jpg', '/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_45_10447.jpg', '/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_55_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/18/image_10042025_16_19_05_10337.jpg
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_15_9472.jpg
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_25_10441.jpg
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_34_9376.jpg
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_45_10447.jpg
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_19_55_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351260761","1351260683","1351260611","1351260517","1351260349","1351260471"],"photo_ids_order":["1351260349","1351260471","1351260517","1351260611","1351260683","1351260761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c877877be139dcde46bee311b227c382.jpg","text":"TemporaryFile(/tmp/multipartBody5930318855173216144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b7c55c363479734397c00b1ff51326c.jpg","text":"TemporaryFile(/tmp/multipartBody1096521675917871195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c20f1c1d7dfe442d5b4a2a254e16d98b.jpg","text":"TemporaryFile(/tmp/multipartBody8746763186163752011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_34_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc7498681a7a340d11f91634a5abb9dc.jpg","text":"TemporaryFile(/tmp/multipartBody921787959277161419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/489a1080c02085039bac4939cf713c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6321376559192596145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c469fe8a2bc95f3f124ccd931fe435c.jpg","text":"TemporaryFile(/tmp/multipartBody8750581820054996886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303773044,"filename":"image_10042025_16_19_15_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351260517","file1":"1351260471","file0":"1351260349","file4":"1351260683","file5":"1351260761","file3":"1351260611"},"map_files_photo_id_array":[{"photo_id":"1351260761","filename":"file5"},{"photo_id":"1351260517","filename":"file2"},{"photo_id":"1351260683","filename":"file4"},{"photo_id":"1351260471","filename":"file1"},{"photo_id":"1351260349","filename":"file0"},{"photo_id":"1351260611","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351260761":["hashtag1","hashtag2"]},{"1351260683":["hashtag1","hashtag2"]},{"1351260611":["hashtag1","hashtag2"]},{"1351260517":["hashtag1","hashtag2"]},{"1351260349":["hashtag1","hashtag2"]},{"1351260471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351260761, 1351260683, 1351260611, 1351260517, 1351260349, 1351260471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06436014175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:49:32.794825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/19/image_10042025_16_20_05_9443.jpg', '/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_15_10225.jpg', '/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_25_10348.jpg', '/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_35_9353.jpg', '/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_45_10343.jpg', '/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_54_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/19/image_10042025_16_20_05_9443.jpg
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_15_10225.jpg
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_25_10348.jpg
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_35_9353.jpg
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_45_10343.jpg
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_20_54_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351261198","1351261301","1351261414","1351261254","1351261356","1351261230"],"photo_ids_order":["1351261198","1351261230","1351261254","1351261301","1351261356","1351261414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a8e5ba99b96af43100f25c436e6ba46.jpg","text":"TemporaryFile(/tmp/multipartBody1339516651202703614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e9d70957a32b99af8d3623611ea2479.jpg","text":"TemporaryFile(/tmp/multipartBody1667914675255042415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c2449bdc67c9678508d6a68bd407d0b.jpg","text":"TemporaryFile(/tmp/multipartBody207975812055519117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4dd239582e67a7f6515c295e28cdc3a.jpg","text":"TemporaryFile(/tmp/multipartBody7859017587884093740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf4827965a4135784114fd86ed380b02.jpg","text":"TemporaryFile(/tmp/multipartBody4941262804215762242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90960287e98691eaa03b770f8956df17.jpg","text":"TemporaryFile(/tmp/multipartBody5365932453788727314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303833248,"filename":"image_10042025_16_20_15_10225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351261254","file1":"1351261230","file0":"1351261198","file4":"1351261356","file5":"1351261414","file3":"1351261301"},"map_files_photo_id_array":[{"photo_id":"1351261414","filename":"file5"},{"photo_id":"1351261254","filename":"file2"},{"photo_id":"1351261356","filename":"file4"},{"photo_id":"1351261230","filename":"file1"},{"photo_id":"1351261198","filename":"file0"},{"photo_id":"1351261301","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351261198":["hashtag1","hashtag2"]},{"1351261301":["hashtag1","hashtag2"]},{"1351261414":["hashtag1","hashtag2"]},{"1351261254":["hashtag1","hashtag2"]},{"1351261356":["hashtag1","hashtag2"]},{"1351261230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351261198, 1351261301, 1351261414, 1351261254, 1351261356, 1351261230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.812840938568115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:50:32.976732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/20/image_10042025_16_21_05_10348.jpg', '/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_15_10352.jpg', '/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_24_9422.jpg', '/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_35_10342.jpg', '/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_45_10362.jpg', '/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_55_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/20/image_10042025_16_21_05_10348.jpg
/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_15_10352.jpg
/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_24_9422.jpg
/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_35_10342.jpg
/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_45_10362.jpg
/home/pi/Desktop/images/10042025/16/21/image_10042025_16_21_55_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351261724","1351261588","1351261794","1351261635","1351261598","1351261664"],"photo_ids_order":["1351261588","1351261598","1351261635","1351261664","1351261724","1351261794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a05924af0c1068fb65d280b702ed103.jpg","text":"TemporaryFile(/tmp/multipartBody5232462999431184027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce528622788718d8dbe901d7b635dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody3535632962423928026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59eea304815310f7830f280be4bdcf3f.jpg","text":"TemporaryFile(/tmp/multipartBody2646871221131603405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd596f9155e6888d94715f3e39c4e813.jpg","text":"TemporaryFile(/tmp/multipartBody1760294920224547785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3481d871fd8f5d66b01d503f0d711555.jpg","text":"TemporaryFile(/tmp/multipartBody8117344540280937244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e738466d8e829ea9ebab2b02026dd597.jpg","text":"TemporaryFile(/tmp/multipartBody5754964498256496104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303893438,"filename":"image_10042025_16_21_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351261635","file1":"1351261598","file0":"1351261588","file4":"1351261724","file5":"1351261794","file3":"1351261664"},"map_files_photo_id_array":[{"photo_id":"1351261794","filename":"file5"},{"photo_id":"1351261635","filename":"file2"},{"photo_id":"1351261724","filename":"file4"},{"photo_id":"1351261598","filename":"file1"},{"photo_id":"1351261588","filename":"file0"},{"photo_id":"1351261664","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351261724":["hashtag1","hashtag2"]},{"1351261588":["hashtag1","hashtag2"]},{"1351261794":["hashtag1","hashtag2"]},{"1351261635":["hashtag1","hashtag2"]},{"1351261598":["hashtag1","hashtag2"]},{"1351261664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351261724, 1351261588, 1351261794, 1351261635, 1351261598, 1351261664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52377128601074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:51:33.281510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_14_9337.jpg', '/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_25_10413.jpg', '/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_35_10405.jpg', '/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_44_9359.jpg', '/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_55_10367.jpg', '/home/pi/Desktop/images/10042025/16/22/image_10042025_16_23_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_14_9337.jpg
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_25_10413.jpg
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_35_10405.jpg
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_44_9359.jpg
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_22_55_10367.jpg
/home/pi/Desktop/images/10042025/16/22/image_10042025_16_23_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351262529","1351262442","1351262214","1351262180","1351262258","1351262362"],"photo_ids_order":["1351262180","1351262214","1351262258","1351262362","1351262442","1351262529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85249b67d56474759aa96267fc049362.jpg","text":"TemporaryFile(/tmp/multipartBody5842788611944633279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_23_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cebfc5c85d984e577f924eca503a2ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4546156352547928826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_22_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b85672e8921de9a88a2adf496d1ab3ee.jpg","text":"TemporaryFile(/tmp/multipartBody6334029448921875516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_22_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/809d72d3a66634b060342c75697c5831.jpg","text":"TemporaryFile(/tmp/multipartBody3298354400936118687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_22_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eefb80dedf693ee84280e29c22cccbcf.jpg","text":"TemporaryFile(/tmp/multipartBody104563303388501953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_22_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fd1a07522769abffa64cfe39dd9dea6.jpg","text":"TemporaryFile(/tmp/multipartBody3144363717618012215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744303953731,"filename":"image_10042025_16_22_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351262258","file1":"1351262214","file0":"1351262180","file4":"1351262442","file5":"1351262529","file3":"1351262362"},"map_files_photo_id_array":[{"photo_id":"1351262529","filename":"file5"},{"photo_id":"1351262258","filename":"file2"},{"photo_id":"1351262442","filename":"file4"},{"photo_id":"1351262214","filename":"file1"},{"photo_id":"1351262180","filename":"file0"},{"photo_id":"1351262362","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351262529":["hashtag1","hashtag2"]},{"1351262442":["hashtag1","hashtag2"]},{"1351262214":["hashtag1","hashtag2"]},{"1351262180":["hashtag1","hashtag2"]},{"1351262258":["hashtag1","hashtag2"]},{"1351262362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351262529, 1351262442, 1351262214, 1351262180, 1351262258, 1351262362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.43063831329346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:52:32.246859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_15_9416.jpg', '/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_25_10348.jpg', '/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_45_10372.jpg', '/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_55_10370.jpg', '/home/pi/Desktop/images/10042025/16/23/image_10042025_16_24_04_9401.jpg', '/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_15_9416.jpg
/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_25_10348.jpg
/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_45_10372.jpg
/home/pi/Desktop/images/10042025/16/23/image_10042025_16_23_55_10370.jpg
/home/pi/Desktop/images/10042025/16/23/image_10042025_16_24_04_9401.jpg
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351263162","1351263086","1351262934","1351262835","1351263017","1351262872"],"photo_ids_order":["1351262835","1351262872","1351262934","1351263017","1351263086","1351263162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1cbf21dae6d9a9cd33f089a72ea75aa.jpg","text":"TemporaryFile(/tmp/multipartBody2049072002370594448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_24_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36f0de29ffe45cefc3ffaae1ff430f80.jpg","text":"TemporaryFile(/tmp/multipartBody4389663101219381594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_24_04_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0b34e71d795a789b74e7d72a034d22b.jpg","text":"TemporaryFile(/tmp/multipartBody6743010497232882919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_23_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c06b98f6670dcca0b55dadb823db223.jpg","text":"TemporaryFile(/tmp/multipartBody9163177519563187588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_23_15_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cc861b3dde991651951b46881db56b4.jpg","text":"TemporaryFile(/tmp/multipartBody8314512865446084337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_23_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68b9b9235954a2ddcb80d40896a9d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody9038544852323308508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304012705,"filename":"image_10042025_16_23_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351262934","file1":"1351262872","file0":"1351262835","file4":"1351263086","file5":"1351263162","file3":"1351263017"},"map_files_photo_id_array":[{"photo_id":"1351263162","filename":"file5"},{"photo_id":"1351262934","filename":"file2"},{"photo_id":"1351263086","filename":"file4"},{"photo_id":"1351262872","filename":"file1"},{"photo_id":"1351262835","filename":"file0"},{"photo_id":"1351263017","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351263162":["hashtag1","hashtag2"]},{"1351263086":["hashtag1","hashtag2"]},{"1351262934":["hashtag1","hashtag2"]},{"1351262835":["hashtag1","hashtag2"]},{"1351263017":["hashtag1","hashtag2"]},{"1351262872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351263162, 1351263086, 1351262934, 1351262835, 1351263017, 1351262872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33436465263367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:53:32.554578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_25_10441.jpg', '/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_35_9343.jpg', '/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_45_10405.jpg', '/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_55_9508.jpg', '/home/pi/Desktop/images/10042025/16/24/image_10042025_16_25_05_10352.jpg', '/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_25_10441.jpg
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_35_9343.jpg
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_45_10405.jpg
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_24_55_9508.jpg
/home/pi/Desktop/images/10042025/16/24/image_10042025_16_25_05_10352.jpg
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_15_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351263870","1351263851","1351263743","1351263812","1351263781","1351263713"],"photo_ids_order":["1351263713","1351263743","1351263781","1351263812","1351263851","1351263870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c13930bdce8104b565c05ee447bee6d.jpg","text":"TemporaryFile(/tmp/multipartBody3508371714975646060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_25_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93f6c48c475bb14d90a980831d1e1569.jpg","text":"TemporaryFile(/tmp/multipartBody4640955666448851025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_25_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dde94749727439e6086de446c7d91bb.jpg","text":"TemporaryFile(/tmp/multipartBody3640768575339250912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_24_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/67dc903266288c5297bf3280456dc999.jpg","text":"TemporaryFile(/tmp/multipartBody2494386227674992327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_24_55_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46b30fb55932849d789ec360554f287d.jpg","text":"TemporaryFile(/tmp/multipartBody7246135040638133649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_24_45_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8ce14bbd26d42b4fec40c7bdb3c2cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2552926349291126855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304073029,"filename":"image_10042025_16_24_25_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351263781","file1":"1351263743","file0":"1351263713","file4":"1351263851","file5":"1351263870","file3":"1351263812"},"map_files_photo_id_array":[{"photo_id":"1351263870","filename":"file5"},{"photo_id":"1351263781","filename":"file2"},{"photo_id":"1351263851","filename":"file4"},{"photo_id":"1351263743","filename":"file1"},{"photo_id":"1351263713","filename":"file0"},{"photo_id":"1351263812","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351263870":["hashtag1","hashtag2"]},{"1351263851":["hashtag1","hashtag2"]},{"1351263743":["hashtag1","hashtag2"]},{"1351263812":["hashtag1","hashtag2"]},{"1351263781":["hashtag1","hashtag2"]},{"1351263713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351263870, 1351263851, 1351263743, 1351263812, 1351263781, 1351263713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97755289077759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:54:32.754761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_25_9439.jpg', '/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_35_10438.jpg', '/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_45_9441.jpg', '/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_55_10363.jpg', '/home/pi/Desktop/images/10042025/16/25/image_10042025_16_26_04_9450.jpg', '/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_25_9439.jpg
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_35_10438.jpg
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_45_9441.jpg
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_25_55_10363.jpg
/home/pi/Desktop/images/10042025/16/25/image_10042025_16_26_04_9450.jpg
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351264043","1351264067","1351264016","1351264118","1351264095","1351264021"],"photo_ids_order":["1351264016","1351264021","1351264043","1351264067","1351264095","1351264118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b408bac623b588aae74d17d510c34084.jpg","text":"TemporaryFile(/tmp/multipartBody6502989208628328717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_25_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eed6796a4c640cd3a1b2748d880beb67.jpg","text":"TemporaryFile(/tmp/multipartBody8862794873849747345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_25_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1168a07b9cba7abe394d72f005a46016.jpg","text":"TemporaryFile(/tmp/multipartBody2054480329372573595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_25_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b98c7e0f19c5e1e2a80629b8fe6dc9f.jpg","text":"TemporaryFile(/tmp/multipartBody5795732645706762940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_26_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa48ac08c2baee8fb738d6278e743284.jpg","text":"TemporaryFile(/tmp/multipartBody3563789815387946729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_26_04_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7de642bb47089ca72b57b3be91ab5964.jpg","text":"TemporaryFile(/tmp/multipartBody9217531022568413163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304133211,"filename":"image_10042025_16_25_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351264043","file1":"1351264021","file0":"1351264016","file4":"1351264095","file5":"1351264118","file3":"1351264067"},"map_files_photo_id_array":[{"photo_id":"1351264118","filename":"file5"},{"photo_id":"1351264043","filename":"file2"},{"photo_id":"1351264095","filename":"file4"},{"photo_id":"1351264021","filename":"file1"},{"photo_id":"1351264016","filename":"file0"},{"photo_id":"1351264067","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351264043":["hashtag1","hashtag2"]},{"1351264067":["hashtag1","hashtag2"]},{"1351264016":["hashtag1","hashtag2"]},{"1351264118":["hashtag1","hashtag2"]},{"1351264095":["hashtag1","hashtag2"]},{"1351264021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351264043, 1351264067, 1351264016, 1351264118, 1351264095, 1351264021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3750364780426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:55:33.056232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_25_10418.jpg', '/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_35_9409.jpg', '/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_45_10371.jpg', '/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_55_10362.jpg', '/home/pi/Desktop/images/10042025/16/26/image_10042025_16_27_05_9421.jpg', '/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_25_10418.jpg
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_35_9409.jpg
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_45_10371.jpg
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_26_55_10362.jpg
/home/pi/Desktop/images/10042025/16/26/image_10042025_16_27_05_9421.jpg
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351264533","1351264367","1351264562","1351264328","1351264297","1351264498"],"photo_ids_order":["1351264297","1351264328","1351264367","1351264498","1351264533","1351264562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e77027674da6b001b0df254650811727.jpg","text":"TemporaryFile(/tmp/multipartBody8975392942078647110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_27_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8b9a389fab0b10120ee3e3644b6f184.jpg","text":"TemporaryFile(/tmp/multipartBody4517892973816227469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_26_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c05b62b8d12174c75c9e784125d3fd61.jpg","text":"TemporaryFile(/tmp/multipartBody1535826848819367311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_27_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/670885b367dd8833116ebba7718238de.jpg","text":"TemporaryFile(/tmp/multipartBody4824828287385233463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_26_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4861d730a75ab0004c3eeebeabf2d859.jpg","text":"TemporaryFile(/tmp/multipartBody7308562163702585005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_26_25_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e96497de4cba6f654a6dbad73412ea3d.jpg","text":"TemporaryFile(/tmp/multipartBody1276221722609933912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304193522,"filename":"image_10042025_16_26_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351264367","file1":"1351264328","file0":"1351264297","file4":"1351264533","file5":"1351264562","file3":"1351264498"},"map_files_photo_id_array":[{"photo_id":"1351264562","filename":"file5"},{"photo_id":"1351264367","filename":"file2"},{"photo_id":"1351264533","filename":"file4"},{"photo_id":"1351264328","filename":"file1"},{"photo_id":"1351264297","filename":"file0"},{"photo_id":"1351264498","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351264533":["hashtag1","hashtag2"]},{"1351264367":["hashtag1","hashtag2"]},{"1351264562":["hashtag1","hashtag2"]},{"1351264328":["hashtag1","hashtag2"]},{"1351264297":["hashtag1","hashtag2"]},{"1351264498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351264533, 1351264367, 1351264562, 1351264328, 1351264297, 1351264498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55283975601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:56:32.175232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_24_9436.jpg', '/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_35_10449.jpg', '/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_45_10356.jpg', '/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_55_9350.jpg', '/home/pi/Desktop/images/10042025/16/27/image_10042025_16_28_05_10377.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_14_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_24_9436.jpg
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_35_10449.jpg
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_45_10356.jpg
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_27_55_9350.jpg
/home/pi/Desktop/images/10042025/16/27/image_10042025_16_28_05_10377.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_14_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351264644","1351264667","1351264648","1351264702","1351264686","1351264671"],"photo_ids_order":["1351264644","1351264648","1351264667","1351264671","1351264686","1351264702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef8d8ceb2b46ab4d47c87cd1fd4d793d.jpg","text":"TemporaryFile(/tmp/multipartBody7276643481848388680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_27_24_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/983c111f7504da3591a7e6889e0a0d0b.jpg","text":"TemporaryFile(/tmp/multipartBody188381752193734754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_27_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/817c1f2f19af5fd285fcecc640189bb6.jpg","text":"TemporaryFile(/tmp/multipartBody7902118097523631379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_27_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/753ecbdebf39d9a75fe49bb4016a861e.jpg","text":"TemporaryFile(/tmp/multipartBody3007018653921292485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_28_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f84fecb2bb628c2fcdea6fdf03b3c45f.jpg","text":"TemporaryFile(/tmp/multipartBody3504017193453166853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_28_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c248a4aa2697ca0ad7e79b1bf2c65b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1047970763829128989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304252635,"filename":"image_10042025_16_27_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351264667","file1":"1351264648","file0":"1351264644","file4":"1351264686","file5":"1351264702","file3":"1351264671"},"map_files_photo_id_array":[{"photo_id":"1351264702","filename":"file5"},{"photo_id":"1351264667","filename":"file2"},{"photo_id":"1351264686","filename":"file4"},{"photo_id":"1351264648","filename":"file1"},{"photo_id":"1351264644","filename":"file0"},{"photo_id":"1351264671","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351264644":["hashtag1","hashtag2"]},{"1351264667":["hashtag1","hashtag2"]},{"1351264648":["hashtag1","hashtag2"]},{"1351264702":["hashtag1","hashtag2"]},{"1351264686":["hashtag1","hashtag2"]},{"1351264671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351264644, 1351264667, 1351264648, 1351264702, 1351264686, 1351264671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.926472187042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 18:57:32.469566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_35_10375.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_44_9403.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_55_10347.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_29_05_10363.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_15_9410.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_25_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_35_10375.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_44_9403.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_55_10347.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_29_05_10363.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_15_9410.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_25_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 18:59:04.402450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_35_10375.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_44_9403.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_55_10347.jpg', '/home/pi/Desktop/images/10042025/16/28/image_10042025_16_29_05_10363.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_15_9410.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_25_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_35_10375.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_44_9403.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_28_55_10347.jpg
/home/pi/Desktop/images/10042025/16/28/image_10042025_16_29_05_10363.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_15_9410.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_25_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351265042","1351265098","1351265015","1351264934","1351265125","1351264965"],"photo_ids_order":["1351264934","1351264965","1351265015","1351265042","1351265098","1351265125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/776ac954b6e955318e65e53bfeffcd1c.jpg","text":"TemporaryFile(/tmp/multipartBody4259746797889906688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_29_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c82d17334bc5b368656b577a9dc36270.jpg","text":"TemporaryFile(/tmp/multipartBody5650568946722129542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_29_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecfd44126364b9e1f9e1c6f5d8e61e9e.jpg","text":"TemporaryFile(/tmp/multipartBody3344980722774595786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_28_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e29428f1ced4fb8285cf2122410b3daa.jpg","text":"TemporaryFile(/tmp/multipartBody7446154394871377383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_28_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3294d4b0861de72ad279629456ae5426.jpg","text":"TemporaryFile(/tmp/multipartBody770748825582731057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_29_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/865468a27b790fca1a2ee8cf51180bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2471538564413303014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304404957,"filename":"image_10042025_16_28_44_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351265015","file1":"1351264965","file0":"1351264934","file4":"1351265098","file5":"1351265125","file3":"1351265042"},"map_files_photo_id_array":[{"photo_id":"1351265125","filename":"file5"},{"photo_id":"1351265015","filename":"file2"},{"photo_id":"1351265098","filename":"file4"},{"photo_id":"1351264965","filename":"file1"},{"photo_id":"1351264934","filename":"file0"},{"photo_id":"1351265042","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351265042":["hashtag1","hashtag2"]},{"1351265098":["hashtag1","hashtag2"]},{"1351265015":["hashtag1","hashtag2"]},{"1351264934":["hashtag1","hashtag2"]},{"1351265125":["hashtag1","hashtag2"]},{"1351264965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351265042, 1351265098, 1351265015, 1351264934, 1351265125, 1351264965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5081045627594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 18:59:42.987761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_34_9336.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_45_10410.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_55_10487.jpg', '/home/pi/Desktop/images/10042025/16/29/image_10042025_16_30_05_9443.jpg', '/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_15_10355.jpg', '/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_24_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_34_9336.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_45_10410.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_29_55_10487.jpg
/home/pi/Desktop/images/10042025/16/29/image_10042025_16_30_05_9443.jpg
/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_15_10355.jpg
/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_24_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351265534","1351265441","1351265338","1351265490","1351265196","1351265253"],"photo_ids_order":["1351265196","1351265253","1351265338","1351265441","1351265490","1351265534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f4ecc27739f95a0e0d476aae1ecc804.jpg","text":"TemporaryFile(/tmp/multipartBody4702400883054880587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_30_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44fe9bbf4499f425d550c255be2474d9.jpg","text":"TemporaryFile(/tmp/multipartBody324008044280251112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_30_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c0e78231895fcfe43155a6eaf03f0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7893680375021734523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_29_55_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d220f3ed50385fecc85fb811d433e052.jpg","text":"TemporaryFile(/tmp/multipartBody6066768131135049442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_30_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5db578e28569331a299b067225f2edb6.jpg","text":"TemporaryFile(/tmp/multipartBody4910733915440970610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_29_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/65f58fc93b25bee07d6695785ba30ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4070596117840015824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304443453,"filename":"image_10042025_16_29_45_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351265338","file1":"1351265253","file0":"1351265196","file4":"1351265490","file5":"1351265534","file3":"1351265441"},"map_files_photo_id_array":[{"photo_id":"1351265534","filename":"file5"},{"photo_id":"1351265338","filename":"file2"},{"photo_id":"1351265490","filename":"file4"},{"photo_id":"1351265253","filename":"file1"},{"photo_id":"1351265196","filename":"file0"},{"photo_id":"1351265441","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351265534":["hashtag1","hashtag2"]},{"1351265441":["hashtag1","hashtag2"]},{"1351265338":["hashtag1","hashtag2"]},{"1351265490":["hashtag1","hashtag2"]},{"1351265196":["hashtag1","hashtag2"]},{"1351265253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351265534, 1351265441, 1351265338, 1351265490, 1351265196, 1351265253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.768423557281494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:00:33.149227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_35_10422.jpg', '/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_45_10343.jpg', '/home/pi/Desktop/images/10042025/16/31/image_10042025_16_31_55_10365.jpg', '/home/pi/Desktop/images/10042025/16/31/image_10042025_16_32_05_10353.jpg', '/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_15_9570.jpg', '/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_34_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_35_10422.jpg
/home/pi/Desktop/images/10042025/16/30/image_10042025_16_30_45_10343.jpg
/home/pi/Desktop/images/10042025/16/31/image_10042025_16_31_55_10365.jpg
/home/pi/Desktop/images/10042025/16/31/image_10042025_16_32_05_10353.jpg
/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_15_9570.jpg
/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_34_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351265888","1351265915","1351265831","1351265857","1351265787","1351265742"],"photo_ids_order":["1351265742","1351265787","1351265831","1351265857","1351265888","1351265915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7461e228d5d4c320a371da18d37466b.jpg","text":"TemporaryFile(/tmp/multipartBody7907727001677348945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_32_15_9570.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee1e0965e368c33f0c6996542431daae.jpg","text":"TemporaryFile(/tmp/multipartBody6328521034507344812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_32_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b024b9cf10579b45806be82d46dd953a.jpg","text":"TemporaryFile(/tmp/multipartBody2988741215236806440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_31_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46bea9b88a69a568ebac7f3da06d2194.jpg","text":"TemporaryFile(/tmp/multipartBody5252407871663426759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_32_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f1a118716109a89edd51489e1e52cce.jpg","text":"TemporaryFile(/tmp/multipartBody8244826508857163813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_30_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a87f488920f3831547e921199576999.jpg","text":"TemporaryFile(/tmp/multipartBody4594932262473273754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304493613,"filename":"image_10042025_16_30_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351265831","file1":"1351265787","file0":"1351265742","file4":"1351265888","file5":"1351265915","file3":"1351265857"},"map_files_photo_id_array":[{"photo_id":"1351265915","filename":"file5"},{"photo_id":"1351265831","filename":"file2"},{"photo_id":"1351265888","filename":"file4"},{"photo_id":"1351265787","filename":"file1"},{"photo_id":"1351265742","filename":"file0"},{"photo_id":"1351265857","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351265888":["hashtag1","hashtag2"]},{"1351265915":["hashtag1","hashtag2"]},{"1351265831":["hashtag1","hashtag2"]},{"1351265857":["hashtag1","hashtag2"]},{"1351265787":["hashtag1","hashtag2"]},{"1351265742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351265888, 1351265915, 1351265831, 1351265857, 1351265787, 1351265742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96429467201233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:01:35.056832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_45_10446.jpg', '/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_35_10404.jpg', '/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_45_10353.jpg', '/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_55_9476.jpg', '/home/pi/Desktop/images/10042025/16/33/image_10042025_16_34_05_10412.jpg', '/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_14_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/32/image_10042025_16_32_45_10446.jpg
/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_35_10404.jpg
/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_45_10353.jpg
/home/pi/Desktop/images/10042025/16/33/image_10042025_16_33_55_9476.jpg
/home/pi/Desktop/images/10042025/16/33/image_10042025_16_34_05_10412.jpg
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_14_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351266014","1351266026","1351266031","1351266007","1351266022","1351266003"],"photo_ids_order":["1351266003","1351266007","1351266014","1351266022","1351266026","1351266031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f2b7e0530e816004ed96cf7d6baaa2f.jpg","text":"TemporaryFile(/tmp/multipartBody2546824718259881019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_33_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0be0798c6d01ddee92770bc8bd0dc06e.jpg","text":"TemporaryFile(/tmp/multipartBody7519261668980432030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_34_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7927e519aeb8b8b9aed303e5ba65f4bd.jpg","text":"TemporaryFile(/tmp/multipartBody679684452404282324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_34_14_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2022ce5e94baf21bb8c1e89ba885f99f.jpg","text":"TemporaryFile(/tmp/multipartBody3973559712049442281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_33_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7505b7f96d9c5fe593fa16630cd4956b.jpg","text":"TemporaryFile(/tmp/multipartBody232510730083699228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_33_55_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b071908aca4ae446d9c9deeb7aef4700.jpg","text":"TemporaryFile(/tmp/multipartBody613103903936207306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304555528,"filename":"image_10042025_16_32_45_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351266014","file1":"1351266007","file0":"1351266003","file4":"1351266026","file5":"1351266031","file3":"1351266022"},"map_files_photo_id_array":[{"photo_id":"1351266031","filename":"file5"},{"photo_id":"1351266014","filename":"file2"},{"photo_id":"1351266026","filename":"file4"},{"photo_id":"1351266007","filename":"file1"},{"photo_id":"1351266003","filename":"file0"},{"photo_id":"1351266022","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351266014":["hashtag1","hashtag2"]},{"1351266026":["hashtag1","hashtag2"]},{"1351266031":["hashtag1","hashtag2"]},{"1351266007":["hashtag1","hashtag2"]},{"1351266022":["hashtag1","hashtag2"]},{"1351266003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351266014, 1351266026, 1351266031, 1351266007, 1351266022, 1351266003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65290379524231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:02:32.606709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_25_10347.jpg', '/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_35_10412.jpg', '/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_45_9424.jpg', '/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_55_10351.jpg', '/home/pi/Desktop/images/10042025/16/34/image_10042025_16_35_04_9350.jpg', '/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_15_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_25_10347.jpg
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_35_10412.jpg
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_45_9424.jpg
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_34_55_10351.jpg
/home/pi/Desktop/images/10042025/16/34/image_10042025_16_35_04_9350.jpg
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_15_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351266344","1351266511","1351266369","1351266414","1351266455","1351266290"],"photo_ids_order":["1351266290","1351266344","1351266369","1351266414","1351266455","1351266511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc55c367f2ffb4b6f230678a47da8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6137140710307674882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_34_35_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4258f22753077479e8687a3ee17de1f.jpg","text":"TemporaryFile(/tmp/multipartBody3668992050430415458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_35_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/805f0ef65436964017b582481df6d328.jpg","text":"TemporaryFile(/tmp/multipartBody7221009150769642628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_34_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/875d223db4ee72e0dae73c5fb59275aa.jpg","text":"TemporaryFile(/tmp/multipartBody5959778191094730375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_34_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/743b2615d0f7f1015d8d72048b76b457.jpg","text":"TemporaryFile(/tmp/multipartBody5087594472472240125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_35_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8222aceeabfaacc708d246a563f1d75b.jpg","text":"TemporaryFile(/tmp/multipartBody7173581372476388558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304613069,"filename":"image_10042025_16_34_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351266369","file1":"1351266344","file0":"1351266290","file4":"1351266455","file5":"1351266511","file3":"1351266414"},"map_files_photo_id_array":[{"photo_id":"1351266511","filename":"file5"},{"photo_id":"1351266369","filename":"file2"},{"photo_id":"1351266455","filename":"file4"},{"photo_id":"1351266344","filename":"file1"},{"photo_id":"1351266290","filename":"file0"},{"photo_id":"1351266414","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351266344":["hashtag1","hashtag2"]},{"1351266511":["hashtag1","hashtag2"]},{"1351266369":["hashtag1","hashtag2"]},{"1351266414":["hashtag1","hashtag2"]},{"1351266455":["hashtag1","hashtag2"]},{"1351266290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351266344, 1351266511, 1351266369, 1351266414, 1351266455, 1351266290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.763827085494995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:03:32.739079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_25_10362.jpg', '/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_35_9461.jpg', '/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_45_10346.jpg', '/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_54_9343.jpg', '/home/pi/Desktop/images/10042025/16/35/image_10042025_16_36_05_10441.jpg', '/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_15_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_25_10362.jpg
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_35_9461.jpg
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_45_10346.jpg
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_35_54_9343.jpg
/home/pi/Desktop/images/10042025/16/35/image_10042025_16_36_05_10441.jpg
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_15_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351266919","1351266853","1351266780","1351266816","1351266750","1351266878"],"photo_ids_order":["1351266750","1351266780","1351266816","1351266853","1351266878","1351266919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71f56c1514b4ab699347404dc81566cd.jpg","text":"TemporaryFile(/tmp/multipartBody8455488636853617022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_36_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2754d24135674125bc87cb35f7d68bae.jpg","text":"TemporaryFile(/tmp/multipartBody785771299638999898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_35_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1109740eaa99c0e0ddc0301b9b649e74.jpg","text":"TemporaryFile(/tmp/multipartBody288314772378544805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_35_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74dcd184f803882b95fd224019a0d14b.jpg","text":"TemporaryFile(/tmp/multipartBody9057119069815234648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_35_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a6d0e0f01bca9ffc4c24e8dbbf4df19.jpg","text":"TemporaryFile(/tmp/multipartBody7694501970137426657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_35_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/539c0815175b2ea5303d98f7274a3667.jpg","text":"TemporaryFile(/tmp/multipartBody5579658371554714848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304673203,"filename":"image_10042025_16_36_05_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351266816","file1":"1351266780","file0":"1351266750","file4":"1351266878","file5":"1351266919","file3":"1351266853"},"map_files_photo_id_array":[{"photo_id":"1351266919","filename":"file5"},{"photo_id":"1351266816","filename":"file2"},{"photo_id":"1351266878","filename":"file4"},{"photo_id":"1351266780","filename":"file1"},{"photo_id":"1351266750","filename":"file0"},{"photo_id":"1351266853","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351266919":["hashtag1","hashtag2"]},{"1351266853":["hashtag1","hashtag2"]},{"1351266780":["hashtag1","hashtag2"]},{"1351266816":["hashtag1","hashtag2"]},{"1351266750":["hashtag1","hashtag2"]},{"1351266878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351266919, 1351266853, 1351266780, 1351266816, 1351266750, 1351266878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24887013435364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:04:32.881138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_25_9503.jpg', '/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_35_10261.jpg', '/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_45_10391.jpg', '/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_55_9352.jpg', '/home/pi/Desktop/images/10042025/16/36/image_10042025_16_37_05_10366.jpg', '/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_14_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_25_9503.jpg
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_35_10261.jpg
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_45_10391.jpg
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_36_55_9352.jpg
/home/pi/Desktop/images/10042025/16/36/image_10042025_16_37_05_10366.jpg
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_14_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351267208","1351267390","1351267167","1351267137","1351267253","1351267349"],"photo_ids_order":["1351267137","1351267167","1351267208","1351267253","1351267349","1351267390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbe3aa9cba89c9da5f8247a830f11008.jpg","text":"TemporaryFile(/tmp/multipartBody9068176362602379865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_36_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d21143572a1d1b8442c278b3a80078a3.jpg","text":"TemporaryFile(/tmp/multipartBody9133569211643975500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_37_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8cac2b2c388ee2814c5b8eccc488dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3842603448746379163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_36_35_10261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/511a412cc0ae6ba32497b4be3d6ad3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7635522141517935766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_36_25_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1148a361c03cff14a6c8c4335ea4d5ea.jpg","text":"TemporaryFile(/tmp/multipartBody368350982554474241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_36_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d11eda4c13ef68a801d35f412909817.jpg","text":"TemporaryFile(/tmp/multipartBody6896964014320148881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304733344,"filename":"image_10042025_16_37_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351267208","file1":"1351267167","file0":"1351267137","file4":"1351267349","file5":"1351267390","file3":"1351267253"},"map_files_photo_id_array":[{"photo_id":"1351267390","filename":"file5"},{"photo_id":"1351267208","filename":"file2"},{"photo_id":"1351267349","filename":"file4"},{"photo_id":"1351267167","filename":"file1"},{"photo_id":"1351267137","filename":"file0"},{"photo_id":"1351267253","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351267208":["hashtag1","hashtag2"]},{"1351267390":["hashtag1","hashtag2"]},{"1351267167":["hashtag1","hashtag2"]},{"1351267137":["hashtag1","hashtag2"]},{"1351267253":["hashtag1","hashtag2"]},{"1351267349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351267208, 1351267390, 1351267167, 1351267137, 1351267253, 1351267349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.598024129867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:05:33.138552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_25_10354.jpg', '/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_35_10365.jpg', '/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_44_9442.jpg', '/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_55_10352.jpg', '/home/pi/Desktop/images/10042025/16/37/image_10042025_16_38_05_10359.jpg', '/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_15_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_25_10354.jpg
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_35_10365.jpg
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_44_9442.jpg
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_37_55_10352.jpg
/home/pi/Desktop/images/10042025/16/37/image_10042025_16_38_05_10359.jpg
/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_15_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351267683","1351267671","1351267950","1351267869","1351267638","1351267778"],"photo_ids_order":["1351267638","1351267671","1351267683","1351267778","1351267869","1351267950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5104c44bee00e85f748f5045d4b9cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody1546897805596304354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_37_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8ca54037f7ca0b40fceaf9e1fb4de3f.jpg","text":"TemporaryFile(/tmp/multipartBody991512443062531045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_37_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ad12093b2198aaa88d0ff46e007b719.jpg","text":"TemporaryFile(/tmp/multipartBody6015754140005598560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_38_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d81a5e607e45e12cf1342be416866d1d.jpg","text":"TemporaryFile(/tmp/multipartBody4478400794149787147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_38_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/345fee3c1987819833e51de1b17c8c0d.jpg","text":"TemporaryFile(/tmp/multipartBody9053309951581858689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_37_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb4395f56b1002276076329bd7e4db31.jpg","text":"TemporaryFile(/tmp/multipartBody8475022200625040725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304793597,"filename":"image_10042025_16_37_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351267683","file1":"1351267671","file0":"1351267638","file4":"1351267869","file5":"1351267950","file3":"1351267778"},"map_files_photo_id_array":[{"photo_id":"1351267950","filename":"file5"},{"photo_id":"1351267683","filename":"file2"},{"photo_id":"1351267869","filename":"file4"},{"photo_id":"1351267671","filename":"file1"},{"photo_id":"1351267638","filename":"file0"},{"photo_id":"1351267778","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351267683":["hashtag1","hashtag2"]},{"1351267671":["hashtag1","hashtag2"]},{"1351267950":["hashtag1","hashtag2"]},{"1351267869":["hashtag1","hashtag2"]},{"1351267638":["hashtag1","hashtag2"]},{"1351267778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351267683, 1351267671, 1351267950, 1351267869, 1351267638, 1351267778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90980815887451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:06:32.175365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_25_10349.jpg', '/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_45_10360.jpg', '/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_55_10355.jpg', '/home/pi/Desktop/images/10042025/16/38/image_10042025_16_39_04_9338.jpg', '/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_15_10417.jpg', '/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_25_10349.jpg
/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_45_10360.jpg
/home/pi/Desktop/images/10042025/16/38/image_10042025_16_38_55_10355.jpg
/home/pi/Desktop/images/10042025/16/38/image_10042025_16_39_04_9338.jpg
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_15_10417.jpg
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351269084","1351268806","1351268707","1351269024","1351268610","1351268501"],"photo_ids_order":["1351268501","1351268610","1351268707","1351268806","1351269024","1351269084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2159f3b375ef8b3372cbcbc052b7103c.jpg","text":"TemporaryFile(/tmp/multipartBody276961163845506235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_39_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/158ccb9dfe525f9406d22ccbee9a72c4.jpg","text":"TemporaryFile(/tmp/multipartBody6915316833739130794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_39_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecb393151d9d47c6b45079ed05b07a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7996133777699241725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_38_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7468dfe3253b3e0e464da9e0e640de6a.jpg","text":"TemporaryFile(/tmp/multipartBody7399942387552935405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_39_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53053aa1a4caedebadfbe6f03732cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody3656119467299769751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_38_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0fca9d9add8721f516445f6786751ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3210785249733241837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304852711,"filename":"image_10042025_16_38_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351268707","file1":"1351268610","file0":"1351268501","file4":"1351269024","file5":"1351269084","file3":"1351268806"},"map_files_photo_id_array":[{"photo_id":"1351269084","filename":"file5"},{"photo_id":"1351268707","filename":"file2"},{"photo_id":"1351269024","filename":"file4"},{"photo_id":"1351268610","filename":"file1"},{"photo_id":"1351268501","filename":"file0"},{"photo_id":"1351268806","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351269084":["hashtag1","hashtag2"]},{"1351268806":["hashtag1","hashtag2"]},{"1351268707":["hashtag1","hashtag2"]},{"1351269024":["hashtag1","hashtag2"]},{"1351268610":["hashtag1","hashtag2"]},{"1351268501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351269084, 1351268806, 1351268707, 1351269024, 1351268610, 1351268501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49564075469971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:07:32.434101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_35_9499.jpg', '/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_45_10386.jpg', '/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_54_9347.jpg', '/home/pi/Desktop/images/10042025/16/39/image_10042025_16_40_05_10444.jpg', '/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_15_10400.jpg', '/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_25_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_35_9499.jpg
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_45_10386.jpg
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_39_54_9347.jpg
/home/pi/Desktop/images/10042025/16/39/image_10042025_16_40_05_10444.jpg
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_15_10400.jpg
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_25_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351269954","1351269738","1351269651","1351269929","1351269701","1351269859"],"photo_ids_order":["1351269651","1351269701","1351269738","1351269859","1351269929","1351269954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72aea86deb036d6d936978754ca2101e.jpg","text":"TemporaryFile(/tmp/multipartBody5196426540092875361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_40_25_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d6486bb1dbb585f0725dd6f601ac6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4197385303105299878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_39_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18ed3bba04817abd61998b06a81058bd.jpg","text":"TemporaryFile(/tmp/multipartBody4115961395044001665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_39_35_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6324e952eaaa46d4edc3de3d1abe9ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8063161905939778261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_40_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23375414b0cc2b2d8442ccef833bcc5b.jpg","text":"TemporaryFile(/tmp/multipartBody7062410070349712106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_39_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90dbcd0e71dd8af71076c765da8be275.jpg","text":"TemporaryFile(/tmp/multipartBody8126174435995422338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304912896,"filename":"image_10042025_16_40_05_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351269738","file1":"1351269701","file0":"1351269651","file4":"1351269929","file5":"1351269954","file3":"1351269859"},"map_files_photo_id_array":[{"photo_id":"1351269954","filename":"file5"},{"photo_id":"1351269738","filename":"file2"},{"photo_id":"1351269929","filename":"file4"},{"photo_id":"1351269701","filename":"file1"},{"photo_id":"1351269651","filename":"file0"},{"photo_id":"1351269859","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351269954":["hashtag1","hashtag2"]},{"1351269738":["hashtag1","hashtag2"]},{"1351269651":["hashtag1","hashtag2"]},{"1351269929":["hashtag1","hashtag2"]},{"1351269701":["hashtag1","hashtag2"]},{"1351269859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351269954, 1351269738, 1351269651, 1351269929, 1351269701, 1351269859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.378090143203735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:08:32.625654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_35_10356.jpg', '/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_44_9418.jpg', '/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_55_10402.jpg', '/home/pi/Desktop/images/10042025/16/40/image_10042025_16_41_05_10355.jpg', '/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_15_9336.jpg', '/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_35_10356.jpg
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_44_9418.jpg
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_40_55_10402.jpg
/home/pi/Desktop/images/10042025/16/40/image_10042025_16_41_05_10355.jpg
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_15_9336.jpg
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351270468","1351270507","1351270423","1351270566","1351270353","1351270285"],"photo_ids_order":["1351270285","1351270353","1351270423","1351270468","1351270507","1351270566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/250012bfc2c5416ad7ad23e118fd1f31.jpg","text":"TemporaryFile(/tmp/multipartBody9160200023571978760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_41_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10bd09307104da99953a3346553fb63f.jpg","text":"TemporaryFile(/tmp/multipartBody4606118307484025505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_41_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ad9ac7b93822e5f72d10765d1157b24.jpg","text":"TemporaryFile(/tmp/multipartBody1227837371802810627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_40_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e86d66c0539a215af70238973ffee35.jpg","text":"TemporaryFile(/tmp/multipartBody5634669007065039645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_41_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f9d51c3de92e50c1ac45bef5a510ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5123876538674032159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_40_44_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14f89f5a9d56691acd6f87bf12839d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2226658688845826623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744304973093,"filename":"image_10042025_16_40_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351270423","file1":"1351270353","file0":"1351270285","file4":"1351270507","file5":"1351270566","file3":"1351270468"},"map_files_photo_id_array":[{"photo_id":"1351270566","filename":"file5"},{"photo_id":"1351270423","filename":"file2"},{"photo_id":"1351270507","filename":"file4"},{"photo_id":"1351270353","filename":"file1"},{"photo_id":"1351270285","filename":"file0"},{"photo_id":"1351270468","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351270468":["hashtag1","hashtag2"]},{"1351270507":["hashtag1","hashtag2"]},{"1351270423":["hashtag1","hashtag2"]},{"1351270566":["hashtag1","hashtag2"]},{"1351270353":["hashtag1","hashtag2"]},{"1351270285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351270468, 1351270507, 1351270423, 1351270566, 1351270353, 1351270285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25445795059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:09:32.826734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_35_10349.jpg', '/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_45_9368.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_25_10413.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_35_9398.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_54_9369.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_43_05_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_35_10349.jpg
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_45_9368.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_25_10413.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_35_9398.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_54_9369.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_43_05_10341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37526488304138184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 19:09:42.815266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_35_10349.jpg', '/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_45_9368.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_25_10413.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_35_9398.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_54_9369.jpg', '/home/pi/Desktop/images/10042025/16/42/image_10042025_16_43_05_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_35_10349.jpg
/home/pi/Desktop/images/10042025/16/41/image_10042025_16_41_45_9368.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_25_10413.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_35_9398.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_42_54_9369.jpg
/home/pi/Desktop/images/10042025/16/42/image_10042025_16_43_05_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351271394","1351271232","1351271214","1351271288","1351271426","1351271344"],"photo_ids_order":["1351271214","1351271232","1351271288","1351271344","1351271394","1351271426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89f0e1b447321f722d116750240ef828.jpg","text":"TemporaryFile(/tmp/multipartBody466003909584263393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_42_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10ef7dc7fbae599ef0387164be2551ac.jpg","text":"TemporaryFile(/tmp/multipartBody6457684428729153214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_41_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1ab0d0f9a33bc68be3ed2f27ed3875c.jpg","text":"TemporaryFile(/tmp/multipartBody5021883743109062200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_41_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7633be44660d136339a0796e1d68c23f.jpg","text":"TemporaryFile(/tmp/multipartBody6081496647339172450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_42_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84f3aea0030daba8a91e8a5cc154497b.jpg","text":"TemporaryFile(/tmp/multipartBody841468708788658548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_43_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28e4c3aaaa167fd7da53ed61b59274f5.jpg","text":"TemporaryFile(/tmp/multipartBody1344490052485043685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305043279,"filename":"image_10042025_16_42_35_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351271288","file1":"1351271232","file0":"1351271214","file4":"1351271394","file5":"1351271426","file3":"1351271344"},"map_files_photo_id_array":[{"photo_id":"1351271426","filename":"file5"},{"photo_id":"1351271288","filename":"file2"},{"photo_id":"1351271394","filename":"file4"},{"photo_id":"1351271232","filename":"file1"},{"photo_id":"1351271214","filename":"file0"},{"photo_id":"1351271344","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351271394":["hashtag1","hashtag2"]},{"1351271232":["hashtag1","hashtag2"]},{"1351271214":["hashtag1","hashtag2"]},{"1351271288":["hashtag1","hashtag2"]},{"1351271426":["hashtag1","hashtag2"]},{"1351271344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351271394, 1351271232, 1351271214, 1351271288, 1351271426, 1351271344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.46408486366272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:10:32.998175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_15_10321.jpg', '/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_24_9362.jpg', '/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_35_10376.jpg', '/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_45_10347.jpg', '/home/pi/Desktop/images/10042025/16/43/image_10042025_16_44_05_10353.jpg', '/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_15_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_15_10321.jpg
/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_24_9362.jpg
/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_35_10376.jpg
/home/pi/Desktop/images/10042025/16/43/image_10042025_16_43_45_10347.jpg
/home/pi/Desktop/images/10042025/16/43/image_10042025_16_44_05_10353.jpg
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_15_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351271730","1351271631","1351271703","1351271599","1351271671","1351271740"],"photo_ids_order":["1351271599","1351271631","1351271671","1351271703","1351271730","1351271740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98a30b992bc6808190648f6377e1139d.jpg","text":"TemporaryFile(/tmp/multipartBody5939048193352471167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_44_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f643337ab36b76f900cb8f3b23c1c56c.jpg","text":"TemporaryFile(/tmp/multipartBody6004435063942177321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_43_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3fd5e160dc539508d8237066e614cb6c.jpg","text":"TemporaryFile(/tmp/multipartBody8415426354812128785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_43_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aae437c2d821393dae44c9e08d5d8106.jpg","text":"TemporaryFile(/tmp/multipartBody6342861989909581412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_43_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3fb0813ac958a40eb1716888a768b55.jpg","text":"TemporaryFile(/tmp/multipartBody1844283261155716021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_43_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/40518dd144f1ff2f68ce7e7f73104acf.jpg","text":"TemporaryFile(/tmp/multipartBody7860860074708417429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305093461,"filename":"image_10042025_16_44_15_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351271671","file1":"1351271631","file0":"1351271599","file4":"1351271730","file5":"1351271740","file3":"1351271703"},"map_files_photo_id_array":[{"photo_id":"1351271740","filename":"file5"},{"photo_id":"1351271671","filename":"file2"},{"photo_id":"1351271730","filename":"file4"},{"photo_id":"1351271631","filename":"file1"},{"photo_id":"1351271599","filename":"file0"},{"photo_id":"1351271703","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351271730":["hashtag1","hashtag2"]},{"1351271631":["hashtag1","hashtag2"]},{"1351271703":["hashtag1","hashtag2"]},{"1351271599":["hashtag1","hashtag2"]},{"1351271671":["hashtag1","hashtag2"]},{"1351271740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351271730, 1351271631, 1351271703, 1351271599, 1351271671, 1351271740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.522727251052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:11:33.157582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_25_9386.jpg', '/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_35_10354.jpg', '/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_45_10359.jpg', '/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_55_9359.jpg', '/home/pi/Desktop/images/10042025/16/44/image_10042025_16_45_05_10459.jpg', '/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_14_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_25_9386.jpg
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_35_10354.jpg
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_45_10359.jpg
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_44_55_9359.jpg
/home/pi/Desktop/images/10042025/16/44/image_10042025_16_45_05_10459.jpg
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_14_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351271784","1351271808","1351271792","1351271855","1351271890","1351271788"],"photo_ids_order":["1351271784","1351271788","1351271792","1351271808","1351271855","1351271890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2193d61a80cf27e8fc73a2d9cbdba1a1.jpg","text":"TemporaryFile(/tmp/multipartBody91399077044529600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_44_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d58f1a593e1416691a6260a91544033.jpg","text":"TemporaryFile(/tmp/multipartBody2961277805537557330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_44_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/765fb2a243a0f5004c9dfb8d92bd0e62.jpg","text":"TemporaryFile(/tmp/multipartBody2449114385753968009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_44_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ee9e9e73a215e88cb121cd2f6a7291a.jpg","text":"TemporaryFile(/tmp/multipartBody8152354135574030863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_45_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bd55252b9a8298b89a5863e1bc6b56d.jpg","text":"TemporaryFile(/tmp/multipartBody8209711568679463243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_45_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff74ce749ffa0e0b7dfbc80493a1832d.jpg","text":"TemporaryFile(/tmp/multipartBody5240304552455953766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305153653,"filename":"image_10042025_16_44_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351271792","file1":"1351271788","file0":"1351271784","file4":"1351271855","file5":"1351271890","file3":"1351271808"},"map_files_photo_id_array":[{"photo_id":"1351271890","filename":"file5"},{"photo_id":"1351271792","filename":"file2"},{"photo_id":"1351271855","filename":"file4"},{"photo_id":"1351271788","filename":"file1"},{"photo_id":"1351271784","filename":"file0"},{"photo_id":"1351271808","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351271784":["hashtag1","hashtag2"]},{"1351271808":["hashtag1","hashtag2"]},{"1351271792":["hashtag1","hashtag2"]},{"1351271855":["hashtag1","hashtag2"]},{"1351271890":["hashtag1","hashtag2"]},{"1351271788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351271784, 1351271808, 1351271792, 1351271855, 1351271890, 1351271788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.257239818573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:12:32.442120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_25_10354.jpg', '/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_34_9426.jpg', '/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_45_10365.jpg', '/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_55_10367.jpg', '/home/pi/Desktop/images/10042025/16/45/image_10042025_16_46_04_9352.jpg', '/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_15_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_25_10354.jpg
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_34_9426.jpg
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_45_10365.jpg
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_45_55_10367.jpg
/home/pi/Desktop/images/10042025/16/45/image_10042025_16_46_04_9352.jpg
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_15_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351272111","1351272213","1351272107","1351272250","1351272183","1351272115"],"photo_ids_order":["1351272107","1351272111","1351272115","1351272183","1351272213","1351272250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96f75af30e4a9e34bf416455cd204fde.jpg","text":"TemporaryFile(/tmp/multipartBody5325076729491320388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_45_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98530d1111a93cfc9c1e34d6280859b5.jpg","text":"TemporaryFile(/tmp/multipartBody5914731383724506326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_46_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/865e41559eeae8356a11a9c8b4384af2.jpg","text":"TemporaryFile(/tmp/multipartBody8708691594249797739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_45_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2bbcee7cfff55878c0079257bce78eea.jpg","text":"TemporaryFile(/tmp/multipartBody7813765357777452547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_46_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/929d40ddec7e11e2668a0f37371a09d8.jpg","text":"TemporaryFile(/tmp/multipartBody5432740963402489467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_45_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05132d44aa9302bfcfc265b9ad429c10.jpg","text":"TemporaryFile(/tmp/multipartBody1537934378376903452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305212909,"filename":"image_10042025_16_45_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351272115","file1":"1351272111","file0":"1351272107","file4":"1351272213","file5":"1351272250","file3":"1351272183"},"map_files_photo_id_array":[{"photo_id":"1351272250","filename":"file5"},{"photo_id":"1351272115","filename":"file2"},{"photo_id":"1351272213","filename":"file4"},{"photo_id":"1351272111","filename":"file1"},{"photo_id":"1351272107","filename":"file0"},{"photo_id":"1351272183","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351272111":["hashtag1","hashtag2"]},{"1351272213":["hashtag1","hashtag2"]},{"1351272107":["hashtag1","hashtag2"]},{"1351272250":["hashtag1","hashtag2"]},{"1351272183":["hashtag1","hashtag2"]},{"1351272115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351272111, 1351272213, 1351272107, 1351272250, 1351272183, 1351272115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.32269096374512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:13:32.630363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_25_10364.jpg', '/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_35_9544.jpg', '/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_45_10383.jpg', '/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_54_9433.jpg', '/home/pi/Desktop/images/10042025/16/46/image_10042025_16_47_05_10412.jpg', '/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_25_10364.jpg
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_35_9544.jpg
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_45_10383.jpg
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_46_54_9433.jpg
/home/pi/Desktop/images/10042025/16/46/image_10042025_16_47_05_10412.jpg
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351272519","1351272633","1351272540","1351272755","1351272583","1351272685"],"photo_ids_order":["1351272519","1351272540","1351272583","1351272633","1351272685","1351272755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df48cb85013080a1679e8ecf774549d7.jpg","text":"TemporaryFile(/tmp/multipartBody1607184905958217605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_46_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c2c27f2814ef158f3fc9d266fed22fe.jpg","text":"TemporaryFile(/tmp/multipartBody2087728938099715733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_46_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27155da9c8760d5555895c6e3f2b9327.jpg","text":"TemporaryFile(/tmp/multipartBody5735553899291170542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_46_35_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2617ba56ece882a753eb2671d627640f.jpg","text":"TemporaryFile(/tmp/multipartBody4033113910413169166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_47_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ec1fcbe002e0f3b9fb1843b8a376139.jpg","text":"TemporaryFile(/tmp/multipartBody3865512779852266490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_46_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11af1816029402354b40ec7632ad4bed.jpg","text":"TemporaryFile(/tmp/multipartBody440031215540872975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305273092,"filename":"image_10042025_16_47_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351272583","file1":"1351272540","file0":"1351272519","file4":"1351272685","file5":"1351272755","file3":"1351272633"},"map_files_photo_id_array":[{"photo_id":"1351272755","filename":"file5"},{"photo_id":"1351272583","filename":"file2"},{"photo_id":"1351272685","filename":"file4"},{"photo_id":"1351272540","filename":"file1"},{"photo_id":"1351272519","filename":"file0"},{"photo_id":"1351272633","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351272519":["hashtag1","hashtag2"]},{"1351272633":["hashtag1","hashtag2"]},{"1351272540":["hashtag1","hashtag2"]},{"1351272755":["hashtag1","hashtag2"]},{"1351272583":["hashtag1","hashtag2"]},{"1351272685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351272519, 1351272633, 1351272540, 1351272755, 1351272583, 1351272685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13149809837341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:14:32.825218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_25_9392.jpg', '/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_35_10341.jpg', '/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_44_9363.jpg', '/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_55_10353.jpg', '/home/pi/Desktop/images/10042025/16/47/image_10042025_16_48_05_10390.jpg', '/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_15_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_25_9392.jpg
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_35_10341.jpg
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_44_9363.jpg
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_47_55_10353.jpg
/home/pi/Desktop/images/10042025/16/47/image_10042025_16_48_05_10390.jpg
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_15_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351273244","1351273375","1351273177","1351273303","1351273458","1351273353"],"photo_ids_order":["1351273177","1351273244","1351273303","1351273353","1351273375","1351273458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3437f6ecd1f3003d780e5c03ba0e9f04.jpg","text":"TemporaryFile(/tmp/multipartBody4094314314027482717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_47_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9392c39a6ae351a79f47d602c87d2aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5212229806280853194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_48_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30c1b27b7059e67653997867f621be88.jpg","text":"TemporaryFile(/tmp/multipartBody5331057543769635459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_47_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ede8bf1070d8e99f699ed0318de85503.jpg","text":"TemporaryFile(/tmp/multipartBody5861416548188070478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_47_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e3eab06caea2b35c7f99532f7d2ab75.jpg","text":"TemporaryFile(/tmp/multipartBody5807265816553504634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_48_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb737101e9c2aaaf6229ef91c33b176c.jpg","text":"TemporaryFile(/tmp/multipartBody6563681600444086650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305333321,"filename":"image_10042025_16_47_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351273303","file1":"1351273244","file0":"1351273177","file4":"1351273375","file5":"1351273458","file3":"1351273353"},"map_files_photo_id_array":[{"photo_id":"1351273458","filename":"file5"},{"photo_id":"1351273303","filename":"file2"},{"photo_id":"1351273375","filename":"file4"},{"photo_id":"1351273244","filename":"file1"},{"photo_id":"1351273177","filename":"file0"},{"photo_id":"1351273353","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351273244":["hashtag1","hashtag2"]},{"1351273375":["hashtag1","hashtag2"]},{"1351273177":["hashtag1","hashtag2"]},{"1351273303":["hashtag1","hashtag2"]},{"1351273458":["hashtag1","hashtag2"]},{"1351273353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351273244, 1351273375, 1351273177, 1351273303, 1351273458, 1351273353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22825741767883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:15:32.992788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_25_10347.jpg', '/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_35_10390.jpg', '/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_45_9398.jpg', '/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_55_10372.jpg', '/home/pi/Desktop/images/10042025/16/48/image_10042025_16_49_04_9336.jpg', '/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_15_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_25_10347.jpg
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_35_10390.jpg
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_45_9398.jpg
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_48_55_10372.jpg
/home/pi/Desktop/images/10042025/16/48/image_10042025_16_49_04_9336.jpg
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_15_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351273781","1351273652","1351273721","1351273693","1351273741","1351273764"],"photo_ids_order":["1351273652","1351273693","1351273721","1351273741","1351273764","1351273781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31e57b6b2e3534e9c692d081a1ef519e.jpg","text":"TemporaryFile(/tmp/multipartBody6900867564017432691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_49_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/758b2524a06368ebeb68db1825eaf424.jpg","text":"TemporaryFile(/tmp/multipartBody6230693372580222108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_48_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f54e0d3fe9ee4a0a18d7c56de0e48db.jpg","text":"TemporaryFile(/tmp/multipartBody1216976746567929219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_48_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee50c184b2b87415357cf4d23d256c08.jpg","text":"TemporaryFile(/tmp/multipartBody5497768571788012304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_48_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/378bf4b3221513705edd6b2ba7623535.jpg","text":"TemporaryFile(/tmp/multipartBody2817196645993374941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_48_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/682019e982429d9fd6a7d9947dee23a0.jpg","text":"TemporaryFile(/tmp/multipartBody2520971455121282174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305393477,"filename":"image_10042025_16_49_04_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351273721","file1":"1351273693","file0":"1351273652","file4":"1351273764","file5":"1351273781","file3":"1351273741"},"map_files_photo_id_array":[{"photo_id":"1351273781","filename":"file5"},{"photo_id":"1351273721","filename":"file2"},{"photo_id":"1351273764","filename":"file4"},{"photo_id":"1351273693","filename":"file1"},{"photo_id":"1351273652","filename":"file0"},{"photo_id":"1351273741","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351273781":["hashtag1","hashtag2"]},{"1351273652":["hashtag1","hashtag2"]},{"1351273721":["hashtag1","hashtag2"]},{"1351273693":["hashtag1","hashtag2"]},{"1351273741":["hashtag1","hashtag2"]},{"1351273764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351273781, 1351273652, 1351273721, 1351273693, 1351273741, 1351273764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.672544240951538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:16:32.205131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_25_10423.jpg', '/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_35_9435.jpg', '/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_45_10366.jpg', '/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_54_9341.jpg', '/home/pi/Desktop/images/10042025/16/49/image_10042025_16_50_05_10417.jpg', '/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_15_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_25_10423.jpg
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_35_9435.jpg
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_45_10366.jpg
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_49_54_9341.jpg
/home/pi/Desktop/images/10042025/16/49/image_10042025_16_50_05_10417.jpg
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_15_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351273883","1351273972","1351273909","1351273863","1351274001","1351273997"],"photo_ids_order":["1351273863","1351273883","1351273909","1351273972","1351273997","1351274001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d449e78403f0ff4fdfab37617d53ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody2874639815634633159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_49_35_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b1e878c846f7a7516c3f643a90d1ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5564550226900531885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_49_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf2e49ed1a22138dbad101a160f0b4a4.jpg","text":"TemporaryFile(/tmp/multipartBody3086408131844865943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_49_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6363ff160cc1c0996bce57148d73c44a.jpg","text":"TemporaryFile(/tmp/multipartBody4087450636753708512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_49_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b521aceaa39d883130987352c9f82388.jpg","text":"TemporaryFile(/tmp/multipartBody5393643646165867481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_50_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcea29c3eafd2911ddcd2304c1c9bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody2220105497660159641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305452672,"filename":"image_10042025_16_50_05_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351273909","file1":"1351273883","file0":"1351273863","file4":"1351273997","file5":"1351274001","file3":"1351273972"},"map_files_photo_id_array":[{"photo_id":"1351274001","filename":"file5"},{"photo_id":"1351273909","filename":"file2"},{"photo_id":"1351273997","filename":"file4"},{"photo_id":"1351273883","filename":"file1"},{"photo_id":"1351273863","filename":"file0"},{"photo_id":"1351273972","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351273883":["hashtag1","hashtag2"]},{"1351273972":["hashtag1","hashtag2"]},{"1351273909":["hashtag1","hashtag2"]},{"1351273863":["hashtag1","hashtag2"]},{"1351274001":["hashtag1","hashtag2"]},{"1351273997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351273883, 1351273972, 1351273909, 1351273863, 1351274001, 1351273997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96337842941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:17:32.378769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_25_9439.jpg', '/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_35_10416.jpg', '/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_44_9335.jpg', '/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_55_10441.jpg', '/home/pi/Desktop/images/10042025/16/50/image_10042025_16_51_05_10352.jpg', '/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_15_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_25_9439.jpg
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_35_10416.jpg
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_44_9335.jpg
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_50_55_10441.jpg
/home/pi/Desktop/images/10042025/16/50/image_10042025_16_51_05_10352.jpg
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_15_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351274114","1351274144","1351274138","1351274119","1351274142","1351274132"],"photo_ids_order":["1351274114","1351274119","1351274132","1351274138","1351274142","1351274144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee0c9ab443336a40842e4975894205a3.jpg","text":"TemporaryFile(/tmp/multipartBody6778799495910824386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_50_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c84373c644bbab58f15977731597aea.jpg","text":"TemporaryFile(/tmp/multipartBody6485619871596596222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_51_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25c20495127d2f351cb013930d9eddbb.jpg","text":"TemporaryFile(/tmp/multipartBody5884247709735931753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_50_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db50b24f03aeeebb9dcb7f6bbce58ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5252291180726077434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_50_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7fc2a468cb7d4e3eebf2458af4c37ba.jpg","text":"TemporaryFile(/tmp/multipartBody1097027340798384345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_51_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42745aa488f2a82daec0faaf49adad1f.jpg","text":"TemporaryFile(/tmp/multipartBody897168166098305623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305512850,"filename":"image_10042025_16_50_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351274132","file1":"1351274119","file0":"1351274114","file4":"1351274142","file5":"1351274144","file3":"1351274138"},"map_files_photo_id_array":[{"photo_id":"1351274144","filename":"file5"},{"photo_id":"1351274132","filename":"file2"},{"photo_id":"1351274142","filename":"file4"},{"photo_id":"1351274119","filename":"file1"},{"photo_id":"1351274114","filename":"file0"},{"photo_id":"1351274138","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351274114":["hashtag1","hashtag2"]},{"1351274144":["hashtag1","hashtag2"]},{"1351274138":["hashtag1","hashtag2"]},{"1351274119":["hashtag1","hashtag2"]},{"1351274142":["hashtag1","hashtag2"]},{"1351274132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351274114, 1351274144, 1351274138, 1351274119, 1351274142, 1351274132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96599745750427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:18:32.582964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_25_10349.jpg', '/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_34_9350.jpg', '/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_45_10444.jpg', '/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_55_10413.jpg', '/home/pi/Desktop/images/10042025/16/51/image_10042025_16_52_05_9407.jpg', '/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_25_10349.jpg
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_34_9350.jpg
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_45_10444.jpg
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_51_55_10413.jpg
/home/pi/Desktop/images/10042025/16/51/image_10042025_16_52_05_9407.jpg
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351274228","1351274237","1351274222","1351274245","1351274199","1351274232"],"photo_ids_order":["1351274199","1351274222","1351274228","1351274232","1351274237","1351274245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33deed726faa38132387ba0af1b2c536.jpg","text":"TemporaryFile(/tmp/multipartBody8099307369911442361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_51_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e48b40e6d794ba0f5771eb6cdbe7e643.jpg","text":"TemporaryFile(/tmp/multipartBody423252064286845987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_52_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baa95e87348ce1a2360e8f1580b0f6bb.jpg","text":"TemporaryFile(/tmp/multipartBody7326241658644438954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_51_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dded4b6caa111a40f99882c5f4ea108.jpg","text":"TemporaryFile(/tmp/multipartBody54683170926087417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_52_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59bf1bb2cd05b2388458ae27c8bbe2e8.jpg","text":"TemporaryFile(/tmp/multipartBody5376710674677804891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_51_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1049ac6de5be5e23123c121de13a4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8829347991005379497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305573055,"filename":"image_10042025_16_51_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351274228","file1":"1351274222","file0":"1351274199","file4":"1351274237","file5":"1351274245","file3":"1351274232"},"map_files_photo_id_array":[{"photo_id":"1351274245","filename":"file5"},{"photo_id":"1351274228","filename":"file2"},{"photo_id":"1351274237","filename":"file4"},{"photo_id":"1351274222","filename":"file1"},{"photo_id":"1351274199","filename":"file0"},{"photo_id":"1351274232","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351274228":["hashtag1","hashtag2"]},{"1351274237":["hashtag1","hashtag2"]},{"1351274222":["hashtag1","hashtag2"]},{"1351274245":["hashtag1","hashtag2"]},{"1351274199":["hashtag1","hashtag2"]},{"1351274232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351274228, 1351274237, 1351274222, 1351274245, 1351274199, 1351274232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8715603351593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:19:32.870677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_24_9417.jpg', '/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_35_10444.jpg', '/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_45_10379.jpg', '/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_55_9413.jpg', '/home/pi/Desktop/images/10042025/16/52/image_10042025_16_53_05_10355.jpg', '/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_14_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_24_9417.jpg
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_35_10444.jpg
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_45_10379.jpg
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_52_55_9413.jpg
/home/pi/Desktop/images/10042025/16/52/image_10042025_16_53_05_10355.jpg
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_14_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351274296","1351274377","1351274521","1351274437","1351274283","1351274288"],"photo_ids_order":["1351274283","1351274288","1351274296","1351274377","1351274437","1351274521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83fbf5ab0a8b1d6bc0811a3d0c8c7741.jpg","text":"TemporaryFile(/tmp/multipartBody2109857644449054095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_52_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8725a6ec5fedfddcad03d25d0c54dfd6.jpg","text":"TemporaryFile(/tmp/multipartBody7203048512689125512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_52_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c99b5e71e56cc0f6bab47093da19c305.jpg","text":"TemporaryFile(/tmp/multipartBody2715432292164992432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_53_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18f949b6539d93d1c5890a48624aee57.jpg","text":"TemporaryFile(/tmp/multipartBody6243659536086799598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_53_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adecf600b2f0ffdf505745828bfdfba5.jpg","text":"TemporaryFile(/tmp/multipartBody8192356630470064476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_52_24_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98b835d39b682dcfdbff10b6536f5270.jpg","text":"TemporaryFile(/tmp/multipartBody8406711741973107833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305633337,"filename":"image_10042025_16_52_35_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351274296","file1":"1351274288","file0":"1351274283","file4":"1351274437","file5":"1351274521","file3":"1351274377"},"map_files_photo_id_array":[{"photo_id":"1351274521","filename":"file5"},{"photo_id":"1351274296","filename":"file2"},{"photo_id":"1351274437","filename":"file4"},{"photo_id":"1351274288","filename":"file1"},{"photo_id":"1351274283","filename":"file0"},{"photo_id":"1351274377","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351274296":["hashtag1","hashtag2"]},{"1351274377":["hashtag1","hashtag2"]},{"1351274521":["hashtag1","hashtag2"]},{"1351274437":["hashtag1","hashtag2"]},{"1351274283":["hashtag1","hashtag2"]},{"1351274288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351274296, 1351274377, 1351274521, 1351274437, 1351274283, 1351274288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88055062294006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:20:33.071689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_25_10338.jpg', '/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_35_10371.jpg', '/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_44_9420.jpg', '/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_55_10379.jpg', '/home/pi/Desktop/images/10042025/16/53/image_10042025_16_54_05_10439.jpg', '/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_15_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_25_10338.jpg
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_35_10371.jpg
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_44_9420.jpg
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_53_55_10379.jpg
/home/pi/Desktop/images/10042025/16/53/image_10042025_16_54_05_10439.jpg
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_15_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351274915","1351274833","1351274865","1351274850","1351274891","1351274960"],"photo_ids_order":["1351274833","1351274850","1351274865","1351274891","1351274915","1351274960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3bc683e7b29e3a2836747f853eb5cd43.jpg","text":"TemporaryFile(/tmp/multipartBody3957301352494543469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_54_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f004a994de6aa82675bec34806b5df4.jpg","text":"TemporaryFile(/tmp/multipartBody5430464529490429209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_53_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1e9e557542b3b9d2efe813125d6a18e.jpg","text":"TemporaryFile(/tmp/multipartBody7464882898058764267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_53_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f32f600f7a337a603d3e1968bb775d0.jpg","text":"TemporaryFile(/tmp/multipartBody4885505053570973058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_53_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e8009c593d0f689a733d0d0eeba6025.jpg","text":"TemporaryFile(/tmp/multipartBody4963920072805727880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_53_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2888bcac1abb78e990eaf8edd8355bd.jpg","text":"TemporaryFile(/tmp/multipartBody4676859006286368848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305693623,"filename":"image_10042025_16_54_15_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351274865","file1":"1351274850","file0":"1351274833","file4":"1351274915","file5":"1351274960","file3":"1351274891"},"map_files_photo_id_array":[{"photo_id":"1351274960","filename":"file5"},{"photo_id":"1351274865","filename":"file2"},{"photo_id":"1351274915","filename":"file4"},{"photo_id":"1351274850","filename":"file1"},{"photo_id":"1351274833","filename":"file0"},{"photo_id":"1351274891","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351274915":["hashtag1","hashtag2"]},{"1351274833":["hashtag1","hashtag2"]},{"1351274865":["hashtag1","hashtag2"]},{"1351274850":["hashtag1","hashtag2"]},{"1351274891":["hashtag1","hashtag2"]},{"1351274960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351274915, 1351274833, 1351274865, 1351274850, 1351274891, 1351274960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46454215049744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:21:32.289834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_25_10346.jpg', '/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_34_9343.jpg', '/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_45_10370.jpg', '/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_55_10364.jpg', '/home/pi/Desktop/images/10042025/16/54/image_10042025_16_55_05_9462.jpg', '/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_25_10346.jpg
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_34_9343.jpg
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_45_10370.jpg
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_54_55_10364.jpg
/home/pi/Desktop/images/10042025/16/54/image_10042025_16_55_05_9462.jpg
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_15_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275265","1351275256","1351275235","1351275261","1351275251","1351275212"],"photo_ids_order":["1351275212","1351275235","1351275251","1351275256","1351275261","1351275265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/acdb702816034799c7a77406a2c72deb.jpg","text":"TemporaryFile(/tmp/multipartBody4642271090103712455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_55_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78f30cdacec70a984ebbd9cec97c148c.jpg","text":"TemporaryFile(/tmp/multipartBody8305285024491580116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_54_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bfe33f613d4cb1ec54865e774a60b91.jpg","text":"TemporaryFile(/tmp/multipartBody7333123464908790671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_54_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d281cc349ae3e3893f64ca56938f9648.jpg","text":"TemporaryFile(/tmp/multipartBody6786541463521088414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_55_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fdc8cd743317d5b017f0b564ad368a9.jpg","text":"TemporaryFile(/tmp/multipartBody4024555805606177930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_54_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7954f4b9ce4f736cc03dd13364ad6864.jpg","text":"TemporaryFile(/tmp/multipartBody7196660469266898970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305752781,"filename":"image_10042025_16_54_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275251","file1":"1351275235","file0":"1351275212","file4":"1351275261","file5":"1351275265","file3":"1351275256"},"map_files_photo_id_array":[{"photo_id":"1351275265","filename":"file5"},{"photo_id":"1351275251","filename":"file2"},{"photo_id":"1351275261","filename":"file4"},{"photo_id":"1351275235","filename":"file1"},{"photo_id":"1351275212","filename":"file0"},{"photo_id":"1351275256","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275265":["hashtag1","hashtag2"]},{"1351275256":["hashtag1","hashtag2"]},{"1351275235":["hashtag1","hashtag2"]},{"1351275261":["hashtag1","hashtag2"]},{"1351275251":["hashtag1","hashtag2"]},{"1351275212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275265, 1351275256, 1351275235, 1351275261, 1351275251, 1351275212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42737054824829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:22:32.475710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_25_10377.jpg', '/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_35_9411.jpg', '/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_45_10336.jpg', '/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_54_9358.jpg', '/home/pi/Desktop/images/10042025/16/55/image_10042025_16_56_05_10351.jpg', '/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_25_10377.jpg
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_35_9411.jpg
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_45_10336.jpg
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_55_54_9358.jpg
/home/pi/Desktop/images/10042025/16/55/image_10042025_16_56_05_10351.jpg
/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275409","1351275393","1351275387","1351275414","1351275377","1351275431"],"photo_ids_order":["1351275377","1351275387","1351275393","1351275409","1351275414","1351275431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7786029bb663fc66934ebb42b9bfd7c2.jpg","text":"TemporaryFile(/tmp/multipartBody7676659474245576269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_55_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d579aa02520bb2698f7de9b1e14c324d.jpg","text":"TemporaryFile(/tmp/multipartBody8905376836852693434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_55_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc8f3e32ae60560b07bcfe3534f202ac.jpg","text":"TemporaryFile(/tmp/multipartBody164563964002508121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_55_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e28fac10c7d8f1937c06e97a7d90e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8630331861367046452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_56_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/37a9b8c4b3a8f0c887320eb9cda07765.jpg","text":"TemporaryFile(/tmp/multipartBody8451067011598023615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_55_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fafe93f4663612ba7079d3a0d4087dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1463480473548215137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305812949,"filename":"image_10042025_16_56_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275393","file1":"1351275387","file0":"1351275377","file4":"1351275414","file5":"1351275431","file3":"1351275409"},"map_files_photo_id_array":[{"photo_id":"1351275431","filename":"file5"},{"photo_id":"1351275393","filename":"file2"},{"photo_id":"1351275414","filename":"file4"},{"photo_id":"1351275387","filename":"file1"},{"photo_id":"1351275377","filename":"file0"},{"photo_id":"1351275409","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275409":["hashtag1","hashtag2"]},{"1351275393":["hashtag1","hashtag2"]},{"1351275387":["hashtag1","hashtag2"]},{"1351275414":["hashtag1","hashtag2"]},{"1351275377":["hashtag1","hashtag2"]},{"1351275431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275409, 1351275393, 1351275387, 1351275414, 1351275377, 1351275431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.012755393981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:23:32.653886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_45_10347.jpg', '/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_55_9424.jpg', '/home/pi/Desktop/images/10042025/16/56/image_10042025_16_57_05_10360.jpg', '/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_14_9344.jpg', '/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_25_10506.jpg', '/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_45_10347.jpg
/home/pi/Desktop/images/10042025/16/56/image_10042025_16_56_55_9424.jpg
/home/pi/Desktop/images/10042025/16/56/image_10042025_16_57_05_10360.jpg
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_14_9344.jpg
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_25_10506.jpg
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_35_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275529","1351275523","1351275519","1351275510","1351275536","1351275515"],"photo_ids_order":["1351275510","1351275515","1351275519","1351275523","1351275529","1351275536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea9a78cc13ccfdc271a4b1550905a52f.jpg","text":"TemporaryFile(/tmp/multipartBody2165527539786320433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_57_25_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9318bc8e60da3556404ba302d5b5369.jpg","text":"TemporaryFile(/tmp/multipartBody1766996292299602857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_57_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4295720a1a8b09267ecc40403e0608f7.jpg","text":"TemporaryFile(/tmp/multipartBody1633235953367920056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_57_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58672e9375e9389dfc77a2c4448306da.jpg","text":"TemporaryFile(/tmp/multipartBody8166315358658627119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_56_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a276db3f3ff19eac5371264f48bd76ab.jpg","text":"TemporaryFile(/tmp/multipartBody5655401678842916547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_57_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/825dec92fab4ae28ce1bc65a42c1b778.jpg","text":"TemporaryFile(/tmp/multipartBody6343414864892240301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305873124,"filename":"image_10042025_16_56_55_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275519","file1":"1351275515","file0":"1351275510","file4":"1351275529","file5":"1351275536","file3":"1351275523"},"map_files_photo_id_array":[{"photo_id":"1351275536","filename":"file5"},{"photo_id":"1351275519","filename":"file2"},{"photo_id":"1351275529","filename":"file4"},{"photo_id":"1351275515","filename":"file1"},{"photo_id":"1351275510","filename":"file0"},{"photo_id":"1351275523","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275529":["hashtag1","hashtag2"]},{"1351275523":["hashtag1","hashtag2"]},{"1351275519":["hashtag1","hashtag2"]},{"1351275510":["hashtag1","hashtag2"]},{"1351275536":["hashtag1","hashtag2"]},{"1351275515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275529, 1351275523, 1351275519, 1351275510, 1351275536, 1351275515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3718318939209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:24:32.823895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_45_9388.jpg', '/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_55_10370.jpg', '/home/pi/Desktop/images/10042025/16/57/image_10042025_16_58_04_9359.jpg', '/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_15_10359.jpg', '/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_25_10367.jpg', '/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_34_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_45_9388.jpg
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_57_55_10370.jpg
/home/pi/Desktop/images/10042025/16/57/image_10042025_16_58_04_9359.jpg
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_15_10359.jpg
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_25_10367.jpg
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_34_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275608","1351275649","1351275618","1351275653","1351275632","1351275644"],"photo_ids_order":["1351275608","1351275618","1351275632","1351275644","1351275649","1351275653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e0543c3025cff1be15a8960825421c84.jpg","text":"TemporaryFile(/tmp/multipartBody7306783898084089793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_57_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4692f64324935076996b6c617f82947.jpg","text":"TemporaryFile(/tmp/multipartBody2994462461039722679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_58_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af30c52b0ac480a946281106470a79de.jpg","text":"TemporaryFile(/tmp/multipartBody8888731619723487275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_57_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22e02e4506d4e856025c550398aab62c.jpg","text":"TemporaryFile(/tmp/multipartBody4449372604652655996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_58_34_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d1436522e211d4d1bf4351460298840.jpg","text":"TemporaryFile(/tmp/multipartBody3459325610247207915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_58_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bed4f22453b8faef5fc85cd2b8ce50cb.jpg","text":"TemporaryFile(/tmp/multipartBody6502474108206907557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305933296,"filename":"image_10042025_16_58_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275632","file1":"1351275618","file0":"1351275608","file4":"1351275649","file5":"1351275653","file3":"1351275644"},"map_files_photo_id_array":[{"photo_id":"1351275653","filename":"file5"},{"photo_id":"1351275632","filename":"file2"},{"photo_id":"1351275649","filename":"file4"},{"photo_id":"1351275618","filename":"file1"},{"photo_id":"1351275608","filename":"file0"},{"photo_id":"1351275644","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275608":["hashtag1","hashtag2"]},{"1351275649":["hashtag1","hashtag2"]},{"1351275618":["hashtag1","hashtag2"]},{"1351275653":["hashtag1","hashtag2"]},{"1351275632":["hashtag1","hashtag2"]},{"1351275644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275608, 1351275649, 1351275618, 1351275653, 1351275632, 1351275644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.532620668411255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:25:32.998135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_45_10350.jpg', '/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_55_10426.jpg', '/home/pi/Desktop/images/10042025/16/58/image_10042025_16_59_05_9354.jpg', '/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_15_10335.jpg', '/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_25_9969.jpg', '/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_45_10350.jpg
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_58_55_10426.jpg
/home/pi/Desktop/images/10042025/16/58/image_10042025_16_59_05_9354.jpg
/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_15_10335.jpg
/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_25_9969.jpg
/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275679","1351275664","1351275667","1351275687","1351275683","1351275673"],"photo_ids_order":["1351275664","1351275667","1351275673","1351275679","1351275683","1351275687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aaab91e9edc3e2d67288bcf7f8c2284c.jpg","text":"TemporaryFile(/tmp/multipartBody4860676488055193842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_59_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ffb698b63f08d66e7f2703e48d03dcd.jpg","text":"TemporaryFile(/tmp/multipartBody809564639942601455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_58_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/447d9ca52f8e6a20fe3bb913515e2666.jpg","text":"TemporaryFile(/tmp/multipartBody7680939608433732525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_58_55_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25e72d1a4df0c3e64f129b349c81bd37.jpg","text":"TemporaryFile(/tmp/multipartBody4833983423424510856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_59_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1081300536ac773927cbf626d96bec31.jpg","text":"TemporaryFile(/tmp/multipartBody7112558087308714451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_59_25_9969.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d9ef1c63112d52a7d2d53f33d58f5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5105346472008451855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744305993490,"filename":"image_10042025_16_59_05_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275673","file1":"1351275667","file0":"1351275664","file4":"1351275683","file5":"1351275687","file3":"1351275679"},"map_files_photo_id_array":[{"photo_id":"1351275687","filename":"file5"},{"photo_id":"1351275673","filename":"file2"},{"photo_id":"1351275683","filename":"file4"},{"photo_id":"1351275667","filename":"file1"},{"photo_id":"1351275664","filename":"file0"},{"photo_id":"1351275679","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275679":["hashtag1","hashtag2"]},{"1351275664":["hashtag1","hashtag2"]},{"1351275667":["hashtag1","hashtag2"]},{"1351275687":["hashtag1","hashtag2"]},{"1351275683":["hashtag1","hashtag2"]},{"1351275673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275679, 1351275664, 1351275667, 1351275687, 1351275683, 1351275673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.821696043014526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:26:32.253312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_45_9427.jpg', '/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_55_10346.jpg', '/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_15_10082.jpg', '/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_25_10398.jpg', '/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_35_10340.jpg', '/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_45_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_45_9427.jpg
/home/pi/Desktop/images/10042025/16/59/image_10042025_16_59_55_10346.jpg
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_15_10082.jpg
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_25_10398.jpg
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_35_10340.jpg
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_45_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275706","1351275703","1351275711","1351275708","1351275710","1351275704"],"photo_ids_order":["1351275703","1351275704","1351275706","1351275708","1351275710","1351275711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bcad3f49043d619c6d0562e62e2bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2157149848127303872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_17_01_15_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5e8d07559e9b4505be0653d68694b46.jpg","text":"TemporaryFile(/tmp/multipartBody8669671095944603036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_16_59_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/508e0b7291158b647e91fddf16e8a2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4500561039026317179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_17_01_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6d81eadc20721909b303a33c28eb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody175764478807892705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_17_01_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9540bd388c0192c5472513b0f7d68ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1695727566167553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_17_01_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bb2dd09fcbac0821894c0a92c0bc890.jpg","text":"TemporaryFile(/tmp/multipartBody117619838190368147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306052719,"filename":"image_10042025_16_59_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275706","file1":"1351275704","file0":"1351275703","file4":"1351275710","file5":"1351275711","file3":"1351275708"},"map_files_photo_id_array":[{"photo_id":"1351275711","filename":"file5"},{"photo_id":"1351275706","filename":"file2"},{"photo_id":"1351275710","filename":"file4"},{"photo_id":"1351275704","filename":"file1"},{"photo_id":"1351275703","filename":"file0"},{"photo_id":"1351275708","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275706":["hashtag1","hashtag2"]},{"1351275703":["hashtag1","hashtag2"]},{"1351275711":["hashtag1","hashtag2"]},{"1351275708":["hashtag1","hashtag2"]},{"1351275710":["hashtag1","hashtag2"]},{"1351275704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275706, 1351275703, 1351275711, 1351275708, 1351275710, 1351275704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91309571266174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:27:32.366995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_55_10375.jpg', '/home/pi/Desktop/images/10042025/17/01/image_10042025_17_02_05_9460.jpg', '/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_15_10340.jpg', '/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_25_10372.jpg', '/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_35_9438.jpg', '/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_45_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_01_55_10375.jpg
/home/pi/Desktop/images/10042025/17/01/image_10042025_17_02_05_9460.jpg
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_15_10340.jpg
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_25_10372.jpg
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_35_9438.jpg
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_45_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351275781","1351275778","1351275771","1351275774","1351275768","1351275777"],"photo_ids_order":["1351275768","1351275771","1351275774","1351275777","1351275778","1351275781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18a2134237e6c2e819f8fe31dcfb6ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4879628576312033943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_02_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d858cacb0995609f600edd08fef0a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3632961392504595897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_02_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7171a93fcaebf80f7482b6c1d8d6c91.jpg","text":"TemporaryFile(/tmp/multipartBody6115730314004984275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_02_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d6e352f342fca60bc1b6526252361f2.jpg","text":"TemporaryFile(/tmp/multipartBody9027066279540800735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_02_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb408e82b0706b206f4fb913ce792d99.jpg","text":"TemporaryFile(/tmp/multipartBody8986602075801159274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_01_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8e45ed7f6c063fa3f106f3fe0cf1a84.jpg","text":"TemporaryFile(/tmp/multipartBody5488261034985450842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306112831,"filename":"image_10042025_17_02_25_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351275774","file1":"1351275771","file0":"1351275768","file4":"1351275778","file5":"1351275781","file3":"1351275777"},"map_files_photo_id_array":[{"photo_id":"1351275781","filename":"file5"},{"photo_id":"1351275774","filename":"file2"},{"photo_id":"1351275778","filename":"file4"},{"photo_id":"1351275771","filename":"file1"},{"photo_id":"1351275768","filename":"file0"},{"photo_id":"1351275777","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351275781":["hashtag1","hashtag2"]},{"1351275778":["hashtag1","hashtag2"]},{"1351275771":["hashtag1","hashtag2"]},{"1351275774":["hashtag1","hashtag2"]},{"1351275768":["hashtag1","hashtag2"]},{"1351275777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351275781, 1351275778, 1351275771, 1351275774, 1351275768, 1351275777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.113238096237183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:28:32.614953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_55_10380.jpg', '/home/pi/Desktop/images/10042025/17/02/image_10042025_17_03_05_9332.jpg', '/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_15_10328.jpg', '/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_25_9410.jpg', '/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_35_10407.jpg', '/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_45_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_02_55_10380.jpg
/home/pi/Desktop/images/10042025/17/02/image_10042025_17_03_05_9332.jpg
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_15_10328.jpg
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_25_9410.jpg
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_35_10407.jpg
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_45_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351276053","1351276103","1351275956","1351276106","1351276096","1351275971"],"photo_ids_order":["1351275956","1351275971","1351276053","1351276096","1351276103","1351276106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55233c718533917bc13ca623aba20c05.jpg","text":"TemporaryFile(/tmp/multipartBody6482375941372404309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_03_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/198876b23f898bb1bf46e3a45976eebc.jpg","text":"TemporaryFile(/tmp/multipartBody3135488661462512420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_03_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17aa12f93a217b5d5ea5e29b45d516ca.jpg","text":"TemporaryFile(/tmp/multipartBody6984883338699248065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_02_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1026303bd5cecfeedca07fb7803605a.jpg","text":"TemporaryFile(/tmp/multipartBody1543594243897122834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_03_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba2f3e6c99528b1faebdffd7f3144be7.jpg","text":"TemporaryFile(/tmp/multipartBody8762307806523329574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_03_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27fef65e31a72965a5f55900424eed63.jpg","text":"TemporaryFile(/tmp/multipartBody5238565378594788349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306173087,"filename":"image_10042025_17_03_05_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351276053","file1":"1351275971","file0":"1351275956","file4":"1351276103","file5":"1351276106","file3":"1351276096"},"map_files_photo_id_array":[{"photo_id":"1351276106","filename":"file5"},{"photo_id":"1351276053","filename":"file2"},{"photo_id":"1351276103","filename":"file4"},{"photo_id":"1351275971","filename":"file1"},{"photo_id":"1351275956","filename":"file0"},{"photo_id":"1351276096","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351276053":["hashtag1","hashtag2"]},{"1351276103":["hashtag1","hashtag2"]},{"1351275956":["hashtag1","hashtag2"]},{"1351276106":["hashtag1","hashtag2"]},{"1351276096":["hashtag1","hashtag2"]},{"1351275971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351276053, 1351276103, 1351275956, 1351276106, 1351276096, 1351275971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43606972694397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:29:32.884607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_55_9388.jpg', '/home/pi/Desktop/images/10042025/17/03/image_10042025_17_04_05_10343.jpg', '/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_15_10353.jpg', '/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_25_9441.jpg', '/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_35_10360.jpg', '/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_45_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_03_55_9388.jpg
/home/pi/Desktop/images/10042025/17/03/image_10042025_17_04_05_10343.jpg
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_15_10353.jpg
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_25_9441.jpg
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_35_10360.jpg
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_45_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351276161","1351276170","1351276164","1351276167","1351276187","1351276208"],"photo_ids_order":["1351276161","1351276164","1351276167","1351276170","1351276187","1351276208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97b8bac5d4e22be1f5a6da0d955aa513.jpg","text":"TemporaryFile(/tmp/multipartBody7024693041903846380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_03_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/646208027c33ed4048fd2bfb217a3a24.jpg","text":"TemporaryFile(/tmp/multipartBody5742680659995641511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_04_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db667320cac5ddd815155694b3af491e.jpg","text":"TemporaryFile(/tmp/multipartBody4462460220979264525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_04_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff7cf2a3222d82b23263c51c28e89c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4354265363691538922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_04_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d4f9172b2ed5501196c3501dccb407c.jpg","text":"TemporaryFile(/tmp/multipartBody3914083949691556934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_04_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/576ac8158fd46d1f34304ba13486de83.jpg","text":"TemporaryFile(/tmp/multipartBody9128651558119664227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306233345,"filename":"image_10042025_17_04_45_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351276167","file1":"1351276164","file0":"1351276161","file4":"1351276187","file5":"1351276208","file3":"1351276170"},"map_files_photo_id_array":[{"photo_id":"1351276208","filename":"file5"},{"photo_id":"1351276167","filename":"file2"},{"photo_id":"1351276187","filename":"file4"},{"photo_id":"1351276164","filename":"file1"},{"photo_id":"1351276161","filename":"file0"},{"photo_id":"1351276170","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351276161":["hashtag1","hashtag2"]},{"1351276170":["hashtag1","hashtag2"]},{"1351276164":["hashtag1","hashtag2"]},{"1351276167":["hashtag1","hashtag2"]},{"1351276187":["hashtag1","hashtag2"]},{"1351276208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351276161, 1351276170, 1351276164, 1351276167, 1351276187, 1351276208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.441255569458008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:30:33.004639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_55_10361.jpg', '/home/pi/Desktop/images/10042025/17/04/image_10042025_17_05_05_10352.jpg', '/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_15_9346.jpg', '/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_25_10423.jpg', '/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_35_10445.jpg', '/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_45_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_04_55_10361.jpg
/home/pi/Desktop/images/10042025/17/04/image_10042025_17_05_05_10352.jpg
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_15_9346.jpg
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_25_10423.jpg
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_35_10445.jpg
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_45_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351276321","1351276296","1351276263","1351276350","1351276271","1351276277"],"photo_ids_order":["1351276263","1351276271","1351276277","1351276296","1351276321","1351276350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b886d0bc0c05691d188b3ad5be52af82.jpg","text":"TemporaryFile(/tmp/multipartBody9068712534814178060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_05_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/879145ec0ad747704ed0ae65fb05a327.jpg","text":"TemporaryFile(/tmp/multipartBody8090716511200222388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_05_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f86dda2742483adbb32b72a0a0adfe4.jpg","text":"TemporaryFile(/tmp/multipartBody1452724644224836622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_04_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/159504dd33bf653524293506aad58b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2018862541867566104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_05_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5035b62801d278a3409292375d67cfed.jpg","text":"TemporaryFile(/tmp/multipartBody7108899297234148812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_05_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0418e0c08824ff92c00cde669e33abd6.jpg","text":"TemporaryFile(/tmp/multipartBody5984671457865298285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306293473,"filename":"image_10042025_17_05_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351276277","file1":"1351276271","file0":"1351276263","file4":"1351276321","file5":"1351276350","file3":"1351276296"},"map_files_photo_id_array":[{"photo_id":"1351276350","filename":"file5"},{"photo_id":"1351276277","filename":"file2"},{"photo_id":"1351276321","filename":"file4"},{"photo_id":"1351276271","filename":"file1"},{"photo_id":"1351276263","filename":"file0"},{"photo_id":"1351276296","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351276321":["hashtag1","hashtag2"]},{"1351276296":["hashtag1","hashtag2"]},{"1351276263":["hashtag1","hashtag2"]},{"1351276350":["hashtag1","hashtag2"]},{"1351276271":["hashtag1","hashtag2"]},{"1351276277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351276321, 1351276296, 1351276263, 1351276350, 1351276271, 1351276277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.551636934280396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:31:33.136865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_55_10384.jpg', '/home/pi/Desktop/images/10042025/17/05/image_10042025_17_06_05_9348.jpg', '/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_15_10352.jpg', '/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_25_10405.jpg', '/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_35_9449.jpg', '/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_45_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_05_55_10384.jpg
/home/pi/Desktop/images/10042025/17/05/image_10042025_17_06_05_9348.jpg
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_15_10352.jpg
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_25_10405.jpg
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_35_9449.jpg
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_45_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351276600","1351276515","1351276586","1351276492","1351276495","1351276555"],"photo_ids_order":["1351276492","1351276495","1351276515","1351276555","1351276586","1351276600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72fa4e7f1bd74846e4d500c3d2c1d9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4809055502140624543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_06_45_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7cd62f7cb0e7bdefdcecc981d227f21.jpg","text":"TemporaryFile(/tmp/multipartBody649278364373477615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_06_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c7fb521b2a797b2551477b8cb3b79df.jpg","text":"TemporaryFile(/tmp/multipartBody5645957203180854089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_06_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/979ef176841e1cd5ceb2890084e6ccbc.jpg","text":"TemporaryFile(/tmp/multipartBody5859415733171402832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_05_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff2fd44f5e6e519cd17bdf337dced8db.jpg","text":"TemporaryFile(/tmp/multipartBody1126669014881054208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_06_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01e8897afd2215d031b575472863b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody5366267815017190785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306353602,"filename":"image_10042025_17_06_25_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351276515","file1":"1351276495","file0":"1351276492","file4":"1351276586","file5":"1351276600","file3":"1351276555"},"map_files_photo_id_array":[{"photo_id":"1351276600","filename":"file5"},{"photo_id":"1351276515","filename":"file2"},{"photo_id":"1351276586","filename":"file4"},{"photo_id":"1351276495","filename":"file1"},{"photo_id":"1351276492","filename":"file0"},{"photo_id":"1351276555","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351276600":["hashtag1","hashtag2"]},{"1351276515":["hashtag1","hashtag2"]},{"1351276586":["hashtag1","hashtag2"]},{"1351276492":["hashtag1","hashtag2"]},{"1351276495":["hashtag1","hashtag2"]},{"1351276555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351276600, 1351276515, 1351276586, 1351276492, 1351276495, 1351276555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00359106063843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:32:32.510366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_55_9354.jpg', '/home/pi/Desktop/images/10042025/17/06/image_10042025_17_07_05_10425.jpg', '/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_15_10351.jpg', '/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_25_9412.jpg', '/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_35_10356.jpg', '/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_45_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_06_55_9354.jpg
/home/pi/Desktop/images/10042025/17/06/image_10042025_17_07_05_10425.jpg
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_15_10351.jpg
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_25_9412.jpg
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_35_10356.jpg
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_45_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351276839","1351276799","1351276722","1351276748","1351276706","1351276774"],"photo_ids_order":["1351276706","1351276722","1351276748","1351276774","1351276799","1351276839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3cd5400dad7303fbc829559269b1f78.jpg","text":"TemporaryFile(/tmp/multipartBody2975063181417028119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_07_45_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1779709b31282c288b86629435733ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6136765819084797182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_07_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0318e1d9517ef0d12cf3d34089f774e.jpg","text":"TemporaryFile(/tmp/multipartBody8912300382001270767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_07_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bebaec19fa298c3a23a3c532907ba2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8291548888270308237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_07_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9babfa0fe315e5fedaa9bb94b44b1c81.jpg","text":"TemporaryFile(/tmp/multipartBody6119728302767104873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_06_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1001c70fdc44bfef46e0c1e0db48fd3e.jpg","text":"TemporaryFile(/tmp/multipartBody6431500621549502270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306412972,"filename":"image_10042025_17_07_25_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351276748","file1":"1351276722","file0":"1351276706","file4":"1351276799","file5":"1351276839","file3":"1351276774"},"map_files_photo_id_array":[{"photo_id":"1351276839","filename":"file5"},{"photo_id":"1351276748","filename":"file2"},{"photo_id":"1351276799","filename":"file4"},{"photo_id":"1351276722","filename":"file1"},{"photo_id":"1351276706","filename":"file0"},{"photo_id":"1351276774","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351276839":["hashtag1","hashtag2"]},{"1351276799":["hashtag1","hashtag2"]},{"1351276722":["hashtag1","hashtag2"]},{"1351276748":["hashtag1","hashtag2"]},{"1351276706":["hashtag1","hashtag2"]},{"1351276774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351276839, 1351276799, 1351276722, 1351276748, 1351276706, 1351276774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453139781951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:33:32.711995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_55_10358.jpg', '/home/pi/Desktop/images/10042025/17/07/image_10042025_17_08_05_10357.jpg', '/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_15_9434.jpg', '/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_25_10396.jpg', '/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_35_9526.jpg', '/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_45_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_07_55_10358.jpg
/home/pi/Desktop/images/10042025/17/07/image_10042025_17_08_05_10357.jpg
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_15_9434.jpg
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_25_10396.jpg
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_35_9526.jpg
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277011","1351276965","1351277015","1351276988","1351277018","1351277008"],"photo_ids_order":["1351276965","1351276988","1351277008","1351277011","1351277015","1351277018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d52ddea0f4681c895b9503559a6b83cf.jpg","text":"TemporaryFile(/tmp/multipartBody406840123530764990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_08_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/decb9c657565a6dfdae8aac3a2251e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4911473228938303185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_07_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4895171860bfcd4cd3c44a1f9b02185a.jpg","text":"TemporaryFile(/tmp/multipartBody2673163795137642903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_08_35_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6fbb0c487b0e78e26646ed137c3ce19.jpg","text":"TemporaryFile(/tmp/multipartBody2128380751275602547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_08_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e532d2fe6d5737a9ca774a7a985ed0bf.jpg","text":"TemporaryFile(/tmp/multipartBody4171419012210820898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_08_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2f38e8adf4d89879837f92d4b68b458.jpg","text":"TemporaryFile(/tmp/multipartBody1676436103754499309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306473170,"filename":"image_10042025_17_08_15_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277008","file1":"1351276988","file0":"1351276965","file4":"1351277015","file5":"1351277018","file3":"1351277011"},"map_files_photo_id_array":[{"photo_id":"1351277018","filename":"file5"},{"photo_id":"1351277008","filename":"file2"},{"photo_id":"1351277015","filename":"file4"},{"photo_id":"1351276988","filename":"file1"},{"photo_id":"1351276965","filename":"file0"},{"photo_id":"1351277011","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277011":["hashtag1","hashtag2"]},{"1351276965":["hashtag1","hashtag2"]},{"1351277015":["hashtag1","hashtag2"]},{"1351276988":["hashtag1","hashtag2"]},{"1351277018":["hashtag1","hashtag2"]},{"1351277008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277011, 1351276965, 1351277015, 1351276988, 1351277018, 1351277008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.812211275100708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:34:32.916357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_55_10379.jpg', '/home/pi/Desktop/images/10042025/17/08/image_10042025_17_09_05_9404.jpg', '/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_15_10368.jpg', '/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_25_9515.jpg', '/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_35_10180.jpg', '/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_45_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_08_55_10379.jpg
/home/pi/Desktop/images/10042025/17/08/image_10042025_17_09_05_9404.jpg
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_15_10368.jpg
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_25_9515.jpg
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_35_10180.jpg
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_45_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277340","1351277360","1351277321","1351277309","1351277335","1351277376"],"photo_ids_order":["1351277309","1351277321","1351277335","1351277340","1351277360","1351277376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a38a10208aab87bae10ce748fbd1abc.jpg","text":"TemporaryFile(/tmp/multipartBody7322400432219649599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_09_25_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/caf0b92fc51d94b3030290e0230f569e.jpg","text":"TemporaryFile(/tmp/multipartBody7120580341129709373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_09_35_10180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec9c9ca96ad0dc4653015e4d32ed19a6.jpg","text":"TemporaryFile(/tmp/multipartBody7571309869237681820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_09_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0884cfcd219cde5c51c50d50d6ebbc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5045035089042009252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_08_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91d8053f3b22183e16c2672c71f7cf69.jpg","text":"TemporaryFile(/tmp/multipartBody499628537453041271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_09_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a25e12359d459faefde596292c99a09f.jpg","text":"TemporaryFile(/tmp/multipartBody6090826511427131107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306533382,"filename":"image_10042025_17_09_45_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277335","file1":"1351277321","file0":"1351277309","file4":"1351277360","file5":"1351277376","file3":"1351277340"},"map_files_photo_id_array":[{"photo_id":"1351277376","filename":"file5"},{"photo_id":"1351277335","filename":"file2"},{"photo_id":"1351277360","filename":"file4"},{"photo_id":"1351277321","filename":"file1"},{"photo_id":"1351277309","filename":"file0"},{"photo_id":"1351277340","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277340":["hashtag1","hashtag2"]},{"1351277360":["hashtag1","hashtag2"]},{"1351277321":["hashtag1","hashtag2"]},{"1351277309":["hashtag1","hashtag2"]},{"1351277335":["hashtag1","hashtag2"]},{"1351277376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277340, 1351277360, 1351277321, 1351277309, 1351277335, 1351277376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59208154678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:35:33.022307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_55_9352.jpg', '/home/pi/Desktop/images/10042025/17/09/image_10042025_17_10_05_10550.jpg', '/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_15_9354.jpg', '/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_25_10342.jpg', '/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_35_10359.jpg', '/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_45_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_09_55_9352.jpg
/home/pi/Desktop/images/10042025/17/09/image_10042025_17_10_05_10550.jpg
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_15_9354.jpg
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_25_10342.jpg
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_35_10359.jpg
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_45_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277562","1351277571","1351277565","1351277568","1351277597","1351277595"],"photo_ids_order":["1351277562","1351277565","1351277568","1351277571","1351277595","1351277597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ab4541d45041bd08fba9d7374ba4b5f.jpg","text":"TemporaryFile(/tmp/multipartBody899102612047994286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_09_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/788d4cfed5904da805f4cec6d1b48463.jpg","text":"TemporaryFile(/tmp/multipartBody8250408273609289162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_10_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bb2b3ce9d0702f96e254a3f6d962ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2985429322563405253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_10_05_10550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2f0763580291846089e6cf8f33d47e4.jpg","text":"TemporaryFile(/tmp/multipartBody8991071805748794847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_10_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11384e41e8804a01593c21576654b288.jpg","text":"TemporaryFile(/tmp/multipartBody1867774257377081747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_10_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72c0af7f1b6a1e41e5b1ac34bddd4010.jpg","text":"TemporaryFile(/tmp/multipartBody4484230309133605369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306593495,"filename":"image_10042025_17_10_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277568","file1":"1351277565","file0":"1351277562","file4":"1351277595","file5":"1351277597","file3":"1351277571"},"map_files_photo_id_array":[{"photo_id":"1351277597","filename":"file5"},{"photo_id":"1351277568","filename":"file2"},{"photo_id":"1351277595","filename":"file4"},{"photo_id":"1351277565","filename":"file1"},{"photo_id":"1351277562","filename":"file0"},{"photo_id":"1351277571","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277562":["hashtag1","hashtag2"]},{"1351277571":["hashtag1","hashtag2"]},{"1351277565":["hashtag1","hashtag2"]},{"1351277568":["hashtag1","hashtag2"]},{"1351277597":["hashtag1","hashtag2"]},{"1351277595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277562, 1351277571, 1351277565, 1351277568, 1351277597, 1351277595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13339805603027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:36:32.275930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_55_10455.jpg', '/home/pi/Desktop/images/10042025/17/10/image_10042025_17_11_05_10388.jpg', '/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_15_9386.jpg', '/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_25_10354.jpg', '/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_35_9410.jpg', '/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_10_55_10455.jpg
/home/pi/Desktop/images/10042025/17/10/image_10042025_17_11_05_10388.jpg
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_15_9386.jpg
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_25_10354.jpg
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_35_9410.jpg
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277643","1351277634","1351277648","1351277639","1351277630","1351277650"],"photo_ids_order":["1351277630","1351277634","1351277639","1351277643","1351277648","1351277650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b925441144709ddaa786c00056f89e90.jpg","text":"TemporaryFile(/tmp/multipartBody1374621928620832394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_11_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c145e381f84517b8dddcf1e28d124df3.jpg","text":"TemporaryFile(/tmp/multipartBody4771121233219163395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_11_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c75d69edbee120175baf17fa174c055.jpg","text":"TemporaryFile(/tmp/multipartBody6402306089397243210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_11_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/299821ff87a5fa2b1032fcbede5d593d.jpg","text":"TemporaryFile(/tmp/multipartBody2477372674487450373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_11_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbe65e1902d1abe6084cb4b4ea8cdae5.jpg","text":"TemporaryFile(/tmp/multipartBody3372997133387720457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_10_55_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ccda2e0afccbc52a91c52f8720f88321.jpg","text":"TemporaryFile(/tmp/multipartBody3528579648664397576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306652738,"filename":"image_10042025_17_11_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277639","file1":"1351277634","file0":"1351277630","file4":"1351277648","file5":"1351277650","file3":"1351277643"},"map_files_photo_id_array":[{"photo_id":"1351277650","filename":"file5"},{"photo_id":"1351277639","filename":"file2"},{"photo_id":"1351277648","filename":"file4"},{"photo_id":"1351277634","filename":"file1"},{"photo_id":"1351277630","filename":"file0"},{"photo_id":"1351277643","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277643":["hashtag1","hashtag2"]},{"1351277634":["hashtag1","hashtag2"]},{"1351277648":["hashtag1","hashtag2"]},{"1351277639":["hashtag1","hashtag2"]},{"1351277630":["hashtag1","hashtag2"]},{"1351277650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277643, 1351277634, 1351277648, 1351277639, 1351277630, 1351277650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.517826318740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:37:32.421098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_55_10390.jpg', '/home/pi/Desktop/images/10042025/17/11/image_10042025_17_12_05_9402.jpg', '/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_15_10348.jpg', '/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_25_9492.jpg', '/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_35_10360.jpg', '/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_45_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_11_55_10390.jpg
/home/pi/Desktop/images/10042025/17/11/image_10042025_17_12_05_9402.jpg
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_15_10348.jpg
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_25_9492.jpg
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_35_10360.jpg
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_45_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277678","1351277675","1351277669","1351277680","1351277665","1351277673"],"photo_ids_order":["1351277665","1351277669","1351277673","1351277675","1351277678","1351277680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5a847f0f4438776990f2859c776734d.jpg","text":"TemporaryFile(/tmp/multipartBody5951914255339309689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_12_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3d28c6fd0dbe734fc5131564cb4dd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7605626139848567179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_12_25_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20819baba387c735c7af401a7b756544.jpg","text":"TemporaryFile(/tmp/multipartBody5318393487378643780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_12_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4010e92cca180ab3909b36d31747b74.jpg","text":"TemporaryFile(/tmp/multipartBody8886248767319538955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_12_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a51a9786cc52f0057523e9fd37c3b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3846177656860620629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_11_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f74f1addf31f8b576f103b1c10eafc61.jpg","text":"TemporaryFile(/tmp/multipartBody2418254646885438229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306712884,"filename":"image_10042025_17_12_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277673","file1":"1351277669","file0":"1351277665","file4":"1351277678","file5":"1351277680","file3":"1351277675"},"map_files_photo_id_array":[{"photo_id":"1351277680","filename":"file5"},{"photo_id":"1351277673","filename":"file2"},{"photo_id":"1351277678","filename":"file4"},{"photo_id":"1351277669","filename":"file1"},{"photo_id":"1351277665","filename":"file0"},{"photo_id":"1351277675","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277678":["hashtag1","hashtag2"]},{"1351277675":["hashtag1","hashtag2"]},{"1351277669":["hashtag1","hashtag2"]},{"1351277680":["hashtag1","hashtag2"]},{"1351277665":["hashtag1","hashtag2"]},{"1351277673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277678, 1351277675, 1351277669, 1351277680, 1351277665, 1351277673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33913588523865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:38:32.865800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_55_9396.jpg', '/home/pi/Desktop/images/10042025/17/12/image_10042025_17_13_05_10354.jpg', '/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_15_10345.jpg', '/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_25_9392.jpg', '/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_35_10369.jpg', '/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_45_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_12_55_9396.jpg
/home/pi/Desktop/images/10042025/17/12/image_10042025_17_13_05_10354.jpg
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_15_10345.jpg
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_25_9392.jpg
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_35_10369.jpg
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_45_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351277910","1351277891","1351277852","1351277813","1351277779","1351277836"],"photo_ids_order":["1351277779","1351277813","1351277836","1351277852","1351277891","1351277910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa472d4db18c832bac778ab5a8fd0f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8976759606208299247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_13_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e3003a2556f5999ed552c3715541e72.jpg","text":"TemporaryFile(/tmp/multipartBody5926361002686190131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_13_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d56a033efc95049d1168534ed039d5db.jpg","text":"TemporaryFile(/tmp/multipartBody8697458635106312828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_13_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3be4923324035fdb94c517e5f24d9f66.jpg","text":"TemporaryFile(/tmp/multipartBody6283582960810710478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_13_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68119b3dd665892abc019a31b2dfb757.jpg","text":"TemporaryFile(/tmp/multipartBody1594415502530183827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_12_55_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b2ed3a993acf9cdf7b097de5e73a476.jpg","text":"TemporaryFile(/tmp/multipartBody364447277507892355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306773323,"filename":"image_10042025_17_13_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351277836","file1":"1351277813","file0":"1351277779","file4":"1351277891","file5":"1351277910","file3":"1351277852"},"map_files_photo_id_array":[{"photo_id":"1351277910","filename":"file5"},{"photo_id":"1351277836","filename":"file2"},{"photo_id":"1351277891","filename":"file4"},{"photo_id":"1351277813","filename":"file1"},{"photo_id":"1351277779","filename":"file0"},{"photo_id":"1351277852","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351277910":["hashtag1","hashtag2"]},{"1351277891":["hashtag1","hashtag2"]},{"1351277852":["hashtag1","hashtag2"]},{"1351277813":["hashtag1","hashtag2"]},{"1351277779":["hashtag1","hashtag2"]},{"1351277836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351277910, 1351277891, 1351277852, 1351277813, 1351277779, 1351277836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79830002784729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:39:33.073203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_55_10345.jpg', '/home/pi/Desktop/images/10042025/17/13/image_10042025_17_14_05_10367.jpg', '/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_15_9400.jpg', '/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_25_10340.jpg', '/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_35_10414.jpg', '/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_45_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_13_55_10345.jpg
/home/pi/Desktop/images/10042025/17/13/image_10042025_17_14_05_10367.jpg
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_15_9400.jpg
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_25_10340.jpg
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_35_10414.jpg
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_45_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278098","1351278110","1351278041","1351278094","1351278087","1351278069"],"photo_ids_order":["1351278041","1351278069","1351278087","1351278094","1351278098","1351278110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c3481b4d609d88fe27e4cd6f54836c0.jpg","text":"TemporaryFile(/tmp/multipartBody3946669224444664319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_14_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31126912974767a1f3b3eee8b9f2f345.jpg","text":"TemporaryFile(/tmp/multipartBody5656823798750630130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_14_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a5e18a048db92c3b67b72ee34c55988.jpg","text":"TemporaryFile(/tmp/multipartBody8072228043514679379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_13_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b8247f9e4094ae29268e93c2baa5814.jpg","text":"TemporaryFile(/tmp/multipartBody940845891505174073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_14_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b07d63fccf4b08b63f0e67a4b125f206.jpg","text":"TemporaryFile(/tmp/multipartBody1864964637242768640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_14_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/921e1390aea6c154387e90dfd9b339b1.jpg","text":"TemporaryFile(/tmp/multipartBody8967573022149994031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306833530,"filename":"image_10042025_17_14_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278087","file1":"1351278069","file0":"1351278041","file4":"1351278098","file5":"1351278110","file3":"1351278094"},"map_files_photo_id_array":[{"photo_id":"1351278110","filename":"file5"},{"photo_id":"1351278087","filename":"file2"},{"photo_id":"1351278098","filename":"file4"},{"photo_id":"1351278069","filename":"file1"},{"photo_id":"1351278041","filename":"file0"},{"photo_id":"1351278094","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278098":["hashtag1","hashtag2"]},{"1351278110":["hashtag1","hashtag2"]},{"1351278041":["hashtag1","hashtag2"]},{"1351278094":["hashtag1","hashtag2"]},{"1351278087":["hashtag1","hashtag2"]},{"1351278069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278098, 1351278110, 1351278041, 1351278094, 1351278087, 1351278069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36119270324707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:40:32.175565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_55_10374.jpg', '/home/pi/Desktop/images/10042025/17/14/image_10042025_17_15_05_9401.jpg', '/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_15_10352.jpg', '/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_25_10341.jpg', '/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_35_9342.jpg', '/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_45_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_14_55_10374.jpg
/home/pi/Desktop/images/10042025/17/14/image_10042025_17_15_05_9401.jpg
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_15_10352.jpg
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_25_10341.jpg
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_35_9342.jpg
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_45_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278201","1351278200","1351278187","1351278195","1351278198","1351278192"],"photo_ids_order":["1351278187","1351278192","1351278195","1351278198","1351278200","1351278201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38ef0d3ba9d99fce02c11b41099106c0.jpg","text":"TemporaryFile(/tmp/multipartBody3887429226655878725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_15_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df7d1b0ba1d6f8e47acdb2cd5442d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody6963292735654080103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_15_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c47c4c4a8b8bbbe5088228c7b297da6d.jpg","text":"TemporaryFile(/tmp/multipartBody1722161330209214128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_14_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aee08ce7e57c1e5e4c21a5bc341e9fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5023616514654383851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_15_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c718c7a0009000c97c4e0f591bf405b.jpg","text":"TemporaryFile(/tmp/multipartBody8893695848204432194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_15_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee050ab0d083ba2ff21c94ec8868b144.jpg","text":"TemporaryFile(/tmp/multipartBody1685330129980333371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306892635,"filename":"image_10042025_17_15_05_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278195","file1":"1351278192","file0":"1351278187","file4":"1351278200","file5":"1351278201","file3":"1351278198"},"map_files_photo_id_array":[{"photo_id":"1351278201","filename":"file5"},{"photo_id":"1351278195","filename":"file2"},{"photo_id":"1351278200","filename":"file4"},{"photo_id":"1351278192","filename":"file1"},{"photo_id":"1351278187","filename":"file0"},{"photo_id":"1351278198","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278201":["hashtag1","hashtag2"]},{"1351278200":["hashtag1","hashtag2"]},{"1351278187":["hashtag1","hashtag2"]},{"1351278195":["hashtag1","hashtag2"]},{"1351278198":["hashtag1","hashtag2"]},{"1351278192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278201, 1351278200, 1351278187, 1351278195, 1351278198, 1351278192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.948511838912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:41:32.396543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_55_10356.jpg', '/home/pi/Desktop/images/10042025/17/15/image_10042025_17_16_05_9336.jpg', '/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_15_10349.jpg', '/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_25_10357.jpg', '/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_35_9416.jpg', '/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_15_55_10356.jpg
/home/pi/Desktop/images/10042025/17/15/image_10042025_17_16_05_9336.jpg
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_15_10349.jpg
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_25_10357.jpg
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_35_9416.jpg
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_45_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278240","1351278299","1351278237","1351278233","1351278244","1351278267"],"photo_ids_order":["1351278233","1351278237","1351278240","1351278244","1351278267","1351278299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af908052c367d72cf329727c5dbfe9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5484639844531315216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_16_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/159e7342755362439d95d2f6ff7a38b0.jpg","text":"TemporaryFile(/tmp/multipartBody3319443801481264981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_16_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61789feb62f3981691cbd204a6fafc8d.jpg","text":"TemporaryFile(/tmp/multipartBody4679722031190811494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_16_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da099af6ae856564bdfdd14c1f6e6de5.jpg","text":"TemporaryFile(/tmp/multipartBody4686889031341783392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_15_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad7a7a7c3cb1c7a7ef655dc72c21a17c.jpg","text":"TemporaryFile(/tmp/multipartBody3381699154584625015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_16_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92bc642d6591631aa983dfbf8a26e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody8067665604332117050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744306952856,"filename":"image_10042025_17_16_35_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278240","file1":"1351278237","file0":"1351278233","file4":"1351278267","file5":"1351278299","file3":"1351278244"},"map_files_photo_id_array":[{"photo_id":"1351278299","filename":"file5"},{"photo_id":"1351278240","filename":"file2"},{"photo_id":"1351278267","filename":"file4"},{"photo_id":"1351278237","filename":"file1"},{"photo_id":"1351278233","filename":"file0"},{"photo_id":"1351278244","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278240":["hashtag1","hashtag2"]},{"1351278299":["hashtag1","hashtag2"]},{"1351278237":["hashtag1","hashtag2"]},{"1351278233":["hashtag1","hashtag2"]},{"1351278244":["hashtag1","hashtag2"]},{"1351278267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278240, 1351278299, 1351278237, 1351278233, 1351278244, 1351278267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65505504608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:42:32.684042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_55_9362.jpg', '/home/pi/Desktop/images/10042025/17/16/image_10042025_17_17_05_10352.jpg', '/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_15_10413.jpg', '/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_25_9363.jpg', '/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_35_10371.jpg', '/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_16_55_9362.jpg
/home/pi/Desktop/images/10042025/17/16/image_10042025_17_17_05_10352.jpg
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_15_10413.jpg
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_25_9363.jpg
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_35_10371.jpg
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278402","1351278392","1351278394","1351278397","1351278400","1351278390"],"photo_ids_order":["1351278390","1351278392","1351278394","1351278397","1351278400","1351278402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efe8fa9e1b78fc1fa010f605a1013395.jpg","text":"TemporaryFile(/tmp/multipartBody3348176903676027015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_17_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b38e85a83d3d6ed046f274d909b1b29f.jpg","text":"TemporaryFile(/tmp/multipartBody5997345242532987143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_17_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/17ee2a4df142e8e3ad691c952e00a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4372535210824255197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_17_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b60d889c9493b53dec883cbaef430e30.jpg","text":"TemporaryFile(/tmp/multipartBody5705459377396508433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_17_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9b791c401385cb4928d3a40b4b7740a.jpg","text":"TemporaryFile(/tmp/multipartBody5171087374286758527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_17_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4faaa72f2f42894cf9760619b719ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody1881599561476004597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307013142,"filename":"image_10042025_17_16_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278394","file1":"1351278392","file0":"1351278390","file4":"1351278400","file5":"1351278402","file3":"1351278397"},"map_files_photo_id_array":[{"photo_id":"1351278402","filename":"file5"},{"photo_id":"1351278394","filename":"file2"},{"photo_id":"1351278400","filename":"file4"},{"photo_id":"1351278392","filename":"file1"},{"photo_id":"1351278390","filename":"file0"},{"photo_id":"1351278397","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278402":["hashtag1","hashtag2"]},{"1351278392":["hashtag1","hashtag2"]},{"1351278394":["hashtag1","hashtag2"]},{"1351278397":["hashtag1","hashtag2"]},{"1351278400":["hashtag1","hashtag2"]},{"1351278390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278402, 1351278392, 1351278394, 1351278397, 1351278400, 1351278390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7486777305603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:43:32.927141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_55_9430.jpg', '/home/pi/Desktop/images/10042025/17/17/image_10042025_17_18_05_10369.jpg', '/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_15_9418.jpg', '/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_25_10351.jpg', '/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_35_10425.jpg', '/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_45_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_17_55_9430.jpg
/home/pi/Desktop/images/10042025/17/17/image_10042025_17_18_05_10369.jpg
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_15_9418.jpg
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_25_10351.jpg
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_35_10425.jpg
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_45_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278434","1351278437","1351278431","1351278439","1351278427","1351278423"],"photo_ids_order":["1351278423","1351278427","1351278431","1351278434","1351278437","1351278439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39dc2ce8727303ecfee1bf2e23076d31.jpg","text":"TemporaryFile(/tmp/multipartBody133753212527531905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_18_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f9f89bf42f64e1fe6e1491cdaa02c58.jpg","text":"TemporaryFile(/tmp/multipartBody18582472465227825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_18_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e64bf5557d4819a936fe709869bcda37.jpg","text":"TemporaryFile(/tmp/multipartBody1955217412150405751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_18_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/926e23173687c26f049236831964e761.jpg","text":"TemporaryFile(/tmp/multipartBody6459384171644920728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_18_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7760397d8f8147f4b2e189c77ab26f0.jpg","text":"TemporaryFile(/tmp/multipartBody5420623343404938547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_18_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/849bad16d6b6f1a9bd5c8bc0e72300c2.jpg","text":"TemporaryFile(/tmp/multipartBody3110309642176160894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307073387,"filename":"image_10042025_17_17_55_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278431","file1":"1351278427","file0":"1351278423","file4":"1351278437","file5":"1351278439","file3":"1351278434"},"map_files_photo_id_array":[{"photo_id":"1351278439","filename":"file5"},{"photo_id":"1351278431","filename":"file2"},{"photo_id":"1351278437","filename":"file4"},{"photo_id":"1351278427","filename":"file1"},{"photo_id":"1351278423","filename":"file0"},{"photo_id":"1351278434","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278434":["hashtag1","hashtag2"]},{"1351278437":["hashtag1","hashtag2"]},{"1351278431":["hashtag1","hashtag2"]},{"1351278439":["hashtag1","hashtag2"]},{"1351278427":["hashtag1","hashtag2"]},{"1351278423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278434, 1351278437, 1351278431, 1351278439, 1351278427, 1351278423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.809172868728638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:44:33.087401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_55_10363.jpg', '/home/pi/Desktop/images/10042025/17/18/image_10042025_17_19_05_9408.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_15_10339.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_25_10150.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_35_10341.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_18_55_10363.jpg
/home/pi/Desktop/images/10042025/17/18/image_10042025_17_19_05_9408.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_15_10339.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_25_10150.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_35_10341.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278482","1351278485","1351278488","1351278467","1351278476","1351278472"],"photo_ids_order":["1351278467","1351278472","1351278476","1351278482","1351278485","1351278488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7283ce077944707325ff8d969fbf0592.jpg","text":"TemporaryFile(/tmp/multipartBody7792253145043664136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_19_25_10150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4332eb12fff78bdb94691d670d6348c0.jpg","text":"TemporaryFile(/tmp/multipartBody8284253784963167379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_19_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19f5aa5c7f3dcf8fdf0e1ddde95fbb63.jpg","text":"TemporaryFile(/tmp/multipartBody5205841852633471069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_19_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a04b36951b10b4da15b5a87113e05cab.jpg","text":"TemporaryFile(/tmp/multipartBody4904328169523170430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_18_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99574e0dfef9adf3856387864d137616.jpg","text":"TemporaryFile(/tmp/multipartBody3208773393146602692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_19_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d4d4590c71680795a171657974fbeb0.jpg","text":"TemporaryFile(/tmp/multipartBody3609453957053359513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307133549,"filename":"image_10042025_17_19_05_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278476","file1":"1351278472","file0":"1351278467","file4":"1351278485","file5":"1351278488","file3":"1351278482"},"map_files_photo_id_array":[{"photo_id":"1351278488","filename":"file5"},{"photo_id":"1351278476","filename":"file2"},{"photo_id":"1351278485","filename":"file4"},{"photo_id":"1351278472","filename":"file1"},{"photo_id":"1351278467","filename":"file0"},{"photo_id":"1351278482","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278482":["hashtag1","hashtag2"]},{"1351278485":["hashtag1","hashtag2"]},{"1351278488":["hashtag1","hashtag2"]},{"1351278467":["hashtag1","hashtag2"]},{"1351278476":["hashtag1","hashtag2"]},{"1351278472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278482, 1351278485, 1351278488, 1351278467, 1351278476, 1351278472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.482306480407715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:45:32.353139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_55_10344.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_20_05_10400.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_15_9314.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_25_10362.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_35_9479.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_55_10344.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_20_05_10400.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_15_9314.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_25_10362.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_35_9479.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_45_10345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3815326690673828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 19:45:42.305322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_55_10344.jpg', '/home/pi/Desktop/images/10042025/17/19/image_10042025_17_20_05_10400.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_15_9314.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_25_10362.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_35_9479.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_19_55_10344.jpg
/home/pi/Desktop/images/10042025/17/19/image_10042025_17_20_05_10400.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_15_9314.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_25_10362.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_35_9479.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278578","1351278566","1351278574","1351278579","1351278576","1351278570"],"photo_ids_order":["1351278566","1351278570","1351278574","1351278576","1351278578","1351278579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71107cea553ae252a6358ab482cda3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6490584547657421999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_20_35_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6766a8eddbb7fe55d4c3e32ff0bd75e6.jpg","text":"TemporaryFile(/tmp/multipartBody6410479038853851800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_19_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7c5b16e49e9442fd945dead0816ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody5348369433278831966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_20_15_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c5ef9972401b177672c73e9ca5f1690.jpg","text":"TemporaryFile(/tmp/multipartBody2701315607676701474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_20_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de84042bed1eee9cfc056bbe49f6ce04.jpg","text":"TemporaryFile(/tmp/multipartBody4071879123039596447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_20_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e76f647ea592ec815dce24ca237ed53.jpg","text":"TemporaryFile(/tmp/multipartBody7783544376652866345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307202767,"filename":"image_10042025_17_20_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278574","file1":"1351278570","file0":"1351278566","file4":"1351278578","file5":"1351278579","file3":"1351278576"},"map_files_photo_id_array":[{"photo_id":"1351278579","filename":"file5"},{"photo_id":"1351278574","filename":"file2"},{"photo_id":"1351278578","filename":"file4"},{"photo_id":"1351278570","filename":"file1"},{"photo_id":"1351278566","filename":"file0"},{"photo_id":"1351278576","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278578":["hashtag1","hashtag2"]},{"1351278566":["hashtag1","hashtag2"]},{"1351278574":["hashtag1","hashtag2"]},{"1351278579":["hashtag1","hashtag2"]},{"1351278576":["hashtag1","hashtag2"]},{"1351278570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278578, 1351278566, 1351278574, 1351278579, 1351278576, 1351278570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.50186538696289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:46:32.498481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_55_10362.jpg', '/home/pi/Desktop/images/10042025/17/20/image_10042025_17_21_05_9412.jpg', '/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_15_10422.jpg', '/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_25_9485.jpg', '/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_35_10355.jpg', '/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_20_55_10362.jpg
/home/pi/Desktop/images/10042025/17/20/image_10042025_17_21_05_9412.jpg
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_15_10422.jpg
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_25_9485.jpg
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_35_10355.jpg
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278612","1351278599","1351278608","1351278602","1351278605","1351278595"],"photo_ids_order":["1351278595","1351278599","1351278602","1351278605","1351278608","1351278612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43d4d7bfcc1e108ca6a104cdc3372bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7201266570974738867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_21_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85b130eec38708ea69fcffe4513d793b.jpg","text":"TemporaryFile(/tmp/multipartBody3083246008963156118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_21_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5ee3dd3024dc8b60b2734a225059820.jpg","text":"TemporaryFile(/tmp/multipartBody2603693146904823715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_21_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6491a9c0fd593d4357aafb2149a6e0a.jpg","text":"TemporaryFile(/tmp/multipartBody719462283989101781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_21_15_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b74c5a5845498d8fffb15ecae322d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5915670621302861004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_21_25_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9068bc80c614ce1c92ce13e719b8a65c.jpg","text":"TemporaryFile(/tmp/multipartBody116886851093423882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307252976,"filename":"image_10042025_17_20_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278602","file1":"1351278599","file0":"1351278595","file4":"1351278608","file5":"1351278612","file3":"1351278605"},"map_files_photo_id_array":[{"photo_id":"1351278612","filename":"file5"},{"photo_id":"1351278602","filename":"file2"},{"photo_id":"1351278608","filename":"file4"},{"photo_id":"1351278599","filename":"file1"},{"photo_id":"1351278595","filename":"file0"},{"photo_id":"1351278605","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278612":["hashtag1","hashtag2"]},{"1351278599":["hashtag1","hashtag2"]},{"1351278608":["hashtag1","hashtag2"]},{"1351278602":["hashtag1","hashtag2"]},{"1351278605":["hashtag1","hashtag2"]},{"1351278595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278612, 1351278599, 1351278608, 1351278602, 1351278605, 1351278595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.875344038009644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:47:32.702771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_55_9431.jpg', '/home/pi/Desktop/images/10042025/17/21/image_10042025_17_22_05_10398.jpg', '/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_15_9413.jpg', '/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_25_10356.jpg', '/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_35_10348.jpg', '/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_45_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_21_55_9431.jpg
/home/pi/Desktop/images/10042025/17/21/image_10042025_17_22_05_10398.jpg
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_15_9413.jpg
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_25_10356.jpg
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_35_10348.jpg
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_45_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278816","1351278770","1351278758","1351278740","1351278748","1351278808"],"photo_ids_order":["1351278740","1351278748","1351278758","1351278770","1351278808","1351278816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/978fd3a881112a6ab0535cefb19a84cb.jpg","text":"TemporaryFile(/tmp/multipartBody5649085182653778897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_22_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee0ae2527b7c7ca9f18b5e7734be8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3799760021292315438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_22_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a17855e1907323c66cdc5eb81bdbfd37.jpg","text":"TemporaryFile(/tmp/multipartBody6939994066911296856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_22_15_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68c0329d7963ca7174d15097c049f048.jpg","text":"TemporaryFile(/tmp/multipartBody3012487034648922087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_21_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/909f427eee1fc988c0ff23b862835004.jpg","text":"TemporaryFile(/tmp/multipartBody2947144459254400670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_22_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70d1cef30fe4d9c7404205db4b4d62de.jpg","text":"TemporaryFile(/tmp/multipartBody6880782849528254757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307313169,"filename":"image_10042025_17_22_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278758","file1":"1351278748","file0":"1351278740","file4":"1351278808","file5":"1351278816","file3":"1351278770"},"map_files_photo_id_array":[{"photo_id":"1351278816","filename":"file5"},{"photo_id":"1351278758","filename":"file2"},{"photo_id":"1351278808","filename":"file4"},{"photo_id":"1351278748","filename":"file1"},{"photo_id":"1351278740","filename":"file0"},{"photo_id":"1351278770","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278816":["hashtag1","hashtag2"]},{"1351278770":["hashtag1","hashtag2"]},{"1351278758":["hashtag1","hashtag2"]},{"1351278740":["hashtag1","hashtag2"]},{"1351278748":["hashtag1","hashtag2"]},{"1351278808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278816, 1351278770, 1351278758, 1351278740, 1351278748, 1351278808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13848304748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:48:32.887833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_55_10355.jpg', '/home/pi/Desktop/images/10042025/17/22/image_10042025_17_23_05_9459.jpg', '/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_15_10334.jpg', '/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_25_10350.jpg', '/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_35_9340.jpg', '/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_45_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_22_55_10355.jpg
/home/pi/Desktop/images/10042025/17/22/image_10042025_17_23_05_9459.jpg
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_15_10334.jpg
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_25_10350.jpg
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_35_9340.jpg
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_45_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351278938","1351278947","1351278943","1351278922","1351278951","1351278927"],"photo_ids_order":["1351278922","1351278927","1351278938","1351278943","1351278947","1351278951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/890dcb0eefad95ef963ffcddbb40f982.jpg","text":"TemporaryFile(/tmp/multipartBody9098437690949290378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_23_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/026e54a90e54f936a6850b82912fe3f2.jpg","text":"TemporaryFile(/tmp/multipartBody5291979253153637897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_23_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee4120ee76ccfb795ed440047c0b5df1.jpg","text":"TemporaryFile(/tmp/multipartBody7581193102824200993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_23_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3acacdfbb646e1ad281abb5b640ca807.jpg","text":"TemporaryFile(/tmp/multipartBody6584167018675258034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_22_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03c7ae2c141ccef719de84f5b8531d51.jpg","text":"TemporaryFile(/tmp/multipartBody5898133404627630798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_23_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb11036107a136df291346d90b2af1da.jpg","text":"TemporaryFile(/tmp/multipartBody8022073523111436448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307373347,"filename":"image_10042025_17_23_05_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351278938","file1":"1351278927","file0":"1351278922","file4":"1351278947","file5":"1351278951","file3":"1351278943"},"map_files_photo_id_array":[{"photo_id":"1351278951","filename":"file5"},{"photo_id":"1351278938","filename":"file2"},{"photo_id":"1351278947","filename":"file4"},{"photo_id":"1351278927","filename":"file1"},{"photo_id":"1351278922","filename":"file0"},{"photo_id":"1351278943","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351278938":["hashtag1","hashtag2"]},{"1351278947":["hashtag1","hashtag2"]},{"1351278943":["hashtag1","hashtag2"]},{"1351278922":["hashtag1","hashtag2"]},{"1351278951":["hashtag1","hashtag2"]},{"1351278927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351278938, 1351278947, 1351278943, 1351278922, 1351278951, 1351278927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.678690910339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:49:32.946927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_55_10353.jpg', '/home/pi/Desktop/images/10042025/17/23/image_10042025_17_24_05_9410.jpg', '/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_15_10343.jpg', '/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_25_9466.jpg', '/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_35_10349.jpg', '/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_23_55_10353.jpg
/home/pi/Desktop/images/10042025/17/23/image_10042025_17_24_05_9410.jpg
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_15_10343.jpg
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_25_9466.jpg
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_35_10349.jpg
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351279078","1351279033","1351279108","1351279098","1351279071","1351279053"],"photo_ids_order":["1351279033","1351279053","1351279071","1351279078","1351279098","1351279108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16f6392b8f3f5c8e993f6daf6b22eac7.jpg","text":"TemporaryFile(/tmp/multipartBody3827208291865825260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_24_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/30b49ccf818a581304da184a984bcd64.jpg","text":"TemporaryFile(/tmp/multipartBody9188615227076650659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_23_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d19014e86640fa5c299a889ffe6f38c.jpg","text":"TemporaryFile(/tmp/multipartBody457711090893408891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_24_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed7ae9fd4c8d0d35fec53ade1d0c0fcd.jpg","text":"TemporaryFile(/tmp/multipartBody24325238134947025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_24_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/785518e79a924a48269bfe18ef200958.jpg","text":"TemporaryFile(/tmp/multipartBody2013036812138692898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_24_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a2483cc6ceb1d398175b02ab8a5e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7807449493799435545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307433406,"filename":"image_10042025_17_24_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351279071","file1":"1351279053","file0":"1351279033","file4":"1351279098","file5":"1351279108","file3":"1351279078"},"map_files_photo_id_array":[{"photo_id":"1351279108","filename":"file5"},{"photo_id":"1351279071","filename":"file2"},{"photo_id":"1351279098","filename":"file4"},{"photo_id":"1351279053","filename":"file1"},{"photo_id":"1351279033","filename":"file0"},{"photo_id":"1351279078","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351279078":["hashtag1","hashtag2"]},{"1351279033":["hashtag1","hashtag2"]},{"1351279108":["hashtag1","hashtag2"]},{"1351279098":["hashtag1","hashtag2"]},{"1351279071":["hashtag1","hashtag2"]},{"1351279053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351279078, 1351279033, 1351279108, 1351279098, 1351279071, 1351279053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78401970863342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:50:32.132451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_55_9346.jpg', '/home/pi/Desktop/images/10042025/17/24/image_10042025_17_25_05_10352.jpg', '/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_15_10402.jpg', '/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_25_9329.jpg', '/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_35_10361.jpg', '/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_45_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_24_55_9346.jpg
/home/pi/Desktop/images/10042025/17/24/image_10042025_17_25_05_10352.jpg
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_15_10402.jpg
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_25_9329.jpg
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_35_10361.jpg
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_45_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351279229","1351279243","1351279171","1351279252","1351279222","1351279196"],"photo_ids_order":["1351279171","1351279196","1351279222","1351279229","1351279243","1351279252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33a077e9c2264f3039711a030a09a6b8.jpg","text":"TemporaryFile(/tmp/multipartBody1262467888673885206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_25_25_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78d9e40e9822b91c35b5f1da1d93d106.jpg","text":"TemporaryFile(/tmp/multipartBody5085428393653016260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_25_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d49b3c1f5cc5dd16270baa7dbf354de.jpg","text":"TemporaryFile(/tmp/multipartBody3934962127143651615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_24_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/159b74069e3fbacf6c66f329f4c03d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2792911016005518216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_25_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5f2a57ca27f8d75c5ccadac2af9ace1.jpg","text":"TemporaryFile(/tmp/multipartBody6830826170503382689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_25_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef84889075e4edf20dde0796b7779df5.jpg","text":"TemporaryFile(/tmp/multipartBody2979697733012868264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307492587,"filename":"image_10042025_17_25_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351279222","file1":"1351279196","file0":"1351279171","file4":"1351279243","file5":"1351279252","file3":"1351279229"},"map_files_photo_id_array":[{"photo_id":"1351279252","filename":"file5"},{"photo_id":"1351279222","filename":"file2"},{"photo_id":"1351279243","filename":"file4"},{"photo_id":"1351279196","filename":"file1"},{"photo_id":"1351279171","filename":"file0"},{"photo_id":"1351279229","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351279229":["hashtag1","hashtag2"]},{"1351279243":["hashtag1","hashtag2"]},{"1351279171":["hashtag1","hashtag2"]},{"1351279252":["hashtag1","hashtag2"]},{"1351279222":["hashtag1","hashtag2"]},{"1351279196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351279229, 1351279243, 1351279171, 1351279252, 1351279222, 1351279196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.150553464889526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:51:32.682568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_55_9360.jpg', '/home/pi/Desktop/images/10042025/17/25/image_10042025_17_26_05_10409.jpg', '/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_15_9402.jpg', '/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_25_10326.jpg', '/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_35_10328.jpg', '/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_45_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_25_55_9360.jpg
/home/pi/Desktop/images/10042025/17/25/image_10042025_17_26_05_10409.jpg
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_15_9402.jpg
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_25_10326.jpg
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_35_10328.jpg
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_45_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351279385","1351279343","1351279387","1351279366","1351279321","1351279382"],"photo_ids_order":["1351279321","1351279343","1351279366","1351279382","1351279385","1351279387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6b68665b8146f340ad3ca8734aa23fe.jpg","text":"TemporaryFile(/tmp/multipartBody5691540622720961451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_26_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/135bc56e365c5e5bcfbb7402436f38e5.jpg","text":"TemporaryFile(/tmp/multipartBody9042755296911133435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_26_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e3d63210194ba05ba3e9a0f4ae15ca0.jpg","text":"TemporaryFile(/tmp/multipartBody49402120009117651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_26_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5dd7411a4479c5604776febca4a52585.jpg","text":"TemporaryFile(/tmp/multipartBody3325305487675532448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_26_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc037dc90334ffa90bb400a4bd188d6a.jpg","text":"TemporaryFile(/tmp/multipartBody215377010737203149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_25_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e43f9e1ad750cbb58fe85e572fb35b92.jpg","text":"TemporaryFile(/tmp/multipartBody5831811265485488491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307553136,"filename":"image_10042025_17_26_25_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351279366","file1":"1351279343","file0":"1351279321","file4":"1351279385","file5":"1351279387","file3":"1351279382"},"map_files_photo_id_array":[{"photo_id":"1351279387","filename":"file5"},{"photo_id":"1351279366","filename":"file2"},{"photo_id":"1351279385","filename":"file4"},{"photo_id":"1351279343","filename":"file1"},{"photo_id":"1351279321","filename":"file0"},{"photo_id":"1351279382","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351279385":["hashtag1","hashtag2"]},{"1351279343":["hashtag1","hashtag2"]},{"1351279387":["hashtag1","hashtag2"]},{"1351279366":["hashtag1","hashtag2"]},{"1351279321":["hashtag1","hashtag2"]},{"1351279382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351279385, 1351279343, 1351279387, 1351279366, 1351279321, 1351279382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02493643760681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:52:32.595711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_55_10355.jpg', '/home/pi/Desktop/images/10042025/17/26/image_10042025_17_27_05_10365.jpg', '/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_15_9388.jpg', '/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_25_10370.jpg', '/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_35_9407.jpg', '/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_45_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_26_55_10355.jpg
/home/pi/Desktop/images/10042025/17/26/image_10042025_17_27_05_10365.jpg
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_15_9388.jpg
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_25_10370.jpg
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_35_9407.jpg
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_45_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351279412","1351279415","1351279423","1351279420","1351279408","1351279428"],"photo_ids_order":["1351279408","1351279412","1351279415","1351279420","1351279423","1351279428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/feb82c3fe715453e5832dab464c8ec22.jpg","text":"TemporaryFile(/tmp/multipartBody4110474609370514981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_27_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0045f931d7b751b431292b2a9b92d237.jpg","text":"TemporaryFile(/tmp/multipartBody6294254262674719996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_27_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11e2e4c1a55714fffaae6cfc4c36b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody1612832133317244782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_27_35_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db4879a2649b021a5e1b1e4f1b8b227d.jpg","text":"TemporaryFile(/tmp/multipartBody4250839332850832433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_27_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d663d84027c9bce6a9d325a63fa8af75.jpg","text":"TemporaryFile(/tmp/multipartBody8353645949358006146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_26_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02c7f3c3dcc39886770f41de43114ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7672717006662553011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307613193,"filename":"image_10042025_17_27_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351279415","file1":"1351279412","file0":"1351279408","file4":"1351279423","file5":"1351279428","file3":"1351279420"},"map_files_photo_id_array":[{"photo_id":"1351279428","filename":"file5"},{"photo_id":"1351279415","filename":"file2"},{"photo_id":"1351279423","filename":"file4"},{"photo_id":"1351279412","filename":"file1"},{"photo_id":"1351279408","filename":"file0"},{"photo_id":"1351279420","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351279412":["hashtag1","hashtag2"]},{"1351279415":["hashtag1","hashtag2"]},{"1351279423":["hashtag1","hashtag2"]},{"1351279420":["hashtag1","hashtag2"]},{"1351279408":["hashtag1","hashtag2"]},{"1351279428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351279412, 1351279415, 1351279423, 1351279420, 1351279408, 1351279428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.725696563720703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:53:32.749295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_55_10364.jpg', '/home/pi/Desktop/images/10042025/17/27/image_10042025_17_28_05_9351.jpg', '/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_15_10339.jpg', '/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_25_10350.jpg', '/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_35_9353.jpg', '/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_45_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_27_55_10364.jpg
/home/pi/Desktop/images/10042025/17/27/image_10042025_17_28_05_9351.jpg
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_15_10339.jpg
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_25_10350.jpg
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_35_9353.jpg
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_45_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351279445","1351279610","1351279442","1351279604","1351279480","1351279449"],"photo_ids_order":["1351279442","1351279445","1351279449","1351279480","1351279604","1351279610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22490b9f46fdb61c8ed87287764f2c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8282166551683025856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_28_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7bee590159b227deba93006aa89c488.jpg","text":"TemporaryFile(/tmp/multipartBody2377157442057276233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_28_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c69740da00c370b430031d6a577c39a5.jpg","text":"TemporaryFile(/tmp/multipartBody2143601752441426442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_27_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2948cb53c7f8af2a5ae17748e95e303d.jpg","text":"TemporaryFile(/tmp/multipartBody4294914588261620985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_28_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd164d917d2cb163bb556db75f0b536c.jpg","text":"TemporaryFile(/tmp/multipartBody2967290523394406895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_28_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66fb91756687c7e20b1d1bcefaf9758a.jpg","text":"TemporaryFile(/tmp/multipartBody8602250443411451721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307673362,"filename":"image_10042025_17_28_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351279449","file1":"1351279445","file0":"1351279442","file4":"1351279604","file5":"1351279610","file3":"1351279480"},"map_files_photo_id_array":[{"photo_id":"1351279610","filename":"file5"},{"photo_id":"1351279449","filename":"file2"},{"photo_id":"1351279604","filename":"file4"},{"photo_id":"1351279445","filename":"file1"},{"photo_id":"1351279442","filename":"file0"},{"photo_id":"1351279480","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351279445":["hashtag1","hashtag2"]},{"1351279610":["hashtag1","hashtag2"]},{"1351279442":["hashtag1","hashtag2"]},{"1351279604":["hashtag1","hashtag2"]},{"1351279480":["hashtag1","hashtag2"]},{"1351279449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351279445, 1351279610, 1351279442, 1351279604, 1351279480, 1351279449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11458158493042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:54:32.921458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_55_10347.jpg', '/home/pi/Desktop/images/10042025/17/28/image_10042025_17_29_05_9336.jpg', '/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_15_10354.jpg', '/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_25_9451.jpg', '/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_35_10351.jpg', '/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_28_55_10347.jpg
/home/pi/Desktop/images/10042025/17/28/image_10042025_17_29_05_9336.jpg
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_15_10354.jpg
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_25_9451.jpg
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_35_10351.jpg
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_45_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351280048","1351280030","1351280086","1351280061","1351280070","1351280037"],"photo_ids_order":["1351280030","1351280037","1351280048","1351280061","1351280070","1351280086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a31f2228bc7adfd57e394048cec3b85.jpg","text":"TemporaryFile(/tmp/multipartBody5552287799239299191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_29_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b56f537263035951689e882efe6e4eca.jpg","text":"TemporaryFile(/tmp/multipartBody6913407437126858762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_28_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49fbd338bd291fd94a16f9415ca6e563.jpg","text":"TemporaryFile(/tmp/multipartBody2754063313789364263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_29_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bec19d51ff0f727c080dca96cfdb375.jpg","text":"TemporaryFile(/tmp/multipartBody5871508940389251105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_29_25_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6090f2098c6c8158b6d6517e433a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4900374990260605565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_29_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28c626c87cd5821ac6c3e8a1d0cb10c6.jpg","text":"TemporaryFile(/tmp/multipartBody5080428751099968812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307733386,"filename":"image_10042025_17_29_05_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351280048","file1":"1351280037","file0":"1351280030","file4":"1351280070","file5":"1351280086","file3":"1351280061"},"map_files_photo_id_array":[{"photo_id":"1351280086","filename":"file5"},{"photo_id":"1351280048","filename":"file2"},{"photo_id":"1351280070","filename":"file4"},{"photo_id":"1351280037","filename":"file1"},{"photo_id":"1351280030","filename":"file0"},{"photo_id":"1351280061","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351280048":["hashtag1","hashtag2"]},{"1351280030":["hashtag1","hashtag2"]},{"1351280086":["hashtag1","hashtag2"]},{"1351280061":["hashtag1","hashtag2"]},{"1351280070":["hashtag1","hashtag2"]},{"1351280037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351280048, 1351280030, 1351280086, 1351280061, 1351280070, 1351280037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07231092453003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:55:33.137965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_55_9343.jpg', '/home/pi/Desktop/images/10042025/17/29/image_10042025_17_30_05_10432.jpg', '/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_15_10357.jpg', '/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_25_9348.jpg', '/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_35_10364.jpg', '/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_44_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_29_55_9343.jpg
/home/pi/Desktop/images/10042025/17/29/image_10042025_17_30_05_10432.jpg
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_15_10357.jpg
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_25_9348.jpg
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_35_10364.jpg
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_44_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351280517","1351280462","1351280441","1351280390","1351280566","1351280323"],"photo_ids_order":["1351280323","1351280390","1351280441","1351280462","1351280517","1351280566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7fb56dbd07cdc3e5752a4c8b5fa29f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5920321100424272070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_30_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eef7db392064e8bc004b859fc21f6f19.jpg","text":"TemporaryFile(/tmp/multipartBody7613294826681269150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_30_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ab50f95ae09b52a5294531e3237a4eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3205337522043353123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_30_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c40372060492107e9f1e660b138b47ae.jpg","text":"TemporaryFile(/tmp/multipartBody6291364980859663115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_30_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62562b1368a21dc63a73b59ad5e48139.jpg","text":"TemporaryFile(/tmp/multipartBody3353256891827882113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_30_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bbae678b5cf6668447e2d68f6868fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1987587036602839029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307793594,"filename":"image_10042025_17_29_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351280441","file1":"1351280390","file0":"1351280323","file4":"1351280517","file5":"1351280566","file3":"1351280462"},"map_files_photo_id_array":[{"photo_id":"1351280566","filename":"file5"},{"photo_id":"1351280441","filename":"file2"},{"photo_id":"1351280517","filename":"file4"},{"photo_id":"1351280390","filename":"file1"},{"photo_id":"1351280323","filename":"file0"},{"photo_id":"1351280462","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351280517":["hashtag1","hashtag2"]},{"1351280462":["hashtag1","hashtag2"]},{"1351280441":["hashtag1","hashtag2"]},{"1351280390":["hashtag1","hashtag2"]},{"1351280566":["hashtag1","hashtag2"]},{"1351280323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351280517, 1351280462, 1351280441, 1351280390, 1351280566, 1351280323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37995004653931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:56:32.174113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_55_10415.jpg', '/home/pi/Desktop/images/10042025/17/30/image_10042025_17_31_05_10345.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_15_9419.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_25_10380.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_35_10361.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_45_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_30_55_10415.jpg
/home/pi/Desktop/images/10042025/17/30/image_10042025_17_31_05_10345.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_15_9419.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_25_10380.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_35_10361.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_45_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351280715","1351280621","1351280812","1351280836","1351280760","1351280664"],"photo_ids_order":["1351280621","1351280664","1351280715","1351280760","1351280812","1351280836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0095716f1baa9a6bad20cf0e8a079429.jpg","text":"TemporaryFile(/tmp/multipartBody9161125815233622788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_31_15_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c04aac8ad8545556efe8def744d929de.jpg","text":"TemporaryFile(/tmp/multipartBody8719933860438543768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_30_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b4f62c5ec83eb757f048861a4f6d678.jpg","text":"TemporaryFile(/tmp/multipartBody7048666928519952719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_31_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b00d5d62223b3ee9b62ed3a73c17a10.jpg","text":"TemporaryFile(/tmp/multipartBody4089810101160859345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_31_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c14107ff6406626060f43eded38a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4214670262258281819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_31_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e509abef79dcd8c6d58f1a97729c2a77.jpg","text":"TemporaryFile(/tmp/multipartBody1380528768879798857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744307852627,"filename":"image_10042025_17_31_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351280715","file1":"1351280664","file0":"1351280621","file4":"1351280812","file5":"1351280836","file3":"1351280760"},"map_files_photo_id_array":[{"photo_id":"1351280836","filename":"file5"},{"photo_id":"1351280715","filename":"file2"},{"photo_id":"1351280812","filename":"file4"},{"photo_id":"1351280664","filename":"file1"},{"photo_id":"1351280621","filename":"file0"},{"photo_id":"1351280760","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351280715":["hashtag1","hashtag2"]},{"1351280621":["hashtag1","hashtag2"]},{"1351280812":["hashtag1","hashtag2"]},{"1351280836":["hashtag1","hashtag2"]},{"1351280760":["hashtag1","hashtag2"]},{"1351280664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351280715, 1351280621, 1351280812, 1351280836, 1351280760, 1351280664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38896989822388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 19:57:32.402554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_55_10363.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_32_05_9471.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_15_10340.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_25_10356.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_35_9407.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_45_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_55_10363.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_32_05_9471.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_15_10340.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_25_10356.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_35_9407.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_45_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 19:59:04.303426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_55_10363.jpg', '/home/pi/Desktop/images/10042025/17/31/image_10042025_17_32_05_9471.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_15_10340.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_25_10356.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_35_9407.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_45_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_31_55_10363.jpg
/home/pi/Desktop/images/10042025/17/31/image_10042025_17_32_05_9471.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_15_10340.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_25_10356.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_35_9407.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_45_10424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351281857","1351281791","1351281944","1351281818","1351281897","1351281786"],"photo_ids_order":["1351281786","1351281791","1351281818","1351281857","1351281897","1351281944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c1283e039ce5468b6a6d2bd40e09b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody5922888811193145964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_32_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8dd2041bdcb8b82f7d8bb053af017c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5493525240714812330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_32_05_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f7d0f66fcceef99caa537874f862aee.jpg","text":"TemporaryFile(/tmp/multipartBody1544149081220654456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_32_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecd41d8b7bd20771a4ff39ddc06602f7.jpg","text":"TemporaryFile(/tmp/multipartBody2472713681745845217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_32_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed8677c43b649fe104a1aa55f206d7a7.jpg","text":"TemporaryFile(/tmp/multipartBody6748438721598208922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_32_35_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a68beeb38023bdccec18e10fef98c27.jpg","text":"TemporaryFile(/tmp/multipartBody2155434243701851007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308004837,"filename":"image_10042025_17_31_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351281818","file1":"1351281791","file0":"1351281786","file4":"1351281897","file5":"1351281944","file3":"1351281857"},"map_files_photo_id_array":[{"photo_id":"1351281944","filename":"file5"},{"photo_id":"1351281818","filename":"file2"},{"photo_id":"1351281897","filename":"file4"},{"photo_id":"1351281791","filename":"file1"},{"photo_id":"1351281786","filename":"file0"},{"photo_id":"1351281857","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351281857":["hashtag1","hashtag2"]},{"1351281791":["hashtag1","hashtag2"]},{"1351281944":["hashtag1","hashtag2"]},{"1351281818":["hashtag1","hashtag2"]},{"1351281897":["hashtag1","hashtag2"]},{"1351281786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351281857, 1351281791, 1351281944, 1351281818, 1351281897, 1351281786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.728437185287476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 19:59:43.076116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_55_9445.jpg', '/home/pi/Desktop/images/10042025/17/32/image_10042025_17_33_05_10352.jpg', '/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_15_10360.jpg', '/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_25_9437.jpg', '/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_35_10367.jpg', '/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_44_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_32_55_9445.jpg
/home/pi/Desktop/images/10042025/17/32/image_10042025_17_33_05_10352.jpg
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_15_10360.jpg
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_25_9437.jpg
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_35_10367.jpg
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_44_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351282337","1351282093","1351282482","1351282102","1351282181","1351282064"],"photo_ids_order":["1351282064","1351282093","1351282102","1351282181","1351282337","1351282482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df78e727f3be1448e70fbc2f1aca7c87.jpg","text":"TemporaryFile(/tmp/multipartBody6106102582937663617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_33_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fc1afa0539e3f0ef2727ac47bb25d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5327740903107670564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_33_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5648a17e622184a0dd3aedfa31d36a61.jpg","text":"TemporaryFile(/tmp/multipartBody1781464542297940165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_33_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c077f0b3085b01bd678afd64cfaa2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3912517865432814425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_33_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f04404afe391ea96a23963917a9a54a.jpg","text":"TemporaryFile(/tmp/multipartBody6845303908684425800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_33_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5fd933de9b76ecf426e808839d8e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8906924017818024226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308043553,"filename":"image_10042025_17_32_55_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351282102","file1":"1351282093","file0":"1351282064","file4":"1351282337","file5":"1351282482","file3":"1351282181"},"map_files_photo_id_array":[{"photo_id":"1351282482","filename":"file5"},{"photo_id":"1351282102","filename":"file2"},{"photo_id":"1351282337","filename":"file4"},{"photo_id":"1351282093","filename":"file1"},{"photo_id":"1351282064","filename":"file0"},{"photo_id":"1351282181","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351282337":["hashtag1","hashtag2"]},{"1351282093":["hashtag1","hashtag2"]},{"1351282482":["hashtag1","hashtag2"]},{"1351282102":["hashtag1","hashtag2"]},{"1351282181":["hashtag1","hashtag2"]},{"1351282064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351282337, 1351282093, 1351282482, 1351282102, 1351282181, 1351282064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.264352321624756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:00:32.309865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_55_10349.jpg', '/home/pi/Desktop/images/10042025/17/33/image_10042025_17_34_05_10350.jpg', '/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_15_9378.jpg', '/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_25_10347.jpg', '/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_35_10341.jpg', '/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_45_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_33_55_10349.jpg
/home/pi/Desktop/images/10042025/17/33/image_10042025_17_34_05_10350.jpg
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_15_9378.jpg
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_25_10347.jpg
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_35_10341.jpg
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351282783","1351282777","1351282780","1351282788","1351282785","1351282796"],"photo_ids_order":["1351282777","1351282780","1351282783","1351282785","1351282788","1351282796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4af746af2546466608daecc63184ced5.jpg","text":"TemporaryFile(/tmp/multipartBody8011703835456753472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_34_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cc597fde408844d90a2ca8fa1f18b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5049631122658373158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_33_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3853bbea3a56746108fc0dc87cd0a637.jpg","text":"TemporaryFile(/tmp/multipartBody890777191190275981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_34_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec1cac3ac3aa6cff9e09c9ccc4e7bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody2876057915094580090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_34_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a1f377c81b5e706259ae82707cde0dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2343339176864541127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_34_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad7684d76df2ab6b5dd30241502859fc.jpg","text":"TemporaryFile(/tmp/multipartBody6816066731884211120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308092780,"filename":"image_10042025_17_34_45_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351282783","file1":"1351282780","file0":"1351282777","file4":"1351282788","file5":"1351282796","file3":"1351282785"},"map_files_photo_id_array":[{"photo_id":"1351282796","filename":"file5"},{"photo_id":"1351282783","filename":"file2"},{"photo_id":"1351282788","filename":"file4"},{"photo_id":"1351282780","filename":"file1"},{"photo_id":"1351282777","filename":"file0"},{"photo_id":"1351282785","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351282783":["hashtag1","hashtag2"]},{"1351282777":["hashtag1","hashtag2"]},{"1351282780":["hashtag1","hashtag2"]},{"1351282788":["hashtag1","hashtag2"]},{"1351282785":["hashtag1","hashtag2"]},{"1351282796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351282783, 1351282777, 1351282780, 1351282788, 1351282785, 1351282796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.891305446624756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:01:32.479411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_55_10359.jpg', '/home/pi/Desktop/images/10042025/17/34/image_10042025_17_35_04_9441.jpg', '/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_15_10586.jpg', '/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_24_9405.jpg', '/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_35_10351.jpg', '/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_45_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_34_55_10359.jpg
/home/pi/Desktop/images/10042025/17/34/image_10042025_17_35_04_9441.jpg
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_15_10586.jpg
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_24_9405.jpg
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_35_10351.jpg
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_45_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351283341","1351282897","1351283110","1351283326","1351283273","1351282943"],"photo_ids_order":["1351282897","1351282943","1351283110","1351283273","1351283326","1351283341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1504d7952f684c374204257a75d0a890.jpg","text":"TemporaryFile(/tmp/multipartBody3467541137082732136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_35_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bc942c6158c3311e1abcc9839bb9c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7245184043988376169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_34_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02cd9092cdf2d69f2d998b6e81861d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6581713935891043027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_35_15_10586.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7e3011f4e12e2565d1df0962d83d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody9167092275729667484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_35_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f8d1e2525586c0fc5d13f9e3a157710.jpg","text":"TemporaryFile(/tmp/multipartBody1404975646391035793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_35_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d646c02f38ebd2b31180190b4bea2fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5469195272182801810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308152941,"filename":"image_10042025_17_35_04_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351283110","file1":"1351282943","file0":"1351282897","file4":"1351283326","file5":"1351283341","file3":"1351283273"},"map_files_photo_id_array":[{"photo_id":"1351283341","filename":"file5"},{"photo_id":"1351283110","filename":"file2"},{"photo_id":"1351283326","filename":"file4"},{"photo_id":"1351282943","filename":"file1"},{"photo_id":"1351282897","filename":"file0"},{"photo_id":"1351283273","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351283341":["hashtag1","hashtag2"]},{"1351282897":["hashtag1","hashtag2"]},{"1351283110":["hashtag1","hashtag2"]},{"1351283326":["hashtag1","hashtag2"]},{"1351283273":["hashtag1","hashtag2"]},{"1351282943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351283341, 1351282897, 1351283110, 1351283326, 1351283273, 1351282943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57213997840881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:02:32.695349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_55_9437.jpg', '/home/pi/Desktop/images/10042025/17/35/image_10042025_17_36_05_10428.jpg', '/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_15_9458.jpg', '/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_25_10737.jpg', '/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_35_9409.jpg', '/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_35_55_9437.jpg
/home/pi/Desktop/images/10042025/17/35/image_10042025_17_36_05_10428.jpg
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_15_9458.jpg
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_25_10737.jpg
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_35_9409.jpg
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351283686","1351283749","1351283637","1351283663","1351283723","1351283603"],"photo_ids_order":["1351283603","1351283637","1351283663","1351283686","1351283723","1351283749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84eb795eac15c291bc2b314de273aced.jpg","text":"TemporaryFile(/tmp/multipartBody905812423314159710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_36_25_10737.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6a7d37fd6cd8bebca68fa7003302263.jpg","text":"TemporaryFile(/tmp/multipartBody1172725460394106638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_36_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/649d8d75bd6123fa704c4a50928a04e5.jpg","text":"TemporaryFile(/tmp/multipartBody3858745940905666342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_36_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f71406dca8cb4e312390ed7e4acba3c.jpg","text":"TemporaryFile(/tmp/multipartBody370227524628647923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_36_15_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b1839cd088d67a3a1c7d3ea8a103d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5619057308136690975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_36_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7663a9b0ed58ac1e7e9a7aa99aca9ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7185701977137913567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308213256,"filename":"image_10042025_17_35_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351283663","file1":"1351283637","file0":"1351283603","file4":"1351283723","file5":"1351283749","file3":"1351283686"},"map_files_photo_id_array":[{"photo_id":"1351283749","filename":"file5"},{"photo_id":"1351283663","filename":"file2"},{"photo_id":"1351283723","filename":"file4"},{"photo_id":"1351283637","filename":"file1"},{"photo_id":"1351283603","filename":"file0"},{"photo_id":"1351283686","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351283686":["hashtag1","hashtag2"]},{"1351283749":["hashtag1","hashtag2"]},{"1351283637":["hashtag1","hashtag2"]},{"1351283663":["hashtag1","hashtag2"]},{"1351283723":["hashtag1","hashtag2"]},{"1351283603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351283686, 1351283749, 1351283637, 1351283663, 1351283723, 1351283603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.683018922805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:03:32.946668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_55_10351.jpg', '/home/pi/Desktop/images/10042025/17/36/image_10042025_17_37_05_9326.jpg', '/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_15_10342.jpg', '/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_25_10368.jpg', '/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_35_9418.jpg', '/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_45_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_36_55_10351.jpg
/home/pi/Desktop/images/10042025/17/36/image_10042025_17_37_05_9326.jpg
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_15_10342.jpg
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_25_10368.jpg
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_35_9418.jpg
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_45_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351283917","1351283926","1351283911","1351283922","1351283919","1351283915"],"photo_ids_order":["1351283911","1351283915","1351283917","1351283919","1351283922","1351283926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f89ce176084dd69dc9f4ac500b1fbabc.jpg","text":"TemporaryFile(/tmp/multipartBody7370766538225201871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_37_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/446aae9ab14ae5fbc8558f8d532dc74b.jpg","text":"TemporaryFile(/tmp/multipartBody262696932114935265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_37_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/830368568c4b56ad0c30f2ba51d965fa.jpg","text":"TemporaryFile(/tmp/multipartBody3121729243879248952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_36_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/977b3dc3d5b147380d1ec3650078af08.jpg","text":"TemporaryFile(/tmp/multipartBody55977913609411215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_37_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf16aa63e45042412bfb2d7048c06741.jpg","text":"TemporaryFile(/tmp/multipartBody9046122737654804190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_37_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/762b8bacb7e9a07053fb4ce54e9f6931.jpg","text":"TemporaryFile(/tmp/multipartBody7893462650701613258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308273410,"filename":"image_10042025_17_37_05_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351283917","file1":"1351283915","file0":"1351283911","file4":"1351283922","file5":"1351283926","file3":"1351283919"},"map_files_photo_id_array":[{"photo_id":"1351283926","filename":"file5"},{"photo_id":"1351283917","filename":"file2"},{"photo_id":"1351283922","filename":"file4"},{"photo_id":"1351283915","filename":"file1"},{"photo_id":"1351283911","filename":"file0"},{"photo_id":"1351283919","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351283917":["hashtag1","hashtag2"]},{"1351283926":["hashtag1","hashtag2"]},{"1351283911":["hashtag1","hashtag2"]},{"1351283922":["hashtag1","hashtag2"]},{"1351283919":["hashtag1","hashtag2"]},{"1351283915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351283917, 1351283926, 1351283911, 1351283922, 1351283919, 1351283915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.211817026138306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:04:33.071213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_55_9445.jpg', '/home/pi/Desktop/images/10042025/17/37/image_10042025_17_38_05_10358.jpg', '/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_15_10338.jpg', '/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_25_9448.jpg', '/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_35_10341.jpg', '/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_37_55_9445.jpg
/home/pi/Desktop/images/10042025/17/37/image_10042025_17_38_05_10358.jpg
/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_15_10338.jpg
/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_25_9448.jpg
/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_35_10341.jpg
/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284100","1351284051","1351284057","1351284039","1351284098","1351284082"],"photo_ids_order":["1351284039","1351284051","1351284057","1351284082","1351284098","1351284100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d65bf4694881ed507875e00ab551bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5049992922820128732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_38_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ed8d9391d819b97cecb1cb78bbad2da.jpg","text":"TemporaryFile(/tmp/multipartBody339461564729409145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_38_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb8a99c57cd48c101ae8c963cf7ec834.jpg","text":"TemporaryFile(/tmp/multipartBody2628138726860227113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_38_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20bb66e5dc759593c2b54ecfe5b8263f.jpg","text":"TemporaryFile(/tmp/multipartBody4539011939005810296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_37_55_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fa05d959106aa990e2015aef95d9bf2.jpg","text":"TemporaryFile(/tmp/multipartBody78502781142018119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_38_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c1435fdded767af7b02f391dd0a8cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7631799528900349155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308333540,"filename":"image_10042025_17_38_25_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284057","file1":"1351284051","file0":"1351284039","file4":"1351284098","file5":"1351284100","file3":"1351284082"},"map_files_photo_id_array":[{"photo_id":"1351284100","filename":"file5"},{"photo_id":"1351284057","filename":"file2"},{"photo_id":"1351284098","filename":"file4"},{"photo_id":"1351284051","filename":"file1"},{"photo_id":"1351284039","filename":"file0"},{"photo_id":"1351284082","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284100":["hashtag1","hashtag2"]},{"1351284051":["hashtag1","hashtag2"]},{"1351284057":["hashtag1","hashtag2"]},{"1351284039":["hashtag1","hashtag2"]},{"1351284098":["hashtag1","hashtag2"]},{"1351284082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284100, 1351284051, 1351284057, 1351284039, 1351284098, 1351284082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.998783349990845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:05:32.279215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_55_10346.jpg', '/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_25_10444.jpg', '/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_34_9386.jpg', '/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_45_10348.jpg', '/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_55_10355.jpg', '/home/pi/Desktop/images/10042025/17/39/image_10042025_17_40_05_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/38/image_10042025_17_38_55_10346.jpg
/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_25_10444.jpg
/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_34_9386.jpg
/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_45_10348.jpg
/home/pi/Desktop/images/10042025/17/39/image_10042025_17_39_55_10355.jpg
/home/pi/Desktop/images/10042025/17/39/image_10042025_17_40_05_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284198","1351284162","1351284188","1351284167","1351284164","1351284184"],"photo_ids_order":["1351284162","1351284164","1351284167","1351284184","1351284188","1351284198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71bed30c0a72675cd850192dbf96b653.jpg","text":"TemporaryFile(/tmp/multipartBody6373329634757125128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_40_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9fb84765f8d079ba1d0938a815fe7fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5571487738040248485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_38_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8854210da1f683d1a74d3fa1a38c1d41.jpg","text":"TemporaryFile(/tmp/multipartBody3823615517101241649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_39_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da901c301a2c51800945149b359c8673.jpg","text":"TemporaryFile(/tmp/multipartBody6475610536485129754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_39_34_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea755b443fe38f5c2bb54797bdccbf5f.jpg","text":"TemporaryFile(/tmp/multipartBody5936258366802096045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_39_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7ff05ad17bd4a2c9777503dce88ae2f.jpg","text":"TemporaryFile(/tmp/multipartBody8304533067798571867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308392755,"filename":"image_10042025_17_39_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284167","file1":"1351284164","file0":"1351284162","file4":"1351284188","file5":"1351284198","file3":"1351284184"},"map_files_photo_id_array":[{"photo_id":"1351284198","filename":"file5"},{"photo_id":"1351284167","filename":"file2"},{"photo_id":"1351284188","filename":"file4"},{"photo_id":"1351284164","filename":"file1"},{"photo_id":"1351284162","filename":"file0"},{"photo_id":"1351284184","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284198":["hashtag1","hashtag2"]},{"1351284162":["hashtag1","hashtag2"]},{"1351284188":["hashtag1","hashtag2"]},{"1351284167":["hashtag1","hashtag2"]},{"1351284164":["hashtag1","hashtag2"]},{"1351284184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284198, 1351284162, 1351284188, 1351284167, 1351284164, 1351284184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62367296218872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:06:32.533433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_15_10406.jpg', '/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_25_10362.jpg', '/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_35_9422.jpg', '/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_45_10340.jpg', '/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_55_9455.jpg', '/home/pi/Desktop/images/10042025/17/40/image_10042025_17_41_05_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_15_10406.jpg
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_25_10362.jpg
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_35_9422.jpg
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_45_10340.jpg
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_40_55_9455.jpg
/home/pi/Desktop/images/10042025/17/40/image_10042025_17_41_05_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284301","1351284228","1351284275","1351284251","1351284326","1351284214"],"photo_ids_order":["1351284214","1351284228","1351284251","1351284275","1351284301","1351284326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41ff2d568b563214c06bc06c09319a11.jpg","text":"TemporaryFile(/tmp/multipartBody6155011337395077870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_40_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e20a751ad61d2bc7c25853d3651782df.jpg","text":"TemporaryFile(/tmp/multipartBody2262163420949232773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_40_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5780e9da3a2b05ec626fe02b5665e501.jpg","text":"TemporaryFile(/tmp/multipartBody4787126983843864910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_40_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/938891b9d0196ebf899c966199bf7e73.jpg","text":"TemporaryFile(/tmp/multipartBody8751281895032372621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_40_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b4629bf55e24ea6245a27a958bfee7b.jpg","text":"TemporaryFile(/tmp/multipartBody4642394385524459289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_41_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e26de87fa6b826ce884c1eda85731a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7076581546089250944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308452992,"filename":"image_10042025_17_40_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284251","file1":"1351284228","file0":"1351284214","file4":"1351284301","file5":"1351284326","file3":"1351284275"},"map_files_photo_id_array":[{"photo_id":"1351284326","filename":"file5"},{"photo_id":"1351284251","filename":"file2"},{"photo_id":"1351284301","filename":"file4"},{"photo_id":"1351284228","filename":"file1"},{"photo_id":"1351284214","filename":"file0"},{"photo_id":"1351284275","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284301":["hashtag1","hashtag2"]},{"1351284228":["hashtag1","hashtag2"]},{"1351284275":["hashtag1","hashtag2"]},{"1351284251":["hashtag1","hashtag2"]},{"1351284326":["hashtag1","hashtag2"]},{"1351284214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284301, 1351284228, 1351284275, 1351284251, 1351284326, 1351284214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.904067516326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:07:32.736397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_15_10344.jpg', '/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_25_9388.jpg', '/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_35_10348.jpg', '/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_45_10365.jpg', '/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_55_9395.jpg', '/home/pi/Desktop/images/10042025/17/41/image_10042025_17_42_05_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_15_10344.jpg
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_25_9388.jpg
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_35_10348.jpg
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_45_10365.jpg
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_41_55_9395.jpg
/home/pi/Desktop/images/10042025/17/41/image_10042025_17_42_05_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284520","1351284624","1351284590","1351284479","1351284629","1351284619"],"photo_ids_order":["1351284479","1351284520","1351284590","1351284619","1351284624","1351284629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1630435a880acae3e475c5d113adf615.jpg","text":"TemporaryFile(/tmp/multipartBody7245699690304555571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_41_25_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3070e018d21f18dbe97256ddb44fff89.jpg","text":"TemporaryFile(/tmp/multipartBody4456178456346393756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_41_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3990e1be7a45c14461b6018d253df59.jpg","text":"TemporaryFile(/tmp/multipartBody8838482358923881666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_41_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f12aaa8fb75741debf2e9c2f6216208f.jpg","text":"TemporaryFile(/tmp/multipartBody8968366329320933018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_41_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/659cad4bafc1ff6b9db8c8413e999106.jpg","text":"TemporaryFile(/tmp/multipartBody8647453579325260526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_42_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d058579125510dc3d32aa623caeac4b.jpg","text":"TemporaryFile(/tmp/multipartBody4344524271310289019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308513207,"filename":"image_10042025_17_41_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284590","file1":"1351284520","file0":"1351284479","file4":"1351284624","file5":"1351284629","file3":"1351284619"},"map_files_photo_id_array":[{"photo_id":"1351284629","filename":"file5"},{"photo_id":"1351284590","filename":"file2"},{"photo_id":"1351284624","filename":"file4"},{"photo_id":"1351284520","filename":"file1"},{"photo_id":"1351284479","filename":"file0"},{"photo_id":"1351284619","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284520":["hashtag1","hashtag2"]},{"1351284624":["hashtag1","hashtag2"]},{"1351284590":["hashtag1","hashtag2"]},{"1351284479":["hashtag1","hashtag2"]},{"1351284629":["hashtag1","hashtag2"]},{"1351284619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284520, 1351284624, 1351284590, 1351284479, 1351284629, 1351284619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43980956077576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:08:32.865553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_14_9401.jpg', '/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_25_10425.jpg', '/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_35_10352.jpg', '/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_45_9354.jpg', '/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_55_10359.jpg', '/home/pi/Desktop/images/10042025/17/42/image_10042025_17_43_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_14_9401.jpg
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_25_10425.jpg
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_35_10352.jpg
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_45_9354.jpg
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_42_55_10359.jpg
/home/pi/Desktop/images/10042025/17/42/image_10042025_17_43_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284904","1351284963","1351284855","1351284941","1351284932","1351284937"],"photo_ids_order":["1351284855","1351284904","1351284932","1351284937","1351284941","1351284963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7db2fecde8b377c95a7adb6fd2bb24e2.jpg","text":"TemporaryFile(/tmp/multipartBody717073069777052143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_42_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cf3c93dafcce4f8d9eaf4a3cfccfbc8.jpg","text":"TemporaryFile(/tmp/multipartBody5232064526553598752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_43_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58f8d8e647a2a0243c015f6fa62da9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4392306311848230120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_42_14_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c23e3ba79aa5e77f0575ba9adbe778c9.jpg","text":"TemporaryFile(/tmp/multipartBody1539592520522973062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_42_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd7deeecd2349de66117b9d297ccbd6a.jpg","text":"TemporaryFile(/tmp/multipartBody6431966979094812198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_42_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d1f4116602f15fd5de3a9d16e89cbbf8.jpg","text":"TemporaryFile(/tmp/multipartBody4423754190745183994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308573337,"filename":"image_10042025_17_42_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284932","file1":"1351284904","file0":"1351284855","file4":"1351284941","file5":"1351284963","file3":"1351284937"},"map_files_photo_id_array":[{"photo_id":"1351284963","filename":"file5"},{"photo_id":"1351284932","filename":"file2"},{"photo_id":"1351284941","filename":"file4"},{"photo_id":"1351284904","filename":"file1"},{"photo_id":"1351284855","filename":"file0"},{"photo_id":"1351284937","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284904":["hashtag1","hashtag2"]},{"1351284963":["hashtag1","hashtag2"]},{"1351284855":["hashtag1","hashtag2"]},{"1351284941":["hashtag1","hashtag2"]},{"1351284932":["hashtag1","hashtag2"]},{"1351284937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284904, 1351284963, 1351284855, 1351284941, 1351284932, 1351284937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.958163738250732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:09:33.221095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_15_9329.jpg', '/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_25_10368.jpg', '/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_35_10350.jpg', '/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_45_9387.jpg', '/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_55_10420.jpg', '/home/pi/Desktop/images/10042025/17/43/image_10042025_17_44_05_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_15_9329.jpg
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_25_10368.jpg
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_35_10350.jpg
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_45_9387.jpg
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_43_55_10420.jpg
/home/pi/Desktop/images/10042025/17/43/image_10042025_17_44_05_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351284993","1351285008","1351284989","1351285031","1351284985","1351284979"],"photo_ids_order":["1351284979","1351284985","1351284989","1351284993","1351285008","1351285031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ed367d11237f84bdcb574548300bd86.jpg","text":"TemporaryFile(/tmp/multipartBody5355584250944814222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_43_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3ce8cdc0cf2956fda9875319f333eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2105024864470378509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_43_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/214ecc700ef2b8138f149c0169aebd8f.jpg","text":"TemporaryFile(/tmp/multipartBody1626772944322317022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_43_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e95fc7971e6f74d983f9b648ce92eb26.jpg","text":"TemporaryFile(/tmp/multipartBody2886180196585983483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_44_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c9776572c6b6a7954f9739608aa24ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3848229956480152777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_43_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bc9abff58b49a0848d996f222871501.jpg","text":"TemporaryFile(/tmp/multipartBody5863198053647499237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308633683,"filename":"image_10042025_17_43_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351284989","file1":"1351284985","file0":"1351284979","file4":"1351285008","file5":"1351285031","file3":"1351284993"},"map_files_photo_id_array":[{"photo_id":"1351285031","filename":"file5"},{"photo_id":"1351284989","filename":"file2"},{"photo_id":"1351285008","filename":"file4"},{"photo_id":"1351284985","filename":"file1"},{"photo_id":"1351284979","filename":"file0"},{"photo_id":"1351284993","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351284993":["hashtag1","hashtag2"]},{"1351285008":["hashtag1","hashtag2"]},{"1351284989":["hashtag1","hashtag2"]},{"1351285031":["hashtag1","hashtag2"]},{"1351284985":["hashtag1","hashtag2"]},{"1351284979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351284993, 1351285008, 1351284989, 1351285031, 1351284985, 1351284979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.273622274398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:10:32.283446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_25_10406.jpg', '/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_35_9343.jpg', '/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_45_10373.jpg', '/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_55_9396.jpg', '/home/pi/Desktop/images/10042025/17/44/image_10042025_17_45_05_10366.jpg', '/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_15_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_25_10406.jpg
/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_35_9343.jpg
/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_45_10373.jpg
/home/pi/Desktop/images/10042025/17/44/image_10042025_17_44_55_9396.jpg
/home/pi/Desktop/images/10042025/17/44/image_10042025_17_45_05_10366.jpg
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_15_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351285322","1351285418","1351285360","1351285444","1351285426","1351285398"],"photo_ids_order":["1351285322","1351285360","1351285398","1351285418","1351285426","1351285444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/86d242357008d9f63f629bffdfc7258b.jpg","text":"TemporaryFile(/tmp/multipartBody6574313410527358905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_44_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60db4ee9190f7d4378e16ad90b167170.jpg","text":"TemporaryFile(/tmp/multipartBody4552861120789951125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_44_55_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc96732c1fe18c58aab4b27ec6f12146.jpg","text":"TemporaryFile(/tmp/multipartBody4909632169645351884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_44_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c6721c1c21014d3f573d828976e2f55.jpg","text":"TemporaryFile(/tmp/multipartBody8667566954083359897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_45_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/baf495175b2bd057a067f01b844fc30c.jpg","text":"TemporaryFile(/tmp/multipartBody6652410261535213941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_45_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1411a88995afb21c8dd097990847001c.jpg","text":"TemporaryFile(/tmp/multipartBody3201976204425526467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308692744,"filename":"image_10042025_17_44_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351285398","file1":"1351285360","file0":"1351285322","file4":"1351285426","file5":"1351285444","file3":"1351285418"},"map_files_photo_id_array":[{"photo_id":"1351285444","filename":"file5"},{"photo_id":"1351285398","filename":"file2"},{"photo_id":"1351285426","filename":"file4"},{"photo_id":"1351285360","filename":"file1"},{"photo_id":"1351285322","filename":"file0"},{"photo_id":"1351285418","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351285322":["hashtag1","hashtag2"]},{"1351285418":["hashtag1","hashtag2"]},{"1351285360":["hashtag1","hashtag2"]},{"1351285444":["hashtag1","hashtag2"]},{"1351285426":["hashtag1","hashtag2"]},{"1351285398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351285322, 1351285418, 1351285360, 1351285444, 1351285426, 1351285398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.580530643463135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:11:32.558082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_25_9356.jpg', '/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_35_10408.jpg', '/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_45_10356.jpg', '/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_55_9399.jpg', '/home/pi/Desktop/images/10042025/17/45/image_10042025_17_46_05_10346.jpg', '/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_15_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_25_9356.jpg
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_35_10408.jpg
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_45_10356.jpg
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_45_55_9399.jpg
/home/pi/Desktop/images/10042025/17/45/image_10042025_17_46_05_10346.jpg
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_15_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351285638","1351285613","1351285666","1351285660","1351285741","1351285689"],"photo_ids_order":["1351285613","1351285638","1351285660","1351285666","1351285689","1351285741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/107c74208855b939be96f8402d6e039a.jpg","text":"TemporaryFile(/tmp/multipartBody5706479140190659801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_45_35_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7500dc004e4b865a451b19020ffb4e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6307189419387983256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_45_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bc8fca4ad39ccabd6f3e66e33d97bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3349010645284400821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_45_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76476426e72d8b223c829a4e97dd000d.jpg","text":"TemporaryFile(/tmp/multipartBody627583569804668360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_45_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09af29308fb46aa1d0925c1eb46161c9.jpg","text":"TemporaryFile(/tmp/multipartBody2864164327245960692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_46_15_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b8ec882982c4df1a7e9e5acf28de972.jpg","text":"TemporaryFile(/tmp/multipartBody6414533911738586333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308753026,"filename":"image_10042025_17_46_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351285660","file1":"1351285638","file0":"1351285613","file4":"1351285689","file5":"1351285741","file3":"1351285666"},"map_files_photo_id_array":[{"photo_id":"1351285741","filename":"file5"},{"photo_id":"1351285660","filename":"file2"},{"photo_id":"1351285689","filename":"file4"},{"photo_id":"1351285638","filename":"file1"},{"photo_id":"1351285613","filename":"file0"},{"photo_id":"1351285666","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351285638":["hashtag1","hashtag2"]},{"1351285613":["hashtag1","hashtag2"]},{"1351285666":["hashtag1","hashtag2"]},{"1351285660":["hashtag1","hashtag2"]},{"1351285741":["hashtag1","hashtag2"]},{"1351285689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351285638, 1351285613, 1351285666, 1351285660, 1351285741, 1351285689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73074126243591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:12:32.792438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_25_10400.jpg', '/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_35_10350.jpg', '/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_45_9395.jpg', '/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_55_10349.jpg', '/home/pi/Desktop/images/10042025/17/46/image_10042025_17_47_05_10356.jpg', '/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_25_10400.jpg
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_35_10350.jpg
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_45_9395.jpg
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_46_55_10349.jpg
/home/pi/Desktop/images/10042025/17/46/image_10042025_17_47_05_10356.jpg
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351285935","1351285947","1351285932","1351285943","1351285919","1351285939"],"photo_ids_order":["1351285919","1351285932","1351285935","1351285939","1351285943","1351285947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/046280f2d23a459f5a33a444005d8e54.jpg","text":"TemporaryFile(/tmp/multipartBody1706039653427317314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_46_45_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b759ccb585b3b500b8573ce8410acb0.jpg","text":"TemporaryFile(/tmp/multipartBody1410680848094929089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_47_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f8c7867fea0e0be234b25c8d315fa40.jpg","text":"TemporaryFile(/tmp/multipartBody988768886530844799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_46_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/443a12e855133669a1d86f80bf1cfc10.jpg","text":"TemporaryFile(/tmp/multipartBody1944395867417838431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_47_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d86eeec1d29851ff8ee1369432bda8c.jpg","text":"TemporaryFile(/tmp/multipartBody5551490054570252003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_46_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79c8ecb71e25ce18274f633fe0ed377d.jpg","text":"TemporaryFile(/tmp/multipartBody4770259436312314814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308813257,"filename":"image_10042025_17_46_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351285935","file1":"1351285932","file0":"1351285919","file4":"1351285943","file5":"1351285947","file3":"1351285939"},"map_files_photo_id_array":[{"photo_id":"1351285947","filename":"file5"},{"photo_id":"1351285935","filename":"file2"},{"photo_id":"1351285943","filename":"file4"},{"photo_id":"1351285932","filename":"file1"},{"photo_id":"1351285919","filename":"file0"},{"photo_id":"1351285939","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351285935":["hashtag1","hashtag2"]},{"1351285947":["hashtag1","hashtag2"]},{"1351285932":["hashtag1","hashtag2"]},{"1351285943":["hashtag1","hashtag2"]},{"1351285919":["hashtag1","hashtag2"]},{"1351285939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351285935, 1351285947, 1351285932, 1351285943, 1351285919, 1351285939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25384020805359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:13:33.102519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_25_10341.jpg', '/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_34_9412.jpg', '/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_45_10421.jpg', '/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_55_10356.jpg', '/home/pi/Desktop/images/10042025/17/47/image_10042025_17_48_05_9421.jpg', '/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_15_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_25_10341.jpg
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_34_9412.jpg
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_45_10421.jpg
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_47_55_10356.jpg
/home/pi/Desktop/images/10042025/17/47/image_10042025_17_48_05_9421.jpg
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_15_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351286150","1351286168","1351286126","1351286080","1351286077","1351286082"],"photo_ids_order":["1351286077","1351286080","1351286082","1351286126","1351286150","1351286168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6b8ef1bf97e7b05f1d5525057ca8280c.jpg","text":"TemporaryFile(/tmp/multipartBody1171223137911510979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_48_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b95afe4bdaf0a7573e1000b5cd227644.jpg","text":"TemporaryFile(/tmp/multipartBody6582477285723081374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_48_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6194a20723fb0a5ea7e0a87e30f48c10.jpg","text":"TemporaryFile(/tmp/multipartBody7762571332704446696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_47_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7159ed394a5299ab9c4239b84903b1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7139788917001162684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_47_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/989c190540ccc4e10fc4d4bf458baec1.jpg","text":"TemporaryFile(/tmp/multipartBody817805069415841603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_47_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82ca4b34ec52f7ece320ca1171bdd027.jpg","text":"TemporaryFile(/tmp/multipartBody3077520575029580301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308873564,"filename":"image_10042025_17_47_45_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351286082","file1":"1351286080","file0":"1351286077","file4":"1351286150","file5":"1351286168","file3":"1351286126"},"map_files_photo_id_array":[{"photo_id":"1351286168","filename":"file5"},{"photo_id":"1351286082","filename":"file2"},{"photo_id":"1351286150","filename":"file4"},{"photo_id":"1351286080","filename":"file1"},{"photo_id":"1351286077","filename":"file0"},{"photo_id":"1351286126","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351286150":["hashtag1","hashtag2"]},{"1351286168":["hashtag1","hashtag2"]},{"1351286126":["hashtag1","hashtag2"]},{"1351286080":["hashtag1","hashtag2"]},{"1351286077":["hashtag1","hashtag2"]},{"1351286082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351286150, 1351286168, 1351286126, 1351286080, 1351286077, 1351286082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73189830780029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:14:33.022560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_25_9414.jpg', '/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_35_10354.jpg', '/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_45_10353.jpg', '/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_55_9361.jpg', '/home/pi/Desktop/images/10042025/17/48/image_10042025_17_49_05_10368.jpg', '/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_25_9414.jpg
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_35_10354.jpg
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_45_10353.jpg
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_48_55_9361.jpg
/home/pi/Desktop/images/10042025/17/48/image_10042025_17_49_05_10368.jpg
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351286217","1351286210","1351286221","1351286224","1351286212","1351286214"],"photo_ids_order":["1351286210","1351286212","1351286214","1351286217","1351286221","1351286224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/731f9f0bf113d9804b1059e5f75725ce.jpg","text":"TemporaryFile(/tmp/multipartBody3737619842505382665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_48_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/744f96288be5bfd0fc7a711e8781df99.jpg","text":"TemporaryFile(/tmp/multipartBody2183777212451856684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_48_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f579225f1e6059f575e1010a71631cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8184313518313759731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_49_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f88ff0b8114099b888e32688cd9c5ca.jpg","text":"TemporaryFile(/tmp/multipartBody699356067558650018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_49_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f68254f87dce0e563c0cc5255807ebf.jpg","text":"TemporaryFile(/tmp/multipartBody31345398211712627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_48_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf45b348ce20d27501c1a4cf40c37f13.jpg","text":"TemporaryFile(/tmp/multipartBody1398947590260013703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308933487,"filename":"image_10042025_17_48_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351286214","file1":"1351286212","file0":"1351286210","file4":"1351286221","file5":"1351286224","file3":"1351286217"},"map_files_photo_id_array":[{"photo_id":"1351286224","filename":"file5"},{"photo_id":"1351286214","filename":"file2"},{"photo_id":"1351286221","filename":"file4"},{"photo_id":"1351286212","filename":"file1"},{"photo_id":"1351286210","filename":"file0"},{"photo_id":"1351286217","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351286217":["hashtag1","hashtag2"]},{"1351286210":["hashtag1","hashtag2"]},{"1351286221":["hashtag1","hashtag2"]},{"1351286224":["hashtag1","hashtag2"]},{"1351286212":["hashtag1","hashtag2"]},{"1351286214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351286217, 1351286210, 1351286221, 1351286224, 1351286212, 1351286214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80270218849182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:15:32.341735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_25_9458.jpg', '/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_35_10355.jpg', '/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_45_9412.jpg', '/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_55_10353.jpg', '/home/pi/Desktop/images/10042025/17/49/image_10042025_17_50_05_10353.jpg', '/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_15_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_25_9458.jpg
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_35_10355.jpg
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_45_9412.jpg
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_49_55_10353.jpg
/home/pi/Desktop/images/10042025/17/49/image_10042025_17_50_05_10353.jpg
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_15_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351286255","1351286249","1351286266","1351286263","1351286245","1351286283"],"photo_ids_order":["1351286245","1351286249","1351286255","1351286263","1351286266","1351286283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b013703c4e03b19958229be9060885bc.jpg","text":"TemporaryFile(/tmp/multipartBody6742506063619530019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_49_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d2889c1f4c329c17347cd506fdd4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2802790158437808005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_49_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0c336e50acb37ec450211e9f38ac9fd.jpg","text":"TemporaryFile(/tmp/multipartBody7334989515131073461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_50_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c33822776a368ff9850e7b52be8eba8.jpg","text":"TemporaryFile(/tmp/multipartBody8256312568415494532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_49_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3340557ea14cda35fe6cec076de5e911.jpg","text":"TemporaryFile(/tmp/multipartBody5895009786587017346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_49_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2583bf39768a6aa1d51cf909da48db25.jpg","text":"TemporaryFile(/tmp/multipartBody683515381919374797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744308992808,"filename":"image_10042025_17_50_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351286255","file1":"1351286249","file0":"1351286245","file4":"1351286266","file5":"1351286283","file3":"1351286263"},"map_files_photo_id_array":[{"photo_id":"1351286283","filename":"file5"},{"photo_id":"1351286255","filename":"file2"},{"photo_id":"1351286266","filename":"file4"},{"photo_id":"1351286249","filename":"file1"},{"photo_id":"1351286245","filename":"file0"},{"photo_id":"1351286263","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351286255":["hashtag1","hashtag2"]},{"1351286249":["hashtag1","hashtag2"]},{"1351286266":["hashtag1","hashtag2"]},{"1351286263":["hashtag1","hashtag2"]},{"1351286245":["hashtag1","hashtag2"]},{"1351286283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351286255, 1351286249, 1351286266, 1351286263, 1351286245, 1351286283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.876986026763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:16:32.589799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_25_10355.jpg', '/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_35_10392.jpg', '/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_45_9338.jpg', '/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_55_10358.jpg', '/home/pi/Desktop/images/10042025/17/50/image_10042025_17_51_05_10381.jpg', '/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_15_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_25_10355.jpg
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_35_10392.jpg
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_45_9338.jpg
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_50_55_10358.jpg
/home/pi/Desktop/images/10042025/17/50/image_10042025_17_51_05_10381.jpg
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_15_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351286348","1351286306","1351286309","1351286303","1351286347","1351286334"],"photo_ids_order":["1351286303","1351286306","1351286309","1351286334","1351286347","1351286348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ac208e1aa19d4f12ce20e8f1c80d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8976450104205280174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_51_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a67eb2f0fef966ceb916b9e6614d77cb.jpg","text":"TemporaryFile(/tmp/multipartBody4274030643712050385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_50_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0701ad2fc2deb84783b39aa810dd209c.jpg","text":"TemporaryFile(/tmp/multipartBody1700341443911312115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_50_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/399dc446ce5155c9fd16a97b25ec383e.jpg","text":"TemporaryFile(/tmp/multipartBody2273141510631760038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_50_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c706ffb9f713454397294095f36f1af6.jpg","text":"TemporaryFile(/tmp/multipartBody3422590232220214207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_51_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a94f528097be12bf1f1b2625643029d8.jpg","text":"TemporaryFile(/tmp/multipartBody7343935154812425762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309053078,"filename":"image_10042025_17_50_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351286309","file1":"1351286306","file0":"1351286303","file4":"1351286347","file5":"1351286348","file3":"1351286334"},"map_files_photo_id_array":[{"photo_id":"1351286348","filename":"file5"},{"photo_id":"1351286309","filename":"file2"},{"photo_id":"1351286347","filename":"file4"},{"photo_id":"1351286306","filename":"file1"},{"photo_id":"1351286303","filename":"file0"},{"photo_id":"1351286334","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351286348":["hashtag1","hashtag2"]},{"1351286306":["hashtag1","hashtag2"]},{"1351286309":["hashtag1","hashtag2"]},{"1351286303":["hashtag1","hashtag2"]},{"1351286347":["hashtag1","hashtag2"]},{"1351286334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351286348, 1351286306, 1351286309, 1351286303, 1351286347, 1351286334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03093409538269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:17:32.699681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_25_10353.jpg', '/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_35_9413.jpg', '/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_45_10414.jpg', '/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_55_10406.jpg', '/home/pi/Desktop/images/10042025/17/51/image_10042025_17_52_05_9410.jpg', '/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_25_10353.jpg
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_35_9413.jpg
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_45_10414.jpg
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_51_55_10406.jpg
/home/pi/Desktop/images/10042025/17/51/image_10042025_17_52_05_9410.jpg
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351286564","1351286492","1351286483","1351286456","1351286438","1351286478"],"photo_ids_order":["1351286438","1351286456","1351286478","1351286483","1351286492","1351286564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a637d7bea370faa7612d6078df68b212.jpg","text":"TemporaryFile(/tmp/multipartBody1802003201079977199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_52_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/261f8c1ff115a412fbc8b1f41fbb8049.jpg","text":"TemporaryFile(/tmp/multipartBody3171412196542530270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_52_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ceca56e13aa93c3eb8c92dd557392d54.jpg","text":"TemporaryFile(/tmp/multipartBody620983961240873883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_51_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a07e502f23f878baf264ca1c5304b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody4058205588348448519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_51_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/329a407e5a03f4ff4638148478ad75be.jpg","text":"TemporaryFile(/tmp/multipartBody5571599801176043027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_51_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/631d6ddf53872d6e96b302b40e2f861e.jpg","text":"TemporaryFile(/tmp/multipartBody4763334412788038519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309113187,"filename":"image_10042025_17_51_45_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351286478","file1":"1351286456","file0":"1351286438","file4":"1351286492","file5":"1351286564","file3":"1351286483"},"map_files_photo_id_array":[{"photo_id":"1351286564","filename":"file5"},{"photo_id":"1351286478","filename":"file2"},{"photo_id":"1351286492","filename":"file4"},{"photo_id":"1351286456","filename":"file1"},{"photo_id":"1351286438","filename":"file0"},{"photo_id":"1351286483","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351286564":["hashtag1","hashtag2"]},{"1351286492":["hashtag1","hashtag2"]},{"1351286483":["hashtag1","hashtag2"]},{"1351286456":["hashtag1","hashtag2"]},{"1351286438":["hashtag1","hashtag2"]},{"1351286478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351286564, 1351286492, 1351286483, 1351286456, 1351286438, 1351286478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99162435531616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:18:32.910485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_25_9462.jpg', '/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_35_10357.jpg', '/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_45_10430.jpg', '/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_55_9419.jpg', '/home/pi/Desktop/images/10042025/17/52/image_10042025_17_53_05_10345.jpg', '/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_15_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_25_9462.jpg
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_35_10357.jpg
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_45_10430.jpg
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_52_55_9419.jpg
/home/pi/Desktop/images/10042025/17/52/image_10042025_17_53_05_10345.jpg
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_15_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351287379","1351287121","1351287319","1351287489","1351287243","1351287051"],"photo_ids_order":["1351287051","1351287121","1351287243","1351287319","1351287379","1351287489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9050af73bed57b1d18419285922fda27.jpg","text":"TemporaryFile(/tmp/multipartBody4529685024175377125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_53_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db69d3b59994fcf1d07b11cfd198564c.jpg","text":"TemporaryFile(/tmp/multipartBody1395007321187257977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_52_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a45a9df652e2270e24896786c0ca107f.jpg","text":"TemporaryFile(/tmp/multipartBody470173019757768594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_52_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a27a9eef19cae040e1db579d1d034a83.jpg","text":"TemporaryFile(/tmp/multipartBody669445928436921979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_53_15_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f586417f93f2cd3d1f512af1a91d30c.jpg","text":"TemporaryFile(/tmp/multipartBody4412655295265691395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_52_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4fc3e51a97cd131c1f45a7844764d68.jpg","text":"TemporaryFile(/tmp/multipartBody1934182611750592656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309173390,"filename":"image_10042025_17_52_25_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351287243","file1":"1351287121","file0":"1351287051","file4":"1351287379","file5":"1351287489","file3":"1351287319"},"map_files_photo_id_array":[{"photo_id":"1351287489","filename":"file5"},{"photo_id":"1351287243","filename":"file2"},{"photo_id":"1351287379","filename":"file4"},{"photo_id":"1351287121","filename":"file1"},{"photo_id":"1351287051","filename":"file0"},{"photo_id":"1351287319","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351287379":["hashtag1","hashtag2"]},{"1351287121":["hashtag1","hashtag2"]},{"1351287319":["hashtag1","hashtag2"]},{"1351287489":["hashtag1","hashtag2"]},{"1351287243":["hashtag1","hashtag2"]},{"1351287051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351287379, 1351287121, 1351287319, 1351287489, 1351287243, 1351287051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.06423902511597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:19:33.215719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_25_10347.jpg', '/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_35_10347.jpg', '/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_45_9437.jpg', '/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_55_10449.jpg', '/home/pi/Desktop/images/10042025/17/53/image_10042025_17_54_05_9415.jpg', '/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_25_10347.jpg
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_35_10347.jpg
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_45_9437.jpg
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_53_55_10449.jpg
/home/pi/Desktop/images/10042025/17/53/image_10042025_17_54_05_9415.jpg
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351288207","1351288545","1351288332","1351288281","1351288437","1351288133"],"photo_ids_order":["1351288133","1351288207","1351288281","1351288332","1351288437","1351288545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb7b21cb03076244e66380bf54feb295.jpg","text":"TemporaryFile(/tmp/multipartBody6402116645255059094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_53_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88ce3abd4296f5b1558336a68ed17515.jpg","text":"TemporaryFile(/tmp/multipartBody3552646346822928432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_54_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/909d8ed3279cbf2ebf34aacf6f9896bb.jpg","text":"TemporaryFile(/tmp/multipartBody4533145280136613953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_53_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cde9ac70517ff41b49600c970a97e63.jpg","text":"TemporaryFile(/tmp/multipartBody7156555035665235549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_53_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/794ddeeea1a1c20dfccb0020649c6247.jpg","text":"TemporaryFile(/tmp/multipartBody8619909567796513855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_54_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad42d52a1cfc1bc564c9d01a44a43c71.jpg","text":"TemporaryFile(/tmp/multipartBody6870414570084411152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309233696,"filename":"image_10042025_17_53_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351288281","file1":"1351288207","file0":"1351288133","file4":"1351288437","file5":"1351288545","file3":"1351288332"},"map_files_photo_id_array":[{"photo_id":"1351288545","filename":"file5"},{"photo_id":"1351288281","filename":"file2"},{"photo_id":"1351288437","filename":"file4"},{"photo_id":"1351288207","filename":"file1"},{"photo_id":"1351288133","filename":"file0"},{"photo_id":"1351288332","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351288207":["hashtag1","hashtag2"]},{"1351288545":["hashtag1","hashtag2"]},{"1351288332":["hashtag1","hashtag2"]},{"1351288281":["hashtag1","hashtag2"]},{"1351288437":["hashtag1","hashtag2"]},{"1351288133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351288207, 1351288545, 1351288332, 1351288281, 1351288437, 1351288133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.471911907196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:20:32.298619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_25_10410.jpg', '/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_35_9349.jpg', '/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_45_10348.jpg', '/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_55_10373.jpg', '/home/pi/Desktop/images/10042025/17/54/image_10042025_17_55_05_9436.jpg', '/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_25_10410.jpg
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_35_9349.jpg
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_45_10348.jpg
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_54_55_10373.jpg
/home/pi/Desktop/images/10042025/17/54/image_10042025_17_55_05_9436.jpg
/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351288925","1351288981","1351288965","1351289001","1351288976","1351288985"],"photo_ids_order":["1351288925","1351288965","1351288976","1351288981","1351288985","1351289001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/456b52c40d24cbc6000348feb6adf6d8.jpg","text":"TemporaryFile(/tmp/multipartBody1992524058498363991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_54_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/151ad2cfe9a99f96add4aa6a0ed0e3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6042606708894430049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_54_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8bbdfe6d5d9e55029f4a9557f3af44c.jpg","text":"TemporaryFile(/tmp/multipartBody5718340039648510328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_54_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ad2e0350f6fd78eae573f9ebd54c93b.jpg","text":"TemporaryFile(/tmp/multipartBody9122137819371181179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_55_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38f428d1f228b17c251b00784c95f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2455197172110627126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_54_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c76980a550215b5f4fe190050702c4b.jpg","text":"TemporaryFile(/tmp/multipartBody454290087648750771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309292782,"filename":"image_10042025_17_55_05_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351288976","file1":"1351288965","file0":"1351288925","file4":"1351288985","file5":"1351289001","file3":"1351288981"},"map_files_photo_id_array":[{"photo_id":"1351289001","filename":"file5"},{"photo_id":"1351288976","filename":"file2"},{"photo_id":"1351288985","filename":"file4"},{"photo_id":"1351288965","filename":"file1"},{"photo_id":"1351288925","filename":"file0"},{"photo_id":"1351288981","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351288925":["hashtag1","hashtag2"]},{"1351288981":["hashtag1","hashtag2"]},{"1351288965":["hashtag1","hashtag2"]},{"1351289001":["hashtag1","hashtag2"]},{"1351288976":["hashtag1","hashtag2"]},{"1351288985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351288925, 1351288981, 1351288965, 1351289001, 1351288976, 1351288985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84049463272095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:21:32.492840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_35_10366.jpg', '/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_45_10359.jpg', '/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_55_9351.jpg', '/home/pi/Desktop/images/10042025/17/55/image_10042025_17_56_05_10399.jpg', '/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_15_9387.jpg', '/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_25_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_35_10366.jpg
/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_45_10359.jpg
/home/pi/Desktop/images/10042025/17/55/image_10042025_17_55_55_9351.jpg
/home/pi/Desktop/images/10042025/17/55/image_10042025_17_56_05_10399.jpg
/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_15_9387.jpg
/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_25_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289364","1351289186","1351289273","1351289240","1351289333","1351289300"],"photo_ids_order":["1351289186","1351289240","1351289273","1351289300","1351289333","1351289364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e68d5ee7022d3e70a5bc0bcde62788c7.jpg","text":"TemporaryFile(/tmp/multipartBody3285870032260989628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_56_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a90e9ae83cb037532d9801a2641fc2ad.jpg","text":"TemporaryFile(/tmp/multipartBody2184813403487494264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_55_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26c003daf6fea1d4ab8cae7844103312.jpg","text":"TemporaryFile(/tmp/multipartBody7889214565256145537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_55_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f8464b78296b7947e88984a85b5071a.jpg","text":"TemporaryFile(/tmp/multipartBody2960597963494740428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_55_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d924f4197f32cb4792a9fd7b898b6643.jpg","text":"TemporaryFile(/tmp/multipartBody6518989154183623267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_56_15_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e8890a6394d73bdc57900f91c4988b4.jpg","text":"TemporaryFile(/tmp/multipartBody3927176346485502618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309352980,"filename":"image_10042025_17_56_05_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289273","file1":"1351289240","file0":"1351289186","file4":"1351289333","file5":"1351289364","file3":"1351289300"},"map_files_photo_id_array":[{"photo_id":"1351289364","filename":"file5"},{"photo_id":"1351289273","filename":"file2"},{"photo_id":"1351289333","filename":"file4"},{"photo_id":"1351289240","filename":"file1"},{"photo_id":"1351289186","filename":"file0"},{"photo_id":"1351289300","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289364":["hashtag1","hashtag2"]},{"1351289186":["hashtag1","hashtag2"]},{"1351289273":["hashtag1","hashtag2"]},{"1351289240":["hashtag1","hashtag2"]},{"1351289333":["hashtag1","hashtag2"]},{"1351289300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289364, 1351289186, 1351289273, 1351289240, 1351289333, 1351289300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.081276893615723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:22:32.660299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_35_10363.jpg', '/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_45_9338.jpg', '/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_55_10367.jpg', '/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_25_10352.jpg', '/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_35_10348.jpg', '/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_45_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_35_10363.jpg
/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_45_9338.jpg
/home/pi/Desktop/images/10042025/17/56/image_10042025_17_56_55_10367.jpg
/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_25_10352.jpg
/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_35_10348.jpg
/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_45_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289512","1351289518","1351289526","1351289502","1351289522","1351289497"],"photo_ids_order":["1351289497","1351289502","1351289512","1351289518","1351289522","1351289526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4edf508d411de547d52f4c32b09fa2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7024797265909741466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_56_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ddf2d15a2c167c236b10b944ba3cd82.jpg","text":"TemporaryFile(/tmp/multipartBody2919470441692127953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_57_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1df2894f24d480e553063d7da9da7123.jpg","text":"TemporaryFile(/tmp/multipartBody3319983806603305774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_57_45_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b181b7a0cf528d85d6de8d6f7e2abb88.jpg","text":"TemporaryFile(/tmp/multipartBody7426106080331094493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_56_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2ff058388322eaf92c7d7d22441a4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5413707121858797519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_57_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be9328e79f5a3d81d1c9a0df6dc99b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4599281521064911811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309413147,"filename":"image_10042025_17_56_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289512","file1":"1351289502","file0":"1351289497","file4":"1351289522","file5":"1351289526","file3":"1351289518"},"map_files_photo_id_array":[{"photo_id":"1351289526","filename":"file5"},{"photo_id":"1351289512","filename":"file2"},{"photo_id":"1351289522","filename":"file4"},{"photo_id":"1351289502","filename":"file1"},{"photo_id":"1351289497","filename":"file0"},{"photo_id":"1351289518","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289512":["hashtag1","hashtag2"]},{"1351289518":["hashtag1","hashtag2"]},{"1351289526":["hashtag1","hashtag2"]},{"1351289502":["hashtag1","hashtag2"]},{"1351289522":["hashtag1","hashtag2"]},{"1351289497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289512, 1351289518, 1351289526, 1351289502, 1351289522, 1351289497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39286541938782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:23:32.892599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_55_10363.jpg', '/home/pi/Desktop/images/10042025/17/57/image_10042025_17_58_05_10371.jpg', '/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_15_9339.jpg', '/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_25_10365.jpg', '/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_35_9406.jpg', '/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_45_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/57/image_10042025_17_57_55_10363.jpg
/home/pi/Desktop/images/10042025/17/57/image_10042025_17_58_05_10371.jpg
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_15_9339.jpg
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_25_10365.jpg
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_35_9406.jpg
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_45_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289719","1351289710","1351289716","1351289724","1351289702","1351289677"],"photo_ids_order":["1351289677","1351289702","1351289710","1351289716","1351289719","1351289724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10c7f7595d829a0b8489cc10435cfc8a.jpg","text":"TemporaryFile(/tmp/multipartBody8238698554402282099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_58_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd7b45bbea0277efed802c4ac97dca97.jpg","text":"TemporaryFile(/tmp/multipartBody621047889463868871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_58_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bf64729195489abe0cd285e77ab89d3.jpg","text":"TemporaryFile(/tmp/multipartBody339329369215789802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_58_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b9737e735abe08172e32bb68230e250.jpg","text":"TemporaryFile(/tmp/multipartBody4902256960188753879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_58_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d28a792905bde34d8f5680e8e9d373a.jpg","text":"TemporaryFile(/tmp/multipartBody2164603355510153275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_58_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6a5c9e6ea0c8ef5153faf9dd7b5223d.jpg","text":"TemporaryFile(/tmp/multipartBody6815248747972224318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309473363,"filename":"image_10042025_17_57_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289710","file1":"1351289702","file0":"1351289677","file4":"1351289719","file5":"1351289724","file3":"1351289716"},"map_files_photo_id_array":[{"photo_id":"1351289724","filename":"file5"},{"photo_id":"1351289710","filename":"file2"},{"photo_id":"1351289719","filename":"file4"},{"photo_id":"1351289702","filename":"file1"},{"photo_id":"1351289677","filename":"file0"},{"photo_id":"1351289716","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289719":["hashtag1","hashtag2"]},{"1351289710":["hashtag1","hashtag2"]},{"1351289716":["hashtag1","hashtag2"]},{"1351289724":["hashtag1","hashtag2"]},{"1351289702":["hashtag1","hashtag2"]},{"1351289677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289719, 1351289710, 1351289716, 1351289724, 1351289702, 1351289677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.677056312561035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:24:33.067284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_55_10373.jpg', '/home/pi/Desktop/images/10042025/17/58/image_10042025_17_59_05_9360.jpg', '/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_15_10335.jpg', '/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_25_10427.jpg', '/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_35_9398.jpg', '/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_45_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_58_55_10373.jpg
/home/pi/Desktop/images/10042025/17/58/image_10042025_17_59_05_9360.jpg
/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_15_10335.jpg
/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_25_10427.jpg
/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_35_9398.jpg
/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_45_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289758","1351289739","1351289762","1351289744","1351289753","1351289749"],"photo_ids_order":["1351289739","1351289744","1351289749","1351289753","1351289758","1351289762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e921a5a9cb9228b7033913003ecc5015.jpg","text":"TemporaryFile(/tmp/multipartBody6534479518327179053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_59_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f52dff3b2656c5e6c4cbb571ad8fbe5e.jpg","text":"TemporaryFile(/tmp/multipartBody4112080126189446592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_58_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/066ee4f99a30b414893092be2f5950b5.jpg","text":"TemporaryFile(/tmp/multipartBody2823623364353445894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_59_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3eab8d6eb0532398d8b1d065883da65.jpg","text":"TemporaryFile(/tmp/multipartBody6240335006964355303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_59_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44373f906944b8314e5d9fe27cb7dadc.jpg","text":"TemporaryFile(/tmp/multipartBody3769304425974889190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_59_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c5e50315343d7f2672ad50075073df7.jpg","text":"TemporaryFile(/tmp/multipartBody8312966066983154173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309533538,"filename":"image_10042025_17_59_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289749","file1":"1351289744","file0":"1351289739","file4":"1351289758","file5":"1351289762","file3":"1351289753"},"map_files_photo_id_array":[{"photo_id":"1351289762","filename":"file5"},{"photo_id":"1351289749","filename":"file2"},{"photo_id":"1351289758","filename":"file4"},{"photo_id":"1351289744","filename":"file1"},{"photo_id":"1351289739","filename":"file0"},{"photo_id":"1351289753","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289758":["hashtag1","hashtag2"]},{"1351289739":["hashtag1","hashtag2"]},{"1351289762":["hashtag1","hashtag2"]},{"1351289744":["hashtag1","hashtag2"]},{"1351289753":["hashtag1","hashtag2"]},{"1351289749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289758, 1351289739, 1351289762, 1351289744, 1351289753, 1351289749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30611872673035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:25:32.232621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_55_9415.jpg', '/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_15_10078.jpg', '/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_25_10356.jpg', '/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_35_10502.jpg', '/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_45_9351.jpg', '/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/17/59/image_10042025_17_59_55_9415.jpg
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_15_10078.jpg
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_25_10356.jpg
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_35_10502.jpg
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_45_9351.jpg
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_01_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289821","1351289827","1351289832","1351289823","1351289817","1351289834"],"photo_ids_order":["1351289817","1351289821","1351289823","1351289827","1351289832","1351289834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9369f64953dd8bbd52b524309b3011b.jpg","text":"TemporaryFile(/tmp/multipartBody8311194758839056739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_18_01_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7727f0f87e1afef539176da96ca2f787.jpg","text":"TemporaryFile(/tmp/multipartBody1245872066571715027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_18_01_35_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1428eed0a11df5bb9b03cee10b59e235.jpg","text":"TemporaryFile(/tmp/multipartBody7966298694218703416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_18_01_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66dc3e330a2b818595ca9fede41250e7.jpg","text":"TemporaryFile(/tmp/multipartBody2533283250599430570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_18_01_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06b709a5ac796bcc6cdf83bb39d462a8.jpg","text":"TemporaryFile(/tmp/multipartBody707691526762920448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_17_59_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe48b8c7a560fb74ad95a64ab901ae30.jpg","text":"TemporaryFile(/tmp/multipartBody6726031216507529140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309592702,"filename":"image_10042025_18_01_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289823","file1":"1351289821","file0":"1351289817","file4":"1351289832","file5":"1351289834","file3":"1351289827"},"map_files_photo_id_array":[{"photo_id":"1351289834","filename":"file5"},{"photo_id":"1351289823","filename":"file2"},{"photo_id":"1351289832","filename":"file4"},{"photo_id":"1351289821","filename":"file1"},{"photo_id":"1351289817","filename":"file0"},{"photo_id":"1351289827","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289821":["hashtag1","hashtag2"]},{"1351289827":["hashtag1","hashtag2"]},{"1351289832":["hashtag1","hashtag2"]},{"1351289823":["hashtag1","hashtag2"]},{"1351289817":["hashtag1","hashtag2"]},{"1351289834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289821, 1351289827, 1351289832, 1351289823, 1351289817, 1351289834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42606472969055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:26:32.559822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/01/image_10042025_18_02_05_9462.jpg', '/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_15_10381.jpg', '/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_25_10394.jpg', '/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_35_9338.jpg', '/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_45_10392.jpg', '/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_55_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/01/image_10042025_18_02_05_9462.jpg
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_15_10381.jpg
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_25_10394.jpg
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_35_9338.jpg
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_45_10392.jpg
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_02_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289865","1351289862","1351289856","1351289858","1351289867","1351289869"],"photo_ids_order":["1351289856","1351289858","1351289862","1351289865","1351289867","1351289869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a05d55c3903d3a5c73acc9d5f1d65660.jpg","text":"TemporaryFile(/tmp/multipartBody130761873657677153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef600efe5a921c595aa2a0f7336a9a27.jpg","text":"TemporaryFile(/tmp/multipartBody7109061398816502968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8acc91cecc82d49e0f2a7cf8b0465b42.jpg","text":"TemporaryFile(/tmp/multipartBody8136177353705780741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c285374646dbba7ba091d6919fabc330.jpg","text":"TemporaryFile(/tmp/multipartBody800562097431805355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de83f97ccf9c0d7ec61c2044832d493f.jpg","text":"TemporaryFile(/tmp/multipartBody6784558902019303434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bda99c633dde8521d28402ce468f966c.jpg","text":"TemporaryFile(/tmp/multipartBody5671127661515206820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309653027,"filename":"image_10042025_18_02_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289862","file1":"1351289858","file0":"1351289856","file4":"1351289867","file5":"1351289869","file3":"1351289865"},"map_files_photo_id_array":[{"photo_id":"1351289869","filename":"file5"},{"photo_id":"1351289862","filename":"file2"},{"photo_id":"1351289867","filename":"file4"},{"photo_id":"1351289858","filename":"file1"},{"photo_id":"1351289856","filename":"file0"},{"photo_id":"1351289865","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289865":["hashtag1","hashtag2"]},{"1351289862":["hashtag1","hashtag2"]},{"1351289856":["hashtag1","hashtag2"]},{"1351289858":["hashtag1","hashtag2"]},{"1351289867":["hashtag1","hashtag2"]},{"1351289869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289865, 1351289862, 1351289856, 1351289858, 1351289867, 1351289869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.893230676651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:27:32.749453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/02/image_10042025_18_03_05_10360.jpg', '/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_15_10357.jpg', '/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_25_9443.jpg', '/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_35_10369.jpg', '/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_45_10349.jpg', '/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_55_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/02/image_10042025_18_03_05_10360.jpg
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_15_10357.jpg
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_25_9443.jpg
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_35_10369.jpg
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_45_10349.jpg
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_03_55_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351289923","1351289902","1351289898","1351289907","1351289894","1351289912"],"photo_ids_order":["1351289894","1351289898","1351289902","1351289907","1351289912","1351289923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a73d14f2c590fa7c8bb955854222ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1160231656870554357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c203bc38636ede5c9ecefbe55c33d848.jpg","text":"TemporaryFile(/tmp/multipartBody7801770848187133298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb0ea75cfa7015696d315e3920a1fa13.jpg","text":"TemporaryFile(/tmp/multipartBody7275003667665395054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1da06006b96e179b184e1b4d7d0da009.jpg","text":"TemporaryFile(/tmp/multipartBody6792238345818999149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/358085b17a7a51118568270da21a6dce.jpg","text":"TemporaryFile(/tmp/multipartBody4314162415457486720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ada2d688f32daed112af42ba4c807dee.jpg","text":"TemporaryFile(/tmp/multipartBody8868522003378075145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309713217,"filename":"image_10042025_18_03_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351289902","file1":"1351289898","file0":"1351289894","file4":"1351289912","file5":"1351289923","file3":"1351289907"},"map_files_photo_id_array":[{"photo_id":"1351289923","filename":"file5"},{"photo_id":"1351289902","filename":"file2"},{"photo_id":"1351289912","filename":"file4"},{"photo_id":"1351289898","filename":"file1"},{"photo_id":"1351289894","filename":"file0"},{"photo_id":"1351289907","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351289923":["hashtag1","hashtag2"]},{"1351289902":["hashtag1","hashtag2"]},{"1351289898":["hashtag1","hashtag2"]},{"1351289907":["hashtag1","hashtag2"]},{"1351289894":["hashtag1","hashtag2"]},{"1351289912":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351289923, 1351289902, 1351289898, 1351289907, 1351289894, 1351289912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32164144515991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:28:32.770562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/03/image_10042025_18_04_05_10347.jpg', '/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_14_9365.jpg', '/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_25_10379.jpg', '/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_35_10377.jpg', '/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_45_9360.jpg', '/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/03/image_10042025_18_04_05_10347.jpg
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_14_9365.jpg
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_25_10379.jpg
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_35_10377.jpg
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_45_9360.jpg
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_04_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351290034","1351290037","1351290025","1351290018","1351290023","1351290032"],"photo_ids_order":["1351290018","1351290023","1351290025","1351290032","1351290034","1351290037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ced74b5ca1d188ebc42cd98b3ffdd51.jpg","text":"TemporaryFile(/tmp/multipartBody7225579624329532786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d91969de12abddc022b10057f0644b5.jpg","text":"TemporaryFile(/tmp/multipartBody7100816316057206704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a81f9e3f5184990eacf4cfc32abef14.jpg","text":"TemporaryFile(/tmp/multipartBody7398555409435571841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ddafb0cbf1c0fbe117a9a6b6f8852a4.jpg","text":"TemporaryFile(/tmp/multipartBody6318346714396213824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/375a9dfd1930bd883fef555b7e837c55.jpg","text":"TemporaryFile(/tmp/multipartBody1585910229665045575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04628f76c0f16ed3e4f84f544da2f2db.jpg","text":"TemporaryFile(/tmp/multipartBody8147881299874703371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309773241,"filename":"image_10042025_18_04_35_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351290025","file1":"1351290023","file0":"1351290018","file4":"1351290034","file5":"1351290037","file3":"1351290032"},"map_files_photo_id_array":[{"photo_id":"1351290037","filename":"file5"},{"photo_id":"1351290025","filename":"file2"},{"photo_id":"1351290034","filename":"file4"},{"photo_id":"1351290023","filename":"file1"},{"photo_id":"1351290018","filename":"file0"},{"photo_id":"1351290032","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351290034":["hashtag1","hashtag2"]},{"1351290037":["hashtag1","hashtag2"]},{"1351290025":["hashtag1","hashtag2"]},{"1351290018":["hashtag1","hashtag2"]},{"1351290023":["hashtag1","hashtag2"]},{"1351290032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351290034, 1351290037, 1351290025, 1351290018, 1351290023, 1351290032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.679304122924805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:29:32.974914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/04/image_10042025_18_05_05_10363.jpg', '/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_15_9434.jpg', '/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_25_10375.jpg', '/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_35_9384.jpg', '/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_45_10377.jpg', '/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/04/image_10042025_18_05_05_10363.jpg
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_15_9434.jpg
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_25_10375.jpg
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_35_9384.jpg
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_45_10377.jpg
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_05_55_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351290073","1351290276","1351290086","1351290194","1351290170","1351290350"],"photo_ids_order":["1351290073","1351290086","1351290170","1351290194","1351290276","1351290350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5db44fbc0d05535c6c2f59ff766cb1b5.jpg","text":"TemporaryFile(/tmp/multipartBody6773171143130816098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6573db2bcd760cd1a71be99c043e8596.jpg","text":"TemporaryFile(/tmp/multipartBody5414038411150853835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f98ec80f262939b1ae1889783668a01.jpg","text":"TemporaryFile(/tmp/multipartBody1797653583808267856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_15_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6131fab1cb87f60742fe2b21d4613876.jpg","text":"TemporaryFile(/tmp/multipartBody3713457182360358595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d012197b9dcbacf6149e8c81a5cbc6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1448769018192272234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a97bb0d6eaaef88f4af655e6d0fdced9.jpg","text":"TemporaryFile(/tmp/multipartBody6799167957320069027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309833450,"filename":"image_10042025_18_05_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351290170","file1":"1351290086","file0":"1351290073","file4":"1351290276","file5":"1351290350","file3":"1351290194"},"map_files_photo_id_array":[{"photo_id":"1351290350","filename":"file5"},{"photo_id":"1351290170","filename":"file2"},{"photo_id":"1351290276","filename":"file4"},{"photo_id":"1351290086","filename":"file1"},{"photo_id":"1351290073","filename":"file0"},{"photo_id":"1351290194","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351290073":["hashtag1","hashtag2"]},{"1351290276":["hashtag1","hashtag2"]},{"1351290086":["hashtag1","hashtag2"]},{"1351290194":["hashtag1","hashtag2"]},{"1351290170":["hashtag1","hashtag2"]},{"1351290350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351290073, 1351290276, 1351290086, 1351290194, 1351290170, 1351290350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.079222202301025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:30:32.177173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/05/image_10042025_18_06_05_9416.jpg', '/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_25_10367.jpg', '/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_35_9412.jpg', '/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_55_9426.jpg', '/home/pi/Desktop/images/10042025/18/06/image_10042025_18_07_05_10345.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/05/image_10042025_18_06_05_9416.jpg
/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_25_10367.jpg
/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_35_9412.jpg
/home/pi/Desktop/images/10042025/18/06/image_10042025_18_06_55_9426.jpg
/home/pi/Desktop/images/10042025/18/06/image_10042025_18_07_05_10345.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_15_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351290518","1351290532","1351290573","1351290576","1351290540","1351290545"],"photo_ids_order":["1351290518","1351290532","1351290540","1351290545","1351290573","1351290576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e26bd21d018b94fefc902ed2167dab7.jpg","text":"TemporaryFile(/tmp/multipartBody8297049404325766132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_06_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/168d98c64735e451dad4e5f73333479f.jpg","text":"TemporaryFile(/tmp/multipartBody6419578823896875249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_06_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3f44c2d090e2d373805d29a9ea627dc.jpg","text":"TemporaryFile(/tmp/multipartBody5329524719884247586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_07_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dce12a2d3d11619906bcccc1d466391f.jpg","text":"TemporaryFile(/tmp/multipartBody21487110858146231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_07_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/235f7ee35ed10fba8029e80a7794f330.jpg","text":"TemporaryFile(/tmp/multipartBody828428756391514868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_06_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2aaee69103a4c616e9bb7ec4646f36ae.jpg","text":"TemporaryFile(/tmp/multipartBody5960394211493763005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309892683,"filename":"image_10042025_18_06_55_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351290540","file1":"1351290532","file0":"1351290518","file4":"1351290573","file5":"1351290576","file3":"1351290545"},"map_files_photo_id_array":[{"photo_id":"1351290576","filename":"file5"},{"photo_id":"1351290540","filename":"file2"},{"photo_id":"1351290573","filename":"file4"},{"photo_id":"1351290532","filename":"file1"},{"photo_id":"1351290518","filename":"file0"},{"photo_id":"1351290545","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351290518":["hashtag1","hashtag2"]},{"1351290532":["hashtag1","hashtag2"]},{"1351290573":["hashtag1","hashtag2"]},{"1351290576":["hashtag1","hashtag2"]},{"1351290540":["hashtag1","hashtag2"]},{"1351290545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351290518, 1351290532, 1351290573, 1351290576, 1351290540, 1351290545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.592000007629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:31:32.454891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_25_9410.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_35_10355.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_45_10371.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_55_9362.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_08_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_15_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_25_9410.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_35_10355.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_45_10371.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_55_9362.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_08_05_10352.jpg
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_15_9383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3877420425415039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 20:31:42.447420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_25_9410.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_35_10355.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_45_10371.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_55_9362.jpg', '/home/pi/Desktop/images/10042025/18/07/image_10042025_18_08_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_15_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_25_9410.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_35_10355.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_45_10371.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_07_55_9362.jpg
/home/pi/Desktop/images/10042025/18/07/image_10042025_18_08_05_10352.jpg
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_15_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351290712","1351290765","1351290741","1351290717","1351290788","1351290796"],"photo_ids_order":["1351290712","1351290717","1351290741","1351290765","1351290788","1351290796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62bcdfbf94cc218a14df60db841e7422.jpg","text":"TemporaryFile(/tmp/multipartBody8916996454764641739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_07_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35d53eaddaac2516fb203a3f3d1d9a21.jpg","text":"TemporaryFile(/tmp/multipartBody4987369746238897218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_07_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/149d16df19ca2b65ad87e3f79940a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody2449024537228838330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_07_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45568440db8a4250df97a2e7a7ee659d.jpg","text":"TemporaryFile(/tmp/multipartBody2350708813444708892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_07_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df6782a4d04782f04f23954e400a9702.jpg","text":"TemporaryFile(/tmp/multipartBody8905677492577983447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_08_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7573ad1e925776c32e26d03af42771e6.jpg","text":"TemporaryFile(/tmp/multipartBody326017092480499634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744309962934,"filename":"image_10042025_18_08_15_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351290741","file1":"1351290717","file0":"1351290712","file4":"1351290788","file5":"1351290796","file3":"1351290765"},"map_files_photo_id_array":[{"photo_id":"1351290796","filename":"file5"},{"photo_id":"1351290741","filename":"file2"},{"photo_id":"1351290788","filename":"file4"},{"photo_id":"1351290717","filename":"file1"},{"photo_id":"1351290712","filename":"file0"},{"photo_id":"1351290765","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351290712":["hashtag1","hashtag2"]},{"1351290765":["hashtag1","hashtag2"]},{"1351290741":["hashtag1","hashtag2"]},{"1351290717":["hashtag1","hashtag2"]},{"1351290788":["hashtag1","hashtag2"]},{"1351290796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351290712, 1351290765, 1351290741, 1351290717, 1351290788, 1351290796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00223445892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:32:32.689469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_35_10367.jpg', '/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_45_9417.jpg', '/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_55_10370.jpg', '/home/pi/Desktop/images/10042025/18/08/image_10042025_18_09_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_15_9336.jpg', '/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_35_10367.jpg
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_45_9417.jpg
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_08_55_10370.jpg
/home/pi/Desktop/images/10042025/18/08/image_10042025_18_09_05_10352.jpg
/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_15_9336.jpg
/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351291066","1351290976","1351291006","1351291109","1351291130","1351291156"],"photo_ids_order":["1351290976","1351291006","1351291066","1351291109","1351291130","1351291156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c640d8d76d477748e1a7a68f1390eae7.jpg","text":"TemporaryFile(/tmp/multipartBody3586396009103165981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_08_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55ce2ffac0f1179113b5d66140e0dc22.jpg","text":"TemporaryFile(/tmp/multipartBody3052361335414315192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_08_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d65ddb0a9254cfe5cf47fae9db1a49e5.jpg","text":"TemporaryFile(/tmp/multipartBody5356067485591685888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_08_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1683794fd29151b62b0876b1a2c46207.jpg","text":"TemporaryFile(/tmp/multipartBody8093434667515753504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_09_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/580fe9c2de7cbc3f68766fe0991cce2f.jpg","text":"TemporaryFile(/tmp/multipartBody1453936284095213651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_09_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cad18c50fa25d0ec68d78023b98e57c.jpg","text":"TemporaryFile(/tmp/multipartBody8537294239405259197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310013162,"filename":"image_10042025_18_09_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351291066","file1":"1351291006","file0":"1351290976","file4":"1351291130","file5":"1351291156","file3":"1351291109"},"map_files_photo_id_array":[{"photo_id":"1351291156","filename":"file5"},{"photo_id":"1351291066","filename":"file2"},{"photo_id":"1351291130","filename":"file4"},{"photo_id":"1351291006","filename":"file1"},{"photo_id":"1351290976","filename":"file0"},{"photo_id":"1351291109","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351291066":["hashtag1","hashtag2"]},{"1351290976":["hashtag1","hashtag2"]},{"1351291006":["hashtag1","hashtag2"]},{"1351291109":["hashtag1","hashtag2"]},{"1351291130":["hashtag1","hashtag2"]},{"1351291156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351291066, 1351290976, 1351291006, 1351291109, 1351291130, 1351291156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.260010957717896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:33:32.915449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_35_9414.jpg', '/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_55_10344.jpg', '/home/pi/Desktop/images/10042025/18/09/image_10042025_18_10_05_9426.jpg', '/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_15_10318.jpg', '/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_25_10396.jpg', '/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_35_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_35_9414.jpg
/home/pi/Desktop/images/10042025/18/09/image_10042025_18_09_55_10344.jpg
/home/pi/Desktop/images/10042025/18/09/image_10042025_18_10_05_9426.jpg
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_15_10318.jpg
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_25_10396.jpg
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_35_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351291461","1351291509","1351291586","1351291430","1351291628","1351291480"],"photo_ids_order":["1351291430","1351291461","1351291480","1351291509","1351291586","1351291628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fea881ac83905f9d4c5b17109a13d70.jpg","text":"TemporaryFile(/tmp/multipartBody2764248987611961830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_09_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3923afca8a043cae57c002f1fcbd6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4574112495438137524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_10_15_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/797cf5e0b712376038d1bbb0276113ea.jpg","text":"TemporaryFile(/tmp/multipartBody565541681981237465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_10_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a98fbcaab80371648788e5f8dc77914.jpg","text":"TemporaryFile(/tmp/multipartBody1484975112662867169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_09_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abae619fc9d5ecf87177e37d6abd5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3435925205696018496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_10_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8a6115d5bb13ab65d6f9816506bcd70.jpg","text":"TemporaryFile(/tmp/multipartBody2734894500868769855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310073383,"filename":"image_10042025_18_10_05_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351291480","file1":"1351291461","file0":"1351291430","file4":"1351291586","file5":"1351291628","file3":"1351291509"},"map_files_photo_id_array":[{"photo_id":"1351291628","filename":"file5"},{"photo_id":"1351291480","filename":"file2"},{"photo_id":"1351291586","filename":"file4"},{"photo_id":"1351291461","filename":"file1"},{"photo_id":"1351291430","filename":"file0"},{"photo_id":"1351291509","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351291461":["hashtag1","hashtag2"]},{"1351291509":["hashtag1","hashtag2"]},{"1351291586":["hashtag1","hashtag2"]},{"1351291430":["hashtag1","hashtag2"]},{"1351291628":["hashtag1","hashtag2"]},{"1351291480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351291461, 1351291509, 1351291586, 1351291430, 1351291628, 1351291480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.932494163513184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:34:33.045770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_45_10364.jpg', '/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_55_9407.jpg', '/home/pi/Desktop/images/10042025/18/10/image_10042025_18_11_05_10342.jpg', '/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_15_10343.jpg', '/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_25_9504.jpg', '/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_35_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_45_10364.jpg
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_10_55_9407.jpg
/home/pi/Desktop/images/10042025/18/10/image_10042025_18_11_05_10342.jpg
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_15_10343.jpg
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_25_9504.jpg
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_35_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351291741","1351291866","1351291758","1351291752","1351291772","1351291736"],"photo_ids_order":["1351291736","1351291741","1351291752","1351291758","1351291772","1351291866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60f30313d459bf8fea43ce88ea50006e.jpg","text":"TemporaryFile(/tmp/multipartBody8014112856804799560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_10_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07ca1fcda4b0b04aedeef617a4845078.jpg","text":"TemporaryFile(/tmp/multipartBody241241997675029778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_11_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c21eb5648052403189ad2bbabab7596.jpg","text":"TemporaryFile(/tmp/multipartBody3736131999617202799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_11_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c86289d5c54e520ce406ba99d48eafb3.jpg","text":"TemporaryFile(/tmp/multipartBody4920307438369576027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_11_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b150931ce7493d929043fdd8e5b43b90.jpg","text":"TemporaryFile(/tmp/multipartBody2842714858749095992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_11_25_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec8cca1709fc635ba2d4ac9d589c6c82.jpg","text":"TemporaryFile(/tmp/multipartBody3615399063243067389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310133510,"filename":"image_10042025_18_10_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351291752","file1":"1351291741","file0":"1351291736","file4":"1351291772","file5":"1351291866","file3":"1351291758"},"map_files_photo_id_array":[{"photo_id":"1351291866","filename":"file5"},{"photo_id":"1351291752","filename":"file2"},{"photo_id":"1351291772","filename":"file4"},{"photo_id":"1351291741","filename":"file1"},{"photo_id":"1351291736","filename":"file0"},{"photo_id":"1351291758","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351291741":["hashtag1","hashtag2"]},{"1351291866":["hashtag1","hashtag2"]},{"1351291758":["hashtag1","hashtag2"]},{"1351291752":["hashtag1","hashtag2"]},{"1351291772":["hashtag1","hashtag2"]},{"1351291736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351291741, 1351291866, 1351291758, 1351291752, 1351291772, 1351291736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6518931388855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:35:32.298885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_45_9408.jpg', '/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_55_10345.jpg', '/home/pi/Desktop/images/10042025/18/11/image_10042025_18_12_05_10448.jpg', '/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_15_9380.jpg', '/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_25_10425.jpg', '/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_45_9408.jpg
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_11_55_10345.jpg
/home/pi/Desktop/images/10042025/18/11/image_10042025_18_12_05_10448.jpg
/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_15_9380.jpg
/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_25_10425.jpg
/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351292133","1351292297","1351292378","1351292105","1351292233","1351292236"],"photo_ids_order":["1351292105","1351292133","1351292233","1351292236","1351292297","1351292378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3de7cade78f722a4af036d3537fc92b.jpg","text":"TemporaryFile(/tmp/multipartBody614315009506901659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_11_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6388374b77e8343e3ee11e5efbcdd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8956752630025133458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_12_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c58c816bdf100e982e8ba69b43ea2a07.jpg","text":"TemporaryFile(/tmp/multipartBody7418964132826819357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_12_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4cefc52acfea4eb7079e05b9f2d14078.jpg","text":"TemporaryFile(/tmp/multipartBody2770964706841123566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_11_45_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7254e5ce4679152ef26ce44bec3c5b44.jpg","text":"TemporaryFile(/tmp/multipartBody4722348024649152786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_12_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c60c33e82471ae55ed46518462c320a.jpg","text":"TemporaryFile(/tmp/multipartBody3617322063709012589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310192765,"filename":"image_10042025_18_12_15_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351292233","file1":"1351292133","file0":"1351292105","file4":"1351292297","file5":"1351292378","file3":"1351292236"},"map_files_photo_id_array":[{"photo_id":"1351292378","filename":"file5"},{"photo_id":"1351292233","filename":"file2"},{"photo_id":"1351292297","filename":"file4"},{"photo_id":"1351292133","filename":"file1"},{"photo_id":"1351292105","filename":"file0"},{"photo_id":"1351292236","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351292133":["hashtag1","hashtag2"]},{"1351292297":["hashtag1","hashtag2"]},{"1351292378":["hashtag1","hashtag2"]},{"1351292105":["hashtag1","hashtag2"]},{"1351292233":["hashtag1","hashtag2"]},{"1351292236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351292133, 1351292297, 1351292378, 1351292105, 1351292233, 1351292236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.50853419303894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:36:32.545984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_55_10366.jpg', '/home/pi/Desktop/images/10042025/18/12/image_10042025_18_13_05_9329.jpg', '/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_15_10418.jpg', '/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_25_10363.jpg', '/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_35_9382.jpg', '/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_45_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/12/image_10042025_18_12_55_10366.jpg
/home/pi/Desktop/images/10042025/18/12/image_10042025_18_13_05_9329.jpg
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_15_10418.jpg
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_25_10363.jpg
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_35_9382.jpg
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_45_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351292661","1351292577","1351292556","1351292637","1351292625","1351292598"],"photo_ids_order":["1351292556","1351292577","1351292598","1351292625","1351292637","1351292661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d6b75dc33dbe0a2087fd3b4231a80ee.jpg","text":"TemporaryFile(/tmp/multipartBody1199543033395579667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_13_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/209e1fc7ffdabb67bf5173016c3530e5.jpg","text":"TemporaryFile(/tmp/multipartBody2977797745463683627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_13_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfbc2a797dde5cf36cc305dec83f7d17.jpg","text":"TemporaryFile(/tmp/multipartBody4740606835240085586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_12_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d64fe5ee44b072d2d9a298e1121c7c50.jpg","text":"TemporaryFile(/tmp/multipartBody9175486490588626402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_13_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a29ddccb425ccfbb77b2feb912527c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6762057153160421975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_13_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/093be1fbf84c8ade577aecfa6946f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5045524224484206866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310253012,"filename":"image_10042025_18_13_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351292598","file1":"1351292577","file0":"1351292556","file4":"1351292637","file5":"1351292661","file3":"1351292625"},"map_files_photo_id_array":[{"photo_id":"1351292661","filename":"file5"},{"photo_id":"1351292598","filename":"file2"},{"photo_id":"1351292637","filename":"file4"},{"photo_id":"1351292577","filename":"file1"},{"photo_id":"1351292556","filename":"file0"},{"photo_id":"1351292625","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351292661":["hashtag1","hashtag2"]},{"1351292577":["hashtag1","hashtag2"]},{"1351292556":["hashtag1","hashtag2"]},{"1351292637":["hashtag1","hashtag2"]},{"1351292625":["hashtag1","hashtag2"]},{"1351292598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351292661, 1351292577, 1351292556, 1351292637, 1351292625, 1351292598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713459253311157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:37:32.782793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_55_9435.jpg', '/home/pi/Desktop/images/10042025/18/13/image_10042025_18_14_05_10355.jpg', '/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_15_10369.jpg', '/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_25_9342.jpg', '/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_35_10400.jpg', '/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_45_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_13_55_9435.jpg
/home/pi/Desktop/images/10042025/18/13/image_10042025_18_14_05_10355.jpg
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_15_10369.jpg
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_25_9342.jpg
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_35_10400.jpg
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_45_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351293045","1351292958","1351293086","1351293018","1351292989","1351292926"],"photo_ids_order":["1351292926","1351292958","1351292989","1351293018","1351293045","1351293086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adcc7bc1e6fca0287a05a2a229cd91df.jpg","text":"TemporaryFile(/tmp/multipartBody5715426707931021148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_14_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/061e137b70dab6a5ffcb9ed41bbc8dca.jpg","text":"TemporaryFile(/tmp/multipartBody8731326817873021192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_14_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1bafd5f71b5fdc824b0c1031580496c9.jpg","text":"TemporaryFile(/tmp/multipartBody7171451871545848322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_14_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d9fdbe43848d7af648970930a089ed4.jpg","text":"TemporaryFile(/tmp/multipartBody1096338725376873476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_14_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/83c0d4ec945c9ad8ee22a0d92d5efecf.jpg","text":"TemporaryFile(/tmp/multipartBody6209557166429953872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_14_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e2bcd518af01a6634d4ecd0a0acb2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1011659076733178569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310313248,"filename":"image_10042025_18_13_55_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351292989","file1":"1351292958","file0":"1351292926","file4":"1351293045","file5":"1351293086","file3":"1351293018"},"map_files_photo_id_array":[{"photo_id":"1351293086","filename":"file5"},{"photo_id":"1351292989","filename":"file2"},{"photo_id":"1351293045","filename":"file4"},{"photo_id":"1351292958","filename":"file1"},{"photo_id":"1351292926","filename":"file0"},{"photo_id":"1351293018","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351293045":["hashtag1","hashtag2"]},{"1351292958":["hashtag1","hashtag2"]},{"1351293086":["hashtag1","hashtag2"]},{"1351293018":["hashtag1","hashtag2"]},{"1351292989":["hashtag1","hashtag2"]},{"1351292926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351293045, 1351292958, 1351293086, 1351293018, 1351292989, 1351292926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.150559186935425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:38:32.877152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_55_10369.jpg', '/home/pi/Desktop/images/10042025/18/14/image_10042025_18_15_05_10346.jpg', '/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_15_9356.jpg', '/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_25_10353.jpg', '/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_35_10346.jpg', '/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_45_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_14_55_10369.jpg
/home/pi/Desktop/images/10042025/18/14/image_10042025_18_15_05_10346.jpg
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_15_9356.jpg
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_25_10353.jpg
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_35_10346.jpg
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351293324","1351293426","1351293405","1351293422","1351293401","1351293391"],"photo_ids_order":["1351293324","1351293391","1351293401","1351293405","1351293422","1351293426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a42943ad103bb9abeb3ede243b5846d.jpg","text":"TemporaryFile(/tmp/multipartBody4174686033320680102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_14_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cb1e7d699512dbc6d05ce838fdd488f.jpg","text":"TemporaryFile(/tmp/multipartBody6533818088320769666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_15_45_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4be3c2d8c89708783aa51b7541b92ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1159775665573606851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_15_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d3aa4aaa6f25575e42ccd1b6070c043.jpg","text":"TemporaryFile(/tmp/multipartBody171176288210034227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_15_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/117a7586a116253beb25eaea97709a95.jpg","text":"TemporaryFile(/tmp/multipartBody2903893342251755580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_15_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4f176cfd58ae42e4aeb2d9fe1820647.jpg","text":"TemporaryFile(/tmp/multipartBody7639633010677458348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310373343,"filename":"image_10042025_18_15_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351293401","file1":"1351293391","file0":"1351293324","file4":"1351293422","file5":"1351293426","file3":"1351293405"},"map_files_photo_id_array":[{"photo_id":"1351293426","filename":"file5"},{"photo_id":"1351293401","filename":"file2"},{"photo_id":"1351293422","filename":"file4"},{"photo_id":"1351293391","filename":"file1"},{"photo_id":"1351293324","filename":"file0"},{"photo_id":"1351293405","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351293324":["hashtag1","hashtag2"]},{"1351293426":["hashtag1","hashtag2"]},{"1351293405":["hashtag1","hashtag2"]},{"1351293422":["hashtag1","hashtag2"]},{"1351293401":["hashtag1","hashtag2"]},{"1351293391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351293324, 1351293426, 1351293405, 1351293422, 1351293401, 1351293391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6887788772583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:39:33.056281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_55_10346.jpg', '/home/pi/Desktop/images/10042025/18/15/image_10042025_18_16_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_15_9366.jpg', '/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_25_10422.jpg', '/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_35_9399.jpg', '/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_15_55_10346.jpg
/home/pi/Desktop/images/10042025/18/15/image_10042025_18_16_05_10352.jpg
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_15_9366.jpg
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_25_10422.jpg
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_35_9399.jpg
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351293726","1351293816","1351293787","1351293696","1351293756","1351293666"],"photo_ids_order":["1351293666","1351293696","1351293726","1351293756","1351293787","1351293816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca5d0905ebf70e8a15f332b3bb375c95.jpg","text":"TemporaryFile(/tmp/multipartBody5364169045896956638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_16_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/765fc7b075896d1fcc689834afb756c2.jpg","text":"TemporaryFile(/tmp/multipartBody1819599095261476453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_16_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f2e1bf8f8b63806e1858377a8e41a69.jpg","text":"TemporaryFile(/tmp/multipartBody4597760336527263577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_16_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b8b2961091e118c8367cdb6b9c4ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody352897037650352137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_16_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/da13e3ed374d965249b1b25004f222dc.jpg","text":"TemporaryFile(/tmp/multipartBody8718381351405465430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_16_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/286bd0618b824bdc847e85073910f8f3.jpg","text":"TemporaryFile(/tmp/multipartBody2485628737152046209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310433515,"filename":"image_10042025_18_15_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351293726","file1":"1351293696","file0":"1351293666","file4":"1351293787","file5":"1351293816","file3":"1351293756"},"map_files_photo_id_array":[{"photo_id":"1351293816","filename":"file5"},{"photo_id":"1351293726","filename":"file2"},{"photo_id":"1351293787","filename":"file4"},{"photo_id":"1351293696","filename":"file1"},{"photo_id":"1351293666","filename":"file0"},{"photo_id":"1351293756","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351293726":["hashtag1","hashtag2"]},{"1351293816":["hashtag1","hashtag2"]},{"1351293787":["hashtag1","hashtag2"]},{"1351293696":["hashtag1","hashtag2"]},{"1351293756":["hashtag1","hashtag2"]},{"1351293666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351293726, 1351293816, 1351293787, 1351293696, 1351293756, 1351293666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05692195892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:40:32.284197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_55_10361.jpg', '/home/pi/Desktop/images/10042025/18/16/image_10042025_18_17_05_9455.jpg', '/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_15_10356.jpg', '/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_25_9453.jpg', '/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_35_10390.jpg', '/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_16_55_10361.jpg
/home/pi/Desktop/images/10042025/18/16/image_10042025_18_17_05_9455.jpg
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_15_10356.jpg
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_25_9453.jpg
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_35_10390.jpg
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351294127","1351294037","1351294168","1351294231","1351294077","1351294221"],"photo_ids_order":["1351294037","1351294077","1351294127","1351294168","1351294221","1351294231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/346a2d98b4d50a27bc763cc23a1672b7.jpg","text":"TemporaryFile(/tmp/multipartBody8226211375704456069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_17_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7258e6e2abb73035cecea01b74567207.jpg","text":"TemporaryFile(/tmp/multipartBody8862878827051397781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_16_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0aed2774a2bc17a247b25d1942c18c75.jpg","text":"TemporaryFile(/tmp/multipartBody3049302742078647399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_17_25_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8f79d7c7295839cb91c228f324584dc.jpg","text":"TemporaryFile(/tmp/multipartBody7414405429261541842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_17_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca3984f3db05e2ec5e482f6f9f599e46.jpg","text":"TemporaryFile(/tmp/multipartBody6477635780650057577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_17_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a1a999bf35e3ec4056d814fdf9eb1d8.jpg","text":"TemporaryFile(/tmp/multipartBody5996402618728321967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310492746,"filename":"image_10042025_18_17_35_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351294127","file1":"1351294077","file0":"1351294037","file4":"1351294221","file5":"1351294231","file3":"1351294168"},"map_files_photo_id_array":[{"photo_id":"1351294231","filename":"file5"},{"photo_id":"1351294127","filename":"file2"},{"photo_id":"1351294221","filename":"file4"},{"photo_id":"1351294077","filename":"file1"},{"photo_id":"1351294037","filename":"file0"},{"photo_id":"1351294168","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351294127":["hashtag1","hashtag2"]},{"1351294037":["hashtag1","hashtag2"]},{"1351294168":["hashtag1","hashtag2"]},{"1351294231":["hashtag1","hashtag2"]},{"1351294077":["hashtag1","hashtag2"]},{"1351294221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351294127, 1351294037, 1351294168, 1351294231, 1351294077, 1351294221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081729888916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:41:32.594588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_55_9361.jpg', '/home/pi/Desktop/images/10042025/18/17/image_10042025_18_18_05_10356.jpg', '/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_15_10330.jpg', '/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_25_9363.jpg', '/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_35_10354.jpg', '/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_45_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_17_55_9361.jpg
/home/pi/Desktop/images/10042025/18/17/image_10042025_18_18_05_10356.jpg
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_15_10330.jpg
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_25_9363.jpg
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_35_10354.jpg
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_45_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351294495","1351294477","1351294543","1351294531","1351294521","1351294509"],"photo_ids_order":["1351294477","1351294495","1351294509","1351294521","1351294531","1351294543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce8f7ae18cc32abbd59215da0d73bbaf.jpg","text":"TemporaryFile(/tmp/multipartBody4340934174659838856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_18_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16237c917e2e277c01c075c91484a396.jpg","text":"TemporaryFile(/tmp/multipartBody9133217285187303722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_17_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6aec68285bfab264a93087b6a6032914.jpg","text":"TemporaryFile(/tmp/multipartBody2640434818459027941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_18_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f48b050ab754941573591ecb54b32ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3417395834503194134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_18_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7a900508a019b160c2db0fd09ece6ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5021452595959995958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_18_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efec37d8d0419ca2de9d5e5a7dbfb6d0.jpg","text":"TemporaryFile(/tmp/multipartBody6791073428838678718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310553071,"filename":"image_10042025_18_18_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351294509","file1":"1351294495","file0":"1351294477","file4":"1351294531","file5":"1351294543","file3":"1351294521"},"map_files_photo_id_array":[{"photo_id":"1351294543","filename":"file5"},{"photo_id":"1351294509","filename":"file2"},{"photo_id":"1351294531","filename":"file4"},{"photo_id":"1351294495","filename":"file1"},{"photo_id":"1351294477","filename":"file0"},{"photo_id":"1351294521","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351294495":["hashtag1","hashtag2"]},{"1351294477":["hashtag1","hashtag2"]},{"1351294543":["hashtag1","hashtag2"]},{"1351294531":["hashtag1","hashtag2"]},{"1351294521":["hashtag1","hashtag2"]},{"1351294509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351294495, 1351294477, 1351294543, 1351294531, 1351294521, 1351294509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49823307991028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:42:32.672124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_55_10341.jpg', '/home/pi/Desktop/images/10042025/18/18/image_10042025_18_19_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_15_9352.jpg', '/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_25_10452.jpg', '/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_35_10349.jpg', '/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_45_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_18_55_10341.jpg
/home/pi/Desktop/images/10042025/18/18/image_10042025_18_19_05_10352.jpg
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_15_9352.jpg
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_25_10452.jpg
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_35_10349.jpg
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_45_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351294793","1351294879","1351294864","1351294923","1351294902","1351294827"],"photo_ids_order":["1351294793","1351294827","1351294864","1351294879","1351294902","1351294923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b44059a2339e8f27e1383b2c2600d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4928181707679681040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_18_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/45e504918493701f9503415c33f4b9f1.jpg","text":"TemporaryFile(/tmp/multipartBody2563908833293599449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_19_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6778eb1d948abd0aea9855a8074afc75.jpg","text":"TemporaryFile(/tmp/multipartBody6614469065670681299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_19_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/27018f2cf3a42520bc8791afda93f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5992795460169222333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_19_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00f0044b67d587cafef35ece0dca20b9.jpg","text":"TemporaryFile(/tmp/multipartBody3729630369964111729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_19_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbb5870900cfacc2e9d3b1cd105441c2.jpg","text":"TemporaryFile(/tmp/multipartBody2102822271322591842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310613134,"filename":"image_10042025_18_19_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351294864","file1":"1351294827","file0":"1351294793","file4":"1351294902","file5":"1351294923","file3":"1351294879"},"map_files_photo_id_array":[{"photo_id":"1351294923","filename":"file5"},{"photo_id":"1351294864","filename":"file2"},{"photo_id":"1351294902","filename":"file4"},{"photo_id":"1351294827","filename":"file1"},{"photo_id":"1351294793","filename":"file0"},{"photo_id":"1351294879","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351294793":["hashtag1","hashtag2"]},{"1351294879":["hashtag1","hashtag2"]},{"1351294864":["hashtag1","hashtag2"]},{"1351294923":["hashtag1","hashtag2"]},{"1351294902":["hashtag1","hashtag2"]},{"1351294827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351294793, 1351294879, 1351294864, 1351294923, 1351294902, 1351294827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14444661140442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:43:32.951607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_55_10353.jpg', '/home/pi/Desktop/images/10042025/18/19/image_10042025_18_20_05_9426.jpg', '/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_15_10431.jpg', '/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_25_10377.jpg', '/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_35_9342.jpg', '/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_19_55_10353.jpg
/home/pi/Desktop/images/10042025/18/19/image_10042025_18_20_05_9426.jpg
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_15_10431.jpg
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_25_10377.jpg
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_35_9342.jpg
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_20_55_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351295123","1351295126","1351295036","1351295095","1351295106","1351295075"],"photo_ids_order":["1351295036","1351295075","1351295095","1351295106","1351295123","1351295126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fba976f8f65d93d38960cfaa74af4634.jpg","text":"TemporaryFile(/tmp/multipartBody3890924133150423251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_20_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a82dd61db80c348ed93c8b294ca80f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7175442624201770893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_20_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de1f874dbd3374acb1c137e82924a3a6.jpg","text":"TemporaryFile(/tmp/multipartBody4880319186750773715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_19_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d433ac6ffed3d9727cc72c09f369fe47.jpg","text":"TemporaryFile(/tmp/multipartBody2563452351768170843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_20_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d61a507135240fa907354b005b6f8b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5555596409499599597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_20_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d35cfd5202a035dda6727bfc9b96cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4767270893087413802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310673426,"filename":"image_10042025_18_20_05_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351295095","file1":"1351295075","file0":"1351295036","file4":"1351295123","file5":"1351295126","file3":"1351295106"},"map_files_photo_id_array":[{"photo_id":"1351295126","filename":"file5"},{"photo_id":"1351295095","filename":"file2"},{"photo_id":"1351295123","filename":"file4"},{"photo_id":"1351295075","filename":"file1"},{"photo_id":"1351295036","filename":"file0"},{"photo_id":"1351295106","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351295123":["hashtag1","hashtag2"]},{"1351295126":["hashtag1","hashtag2"]},{"1351295036":["hashtag1","hashtag2"]},{"1351295095":["hashtag1","hashtag2"]},{"1351295106":["hashtag1","hashtag2"]},{"1351295075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351295123, 1351295126, 1351295036, 1351295095, 1351295106, 1351295075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.492541790008545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:44:33.141640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/20/image_10042025_18_21_05_9391.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_15_10337.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_25_9402.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_35_10377.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_45_10345.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_55_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_21_05_9391.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_15_10337.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_25_9402.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_35_10377.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_45_10345.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_55_9435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3740537166595459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 20:44:43.210217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/20/image_10042025_18_21_05_9391.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_15_10337.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_25_9402.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_35_10377.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_45_10345.jpg', '/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_55_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/20/image_10042025_18_21_05_9391.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_15_10337.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_25_9402.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_35_10377.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_45_10345.jpg
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_21_55_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351295462","1351295405","1351295476","1351295478","1351295433","1351295483"],"photo_ids_order":["1351295405","1351295433","1351295462","1351295476","1351295478","1351295483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12f0e5140786f181f365ae50e9440c39.jpg","text":"TemporaryFile(/tmp/multipartBody3173215048490082879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_25_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/210c48a5c94f3c5d3ed3a70feb776e82.jpg","text":"TemporaryFile(/tmp/multipartBody1455828826625089797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a50f0d675df7a7a70ee282248ca1b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7100450954312933940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52b305aec3f530c060138fd451add5f0.jpg","text":"TemporaryFile(/tmp/multipartBody5035717699145576020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52b09d17cca2283ec3f9179d9c709451.jpg","text":"TemporaryFile(/tmp/multipartBody9192486799430098534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d1c0d6f879ad1de3d1d3554088ad460.jpg","text":"TemporaryFile(/tmp/multipartBody350841785232004695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310743667,"filename":"image_10042025_18_21_55_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351295462","file1":"1351295433","file0":"1351295405","file4":"1351295478","file5":"1351295483","file3":"1351295476"},"map_files_photo_id_array":[{"photo_id":"1351295483","filename":"file5"},{"photo_id":"1351295462","filename":"file2"},{"photo_id":"1351295478","filename":"file4"},{"photo_id":"1351295433","filename":"file1"},{"photo_id":"1351295405","filename":"file0"},{"photo_id":"1351295476","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351295462":["hashtag1","hashtag2"]},{"1351295405":["hashtag1","hashtag2"]},{"1351295476":["hashtag1","hashtag2"]},{"1351295478":["hashtag1","hashtag2"]},{"1351295433":["hashtag1","hashtag2"]},{"1351295483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351295462, 1351295405, 1351295476, 1351295478, 1351295433, 1351295483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91493010520935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:45:32.420720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/21/image_10042025_18_22_05_10365.jpg', '/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_15_10343.jpg', '/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_25_9347.jpg', '/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_35_10350.jpg', '/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_55_10359.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_15_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/21/image_10042025_18_22_05_10365.jpg
/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_15_10343.jpg
/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_25_9347.jpg
/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_35_10350.jpg
/home/pi/Desktop/images/10042025/18/22/image_10042025_18_22_55_10359.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_15_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351295501","1351295510","1351295515","1351295496","1351295498","1351295492"],"photo_ids_order":["1351295492","1351295496","1351295498","1351295501","1351295510","1351295515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e12013e509a7c7ebbb5a04af2263c16.jpg","text":"TemporaryFile(/tmp/multipartBody4841422724487170882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_22_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c640cb191f6def804e3113d0b1968c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5467039676770818546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_22_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9800201ab74a98af337ad188dd2b2f55.jpg","text":"TemporaryFile(/tmp/multipartBody3473336059944407955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_23_15_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4bbcbffa86010ffb562848954cdb186.jpg","text":"TemporaryFile(/tmp/multipartBody8277953333831987247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_22_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5db4923c5aebf0e5c01e8bbc134508f2.jpg","text":"TemporaryFile(/tmp/multipartBody4352465161975640737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_22_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93689965f5efcab12970cfd75c904e83.jpg","text":"TemporaryFile(/tmp/multipartBody1066903683910447106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310792878,"filename":"image_10042025_18_22_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351295498","file1":"1351295496","file0":"1351295492","file4":"1351295510","file5":"1351295515","file3":"1351295501"},"map_files_photo_id_array":[{"photo_id":"1351295515","filename":"file5"},{"photo_id":"1351295498","filename":"file2"},{"photo_id":"1351295510","filename":"file4"},{"photo_id":"1351295496","filename":"file1"},{"photo_id":"1351295492","filename":"file0"},{"photo_id":"1351295501","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351295501":["hashtag1","hashtag2"]},{"1351295510":["hashtag1","hashtag2"]},{"1351295515":["hashtag1","hashtag2"]},{"1351295496":["hashtag1","hashtag2"]},{"1351295498":["hashtag1","hashtag2"]},{"1351295492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351295501, 1351295510, 1351295515, 1351295496, 1351295498, 1351295492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71915555000305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:46:32.602330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_25_10379.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_35_10356.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_55_10457.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_24_05_9378.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_15_10444.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_25_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_25_10379.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_35_10356.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_55_10457.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_24_05_9378.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_15_10444.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_25_9400.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3765528202056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 20:46:42.512920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_25_10379.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_35_10356.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_55_10457.jpg', '/home/pi/Desktop/images/10042025/18/23/image_10042025_18_24_05_9378.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_15_10444.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_25_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_25_10379.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_35_10356.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_23_55_10457.jpg
/home/pi/Desktop/images/10042025/18/23/image_10042025_18_24_05_9378.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_15_10444.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_25_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351295618","1351295606","1351295614","1351295617","1351295616","1351295610"],"photo_ids_order":["1351295606","1351295610","1351295614","1351295616","1351295617","1351295618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5685366a4839e3e84795183a364d57be.jpg","text":"TemporaryFile(/tmp/multipartBody731082212516047768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_24_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0cc97af5a82275722f7dfe19a4e8be2b.jpg","text":"TemporaryFile(/tmp/multipartBody6613035020588901410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_23_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fe78a85e1a016e384c09c3583440083.jpg","text":"TemporaryFile(/tmp/multipartBody5639542291333001588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_23_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fefc10beda5fe281613a0339cfcdba06.jpg","text":"TemporaryFile(/tmp/multipartBody5280853458345243734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_24_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75be7e1c5571a03dace8b8df434694bb.jpg","text":"TemporaryFile(/tmp/multipartBody3384977749238850257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_24_05_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f5276d704632a628811042cd8c3f3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1299400717973243099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310862979,"filename":"image_10042025_18_23_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351295614","file1":"1351295610","file0":"1351295606","file4":"1351295617","file5":"1351295618","file3":"1351295616"},"map_files_photo_id_array":[{"photo_id":"1351295618","filename":"file5"},{"photo_id":"1351295614","filename":"file2"},{"photo_id":"1351295617","filename":"file4"},{"photo_id":"1351295610","filename":"file1"},{"photo_id":"1351295606","filename":"file0"},{"photo_id":"1351295616","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351295618":["hashtag1","hashtag2"]},{"1351295606":["hashtag1","hashtag2"]},{"1351295614":["hashtag1","hashtag2"]},{"1351295617":["hashtag1","hashtag2"]},{"1351295616":["hashtag1","hashtag2"]},{"1351295610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351295618, 1351295606, 1351295614, 1351295617, 1351295616, 1351295610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85950946807861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:47:32.736699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_35_10359.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_45_10366.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_55_9439.jpg', '/home/pi/Desktop/images/10042025/18/24/image_10042025_18_25_05_10363.jpg', '/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_15_10346.jpg', '/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_25_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_35_10359.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_45_10366.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_24_55_9439.jpg
/home/pi/Desktop/images/10042025/18/24/image_10042025_18_25_05_10363.jpg
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_15_10346.jpg
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_25_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351295660","1351295770","1351295632","1351295701","1351295745","1351295718"],"photo_ids_order":["1351295632","1351295660","1351295701","1351295718","1351295745","1351295770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b692064ab84630513c238638750e5ed.jpg","text":"TemporaryFile(/tmp/multipartBody6121648040332185231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_24_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e71e95660ab71d521730a3e7cd43073.jpg","text":"TemporaryFile(/tmp/multipartBody6760310195897002822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_25_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d421f6f646354fc3ddd045699cf5b8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1971845835593595048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_24_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/531203164d601dcabaeca9d29cdbe286.jpg","text":"TemporaryFile(/tmp/multipartBody1495569884646388045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_24_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/230e7b34170ba90f9c75e30c80de6597.jpg","text":"TemporaryFile(/tmp/multipartBody3496637600752949709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_25_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6715b08fa2b7c49f65d069034ab6e871.jpg","text":"TemporaryFile(/tmp/multipartBody3411671439815161087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310913196,"filename":"image_10042025_18_25_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351295701","file1":"1351295660","file0":"1351295632","file4":"1351295745","file5":"1351295770","file3":"1351295718"},"map_files_photo_id_array":[{"photo_id":"1351295770","filename":"file5"},{"photo_id":"1351295701","filename":"file2"},{"photo_id":"1351295745","filename":"file4"},{"photo_id":"1351295660","filename":"file1"},{"photo_id":"1351295632","filename":"file0"},{"photo_id":"1351295718","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351295660":["hashtag1","hashtag2"]},{"1351295770":["hashtag1","hashtag2"]},{"1351295632":["hashtag1","hashtag2"]},{"1351295701":["hashtag1","hashtag2"]},{"1351295745":["hashtag1","hashtag2"]},{"1351295718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351295660, 1351295770, 1351295632, 1351295701, 1351295745, 1351295718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.993489265441895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:48:32.888806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_35_10358.jpg', '/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_45_9478.jpg', '/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_55_10474.jpg', '/home/pi/Desktop/images/10042025/18/25/image_10042025_18_26_05_9436.jpg', '/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_15_10336.jpg', '/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_35_10358.jpg
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_45_9478.jpg
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_25_55_10474.jpg
/home/pi/Desktop/images/10042025/18/25/image_10042025_18_26_05_9436.jpg
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_15_10336.jpg
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296019","1351295944","1351296036","1351296041","1351295987","1351296044"],"photo_ids_order":["1351295944","1351295987","1351296019","1351296036","1351296041","1351296044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3578654eebc063345660bff551c9e60.jpg","text":"TemporaryFile(/tmp/multipartBody8616557134987826550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_25_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d702a29b1dc96c1729dec14b5b554d08.jpg","text":"TemporaryFile(/tmp/multipartBody2390380087434362284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_25_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5962a69402d00e8ebe4ce1feb3693b0.jpg","text":"TemporaryFile(/tmp/multipartBody5052800716562148136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_26_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a04c4bb91c22ddc12cc91367cdd26fc.jpg","text":"TemporaryFile(/tmp/multipartBody3424347902029596119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_26_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f81330701fdcd64379ac805e7ea74e2.jpg","text":"TemporaryFile(/tmp/multipartBody1857967839840502980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_25_45_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8b1ed3a3573021f2011b541064bbdca.jpg","text":"TemporaryFile(/tmp/multipartBody7422952178884583334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744310973430,"filename":"image_10042025_18_26_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296019","file1":"1351295987","file0":"1351295944","file4":"1351296041","file5":"1351296044","file3":"1351296036"},"map_files_photo_id_array":[{"photo_id":"1351296044","filename":"file5"},{"photo_id":"1351296019","filename":"file2"},{"photo_id":"1351296041","filename":"file4"},{"photo_id":"1351295987","filename":"file1"},{"photo_id":"1351295944","filename":"file0"},{"photo_id":"1351296036","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296019":["hashtag1","hashtag2"]},{"1351295944":["hashtag1","hashtag2"]},{"1351296036":["hashtag1","hashtag2"]},{"1351296041":["hashtag1","hashtag2"]},{"1351295987":["hashtag1","hashtag2"]},{"1351296044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296019, 1351295944, 1351296036, 1351296041, 1351295987, 1351296044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93920707702637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:49:33.010635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_35_9399.jpg', '/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_45_10349.jpg', '/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_55_10363.jpg', '/home/pi/Desktop/images/10042025/18/26/image_10042025_18_27_05_9414.jpg', '/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_15_10343.jpg', '/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_25_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_35_9399.jpg
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_45_10349.jpg
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_26_55_10363.jpg
/home/pi/Desktop/images/10042025/18/26/image_10042025_18_27_05_9414.jpg
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_15_10343.jpg
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_25_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296082","1351296118","1351296075","1351296057","1351296098","1351296102"],"photo_ids_order":["1351296057","1351296075","1351296082","1351296098","1351296102","1351296118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e06102f77bc9998f19b09e8d10b477f.jpg","text":"TemporaryFile(/tmp/multipartBody5647362475941123396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_26_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e640535a23dc64816b22597c1e60f48.jpg","text":"TemporaryFile(/tmp/multipartBody2900822569801600464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_27_25_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8835ab100db5374debef21f29d9d4826.jpg","text":"TemporaryFile(/tmp/multipartBody5880497336531993579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_26_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3448b8fc28f1cc056a0e8528ac04ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody3772028527816170622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_26_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c42c8b8e27ad5f0183c786ffcd0f4656.jpg","text":"TemporaryFile(/tmp/multipartBody5943652059995066771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_27_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f194ba27c4037f730f4519eb6f823d37.jpg","text":"TemporaryFile(/tmp/multipartBody8989471834106494118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311033480,"filename":"image_10042025_18_27_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296082","file1":"1351296075","file0":"1351296057","file4":"1351296102","file5":"1351296118","file3":"1351296098"},"map_files_photo_id_array":[{"photo_id":"1351296118","filename":"file5"},{"photo_id":"1351296082","filename":"file2"},{"photo_id":"1351296102","filename":"file4"},{"photo_id":"1351296075","filename":"file1"},{"photo_id":"1351296057","filename":"file0"},{"photo_id":"1351296098","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296082":["hashtag1","hashtag2"]},{"1351296118":["hashtag1","hashtag2"]},{"1351296075":["hashtag1","hashtag2"]},{"1351296057":["hashtag1","hashtag2"]},{"1351296098":["hashtag1","hashtag2"]},{"1351296102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296082, 1351296118, 1351296075, 1351296057, 1351296098, 1351296102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79734754562378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:50:33.153652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_35_10372.jpg', '/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_45_10348.jpg', '/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_55_9368.jpg', '/home/pi/Desktop/images/10042025/18/27/image_10042025_18_28_05_10341.jpg', '/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_15_10339.jpg', '/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_25_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_35_10372.jpg
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_45_10348.jpg
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_27_55_9368.jpg
/home/pi/Desktop/images/10042025/18/27/image_10042025_18_28_05_10341.jpg
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_15_10339.jpg
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_25_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296238","1351296447","1351296318","1351296494","1351296365","1351296176"],"photo_ids_order":["1351296176","1351296238","1351296318","1351296365","1351296447","1351296494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d0d673c282b0829d82a00305d54a313.jpg","text":"TemporaryFile(/tmp/multipartBody8739186822095514177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_27_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a9d907339217f4f2bdd0aac9b0c398b.jpg","text":"TemporaryFile(/tmp/multipartBody4075241305709864332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_28_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ee81afff28c3ea85e443f9afa76a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1990612717326436199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_27_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/81bb9f512b0b4c83026d255c2ad974e8.jpg","text":"TemporaryFile(/tmp/multipartBody8673825658283722575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_28_25_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4cbda4b40705097b8992aa98cbbed19.jpg","text":"TemporaryFile(/tmp/multipartBody761984478806402924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_28_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b45cbbd9b0e022d764330d0484d99dc.jpg","text":"TemporaryFile(/tmp/multipartBody2493362713546343479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311093624,"filename":"image_10042025_18_27_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296318","file1":"1351296238","file0":"1351296176","file4":"1351296447","file5":"1351296494","file3":"1351296365"},"map_files_photo_id_array":[{"photo_id":"1351296494","filename":"file5"},{"photo_id":"1351296318","filename":"file2"},{"photo_id":"1351296447","filename":"file4"},{"photo_id":"1351296238","filename":"file1"},{"photo_id":"1351296176","filename":"file0"},{"photo_id":"1351296365","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296238":["hashtag1","hashtag2"]},{"1351296447":["hashtag1","hashtag2"]},{"1351296318":["hashtag1","hashtag2"]},{"1351296494":["hashtag1","hashtag2"]},{"1351296365":["hashtag1","hashtag2"]},{"1351296176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296238, 1351296447, 1351296318, 1351296494, 1351296365, 1351296176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80357837677002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:51:32.317118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_35_10361.jpg', '/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_45_9390.jpg', '/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_55_10376.jpg', '/home/pi/Desktop/images/10042025/18/28/image_10042025_18_29_05_10340.jpg', '/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_25_10381.jpg', '/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_35_10361.jpg
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_45_9390.jpg
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_28_55_10376.jpg
/home/pi/Desktop/images/10042025/18/28/image_10042025_18_29_05_10340.jpg
/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_25_10381.jpg
/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296768","1351296771","1351296735","1351296717","1351296761","1351296731"],"photo_ids_order":["1351296717","1351296731","1351296735","1351296761","1351296768","1351296771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5bef248fc5a119f9e1af47a4c57631c.jpg","text":"TemporaryFile(/tmp/multipartBody431912603079734628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_29_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/343337a27c8732e8efdab7f080a94389.jpg","text":"TemporaryFile(/tmp/multipartBody497458129981052507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_29_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56af601ad2da9e9a3962308e53516e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6820692408980087191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_28_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8c3f9aee26577aebc2330323757568a.jpg","text":"TemporaryFile(/tmp/multipartBody2858076029565511037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_28_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4ea19ff520357dc9b6a0dce9be7408e.jpg","text":"TemporaryFile(/tmp/multipartBody3108989735554913751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_29_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14dba9846cc9b9dda8b9152f29f20688.jpg","text":"TemporaryFile(/tmp/multipartBody5028425295735047229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311152773,"filename":"image_10042025_18_28_45_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296735","file1":"1351296731","file0":"1351296717","file4":"1351296768","file5":"1351296771","file3":"1351296761"},"map_files_photo_id_array":[{"photo_id":"1351296771","filename":"file5"},{"photo_id":"1351296735","filename":"file2"},{"photo_id":"1351296768","filename":"file4"},{"photo_id":"1351296731","filename":"file1"},{"photo_id":"1351296717","filename":"file0"},{"photo_id":"1351296761","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296768":["hashtag1","hashtag2"]},{"1351296771":["hashtag1","hashtag2"]},{"1351296735":["hashtag1","hashtag2"]},{"1351296717":["hashtag1","hashtag2"]},{"1351296761":["hashtag1","hashtag2"]},{"1351296731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296768, 1351296771, 1351296735, 1351296717, 1351296761, 1351296731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26993250846863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:52:32.420485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_45_9422.jpg', '/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_55_10379.jpg', '/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_15_10372.jpg', '/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_25_10360.jpg', '/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_35_9460.jpg', '/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_45_9422.jpg
/home/pi/Desktop/images/10042025/18/29/image_10042025_18_29_55_10379.jpg
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_15_10372.jpg
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_25_10360.jpg
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_35_9460.jpg
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296791","1351296785","1351296794","1351296788","1351296782","1351296796"],"photo_ids_order":["1351296782","1351296785","1351296788","1351296791","1351296794","1351296796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7323f70e1313a5fbb717396c9849b99.jpg","text":"TemporaryFile(/tmp/multipartBody380756637878449848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_30_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa0e40d3f571a508955d7512af29c7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3644493140395528844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_29_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd49c323548064f6d86054eaf1ddac8f.jpg","text":"TemporaryFile(/tmp/multipartBody2726351183553361488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_30_35_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d37b91d5351aef5e962e9f5367568a9.jpg","text":"TemporaryFile(/tmp/multipartBody1858744261330029842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_30_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4c1d2ac00c2fa449c723d05ea11eb215.jpg","text":"TemporaryFile(/tmp/multipartBody6883325933338273626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_29_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebf8ab0e4ddc7c01408239b098615ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4215758508495014555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311212876,"filename":"image_10042025_18_30_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296788","file1":"1351296785","file0":"1351296782","file4":"1351296794","file5":"1351296796","file3":"1351296791"},"map_files_photo_id_array":[{"photo_id":"1351296796","filename":"file5"},{"photo_id":"1351296788","filename":"file2"},{"photo_id":"1351296794","filename":"file4"},{"photo_id":"1351296785","filename":"file1"},{"photo_id":"1351296782","filename":"file0"},{"photo_id":"1351296791","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296791":["hashtag1","hashtag2"]},{"1351296785":["hashtag1","hashtag2"]},{"1351296794":["hashtag1","hashtag2"]},{"1351296788":["hashtag1","hashtag2"]},{"1351296782":["hashtag1","hashtag2"]},{"1351296796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296791, 1351296785, 1351296794, 1351296788, 1351296782, 1351296796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31301665306091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:53:32.733201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_55_9452.jpg', '/home/pi/Desktop/images/10042025/18/30/image_10042025_18_31_05_10426.jpg', '/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_15_10358.jpg', '/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_25_9347.jpg', '/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_35_10357.jpg', '/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_45_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_30_55_9452.jpg
/home/pi/Desktop/images/10042025/18/30/image_10042025_18_31_05_10426.jpg
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_15_10358.jpg
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_25_9347.jpg
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_35_10357.jpg
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_45_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296820","1351296808","1351296816","1351296839","1351296830","1351296803"],"photo_ids_order":["1351296803","1351296808","1351296816","1351296820","1351296830","1351296839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f59e899a1338725624cf6f46646c646.jpg","text":"TemporaryFile(/tmp/multipartBody4303477620099693958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_31_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/037e189354bcc26ec4ba8b000d007ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8358724126438622490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_31_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c45ae2eae8a0a2b19dea81cc89bd840d.jpg","text":"TemporaryFile(/tmp/multipartBody5392887540671745022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_31_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fe5b72e9173a43bb9af386c8e152c46.jpg","text":"TemporaryFile(/tmp/multipartBody6831435783999673141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_31_45_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/467ec84dbad8639737fd50a13081193a.jpg","text":"TemporaryFile(/tmp/multipartBody2748368647615964153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_31_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc2866dbbb1f70dd479995cc9be8a265.jpg","text":"TemporaryFile(/tmp/multipartBody3745322158248138048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311273186,"filename":"image_10042025_18_30_55_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296816","file1":"1351296808","file0":"1351296803","file4":"1351296830","file5":"1351296839","file3":"1351296820"},"map_files_photo_id_array":[{"photo_id":"1351296839","filename":"file5"},{"photo_id":"1351296816","filename":"file2"},{"photo_id":"1351296830","filename":"file4"},{"photo_id":"1351296808","filename":"file1"},{"photo_id":"1351296803","filename":"file0"},{"photo_id":"1351296820","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296820":["hashtag1","hashtag2"]},{"1351296808":["hashtag1","hashtag2"]},{"1351296816":["hashtag1","hashtag2"]},{"1351296839":["hashtag1","hashtag2"]},{"1351296830":["hashtag1","hashtag2"]},{"1351296803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296820, 1351296808, 1351296816, 1351296839, 1351296830, 1351296803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92437124252319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:54:32.838531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_55_10351.jpg', '/home/pi/Desktop/images/10042025/18/31/image_10042025_18_32_05_10371.jpg', '/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_15_9414.jpg', '/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_25_10366.jpg', '/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_35_10349.jpg', '/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_31_55_10351.jpg
/home/pi/Desktop/images/10042025/18/31/image_10042025_18_32_05_10371.jpg
/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_15_9414.jpg
/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_25_10366.jpg
/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_35_10349.jpg
/home/pi/Desktop/images/10042025/18/32/image_10042025_18_32_55_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351296970","1351296952","1351296955","1351296984","1351296978","1351296936"],"photo_ids_order":["1351296936","1351296952","1351296955","1351296970","1351296978","1351296984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/642cf849f30871b2dcd7ca58e7c64df0.jpg","text":"TemporaryFile(/tmp/multipartBody8790555705634728677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_32_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f8f1b24a1b058687f459307d85ec3e3.jpg","text":"TemporaryFile(/tmp/multipartBody3246626683673626497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_32_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b46edc075eaa81ea7f9d24f0ebe5cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody3199553045091182119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_32_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1ddda8a00bda38edad3abcd2a2d8f317.jpg","text":"TemporaryFile(/tmp/multipartBody6149119441575398425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_32_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5784209f291d9e75f16f1fbd96927422.jpg","text":"TemporaryFile(/tmp/multipartBody2306681858049336373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_32_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3e5cd947147a635662626b220141fec0.jpg","text":"TemporaryFile(/tmp/multipartBody3367300994093707141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311333293,"filename":"image_10042025_18_31_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351296955","file1":"1351296952","file0":"1351296936","file4":"1351296978","file5":"1351296984","file3":"1351296970"},"map_files_photo_id_array":[{"photo_id":"1351296984","filename":"file5"},{"photo_id":"1351296955","filename":"file2"},{"photo_id":"1351296978","filename":"file4"},{"photo_id":"1351296952","filename":"file1"},{"photo_id":"1351296936","filename":"file0"},{"photo_id":"1351296970","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351296970":["hashtag1","hashtag2"]},{"1351296952":["hashtag1","hashtag2"]},{"1351296955":["hashtag1","hashtag2"]},{"1351296984":["hashtag1","hashtag2"]},{"1351296978":["hashtag1","hashtag2"]},{"1351296936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351296970, 1351296952, 1351296955, 1351296984, 1351296978, 1351296936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.523815393447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:55:32.978782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/32/image_10042025_18_33_05_9391.jpg', '/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_15_10339.jpg', '/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_25_10366.jpg', '/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_35_9505.jpg', '/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_45_10367.jpg', '/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_55_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/32/image_10042025_18_33_05_9391.jpg
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_15_10339.jpg
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_25_10366.jpg
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_35_9505.jpg
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_45_10367.jpg
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_33_55_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351297051","1351297054","1351297047","1351297044","1351297055","1351297040"],"photo_ids_order":["1351297040","1351297044","1351297047","1351297051","1351297054","1351297055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/331ec06baaeccab4318e3f8c7799d972.jpg","text":"TemporaryFile(/tmp/multipartBody2659423239767810901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_35_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cef06d888b3f3f1ce10b281c67ac3bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7389044544431066062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63790f9572a55ade0c108679ff6b9243.jpg","text":"TemporaryFile(/tmp/multipartBody7343736498881084118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a2cd4d458c852ec90bf01bb2ff6834d.jpg","text":"TemporaryFile(/tmp/multipartBody6763696854517783058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0ff7b1b17e1b22915c01157be60f844.jpg","text":"TemporaryFile(/tmp/multipartBody6042506035236146660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_55_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/57a24eeb9e7a287785bca697024de169.jpg","text":"TemporaryFile(/tmp/multipartBody7910764608975352548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311393439,"filename":"image_10042025_18_33_05_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351297047","file1":"1351297044","file0":"1351297040","file4":"1351297054","file5":"1351297055","file3":"1351297051"},"map_files_photo_id_array":[{"photo_id":"1351297055","filename":"file5"},{"photo_id":"1351297047","filename":"file2"},{"photo_id":"1351297054","filename":"file4"},{"photo_id":"1351297044","filename":"file1"},{"photo_id":"1351297040","filename":"file0"},{"photo_id":"1351297051","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351297051":["hashtag1","hashtag2"]},{"1351297054":["hashtag1","hashtag2"]},{"1351297047":["hashtag1","hashtag2"]},{"1351297044":["hashtag1","hashtag2"]},{"1351297055":["hashtag1","hashtag2"]},{"1351297040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351297051, 1351297054, 1351297047, 1351297044, 1351297055, 1351297040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02026176452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:56:33.159241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/33/image_10042025_18_34_05_10345.jpg', '/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_25_9360.jpg', '/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_35_10366.jpg', '/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_45_10348.jpg', '/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_55_9353.jpg', '/home/pi/Desktop/images/10042025/18/34/image_10042025_18_35_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/33/image_10042025_18_34_05_10345.jpg
/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_25_9360.jpg
/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_35_10366.jpg
/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_45_10348.jpg
/home/pi/Desktop/images/10042025/18/34/image_10042025_18_34_55_9353.jpg
/home/pi/Desktop/images/10042025/18/34/image_10042025_18_35_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351297083","1351297080","1351297077","1351297070","1351297073","1351297067"],"photo_ids_order":["1351297067","1351297070","1351297073","1351297077","1351297080","1351297083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/489b590d777261ddae8cb11237bd9837.jpg","text":"TemporaryFile(/tmp/multipartBody785585202003983329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_35_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a1474c7f714fa875e54567162b63e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3907440761402796154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_34_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6282f4335d84d829e3a5df240000b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8189398120870167221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_34_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d618fa27311c37afde6c27c477fd5412.jpg","text":"TemporaryFile(/tmp/multipartBody5448185494718609333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_34_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c54fc663e04f920a0cbe1d0f003045f.jpg","text":"TemporaryFile(/tmp/multipartBody7747811956881000583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_34_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32b7be508d2e779ade35110518700423.jpg","text":"TemporaryFile(/tmp/multipartBody6429782199504847144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311453651,"filename":"image_10042025_18_34_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351297073","file1":"1351297070","file0":"1351297067","file4":"1351297080","file5":"1351297083","file3":"1351297077"},"map_files_photo_id_array":[{"photo_id":"1351297083","filename":"file5"},{"photo_id":"1351297073","filename":"file2"},{"photo_id":"1351297080","filename":"file4"},{"photo_id":"1351297070","filename":"file1"},{"photo_id":"1351297067","filename":"file0"},{"photo_id":"1351297077","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351297083":["hashtag1","hashtag2"]},{"1351297080":["hashtag1","hashtag2"]},{"1351297077":["hashtag1","hashtag2"]},{"1351297070":["hashtag1","hashtag2"]},{"1351297073":["hashtag1","hashtag2"]},{"1351297067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351297083, 1351297080, 1351297077, 1351297070, 1351297073, 1351297067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.856927156448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:57:32.252904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37659549713134766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 20:57:42.271975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 20:59:04.243575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg', '/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_15_9398.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_25_10363.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_35_10365.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_45_9354.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_35_55_10355.jpg
/home/pi/Desktop/images/10042025/18/35/image_10042025_18_36_05_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351297516","1351297705","1351297679","1351297646","1351297604","1351297570"],"photo_ids_order":["1351297516","1351297570","1351297604","1351297646","1351297679","1351297705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc702c2a478083890453146447cd61e1.jpg","text":"TemporaryFile(/tmp/multipartBody3922793527179237024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_35_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/408c4a41c45fa411edddf47645092c01.jpg","text":"TemporaryFile(/tmp/multipartBody1424858885327689490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_36_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/339df1ca2c69719c19b7894b585aae0b.jpg","text":"TemporaryFile(/tmp/multipartBody2033968909342022322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_35_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/51f4b69305c153098d6ff5164432f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2057921645057080476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_35_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2423da527a699acbc931e62fc7b3410b.jpg","text":"TemporaryFile(/tmp/multipartBody6125971324298418187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_35_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/04f8c1fb4103de383c924432cd0a2a12.jpg","text":"TemporaryFile(/tmp/multipartBody560779064195094799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311604797,"filename":"image_10042025_18_35_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351297604","file1":"1351297570","file0":"1351297516","file4":"1351297679","file5":"1351297705","file3":"1351297646"},"map_files_photo_id_array":[{"photo_id":"1351297705","filename":"file5"},{"photo_id":"1351297604","filename":"file2"},{"photo_id":"1351297679","filename":"file4"},{"photo_id":"1351297570","filename":"file1"},{"photo_id":"1351297516","filename":"file0"},{"photo_id":"1351297646","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351297516":["hashtag1","hashtag2"]},{"1351297705":["hashtag1","hashtag2"]},{"1351297679":["hashtag1","hashtag2"]},{"1351297646":["hashtag1","hashtag2"]},{"1351297604":["hashtag1","hashtag2"]},{"1351297570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351297516, 1351297705, 1351297679, 1351297646, 1351297604, 1351297570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.741676807403564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 20:59:53.009322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_15_9437.jpg', '/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_25_10369.jpg', '/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_35_9417.jpg', '/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_45_10343.jpg', '/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_55_10411.jpg', '/home/pi/Desktop/images/10042025/18/36/image_10042025_18_37_05_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_15_9437.jpg
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_25_10369.jpg
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_35_9417.jpg
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_45_10343.jpg
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_36_55_10411.jpg
/home/pi/Desktop/images/10042025/18/36/image_10042025_18_37_05_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351297863","1351297874","1351297790","1351297871","1351297835","1351297817"],"photo_ids_order":["1351297790","1351297817","1351297835","1351297863","1351297871","1351297874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed95b24ddf4f0abf4c63e733dcd3b0be.jpg","text":"TemporaryFile(/tmp/multipartBody909810861469263906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_36_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3d593a77b78e31a708c1d2413b1fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody2192200938533596720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_37_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8c7f5e717519ecec75f588e681391ea.jpg","text":"TemporaryFile(/tmp/multipartBody4221236824635962995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_36_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/082d2e51a2e7cc45afe4bfc9b774e919.jpg","text":"TemporaryFile(/tmp/multipartBody3771744165251207131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_36_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/305a9fa1dda2032b0c1503fc03b647d5.jpg","text":"TemporaryFile(/tmp/multipartBody8115129971791802184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_36_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a24acf9a0ce6573a8dc9d73539fd869.jpg","text":"TemporaryFile(/tmp/multipartBody7271513947593598117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311653468,"filename":"image_10042025_18_36_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351297835","file1":"1351297817","file0":"1351297790","file4":"1351297871","file5":"1351297874","file3":"1351297863"},"map_files_photo_id_array":[{"photo_id":"1351297874","filename":"file5"},{"photo_id":"1351297835","filename":"file2"},{"photo_id":"1351297871","filename":"file4"},{"photo_id":"1351297817","filename":"file1"},{"photo_id":"1351297790","filename":"file0"},{"photo_id":"1351297863","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351297863":["hashtag1","hashtag2"]},{"1351297874":["hashtag1","hashtag2"]},{"1351297790":["hashtag1","hashtag2"]},{"1351297871":["hashtag1","hashtag2"]},{"1351297835":["hashtag1","hashtag2"]},{"1351297817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351297863, 1351297874, 1351297790, 1351297871, 1351297835, 1351297817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66894507408142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:00:32.155590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_15_10350.jpg', '/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_25_10367.jpg', '/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_35_9439.jpg', '/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_45_10392.jpg', '/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_55_9488.jpg', '/home/pi/Desktop/images/10042025/18/37/image_10042025_18_38_05_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_15_10350.jpg
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_25_10367.jpg
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_35_9439.jpg
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_45_10392.jpg
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_37_55_9488.jpg
/home/pi/Desktop/images/10042025/18/37/image_10042025_18_38_05_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351297918","1351297900","1351297899","1351297926","1351297952","1351297888"],"photo_ids_order":["1351297888","1351297899","1351297900","1351297918","1351297926","1351297952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/885eb58323c4c1fd614a4e8cf759b6e5.jpg","text":"TemporaryFile(/tmp/multipartBody922835725115830791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_37_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee2617b8120071e6065d53e78bb3733f.jpg","text":"TemporaryFile(/tmp/multipartBody3708071934913721941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_37_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85ca34bc61a381c0e855cfbd79ca5718.jpg","text":"TemporaryFile(/tmp/multipartBody8027087914756529756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_37_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fc9768fdf9b8e0604a1f2a8ce019a69.jpg","text":"TemporaryFile(/tmp/multipartBody4329047469129716541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_37_55_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10c5a6e0352b727a73cde0ca1c286efa.jpg","text":"TemporaryFile(/tmp/multipartBody3189221105901250727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_38_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d874f5dc4900e482810cf448b26d3265.jpg","text":"TemporaryFile(/tmp/multipartBody5877597454417341658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311692614,"filename":"image_10042025_18_37_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351297900","file1":"1351297899","file0":"1351297888","file4":"1351297926","file5":"1351297952","file3":"1351297918"},"map_files_photo_id_array":[{"photo_id":"1351297952","filename":"file5"},{"photo_id":"1351297900","filename":"file2"},{"photo_id":"1351297926","filename":"file4"},{"photo_id":"1351297899","filename":"file1"},{"photo_id":"1351297888","filename":"file0"},{"photo_id":"1351297918","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351297918":["hashtag1","hashtag2"]},{"1351297900":["hashtag1","hashtag2"]},{"1351297899":["hashtag1","hashtag2"]},{"1351297926":["hashtag1","hashtag2"]},{"1351297952":["hashtag1","hashtag2"]},{"1351297888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351297918, 1351297900, 1351297899, 1351297926, 1351297952, 1351297888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.299198150634766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:01:32.427525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_15_10355.jpg', '/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_25_9541.jpg', '/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_35_10350.jpg', '/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_45_9423.jpg', '/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_55_10372.jpg', '/home/pi/Desktop/images/10042025/18/38/image_10042025_18_39_05_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_15_10355.jpg
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_25_9541.jpg
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_35_10350.jpg
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_45_9423.jpg
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_38_55_10372.jpg
/home/pi/Desktop/images/10042025/18/38/image_10042025_18_39_05_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351298145","1351298310","1351298270","1351298234","1351298339","1351298194"],"photo_ids_order":["1351298145","1351298194","1351298234","1351298270","1351298310","1351298339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/497a6f5995e1ef792bd82e2fe9610576.jpg","text":"TemporaryFile(/tmp/multipartBody3718583486408137667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_38_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1347f4d34d259183e940778545758195.jpg","text":"TemporaryFile(/tmp/multipartBody6423851563002610069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_38_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c972f0f526e31aef6d9d3d5c09c3a54.jpg","text":"TemporaryFile(/tmp/multipartBody16976018682752676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_38_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/130a13d0a4522d57588082396d6fc751.jpg","text":"TemporaryFile(/tmp/multipartBody2477227302432919075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_38_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c628422ebd4265a3201319b912939a0.jpg","text":"TemporaryFile(/tmp/multipartBody2897156113292227908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_39_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9389159f5c1a8b4f7c1d06fa0a2cb205.jpg","text":"TemporaryFile(/tmp/multipartBody4749428996298397341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311752885,"filename":"image_10042025_18_38_25_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351298234","file1":"1351298194","file0":"1351298145","file4":"1351298310","file5":"1351298339","file3":"1351298270"},"map_files_photo_id_array":[{"photo_id":"1351298339","filename":"file5"},{"photo_id":"1351298234","filename":"file2"},{"photo_id":"1351298310","filename":"file4"},{"photo_id":"1351298194","filename":"file1"},{"photo_id":"1351298145","filename":"file0"},{"photo_id":"1351298270","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351298145":["hashtag1","hashtag2"]},{"1351298310":["hashtag1","hashtag2"]},{"1351298270":["hashtag1","hashtag2"]},{"1351298234":["hashtag1","hashtag2"]},{"1351298339":["hashtag1","hashtag2"]},{"1351298194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351298145, 1351298310, 1351298270, 1351298234, 1351298339, 1351298194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56022524833679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:02:32.696016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_15_9379.jpg', '/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_25_10357.jpg', '/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_45_10340.jpg', '/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_55_10365.jpg', '/home/pi/Desktop/images/10042025/18/39/image_10042025_18_40_05_9339.jpg', '/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_15_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_15_9379.jpg
/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_25_10357.jpg
/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_45_10340.jpg
/home/pi/Desktop/images/10042025/18/39/image_10042025_18_39_55_10365.jpg
/home/pi/Desktop/images/10042025/18/39/image_10042025_18_40_05_9339.jpg
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_15_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351299429","1351299347","1351299400","1351299217","1351299087","1351298956"],"photo_ids_order":["1351298956","1351299087","1351299217","1351299347","1351299400","1351299429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/466830bb72ad8155030291eaddacaeb1.jpg","text":"TemporaryFile(/tmp/multipartBody4284327617840454690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_40_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d8fe5cb0e001ab95e25607bf6eccd86.jpg","text":"TemporaryFile(/tmp/multipartBody4524963413368315977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_39_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d763db3808c2b90816e24bf6c895c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1410967374809728557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_40_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ae89038d7b0c7031d93b17186340fbc4.jpg","text":"TemporaryFile(/tmp/multipartBody4314138031147156067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_39_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54b629b4e510b74ca64b1f78718b79ab.jpg","text":"TemporaryFile(/tmp/multipartBody6817419147520086184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_39_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5169fc6f52fa4829abccde3aef63b80.jpg","text":"TemporaryFile(/tmp/multipartBody8949229602446231353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311813158,"filename":"image_10042025_18_39_15_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351299217","file1":"1351299087","file0":"1351298956","file4":"1351299400","file5":"1351299429","file3":"1351299347"},"map_files_photo_id_array":[{"photo_id":"1351299429","filename":"file5"},{"photo_id":"1351299217","filename":"file2"},{"photo_id":"1351299400","filename":"file4"},{"photo_id":"1351299087","filename":"file1"},{"photo_id":"1351298956","filename":"file0"},{"photo_id":"1351299347","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351299429":["hashtag1","hashtag2"]},{"1351299347":["hashtag1","hashtag2"]},{"1351299400":["hashtag1","hashtag2"]},{"1351299217":["hashtag1","hashtag2"]},{"1351299087":["hashtag1","hashtag2"]},{"1351298956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351299429, 1351299347, 1351299400, 1351299217, 1351299087, 1351298956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65425086021423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:03:32.910479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_25_10389.jpg', '/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_35_9428.jpg', '/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_45_10358.jpg', '/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_55_9391.jpg', '/home/pi/Desktop/images/10042025/18/40/image_10042025_18_41_05_10348.jpg', '/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_25_10389.jpg
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_35_9428.jpg
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_45_10358.jpg
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_40_55_9391.jpg
/home/pi/Desktop/images/10042025/18/40/image_10042025_18_41_05_10348.jpg
/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_15_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351299726","1351299815","1351299880","1351299796","1351299679","1351299771"],"photo_ids_order":["1351299679","1351299726","1351299771","1351299796","1351299815","1351299880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34033fb633136057778a69d3b8215bec.jpg","text":"TemporaryFile(/tmp/multipartBody3612325141150715129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_40_35_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bf1c8b18ea0d5df4432e3dabe9be731.jpg","text":"TemporaryFile(/tmp/multipartBody4996150909393165270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_41_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d204af9ff52911314ac506055fd2a84.jpg","text":"TemporaryFile(/tmp/multipartBody4656915489342849458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_41_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a722e3b16c3ed95e662b09acd48c5a57.jpg","text":"TemporaryFile(/tmp/multipartBody5942302649580950575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_40_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99b88fb248547385eec80a13a03ab669.jpg","text":"TemporaryFile(/tmp/multipartBody6992648624454552882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_40_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c82b02098609c04b4a06689c056693cb.jpg","text":"TemporaryFile(/tmp/multipartBody8046838632138688941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311873369,"filename":"image_10042025_18_40_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351299771","file1":"1351299726","file0":"1351299679","file4":"1351299815","file5":"1351299880","file3":"1351299796"},"map_files_photo_id_array":[{"photo_id":"1351299880","filename":"file5"},{"photo_id":"1351299771","filename":"file2"},{"photo_id":"1351299815","filename":"file4"},{"photo_id":"1351299726","filename":"file1"},{"photo_id":"1351299679","filename":"file0"},{"photo_id":"1351299796","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351299726":["hashtag1","hashtag2"]},{"1351299815":["hashtag1","hashtag2"]},{"1351299880":["hashtag1","hashtag2"]},{"1351299796":["hashtag1","hashtag2"]},{"1351299679":["hashtag1","hashtag2"]},{"1351299771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351299726, 1351299815, 1351299880, 1351299796, 1351299679, 1351299771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29094195365906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:04:33.046585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_35_10364.jpg', '/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_45_10362.jpg', '/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_55_9389.jpg', '/home/pi/Desktop/images/10042025/18/41/image_10042025_18_42_05_10337.jpg', '/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_15_9386.jpg', '/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_45_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_35_10364.jpg
/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_45_10362.jpg
/home/pi/Desktop/images/10042025/18/41/image_10042025_18_41_55_9389.jpg
/home/pi/Desktop/images/10042025/18/41/image_10042025_18_42_05_10337.jpg
/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_15_9386.jpg
/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351300699","1351300162","1351300114","1351300300","1351300668","1351300524"],"photo_ids_order":["1351300114","1351300162","1351300300","1351300524","1351300668","1351300699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3476aa3ef2985cd0985ef5f74faeb16f.jpg","text":"TemporaryFile(/tmp/multipartBody1972170390417917611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_42_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15a4b1183517314867cbf3241b93937b.jpg","text":"TemporaryFile(/tmp/multipartBody1727956638846896417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_41_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/225992efdd356bd7817c80809c3672e1.jpg","text":"TemporaryFile(/tmp/multipartBody878960477328721943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_41_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14d31c0f3f74ea930d2d9a7431395a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4418781289853091225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_41_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/445bbe848cfb1c170ea0333d0ac7844d.jpg","text":"TemporaryFile(/tmp/multipartBody2064740525040229930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_42_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b249e08f781db9c5128dc65a57abb449.jpg","text":"TemporaryFile(/tmp/multipartBody8619113134629576760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311933519,"filename":"image_10042025_18_42_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351300300","file1":"1351300162","file0":"1351300114","file4":"1351300668","file5":"1351300699","file3":"1351300524"},"map_files_photo_id_array":[{"photo_id":"1351300699","filename":"file5"},{"photo_id":"1351300300","filename":"file2"},{"photo_id":"1351300668","filename":"file4"},{"photo_id":"1351300162","filename":"file1"},{"photo_id":"1351300114","filename":"file0"},{"photo_id":"1351300524","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351300699":["hashtag1","hashtag2"]},{"1351300162":["hashtag1","hashtag2"]},{"1351300114":["hashtag1","hashtag2"]},{"1351300300":["hashtag1","hashtag2"]},{"1351300668":["hashtag1","hashtag2"]},{"1351300524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351300699, 1351300162, 1351300114, 1351300300, 1351300668, 1351300524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80920052528381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:05:32.198061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_55_10398.jpg', '/home/pi/Desktop/images/10042025/18/42/image_10042025_18_43_05_10352.jpg', '/home/pi/Desktop/images/10042025/18/43/image_10042025_18_43_45_10338.jpg', '/home/pi/Desktop/images/10042025/18/43/image_10042025_18_43_55_10352.jpg', '/home/pi/Desktop/images/10042025/18/43/image_10042025_18_44_05_9431.jpg', '/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/42/image_10042025_18_42_55_10398.jpg
/home/pi/Desktop/images/10042025/18/42/image_10042025_18_43_05_10352.jpg
/home/pi/Desktop/images/10042025/18/43/image_10042025_18_43_45_10338.jpg
/home/pi/Desktop/images/10042025/18/43/image_10042025_18_43_55_10352.jpg
/home/pi/Desktop/images/10042025/18/43/image_10042025_18_44_05_9431.jpg
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351301516","1351301402","1351301326","1351301259","1351301151","1351301606"],"photo_ids_order":["1351301151","1351301259","1351301326","1351301402","1351301516","1351301606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1293cdf9f37a58ed00025dcaa4da77b0.jpg","text":"TemporaryFile(/tmp/multipartBody3619225759371138211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_44_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d15f1a590f1cdb10f667f8d04f67a89.jpg","text":"TemporaryFile(/tmp/multipartBody772413452436313793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_43_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e04ea715fac15df0d501615b5cd44879.jpg","text":"TemporaryFile(/tmp/multipartBody1385436346029815472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_43_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7a4c48dac06141ba5d8c5bd942ed69e.jpg","text":"TemporaryFile(/tmp/multipartBody5310197646041813283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_43_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d71f87893ba31946be339780775930ae.jpg","text":"TemporaryFile(/tmp/multipartBody1358055597858541226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_42_55_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4f3ac8e4e288b587b650ef2e03c81ef.jpg","text":"TemporaryFile(/tmp/multipartBody5376525214025692913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744311992690,"filename":"image_10042025_18_44_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351301326","file1":"1351301259","file0":"1351301151","file4":"1351301516","file5":"1351301606","file3":"1351301402"},"map_files_photo_id_array":[{"photo_id":"1351301606","filename":"file5"},{"photo_id":"1351301326","filename":"file2"},{"photo_id":"1351301516","filename":"file4"},{"photo_id":"1351301259","filename":"file1"},{"photo_id":"1351301151","filename":"file0"},{"photo_id":"1351301402","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351301516":["hashtag1","hashtag2"]},{"1351301402":["hashtag1","hashtag2"]},{"1351301326":["hashtag1","hashtag2"]},{"1351301259":["hashtag1","hashtag2"]},{"1351301151":["hashtag1","hashtag2"]},{"1351301606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351301516, 1351301402, 1351301326, 1351301259, 1351301151, 1351301606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03281259536743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:06:32.478740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_25_10364.jpg', '/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_35_9337.jpg', '/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_45_10387.jpg', '/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_55_9415.jpg', '/home/pi/Desktop/images/10042025/18/44/image_10042025_18_45_05_10356.jpg', '/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_15_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_25_10364.jpg
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_35_9337.jpg
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_45_10387.jpg
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_44_55_9415.jpg
/home/pi/Desktop/images/10042025/18/44/image_10042025_18_45_05_10356.jpg
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_15_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351301866","1351301821","1351301874","1351301811","1351301852","1351301887"],"photo_ids_order":["1351301811","1351301821","1351301852","1351301866","1351301874","1351301887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6a59b481df92cba334489a8e07cd966.jpg","text":"TemporaryFile(/tmp/multipartBody7144339282473468865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_44_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5e14b96364b830cc52563d988a69734.jpg","text":"TemporaryFile(/tmp/multipartBody4695317660946178863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_44_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd7f18e5f5c636971db50b61e5414dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3041487945719102050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_45_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42753a2c0758cc5851451698b4660c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4422637094544322877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_44_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e864f4434d53d03a1d4d6ac4f493f5e3.jpg","text":"TemporaryFile(/tmp/multipartBody4861151848941980140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_44_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f0a0bccf95de755c1663b5b6c524eabb.jpg","text":"TemporaryFile(/tmp/multipartBody8863447618726849529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312052937,"filename":"image_10042025_18_45_15_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351301852","file1":"1351301821","file0":"1351301811","file4":"1351301874","file5":"1351301887","file3":"1351301866"},"map_files_photo_id_array":[{"photo_id":"1351301887","filename":"file5"},{"photo_id":"1351301852","filename":"file2"},{"photo_id":"1351301874","filename":"file4"},{"photo_id":"1351301821","filename":"file1"},{"photo_id":"1351301811","filename":"file0"},{"photo_id":"1351301866","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351301866":["hashtag1","hashtag2"]},{"1351301821":["hashtag1","hashtag2"]},{"1351301874":["hashtag1","hashtag2"]},{"1351301811":["hashtag1","hashtag2"]},{"1351301852":["hashtag1","hashtag2"]},{"1351301887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351301866, 1351301821, 1351301874, 1351301811, 1351301852, 1351301887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65280795097351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:07:32.724908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_25_9360.jpg', '/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_35_10356.jpg', '/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_45_10341.jpg', '/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_55_9432.jpg', '/home/pi/Desktop/images/10042025/18/45/image_10042025_18_46_05_10356.jpg', '/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_15_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_25_9360.jpg
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_35_10356.jpg
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_45_10341.jpg
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_45_55_9432.jpg
/home/pi/Desktop/images/10042025/18/45/image_10042025_18_46_05_10356.jpg
/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_15_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351301923","1351301929","1351301937","1351301919","1351301969","1351301933"],"photo_ids_order":["1351301919","1351301923","1351301929","1351301933","1351301937","1351301969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/410713c3f389a0f851e8c6bec9147452.jpg","text":"TemporaryFile(/tmp/multipartBody2189907012300691409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_45_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db213a68cb122154b776be05889105ca.jpg","text":"TemporaryFile(/tmp/multipartBody8610709532351584299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_45_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c3bf13fd5a64c403f6483aa07fdcf47.jpg","text":"TemporaryFile(/tmp/multipartBody4326446609320961337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_46_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b62a4e8bcd5f653314d12a4cba4756aa.jpg","text":"TemporaryFile(/tmp/multipartBody2998113775152322565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_45_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78bd11db9f4c62a30424ccb07ec73d51.jpg","text":"TemporaryFile(/tmp/multipartBody2049655268311428088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_46_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bfc256c91340f7af3aee7bd81659cc00.jpg","text":"TemporaryFile(/tmp/multipartBody733956385408028136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312113200,"filename":"image_10042025_18_45_55_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351301929","file1":"1351301923","file0":"1351301919","file4":"1351301937","file5":"1351301969","file3":"1351301933"},"map_files_photo_id_array":[{"photo_id":"1351301969","filename":"file5"},{"photo_id":"1351301929","filename":"file2"},{"photo_id":"1351301937","filename":"file4"},{"photo_id":"1351301923","filename":"file1"},{"photo_id":"1351301919","filename":"file0"},{"photo_id":"1351301933","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351301923":["hashtag1","hashtag2"]},{"1351301929":["hashtag1","hashtag2"]},{"1351301937":["hashtag1","hashtag2"]},{"1351301919":["hashtag1","hashtag2"]},{"1351301969":["hashtag1","hashtag2"]},{"1351301933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351301923, 1351301929, 1351301937, 1351301919, 1351301969, 1351301933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.889408826828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:08:32.886815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_25_10462.jpg', '/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_35_10359.jpg', '/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_45_9426.jpg', '/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_55_10374.jpg', '/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_25_10375.jpg', '/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_25_10462.jpg
/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_35_10359.jpg
/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_45_9426.jpg
/home/pi/Desktop/images/10042025/18/46/image_10042025_18_46_55_10374.jpg
/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_25_10375.jpg
/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351302378","1351302330","1351302252","1351302354","1351302306","1351302283"],"photo_ids_order":["1351302252","1351302283","1351302306","1351302330","1351302354","1351302378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52b3394a89df17cd20368b09ae7aa176.jpg","text":"TemporaryFile(/tmp/multipartBody7354249540316273023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_47_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db33805b921084790c76eba7d7947cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5865391045820288231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_46_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4e8a8b914f562eb997feab6d048342b.jpg","text":"TemporaryFile(/tmp/multipartBody4333041072735394415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_46_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2289e053b6559ef92f7cf04e2c4851d7.jpg","text":"TemporaryFile(/tmp/multipartBody5563246072341035067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_47_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1269bff4d0562b954ec36738a0e59702.jpg","text":"TemporaryFile(/tmp/multipartBody2987625863996452386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_46_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c51fb8c00bf82894f71e6ae7654bf20a.jpg","text":"TemporaryFile(/tmp/multipartBody4395456259956245012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312173343,"filename":"image_10042025_18_46_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351302306","file1":"1351302283","file0":"1351302252","file4":"1351302354","file5":"1351302378","file3":"1351302330"},"map_files_photo_id_array":[{"photo_id":"1351302378","filename":"file5"},{"photo_id":"1351302306","filename":"file2"},{"photo_id":"1351302354","filename":"file4"},{"photo_id":"1351302283","filename":"file1"},{"photo_id":"1351302252","filename":"file0"},{"photo_id":"1351302330","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351302378":["hashtag1","hashtag2"]},{"1351302330":["hashtag1","hashtag2"]},{"1351302252":["hashtag1","hashtag2"]},{"1351302354":["hashtag1","hashtag2"]},{"1351302306":["hashtag1","hashtag2"]},{"1351302283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351302378, 1351302330, 1351302252, 1351302354, 1351302306, 1351302283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94166445732117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:09:33.011212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_55_10372.jpg', '/home/pi/Desktop/images/10042025/18/47/image_10042025_18_48_05_9423.jpg', '/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_15_10366.jpg', '/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_25_9423.jpg', '/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_35_10361.jpg', '/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/47/image_10042025_18_47_55_10372.jpg
/home/pi/Desktop/images/10042025/18/47/image_10042025_18_48_05_9423.jpg
/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_15_10366.jpg
/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_25_9423.jpg
/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_35_10361.jpg
/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351302594","1351302531","1351302569","1351302521","1351302515","1351302550"],"photo_ids_order":["1351302515","1351302521","1351302531","1351302550","1351302569","1351302594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f0bc86fb537d21872e3367f63391f1d.jpg","text":"TemporaryFile(/tmp/multipartBody6126960285344640954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_48_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deeb8dcb48ffa1e3dc642e4b68a8e822.jpg","text":"TemporaryFile(/tmp/multipartBody1947334269179483436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_48_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c6de12db5f1e1811dba35c32ff527bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5196460992048786059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_48_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ed9f4fe7dd80a3c9ff173229971a208.jpg","text":"TemporaryFile(/tmp/multipartBody2459480409773862498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_48_05_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55cf7d8a9c103720c3b1da3ca2040a71.jpg","text":"TemporaryFile(/tmp/multipartBody3787506750923539263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_47_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3cf481e4dfd7ef9061fd6c64a20b6480.jpg","text":"TemporaryFile(/tmp/multipartBody1348302583451673050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312233470,"filename":"image_10042025_18_48_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351302531","file1":"1351302521","file0":"1351302515","file4":"1351302569","file5":"1351302594","file3":"1351302550"},"map_files_photo_id_array":[{"photo_id":"1351302594","filename":"file5"},{"photo_id":"1351302531","filename":"file2"},{"photo_id":"1351302569","filename":"file4"},{"photo_id":"1351302521","filename":"file1"},{"photo_id":"1351302515","filename":"file0"},{"photo_id":"1351302550","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351302594":["hashtag1","hashtag2"]},{"1351302531":["hashtag1","hashtag2"]},{"1351302569":["hashtag1","hashtag2"]},{"1351302521":["hashtag1","hashtag2"]},{"1351302515":["hashtag1","hashtag2"]},{"1351302550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351302594, 1351302531, 1351302569, 1351302521, 1351302515, 1351302550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42130637168884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:10:32.147415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_55_9368.jpg', '/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_25_10363.jpg', '/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_35_10362.jpg', '/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_45_9414.jpg', '/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_55_10354.jpg', '/home/pi/Desktop/images/10042025/18/49/image_10042025_18_50_05_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/48/image_10042025_18_48_55_9368.jpg
/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_25_10363.jpg
/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_35_10362.jpg
/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_45_9414.jpg
/home/pi/Desktop/images/10042025/18/49/image_10042025_18_49_55_10354.jpg
/home/pi/Desktop/images/10042025/18/49/image_10042025_18_50_05_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351302727","1351302709","1351302680","1351302714","1351302668","1351302688"],"photo_ids_order":["1351302668","1351302680","1351302688","1351302709","1351302714","1351302727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4222545aa0623fdf50969eda66f4caab.jpg","text":"TemporaryFile(/tmp/multipartBody2991882954569988567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_50_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d88bd893bdccf98773650ae503978b4.jpg","text":"TemporaryFile(/tmp/multipartBody5665516244546973845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_49_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4f6ffa4cf51a387965cd5948066bf49.jpg","text":"TemporaryFile(/tmp/multipartBody8539697104010799183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_49_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06cb849a9fc6948eb829e13e06f011d3.jpg","text":"TemporaryFile(/tmp/multipartBody8174874567848326968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_49_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e7c3e15e4b9a5e51a60e1bec2fe6cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2881540233368429785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_48_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28c642c0c365f5ce40a8adc103b34fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5113032886356194179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312292605,"filename":"image_10042025_18_49_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351302688","file1":"1351302680","file0":"1351302668","file4":"1351302714","file5":"1351302727","file3":"1351302709"},"map_files_photo_id_array":[{"photo_id":"1351302727","filename":"file5"},{"photo_id":"1351302688","filename":"file2"},{"photo_id":"1351302714","filename":"file4"},{"photo_id":"1351302680","filename":"file1"},{"photo_id":"1351302668","filename":"file0"},{"photo_id":"1351302709","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351302727":["hashtag1","hashtag2"]},{"1351302709":["hashtag1","hashtag2"]},{"1351302680":["hashtag1","hashtag2"]},{"1351302714":["hashtag1","hashtag2"]},{"1351302668":["hashtag1","hashtag2"]},{"1351302688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351302727, 1351302709, 1351302680, 1351302714, 1351302668, 1351302688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.697593450546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:11:32.422948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_25_10374.jpg', '/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_35_10352.jpg', '/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_45_9346.jpg', '/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_55_10385.jpg', '/home/pi/Desktop/images/10042025/18/50/image_10042025_18_51_05_9385.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_25_10374.jpg
/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_35_10352.jpg
/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_45_9346.jpg
/home/pi/Desktop/images/10042025/18/50/image_10042025_18_50_55_10385.jpg
/home/pi/Desktop/images/10042025/18/50/image_10042025_18_51_05_9385.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351302817","1351302792","1351302828","1351302756","1351302833","1351302760"],"photo_ids_order":["1351302756","1351302760","1351302792","1351302817","1351302828","1351302833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f44c7d8961ca72a8d45d2c877a7f57c.jpg","text":"TemporaryFile(/tmp/multipartBody2851404253092875361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_50_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46d3002a525fe09a6a0e896210b2cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody4123114201146270905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_50_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd1a7d09aaa5b053bff7116c4c977760.jpg","text":"TemporaryFile(/tmp/multipartBody3398354354256047908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_51_05_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0752c3f45bc3368699ce32ff2821211e.jpg","text":"TemporaryFile(/tmp/multipartBody5276009197057419082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_50_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f73c777b6e351909c68e2a59d077a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3133276930297234848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_51_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625a1dd9ce02e6c6d87820827b3f87b5.jpg","text":"TemporaryFile(/tmp/multipartBody6636084200706514837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312352881,"filename":"image_10042025_18_50_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351302792","file1":"1351302760","file0":"1351302756","file4":"1351302828","file5":"1351302833","file3":"1351302817"},"map_files_photo_id_array":[{"photo_id":"1351302833","filename":"file5"},{"photo_id":"1351302792","filename":"file2"},{"photo_id":"1351302828","filename":"file4"},{"photo_id":"1351302760","filename":"file1"},{"photo_id":"1351302756","filename":"file0"},{"photo_id":"1351302817","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351302817":["hashtag1","hashtag2"]},{"1351302792":["hashtag1","hashtag2"]},{"1351302828":["hashtag1","hashtag2"]},{"1351302756":["hashtag1","hashtag2"]},{"1351302833":["hashtag1","hashtag2"]},{"1351302760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351302817, 1351302792, 1351302828, 1351302756, 1351302833, 1351302760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51624894142151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:12:32.669686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_35_9473.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_45_10359.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_55_9417.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_52_05_10357.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_15_10361.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_35_9473.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_45_10359.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_55_9417.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_52_05_10357.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_15_10361.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_25_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3844034671783447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 21:12:42.590247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_35_9473.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_45_10359.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_55_9417.jpg', '/home/pi/Desktop/images/10042025/18/51/image_10042025_18_52_05_10357.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_15_10361.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_35_9473.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_45_10359.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_51_55_9417.jpg
/home/pi/Desktop/images/10042025/18/51/image_10042025_18_52_05_10357.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_15_10361.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_25_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351302984","1351302977","1351302929","1351302970","1351302964","1351302973"],"photo_ids_order":["1351302929","1351302964","1351302970","1351302973","1351302977","1351302984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d0a37d4dadca706cad5904786acb062.jpg","text":"TemporaryFile(/tmp/multipartBody336327259564850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_52_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24d9f41d33cfd0982fa0704f40ef5fef.jpg","text":"TemporaryFile(/tmp/multipartBody8111329802986601265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_52_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d06767956c639799c18441387c2b8c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7343977368286027009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_51_35_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fcb619e54cfd254cf250a93131a29be8.jpg","text":"TemporaryFile(/tmp/multipartBody3279059535090996642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_51_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5eadf0248d4c254a681f8c8cfd8f6682.jpg","text":"TemporaryFile(/tmp/multipartBody6888218638436314411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_51_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4458474882045a3728d17b08219aec64.jpg","text":"TemporaryFile(/tmp/multipartBody6933456640735947941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312423051,"filename":"image_10042025_18_52_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351302970","file1":"1351302964","file0":"1351302929","file4":"1351302977","file5":"1351302984","file3":"1351302973"},"map_files_photo_id_array":[{"photo_id":"1351302984","filename":"file5"},{"photo_id":"1351302970","filename":"file2"},{"photo_id":"1351302977","filename":"file4"},{"photo_id":"1351302964","filename":"file1"},{"photo_id":"1351302929","filename":"file0"},{"photo_id":"1351302973","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351302984":["hashtag1","hashtag2"]},{"1351302977":["hashtag1","hashtag2"]},{"1351302929":["hashtag1","hashtag2"]},{"1351302970":["hashtag1","hashtag2"]},{"1351302964":["hashtag1","hashtag2"]},{"1351302973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351302984, 1351302977, 1351302929, 1351302970, 1351302964, 1351302973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16008496284485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:13:32.874292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_35_10375.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_45_10378.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_55_9375.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_53_05_10350.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_15_9405.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_25_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_35_10375.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_45_10378.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_55_9375.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_53_05_10350.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_15_9405.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_25_10392.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3899707794189453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 21:13:42.845692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_35_10375.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_45_10378.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_55_9375.jpg', '/home/pi/Desktop/images/10042025/18/52/image_10042025_18_53_05_10350.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_15_9405.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_25_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_35_10375.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_45_10378.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_52_55_9375.jpg
/home/pi/Desktop/images/10042025/18/52/image_10042025_18_53_05_10350.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_15_9405.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_25_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303020","1351303040","1351303031","1351303051","1351303027","1351303036"],"photo_ids_order":["1351303020","1351303027","1351303031","1351303036","1351303040","1351303051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6d272fd0faddcd81f3cbbd293be0d2f.jpg","text":"TemporaryFile(/tmp/multipartBody6893937233523872153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_52_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3ab3d8bc1b33e9691554533e11e9b06.jpg","text":"TemporaryFile(/tmp/multipartBody3315681050861513694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_53_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74226509e0b2d9f6fe9c0613821f7592.jpg","text":"TemporaryFile(/tmp/multipartBody8464976250839943023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_52_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0131bcf58089b68500d5518e7c27d9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4253319067461702800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_53_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc6036e97389fb4cb21df310e65ca00e.jpg","text":"TemporaryFile(/tmp/multipartBody8525065832720782578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_52_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a1fe355fe385a83bcb1715f6fddd184.jpg","text":"TemporaryFile(/tmp/multipartBody8540079719114675934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312483300,"filename":"image_10042025_18_53_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303031","file1":"1351303027","file0":"1351303020","file4":"1351303040","file5":"1351303051","file3":"1351303036"},"map_files_photo_id_array":[{"photo_id":"1351303051","filename":"file5"},{"photo_id":"1351303031","filename":"file2"},{"photo_id":"1351303040","filename":"file4"},{"photo_id":"1351303027","filename":"file1"},{"photo_id":"1351303020","filename":"file0"},{"photo_id":"1351303036","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303020":["hashtag1","hashtag2"]},{"1351303040":["hashtag1","hashtag2"]},{"1351303031":["hashtag1","hashtag2"]},{"1351303051":["hashtag1","hashtag2"]},{"1351303027":["hashtag1","hashtag2"]},{"1351303036":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303020, 1351303040, 1351303031, 1351303051, 1351303027, 1351303036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54253029823303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:14:32.960758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_35_10361.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_45_9386.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_55_10379.jpg', '/home/pi/Desktop/images/10042025/18/53/image_10042025_18_54_05_10373.jpg', '/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_15_9376.jpg', '/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_25_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_35_10361.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_45_9386.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_53_55_10379.jpg
/home/pi/Desktop/images/10042025/18/53/image_10042025_18_54_05_10373.jpg
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_15_9376.jpg
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_25_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303161","1351303212","1351303206","1351303200","1351303193","1351303166"],"photo_ids_order":["1351303161","1351303166","1351303193","1351303200","1351303206","1351303212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f71c0d5537297f57ba7e6240e34547e.jpg","text":"TemporaryFile(/tmp/multipartBody112145898158433782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_53_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34ffe61dbe92101fdf4317d4f74c93e2.jpg","text":"TemporaryFile(/tmp/multipartBody5213618285688124881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_54_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8c376ca8116d17c49f6f36ac0522324.jpg","text":"TemporaryFile(/tmp/multipartBody4809044995508320250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_54_15_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58ef8cbf3d8ddf591dd9d9099955c2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4609472270257631724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_54_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3680b659eb3cc863a18cac005287c1c.jpg","text":"TemporaryFile(/tmp/multipartBody308377907939964868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_53_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ad5bdb310baf042cffb7e53935bbd50.jpg","text":"TemporaryFile(/tmp/multipartBody3181535865165380850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312533429,"filename":"image_10042025_18_53_45_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303193","file1":"1351303166","file0":"1351303161","file4":"1351303206","file5":"1351303212","file3":"1351303200"},"map_files_photo_id_array":[{"photo_id":"1351303212","filename":"file5"},{"photo_id":"1351303193","filename":"file2"},{"photo_id":"1351303206","filename":"file4"},{"photo_id":"1351303166","filename":"file1"},{"photo_id":"1351303161","filename":"file0"},{"photo_id":"1351303200","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303161":["hashtag1","hashtag2"]},{"1351303212":["hashtag1","hashtag2"]},{"1351303206":["hashtag1","hashtag2"]},{"1351303200":["hashtag1","hashtag2"]},{"1351303193":["hashtag1","hashtag2"]},{"1351303166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303161, 1351303212, 1351303206, 1351303200, 1351303193, 1351303166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.171034812927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:15:33.149119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_35_9462.jpg', '/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_45_10364.jpg', '/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_55_10359.jpg', '/home/pi/Desktop/images/10042025/18/54/image_10042025_18_55_05_9438.jpg', '/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_15_10347.jpg', '/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_25_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_35_9462.jpg
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_45_10364.jpg
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_54_55_10359.jpg
/home/pi/Desktop/images/10042025/18/54/image_10042025_18_55_05_9438.jpg
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_15_10347.jpg
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_25_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303248","1351303233","1351303227","1351303271","1351303297","1351303240"],"photo_ids_order":["1351303227","1351303233","1351303240","1351303248","1351303271","1351303297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f0721e65d01cceb83163a88caf995f3.jpg","text":"TemporaryFile(/tmp/multipartBody2621130154654391324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_55_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12077c463132d08dddea7aa3ea90a644.jpg","text":"TemporaryFile(/tmp/multipartBody7822864572259390163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_54_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f57dabc6c6a67a696eb2a56459070418.jpg","text":"TemporaryFile(/tmp/multipartBody3496267629194682711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_54_35_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/324573d5cdab92e62606c36e936a5d00.jpg","text":"TemporaryFile(/tmp/multipartBody4444721779471187424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_55_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a97849f66d6fa36024d88ed793bb9daa.jpg","text":"TemporaryFile(/tmp/multipartBody1667850223764021386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_55_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f171f0ccc250621f3bc9ada9ef1f5ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8858926128779393323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312593615,"filename":"image_10042025_18_54_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303240","file1":"1351303233","file0":"1351303227","file4":"1351303271","file5":"1351303297","file3":"1351303248"},"map_files_photo_id_array":[{"photo_id":"1351303297","filename":"file5"},{"photo_id":"1351303240","filename":"file2"},{"photo_id":"1351303271","filename":"file4"},{"photo_id":"1351303233","filename":"file1"},{"photo_id":"1351303227","filename":"file0"},{"photo_id":"1351303248","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303248":["hashtag1","hashtag2"]},{"1351303233":["hashtag1","hashtag2"]},{"1351303227":["hashtag1","hashtag2"]},{"1351303271":["hashtag1","hashtag2"]},{"1351303297":["hashtag1","hashtag2"]},{"1351303240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303248, 1351303233, 1351303227, 1351303271, 1351303297, 1351303240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80373024940491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:16:32.316748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_35_10376.jpg', '/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_45_10355.jpg', '/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_55_9361.jpg', '/home/pi/Desktop/images/10042025/18/55/image_10042025_18_56_05_10357.jpg', '/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_15_9432.jpg', '/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_35_10376.jpg
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_45_10355.jpg
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_55_55_9361.jpg
/home/pi/Desktop/images/10042025/18/55/image_10042025_18_56_05_10357.jpg
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_15_9432.jpg
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303516","1351303488","1351303443","1351303463","1351303459","1351303507"],"photo_ids_order":["1351303443","1351303459","1351303463","1351303488","1351303507","1351303516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61c3aea926ce98f16567d2973fe3953a.jpg","text":"TemporaryFile(/tmp/multipartBody1328035146380783464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_56_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f3e046765ec039dd03560e58ef5c0ee.jpg","text":"TemporaryFile(/tmp/multipartBody2578480868497699369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_56_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db5768104f181bd20c1335f58ca626e1.jpg","text":"TemporaryFile(/tmp/multipartBody2693749770844557570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_55_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/02404a3d6fde251e6c68fb9cc040773f.jpg","text":"TemporaryFile(/tmp/multipartBody267492334560122005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_55_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/027d4eb956f1b5eb5d9e3a25fffe4f96.jpg","text":"TemporaryFile(/tmp/multipartBody5159170557756241785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_55_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75d9312770a3b8e4168d0bbe0e050cf0.jpg","text":"TemporaryFile(/tmp/multipartBody9137436062684011153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312652793,"filename":"image_10042025_18_56_15_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303463","file1":"1351303459","file0":"1351303443","file4":"1351303507","file5":"1351303516","file3":"1351303488"},"map_files_photo_id_array":[{"photo_id":"1351303516","filename":"file5"},{"photo_id":"1351303463","filename":"file2"},{"photo_id":"1351303507","filename":"file4"},{"photo_id":"1351303459","filename":"file1"},{"photo_id":"1351303443","filename":"file0"},{"photo_id":"1351303488","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303516":["hashtag1","hashtag2"]},{"1351303488":["hashtag1","hashtag2"]},{"1351303443":["hashtag1","hashtag2"]},{"1351303463":["hashtag1","hashtag2"]},{"1351303459":["hashtag1","hashtag2"]},{"1351303507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303516, 1351303488, 1351303443, 1351303463, 1351303459, 1351303507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13284969329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:17:32.545322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_35_10481.jpg', '/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_45_9364.jpg', '/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_55_10356.jpg', '/home/pi/Desktop/images/10042025/18/56/image_10042025_18_57_05_9429.jpg', '/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_15_10361.jpg', '/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_35_10481.jpg
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_45_9364.jpg
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_56_55_10356.jpg
/home/pi/Desktop/images/10042025/18/56/image_10042025_18_57_05_9429.jpg
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_15_10361.jpg
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303662","1351303620","1351303592","1351303646","1351303613","1351303606"],"photo_ids_order":["1351303592","1351303606","1351303613","1351303620","1351303646","1351303662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1d825664139fb2a68d48d6bfc45747ec.jpg","text":"TemporaryFile(/tmp/multipartBody4862909177075518282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_57_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed34e09e21a57932991bc0eaf239784f.jpg","text":"TemporaryFile(/tmp/multipartBody569541855497786058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_57_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd75a41e2f7497a7f981379f24b99125.jpg","text":"TemporaryFile(/tmp/multipartBody8106736870952652813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_56_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cd9bb2b631b7469fdb0a80439184c66.jpg","text":"TemporaryFile(/tmp/multipartBody4040188156648115522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_57_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07eb64bfcb6c8c2e42da98293054877d.jpg","text":"TemporaryFile(/tmp/multipartBody783729657525469640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_56_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/396678349f7ada5acea5a828735156f1.jpg","text":"TemporaryFile(/tmp/multipartBody3380438828219961585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312713009,"filename":"image_10042025_18_56_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303613","file1":"1351303606","file0":"1351303592","file4":"1351303646","file5":"1351303662","file3":"1351303620"},"map_files_photo_id_array":[{"photo_id":"1351303662","filename":"file5"},{"photo_id":"1351303613","filename":"file2"},{"photo_id":"1351303646","filename":"file4"},{"photo_id":"1351303606","filename":"file1"},{"photo_id":"1351303592","filename":"file0"},{"photo_id":"1351303620","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303662":["hashtag1","hashtag2"]},{"1351303620":["hashtag1","hashtag2"]},{"1351303592":["hashtag1","hashtag2"]},{"1351303646":["hashtag1","hashtag2"]},{"1351303613":["hashtag1","hashtag2"]},{"1351303606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303662, 1351303620, 1351303592, 1351303646, 1351303613, 1351303606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03973031044006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:18:32.737212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_35_9378.jpg', '/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_45_10368.jpg', '/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_55_10361.jpg', '/home/pi/Desktop/images/10042025/18/57/image_10042025_18_58_05_9508.jpg', '/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_15_10357.jpg', '/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_25_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_35_9378.jpg
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_45_10368.jpg
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_57_55_10361.jpg
/home/pi/Desktop/images/10042025/18/57/image_10042025_18_58_05_9508.jpg
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_15_10357.jpg
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_25_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303708","1351303731","1351303713","1351303682","1351303718","1351303703"],"photo_ids_order":["1351303682","1351303703","1351303708","1351303713","1351303718","1351303731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33f66859753ac3ca088f605835aa9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3056148076745735012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_57_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cda5d1a665121b743834cb2467a67cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5727413782859379780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_58_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1617135ac5d8996a05481c6125daeeff.jpg","text":"TemporaryFile(/tmp/multipartBody3468897051391929120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_58_05_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06e43568e4d244875808a24f0180185c.jpg","text":"TemporaryFile(/tmp/multipartBody7714724859325772120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_57_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f109c962308ff842aeddb6480f10797d.jpg","text":"TemporaryFile(/tmp/multipartBody2721949694783196891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_58_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2704debe5861abf0b1f56327d336a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6304687811806265080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312773201,"filename":"image_10042025_18_57_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303708","file1":"1351303703","file0":"1351303682","file4":"1351303718","file5":"1351303731","file3":"1351303713"},"map_files_photo_id_array":[{"photo_id":"1351303731","filename":"file5"},{"photo_id":"1351303708","filename":"file2"},{"photo_id":"1351303718","filename":"file4"},{"photo_id":"1351303703","filename":"file1"},{"photo_id":"1351303682","filename":"file0"},{"photo_id":"1351303713","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303708":["hashtag1","hashtag2"]},{"1351303731":["hashtag1","hashtag2"]},{"1351303713":["hashtag1","hashtag2"]},{"1351303682":["hashtag1","hashtag2"]},{"1351303718":["hashtag1","hashtag2"]},{"1351303703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303708, 1351303731, 1351303713, 1351303682, 1351303718, 1351303703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04331707954407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:19:32.903269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_35_10384.jpg', '/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_45_10370.jpg', '/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_55_9400.jpg', '/home/pi/Desktop/images/10042025/18/58/image_10042025_18_59_05_10422.jpg', '/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_15_9445.jpg', '/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_35_10384.jpg
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_45_10370.jpg
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_58_55_9400.jpg
/home/pi/Desktop/images/10042025/18/58/image_10042025_18_59_05_10422.jpg
/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_15_9445.jpg
/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_25_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351303824","1351303818","1351303868","1351303831","1351303843","1351303810"],"photo_ids_order":["1351303810","1351303818","1351303824","1351303831","1351303843","1351303868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/332c837c7fe5432a9ce6c80bb8193f04.jpg","text":"TemporaryFile(/tmp/multipartBody8980727251324223280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_58_55_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/311acb7de73f9416cfc2e717dbd32e37.jpg","text":"TemporaryFile(/tmp/multipartBody6393096793653867308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_58_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92f07d002a461f14d12f97e7af8f4a91.jpg","text":"TemporaryFile(/tmp/multipartBody3020911142515662381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_59_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3e5b99dd9edff271b00bb188580b645.jpg","text":"TemporaryFile(/tmp/multipartBody2578405170818885948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_59_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c412ec39831ea4cf0361a3f13eff035.jpg","text":"TemporaryFile(/tmp/multipartBody6458718411647716733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_59_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d71df12690a1d7e7f4a7d59052f0792.jpg","text":"TemporaryFile(/tmp/multipartBody508937203948785412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312833358,"filename":"image_10042025_18_58_35_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351303824","file1":"1351303818","file0":"1351303810","file4":"1351303843","file5":"1351303868","file3":"1351303831"},"map_files_photo_id_array":[{"photo_id":"1351303868","filename":"file5"},{"photo_id":"1351303824","filename":"file2"},{"photo_id":"1351303843","filename":"file4"},{"photo_id":"1351303818","filename":"file1"},{"photo_id":"1351303810","filename":"file0"},{"photo_id":"1351303831","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351303824":["hashtag1","hashtag2"]},{"1351303818":["hashtag1","hashtag2"]},{"1351303868":["hashtag1","hashtag2"]},{"1351303831":["hashtag1","hashtag2"]},{"1351303843":["hashtag1","hashtag2"]},{"1351303810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351303824, 1351303818, 1351303868, 1351303831, 1351303843, 1351303810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94400334358215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:20:33.074606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_34_9357.jpg', '/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_45_10370.jpg', '/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_55_10385.jpg', '/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_15_10077.jpg', '/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_25_10391.jpg', '/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_36_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_34_9357.jpg
/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_45_10370.jpg
/home/pi/Desktop/images/10042025/18/59/image_10042025_18_59_55_10385.jpg
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_15_10077.jpg
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_25_10391.jpg
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_36_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351304136","1351304126","1351304074","1351304158","1351304097","1351304082"],"photo_ids_order":["1351304074","1351304082","1351304097","1351304126","1351304136","1351304158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85ab3f03a86ac9294f009713dcf18bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6117874240014479772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_19_01_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c20b388ff60fac016007b79b943bd278.jpg","text":"TemporaryFile(/tmp/multipartBody7171156523594368190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_19_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8ecf935c3cc6b644359eda4e519dd14.jpg","text":"TemporaryFile(/tmp/multipartBody1943489734039415349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_18_59_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/929f5f66985d90a8a4fe5fcc92e6fbf8.jpg","text":"TemporaryFile(/tmp/multipartBody7313938570346705964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_19_01_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7952cf598cb868f3ea3701c506b36388.jpg","text":"TemporaryFile(/tmp/multipartBody6601998538826965946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_18_59_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fad8aca5b3d142082ee1c70a9b349656.jpg","text":"TemporaryFile(/tmp/multipartBody6351929914939404388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312893531,"filename":"image_10042025_18_59_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351304097","file1":"1351304082","file0":"1351304074","file4":"1351304136","file5":"1351304158","file3":"1351304126"},"map_files_photo_id_array":[{"photo_id":"1351304158","filename":"file5"},{"photo_id":"1351304097","filename":"file2"},{"photo_id":"1351304136","filename":"file4"},{"photo_id":"1351304082","filename":"file1"},{"photo_id":"1351304074","filename":"file0"},{"photo_id":"1351304126","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351304136":["hashtag1","hashtag2"]},{"1351304126":["hashtag1","hashtag2"]},{"1351304074":["hashtag1","hashtag2"]},{"1351304158":["hashtag1","hashtag2"]},{"1351304097":["hashtag1","hashtag2"]},{"1351304082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351304136, 1351304126, 1351304074, 1351304158, 1351304097, 1351304082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02223610877991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:21:32.175069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_45_9338.jpg', '/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_55_10377.jpg', '/home/pi/Desktop/images/10042025/19/01/image_10042025_19_02_05_9417.jpg', '/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_15_10366.jpg', '/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_26_10451.jpg', '/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_35_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_45_9338.jpg
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_01_55_10377.jpg
/home/pi/Desktop/images/10042025/19/01/image_10042025_19_02_05_9417.jpg
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_15_10366.jpg
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_26_10451.jpg
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_35_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351304291","1351304309","1351304266","1351304296","1351304286","1351304274"],"photo_ids_order":["1351304266","1351304274","1351304286","1351304291","1351304296","1351304309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f54f3fe8c7f8e07135afc8d3026fadb.jpg","text":"TemporaryFile(/tmp/multipartBody418382344202005777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_02_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66a2174b75e4fd43987712d8284553a5.jpg","text":"TemporaryFile(/tmp/multipartBody2411725940115599406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_02_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d09250c7f3eb9130694a41ceb961b00.jpg","text":"TemporaryFile(/tmp/multipartBody7159246393714230657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_01_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5317a957c557c265709e33e2e1ac4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody1316993164241606941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_02_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4db36c866581f96b68ca675349621762.jpg","text":"TemporaryFile(/tmp/multipartBody6761878612626111173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_02_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5674c183d0c2eeef957cbe4347c0289.jpg","text":"TemporaryFile(/tmp/multipartBody2812463672445349469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744312952650,"filename":"image_10042025_19_01_55_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351304286","file1":"1351304274","file0":"1351304266","file4":"1351304296","file5":"1351304309","file3":"1351304291"},"map_files_photo_id_array":[{"photo_id":"1351304309","filename":"file5"},{"photo_id":"1351304286","filename":"file2"},{"photo_id":"1351304296","filename":"file4"},{"photo_id":"1351304274","filename":"file1"},{"photo_id":"1351304266","filename":"file0"},{"photo_id":"1351304291","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351304291":["hashtag1","hashtag2"]},{"1351304309":["hashtag1","hashtag2"]},{"1351304266":["hashtag1","hashtag2"]},{"1351304296":["hashtag1","hashtag2"]},{"1351304286":["hashtag1","hashtag2"]},{"1351304274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351304291, 1351304309, 1351304266, 1351304296, 1351304286, 1351304274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.519447326660156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:22:32.583609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_45_10360.jpg', '/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_55_9487.jpg', '/home/pi/Desktop/images/10042025/19/02/image_10042025_19_03_05_10392.jpg', '/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_16_10461.jpg', '/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_25_9388.jpg', '/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_36_10494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_45_10360.jpg
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_02_55_9487.jpg
/home/pi/Desktop/images/10042025/19/02/image_10042025_19_03_05_10392.jpg
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_16_10461.jpg
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_25_9388.jpg
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_36_10494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351304424","1351304474","1351304465","1351304533","1351304428","1351304437"],"photo_ids_order":["1351304424","1351304428","1351304437","1351304465","1351304474","1351304533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31c62968e6cc7103dd7e217a325dfb4b.jpg","text":"TemporaryFile(/tmp/multipartBody7829270135662243764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_02_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/919dd947b74c46690d5819882f95b040.jpg","text":"TemporaryFile(/tmp/multipartBody3614930368847864113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_03_25_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2a1d00fd3b67739fb14574008af231c.jpg","text":"TemporaryFile(/tmp/multipartBody5299441239821177013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_03_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e347dffe0a340ea93890d5522a7306f3.jpg","text":"TemporaryFile(/tmp/multipartBody2730354830290623917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_03_36_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cfb7bb736275cefa431f9e829dfb4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3562625801211623346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_02_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61fb22b202604c1cac71e5e9543b3755.jpg","text":"TemporaryFile(/tmp/multipartBody7435507207880815676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313013038,"filename":"image_10042025_19_03_05_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351304437","file1":"1351304428","file0":"1351304424","file4":"1351304474","file5":"1351304533","file3":"1351304465"},"map_files_photo_id_array":[{"photo_id":"1351304533","filename":"file5"},{"photo_id":"1351304437","filename":"file2"},{"photo_id":"1351304474","filename":"file4"},{"photo_id":"1351304428","filename":"file1"},{"photo_id":"1351304424","filename":"file0"},{"photo_id":"1351304465","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351304424":["hashtag1","hashtag2"]},{"1351304474":["hashtag1","hashtag2"]},{"1351304465":["hashtag1","hashtag2"]},{"1351304533":["hashtag1","hashtag2"]},{"1351304428":["hashtag1","hashtag2"]},{"1351304437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351304424, 1351304474, 1351304465, 1351304533, 1351304428, 1351304437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29749917984009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:23:32.875574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_45_9366.jpg', '/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_55_10369.jpg', '/home/pi/Desktop/images/10042025/19/03/image_10042025_19_04_06_10350.jpg', '/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_15_9365.jpg', '/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_25_10359.jpg', '/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_35_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_45_9366.jpg
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_03_55_10369.jpg
/home/pi/Desktop/images/10042025/19/03/image_10042025_19_04_06_10350.jpg
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_15_9365.jpg
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_25_10359.jpg
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_35_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351304700","1351304687","1351304714","1351304695","1351304691","1351304704"],"photo_ids_order":["1351304687","1351304691","1351304695","1351304700","1351304704","1351304714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3a372149d4fdab495782385b836fed2.jpg","text":"TemporaryFile(/tmp/multipartBody4731400533150323249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_04_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e4ab7cb472b38813ab387da519bc41e.jpg","text":"TemporaryFile(/tmp/multipartBody4378360715706598207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_03_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/215176186050a70df99cf4ace778c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2489851472438431607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_04_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18ea9f0282ab3b706187fc1aa669b33b.jpg","text":"TemporaryFile(/tmp/multipartBody5130032986413055908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_04_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77b7063d063a9978ec3abf1ac8bf0897.jpg","text":"TemporaryFile(/tmp/multipartBody5524418986663003439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_03_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a10e027bbaeb75f1f3e3f452b56ee16.jpg","text":"TemporaryFile(/tmp/multipartBody3122318262656245381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313073323,"filename":"image_10042025_19_04_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351304695","file1":"1351304691","file0":"1351304687","file4":"1351304704","file5":"1351304714","file3":"1351304700"},"map_files_photo_id_array":[{"photo_id":"1351304714","filename":"file5"},{"photo_id":"1351304695","filename":"file2"},{"photo_id":"1351304704","filename":"file4"},{"photo_id":"1351304691","filename":"file1"},{"photo_id":"1351304687","filename":"file0"},{"photo_id":"1351304700","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351304700":["hashtag1","hashtag2"]},{"1351304687":["hashtag1","hashtag2"]},{"1351304714":["hashtag1","hashtag2"]},{"1351304695":["hashtag1","hashtag2"]},{"1351304691":["hashtag1","hashtag2"]},{"1351304704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351304700, 1351304687, 1351304714, 1351304695, 1351304691, 1351304704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97553563117981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:24:32.958148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_45_10399.jpg', '/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_56_10464.jpg', '/home/pi/Desktop/images/10042025/19/04/image_10042025_19_05_05_9342.jpg', '/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_15_10347.jpg', '/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_25_9434.jpg', '/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_35_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_45_10399.jpg
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_04_56_10464.jpg
/home/pi/Desktop/images/10042025/19/04/image_10042025_19_05_05_9342.jpg
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_15_10347.jpg
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_25_9434.jpg
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_35_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305044","1351305017","1351305034","1351305037","1351305031","1351305027"],"photo_ids_order":["1351305017","1351305027","1351305031","1351305034","1351305037","1351305044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4854a740fb0f7fbbfc5192ad8e78f9ae.jpg","text":"TemporaryFile(/tmp/multipartBody6068696796432495323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_05_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a6375a136888ff1dc8154f254df1d72.jpg","text":"TemporaryFile(/tmp/multipartBody2799964385294975139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_04_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88eb042ce4cb0a74002a187b978e2f29.jpg","text":"TemporaryFile(/tmp/multipartBody6105180193079250073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_05_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89d3350368cb86533f5addcc7ab4ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody3732862975803744463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_05_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96fdd3766e48f8b30e6cced9047419a6.jpg","text":"TemporaryFile(/tmp/multipartBody2287646711693718301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_05_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c364c3d4d3e2011a3f8b670ab27042e.jpg","text":"TemporaryFile(/tmp/multipartBody542183626648529962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313133408,"filename":"image_10042025_19_04_56_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305031","file1":"1351305027","file0":"1351305017","file4":"1351305037","file5":"1351305044","file3":"1351305034"},"map_files_photo_id_array":[{"photo_id":"1351305044","filename":"file5"},{"photo_id":"1351305031","filename":"file2"},{"photo_id":"1351305037","filename":"file4"},{"photo_id":"1351305027","filename":"file1"},{"photo_id":"1351305017","filename":"file0"},{"photo_id":"1351305034","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305044":["hashtag1","hashtag2"]},{"1351305017":["hashtag1","hashtag2"]},{"1351305034":["hashtag1","hashtag2"]},{"1351305037":["hashtag1","hashtag2"]},{"1351305031":["hashtag1","hashtag2"]},{"1351305027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305044, 1351305017, 1351305034, 1351305037, 1351305031, 1351305027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53916907310486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:25:33.130722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_46_10432.jpg', '/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_55_9341.jpg', '/home/pi/Desktop/images/10042025/19/05/image_10042025_19_06_05_10430.jpg', '/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_16_10416.jpg', '/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_25_9279.jpg', '/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_36_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_46_10432.jpg
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_05_55_9341.jpg
/home/pi/Desktop/images/10042025/19/05/image_10042025_19_06_05_10430.jpg
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_16_10416.jpg
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_25_9279.jpg
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_36_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305077","1351305094","1351305082","1351305106","1351305100","1351305087"],"photo_ids_order":["1351305077","1351305082","1351305087","1351305094","1351305100","1351305106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/24af35803ed171dbfb45db6b63234790.jpg","text":"TemporaryFile(/tmp/multipartBody5454246450807612924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_05_46_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b5b4ca703b99d2baf5ef3347e84dbef.jpg","text":"TemporaryFile(/tmp/multipartBody8658355712993169924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_06_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a7573f32124bc069da2ad825c795bf8.jpg","text":"TemporaryFile(/tmp/multipartBody5086045655462189299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_05_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3131fb6b57a139e14697ffb9ee640eba.jpg","text":"TemporaryFile(/tmp/multipartBody6347407348579849442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_06_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/839d7bc2b71402fbeb4ddf2a18a9e9a8.jpg","text":"TemporaryFile(/tmp/multipartBody3055859823040450288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_06_25_9279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2ce2926f2c2ec9322f74c3f88bfd5f5.jpg","text":"TemporaryFile(/tmp/multipartBody6569966378681697062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313193579,"filename":"image_10042025_19_06_05_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305087","file1":"1351305082","file0":"1351305077","file4":"1351305100","file5":"1351305106","file3":"1351305094"},"map_files_photo_id_array":[{"photo_id":"1351305106","filename":"file5"},{"photo_id":"1351305087","filename":"file2"},{"photo_id":"1351305100","filename":"file4"},{"photo_id":"1351305082","filename":"file1"},{"photo_id":"1351305077","filename":"file0"},{"photo_id":"1351305094","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305077":["hashtag1","hashtag2"]},{"1351305094":["hashtag1","hashtag2"]},{"1351305082":["hashtag1","hashtag2"]},{"1351305106":["hashtag1","hashtag2"]},{"1351305100":["hashtag1","hashtag2"]},{"1351305087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305077, 1351305094, 1351305082, 1351305106, 1351305100, 1351305087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15095329284668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:26:32.392570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_45_9369.jpg', '/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_55_10406.jpg', '/home/pi/Desktop/images/10042025/19/06/image_10042025_19_07_06_10385.jpg', '/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_15_9359.jpg', '/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_25_10369.jpg', '/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_35_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_45_9369.jpg
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_06_55_10406.jpg
/home/pi/Desktop/images/10042025/19/06/image_10042025_19_07_06_10385.jpg
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_15_9359.jpg
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_25_10369.jpg
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_35_10036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305125","1351305128","1351305121","1351305132","1351305135","1351305117"],"photo_ids_order":["1351305117","1351305121","1351305125","1351305128","1351305132","1351305135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bee525ad69decb24b84f0008a94c964d.jpg","text":"TemporaryFile(/tmp/multipartBody4191442644106044717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_07_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/91c7507453d308ff1e2617ad0286af04.jpg","text":"TemporaryFile(/tmp/multipartBody7392496322927964030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_07_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15d2385f095b2cd3b8fac48da30eba65.jpg","text":"TemporaryFile(/tmp/multipartBody9158713121039314759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_06_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef9faa25bc48a5fcac885cc0a097f01d.jpg","text":"TemporaryFile(/tmp/multipartBody8952237646682186140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_07_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16c35701335cb6a76d522aaacb6d0644.jpg","text":"TemporaryFile(/tmp/multipartBody8612027544961510830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_07_35_10036.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e1659d4980570832b0f60c3d907230e.jpg","text":"TemporaryFile(/tmp/multipartBody2049277244698252468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313252847,"filename":"image_10042025_19_06_45_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305125","file1":"1351305121","file0":"1351305117","file4":"1351305132","file5":"1351305135","file3":"1351305128"},"map_files_photo_id_array":[{"photo_id":"1351305135","filename":"file5"},{"photo_id":"1351305125","filename":"file2"},{"photo_id":"1351305132","filename":"file4"},{"photo_id":"1351305121","filename":"file1"},{"photo_id":"1351305117","filename":"file0"},{"photo_id":"1351305128","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305125":["hashtag1","hashtag2"]},{"1351305128":["hashtag1","hashtag2"]},{"1351305121":["hashtag1","hashtag2"]},{"1351305132":["hashtag1","hashtag2"]},{"1351305135":["hashtag1","hashtag2"]},{"1351305117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305125, 1351305128, 1351305121, 1351305132, 1351305135, 1351305117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31897592544556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:27:32.451715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_45_9404.jpg', '/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_56_10938.jpg', '/home/pi/Desktop/images/10042025/19/07/image_10042025_19_08_05_9416.jpg', '/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_16_10448.jpg', '/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_25_9441.jpg', '/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_45_9404.jpg
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_07_56_10938.jpg
/home/pi/Desktop/images/10042025/19/07/image_10042025_19_08_05_9416.jpg
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_16_10448.jpg
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_25_9441.jpg
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_35_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305224","1351305178","1351305172","1351305241","1351305244","1351305159"],"photo_ids_order":["1351305159","1351305172","1351305178","1351305224","1351305241","1351305244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/295e570e7d736c9b483abc0907253d5e.jpg","text":"TemporaryFile(/tmp/multipartBody1934435688802918724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_08_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b02d3564df7e49b12b2e4b804ff6c4e7.jpg","text":"TemporaryFile(/tmp/multipartBody4675325029917088440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_08_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/824d8794461420a3d7c42304c6d6dccb.jpg","text":"TemporaryFile(/tmp/multipartBody7514322173884271158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_07_56_10938.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f21c1d161eaa80b7a6ca106f9cf377b5.jpg","text":"TemporaryFile(/tmp/multipartBody3581366156538231468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_08_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f4e375750acdc3395d3e75d7ae3a3d1e.jpg","text":"TemporaryFile(/tmp/multipartBody405870702484295721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_08_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56e0542bd26b54bb57789a0f9d501816.jpg","text":"TemporaryFile(/tmp/multipartBody2294663611608466786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313312903,"filename":"image_10042025_19_07_45_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305178","file1":"1351305172","file0":"1351305159","file4":"1351305241","file5":"1351305244","file3":"1351305224"},"map_files_photo_id_array":[{"photo_id":"1351305244","filename":"file5"},{"photo_id":"1351305178","filename":"file2"},{"photo_id":"1351305241","filename":"file4"},{"photo_id":"1351305172","filename":"file1"},{"photo_id":"1351305159","filename":"file0"},{"photo_id":"1351305224","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305224":["hashtag1","hashtag2"]},{"1351305178":["hashtag1","hashtag2"]},{"1351305172":["hashtag1","hashtag2"]},{"1351305241":["hashtag1","hashtag2"]},{"1351305244":["hashtag1","hashtag2"]},{"1351305159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305224, 1351305178, 1351305172, 1351305241, 1351305244, 1351305159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19909310340881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:28:32.801135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_46_10369.jpg', '/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_55_9343.jpg', '/home/pi/Desktop/images/10042025/19/08/image_10042025_19_09_06_10420.jpg', '/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_15_9418.jpg', '/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_25_10348.jpg', '/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_36_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_46_10369.jpg
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_08_55_9343.jpg
/home/pi/Desktop/images/10042025/19/08/image_10042025_19_09_06_10420.jpg
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_15_9418.jpg
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_25_10348.jpg
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_36_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305478","1351305460","1351305403","1351305456","1351305438","1351305432"],"photo_ids_order":["1351305403","1351305432","1351305438","1351305456","1351305460","1351305478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/474ab6ddfd0a95a241b1dac0643d3eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1461655726540320865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_09_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/227f7002be0ae1c5be26d328d30be66b.jpg","text":"TemporaryFile(/tmp/multipartBody4720768584216158657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_09_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bf667cea2dab70e5b6fba9eefa4bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody15835268468539718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_08_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/64f09c77d5de7268eeda65c85a5bda2b.jpg","text":"TemporaryFile(/tmp/multipartBody4018229627023463898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_09_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b7d0bc8f7e0c6482c9315d3396db4de.jpg","text":"TemporaryFile(/tmp/multipartBody5013705938942209453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_09_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0f5d8a267486b452829f269c7b2dac2.jpg","text":"TemporaryFile(/tmp/multipartBody299099498597868491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313373246,"filename":"image_10042025_19_08_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305438","file1":"1351305432","file0":"1351305403","file4":"1351305460","file5":"1351305478","file3":"1351305456"},"map_files_photo_id_array":[{"photo_id":"1351305478","filename":"file5"},{"photo_id":"1351305438","filename":"file2"},{"photo_id":"1351305460","filename":"file4"},{"photo_id":"1351305432","filename":"file1"},{"photo_id":"1351305403","filename":"file0"},{"photo_id":"1351305456","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305478":["hashtag1","hashtag2"]},{"1351305460":["hashtag1","hashtag2"]},{"1351305403":["hashtag1","hashtag2"]},{"1351305456":["hashtag1","hashtag2"]},{"1351305438":["hashtag1","hashtag2"]},{"1351305432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305478, 1351305460, 1351305403, 1351305456, 1351305438, 1351305432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09888696670532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:29:32.975089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_45_9413.jpg', '/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_56_10415.jpg', '/home/pi/Desktop/images/10042025/19/09/image_10042025_19_10_05_9359.jpg', '/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_15_10365.jpg', '/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_26_10360.jpg', '/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_35_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_45_9413.jpg
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_09_56_10415.jpg
/home/pi/Desktop/images/10042025/19/09/image_10042025_19_10_05_9359.jpg
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_15_10365.jpg
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_26_10360.jpg
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_35_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305752","1351305746","1351305784","1351305781","1351305778","1351305762"],"photo_ids_order":["1351305746","1351305752","1351305762","1351305778","1351305781","1351305784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8cd2b76c625edfb1e6cd4112295fa9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4519146885682085885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_09_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5282f5f283a259d7e5397ea119fb729.jpg","text":"TemporaryFile(/tmp/multipartBody3773135344054420576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_09_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8ff3617131caac5af2e941824c885cd.jpg","text":"TemporaryFile(/tmp/multipartBody1331176706991680499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_10_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6eff9fc6c42fd67c173722bcf282cc28.jpg","text":"TemporaryFile(/tmp/multipartBody7537219764921731659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_10_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ef9abfa5007eb137aefda8257c681d8.jpg","text":"TemporaryFile(/tmp/multipartBody871393547070555012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_10_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5a53ffed599b39e495b0726e37c9c78.jpg","text":"TemporaryFile(/tmp/multipartBody688010855761441176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313433423,"filename":"image_10042025_19_10_05_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305762","file1":"1351305752","file0":"1351305746","file4":"1351305781","file5":"1351305784","file3":"1351305778"},"map_files_photo_id_array":[{"photo_id":"1351305784","filename":"file5"},{"photo_id":"1351305762","filename":"file2"},{"photo_id":"1351305781","filename":"file4"},{"photo_id":"1351305752","filename":"file1"},{"photo_id":"1351305746","filename":"file0"},{"photo_id":"1351305778","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305752":["hashtag1","hashtag2"]},{"1351305746":["hashtag1","hashtag2"]},{"1351305784":["hashtag1","hashtag2"]},{"1351305781":["hashtag1","hashtag2"]},{"1351305778":["hashtag1","hashtag2"]},{"1351305762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305752, 1351305746, 1351305784, 1351305781, 1351305778, 1351305762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.129435777664185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:30:33.134465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_45_10359.jpg', '/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_56_10365.jpg', '/home/pi/Desktop/images/10042025/19/10/image_10042025_19_11_05_9334.jpg', '/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_16_10428.jpg', '/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_25_9416.jpg', '/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_45_10359.jpg
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_10_56_10365.jpg
/home/pi/Desktop/images/10042025/19/10/image_10042025_19_11_05_9334.jpg
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_16_10428.jpg
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_25_9416.jpg
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_35_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351305836","1351305821","1351305832","1351305811","1351305843","1351305825"],"photo_ids_order":["1351305811","1351305821","1351305825","1351305832","1351305836","1351305843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f99e8460407425aebd2a937bd70043f.jpg","text":"TemporaryFile(/tmp/multipartBody6759067963616137150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_11_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3fb3f8c433569909a3f3a3ee33416af.jpg","text":"TemporaryFile(/tmp/multipartBody7576432324980641451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_10_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d1677924ec53a2dcce78598e2162a50.jpg","text":"TemporaryFile(/tmp/multipartBody1454947727202861751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_11_16_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72731784e1a34d427f222dcc50c3bec8.jpg","text":"TemporaryFile(/tmp/multipartBody6051931919289821929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_10_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/805a1270e7015e1ea4ab0661bcadcf3d.jpg","text":"TemporaryFile(/tmp/multipartBody626438345569200766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_11_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7172575377cd4faf61cd29e753ca61ab.jpg","text":"TemporaryFile(/tmp/multipartBody9190971485482407184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313493581,"filename":"image_10042025_19_11_05_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351305825","file1":"1351305821","file0":"1351305811","file4":"1351305836","file5":"1351305843","file3":"1351305832"},"map_files_photo_id_array":[{"photo_id":"1351305843","filename":"file5"},{"photo_id":"1351305825","filename":"file2"},{"photo_id":"1351305836","filename":"file4"},{"photo_id":"1351305821","filename":"file1"},{"photo_id":"1351305811","filename":"file0"},{"photo_id":"1351305832","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351305836":["hashtag1","hashtag2"]},{"1351305821":["hashtag1","hashtag2"]},{"1351305832":["hashtag1","hashtag2"]},{"1351305811":["hashtag1","hashtag2"]},{"1351305843":["hashtag1","hashtag2"]},{"1351305825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351305836, 1351305821, 1351305832, 1351305811, 1351305843, 1351305825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61857295036316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:31:32.280577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_46_10360.jpg', '/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_55_9364.jpg', '/home/pi/Desktop/images/10042025/19/11/image_10042025_19_12_05_10361.jpg', '/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_16_10429.jpg', '/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_25_9366.jpg', '/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_45_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_46_10360.jpg
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_11_55_9364.jpg
/home/pi/Desktop/images/10042025/19/11/image_10042025_19_12_05_10361.jpg
/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_16_10429.jpg
/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_25_9366.jpg
/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_45_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":["1351306031","1351306010","1351306081","1351305982","1351306000","1351305969"],"photo_ids_order":["1351305969","1351305982","1351306000","1351306010","1351306031","1351306081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f8253c3f50e4289d3a36b7bbcb13654.jpg","text":"TemporaryFile(/tmp/multipartBody8869274559287956456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_12_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff3012c079be1d8c8b75fbbdc5b4ab5b.jpg","text":"TemporaryFile(/tmp/multipartBody1952600004243365879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_12_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e297cc70c2c1f67ead2feb5f789b79f4.jpg","text":"TemporaryFile(/tmp/multipartBody8637866109955205041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_12_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8739aeac2b9e7652107a159b001f218a.jpg","text":"TemporaryFile(/tmp/multipartBody4490237440164827254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_11_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e8ad43c2421d76b7ea82883dfdbd311a.jpg","text":"TemporaryFile(/tmp/multipartBody3395588713834122801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_12_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14de4aaa01c4a30c5310617817862e47.jpg","text":"TemporaryFile(/tmp/multipartBody3508697672136607826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313552729,"filename":"image_10042025_19_11_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306000","file1":"1351305982","file0":"1351305969","file4":"1351306031","file5":"1351306081","file3":"1351306010"},"map_files_photo_id_array":[{"photo_id":"1351306081","filename":"file5"},{"photo_id":"1351306000","filename":"file2"},{"photo_id":"1351306031","filename":"file4"},{"photo_id":"1351305982","filename":"file1"},{"photo_id":"1351305969","filename":"file0"},{"photo_id":"1351306010","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306031":["hashtag1","hashtag2"]},{"1351306010":["hashtag1","hashtag2"]},{"1351306081":["hashtag1","hashtag2"]},{"1351305982":["hashtag1","hashtag2"]},{"1351306000":["hashtag1","hashtag2"]},{"1351305969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306031, 1351306010, 1351306081, 1351305982, 1351306000, 1351305969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4179425239563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:32:32.559094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_55_10379.jpg', '/home/pi/Desktop/images/10042025/19/12/image_10042025_19_13_06_10434.jpg', '/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_15_9347.jpg', '/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_25_10350.jpg', '/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_36_10389.jpg', '/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/12/image_10042025_19_12_55_10379.jpg
/home/pi/Desktop/images/10042025/19/12/image_10042025_19_13_06_10434.jpg
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_15_9347.jpg
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_25_10350.jpg
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_36_10389.jpg
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_45_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306142","1351306139","1351306156","1351306168","1351306153","1351306173"],"photo_ids_order":["1351306139","1351306142","1351306153","1351306156","1351306168","1351306173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05222db5862c9bb5a5e71c1ea71d4481.jpg","text":"TemporaryFile(/tmp/multipartBody1224077995023839445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_13_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7cff96d4d6abc7931b0440348e66a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2219349961030509380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_12_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94843f8486110636e4c0f140fbee895a.jpg","text":"TemporaryFile(/tmp/multipartBody5977709590109317261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_13_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/051bad037666ec9e518b54fbf58ef57f.jpg","text":"TemporaryFile(/tmp/multipartBody2146021636793053356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_13_36_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d0c56badd3f60e4fecb11d890be522b.jpg","text":"TemporaryFile(/tmp/multipartBody3953348424259345288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_13_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e58dfa270100fc4b535283451f188a2.jpg","text":"TemporaryFile(/tmp/multipartBody1922658079138490039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313613018,"filename":"image_10042025_19_13_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306153","file1":"1351306142","file0":"1351306139","file4":"1351306168","file5":"1351306173","file3":"1351306156"},"map_files_photo_id_array":[{"photo_id":"1351306173","filename":"file5"},{"photo_id":"1351306153","filename":"file2"},{"photo_id":"1351306168","filename":"file4"},{"photo_id":"1351306142","filename":"file1"},{"photo_id":"1351306139","filename":"file0"},{"photo_id":"1351306156","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306142":["hashtag1","hashtag2"]},{"1351306139":["hashtag1","hashtag2"]},{"1351306156":["hashtag1","hashtag2"]},{"1351306168":["hashtag1","hashtag2"]},{"1351306153":["hashtag1","hashtag2"]},{"1351306173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306142, 1351306139, 1351306156, 1351306168, 1351306153, 1351306173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25029230117798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:33:32.762648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_56_10426.jpg', '/home/pi/Desktop/images/10042025/19/13/image_10042025_19_14_05_9343.jpg', '/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_15_10348.jpg', '/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_26_10358.jpg', '/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_35_9359.jpg', '/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_13_56_10426.jpg
/home/pi/Desktop/images/10042025/19/13/image_10042025_19_14_05_9343.jpg
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_15_10348.jpg
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_26_10358.jpg
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_35_9359.jpg
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_45_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306378","1351306444","1351306423","1351306339","1351306434","1351306442"],"photo_ids_order":["1351306339","1351306378","1351306423","1351306434","1351306442","1351306444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/43432c5f23b87098290eec55d47458db.jpg","text":"TemporaryFile(/tmp/multipartBody1422090126196388844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_14_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7033d2b36c25365a1b424b4562bc2722.jpg","text":"TemporaryFile(/tmp/multipartBody1802034828608304305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_14_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a87ae003fbe14307201a15f80708de91.jpg","text":"TemporaryFile(/tmp/multipartBody3842320338443003826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_14_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e648fe4878b487e1a60f10e867633b05.jpg","text":"TemporaryFile(/tmp/multipartBody8789514916689540062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_13_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a84b747f1865b4540ca45a4e3fcdd8e.jpg","text":"TemporaryFile(/tmp/multipartBody1733483459690587995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_14_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0a197490a9feffb58478f616e35cc16.jpg","text":"TemporaryFile(/tmp/multipartBody191064535314555694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313673209,"filename":"image_10042025_19_14_35_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306423","file1":"1351306378","file0":"1351306339","file4":"1351306442","file5":"1351306444","file3":"1351306434"},"map_files_photo_id_array":[{"photo_id":"1351306444","filename":"file5"},{"photo_id":"1351306423","filename":"file2"},{"photo_id":"1351306442","filename":"file4"},{"photo_id":"1351306378","filename":"file1"},{"photo_id":"1351306339","filename":"file0"},{"photo_id":"1351306434","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306378":["hashtag1","hashtag2"]},{"1351306444":["hashtag1","hashtag2"]},{"1351306423":["hashtag1","hashtag2"]},{"1351306339":["hashtag1","hashtag2"]},{"1351306434":["hashtag1","hashtag2"]},{"1351306442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306378, 1351306444, 1351306423, 1351306339, 1351306434, 1351306442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77480912208557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:34:32.986672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_56_10426.jpg', '/home/pi/Desktop/images/10042025/19/14/image_10042025_19_15_05_9341.jpg', '/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_16_10445.jpg', '/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_25_9363.jpg', '/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_35_10363.jpg', '/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_46_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_14_56_10426.jpg
/home/pi/Desktop/images/10042025/19/14/image_10042025_19_15_05_9341.jpg
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_16_10445.jpg
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_25_9363.jpg
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_35_10363.jpg
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_46_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306570","1351306581","1351306575","1351306584","1351306563","1351306587"],"photo_ids_order":["1351306563","1351306570","1351306575","1351306581","1351306584","1351306587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58983e10cbd8fc2ab234586160cf5860.jpg","text":"TemporaryFile(/tmp/multipartBody4918418406549979284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_15_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7ccab824d445b3a5ca68a985d3f6745.jpg","text":"TemporaryFile(/tmp/multipartBody3605334144256948557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_15_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2197099f510b356bd3e2e2e41baef77.jpg","text":"TemporaryFile(/tmp/multipartBody4556278871439577263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_15_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e388c7afd35b299205d7b01e73bfb295.jpg","text":"TemporaryFile(/tmp/multipartBody7685846613153719018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_15_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/01f7c7ce9310fd66f56439322dbe2c44.jpg","text":"TemporaryFile(/tmp/multipartBody8470236474564905941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_14_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f9cc74de58bc898c42ea873e3e54f8da.jpg","text":"TemporaryFile(/tmp/multipartBody3521793573083358155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313733433,"filename":"image_10042025_19_15_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306575","file1":"1351306570","file0":"1351306563","file4":"1351306584","file5":"1351306587","file3":"1351306581"},"map_files_photo_id_array":[{"photo_id":"1351306587","filename":"file5"},{"photo_id":"1351306575","filename":"file2"},{"photo_id":"1351306584","filename":"file4"},{"photo_id":"1351306570","filename":"file1"},{"photo_id":"1351306563","filename":"file0"},{"photo_id":"1351306581","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306570":["hashtag1","hashtag2"]},{"1351306581":["hashtag1","hashtag2"]},{"1351306575":["hashtag1","hashtag2"]},{"1351306584":["hashtag1","hashtag2"]},{"1351306563":["hashtag1","hashtag2"]},{"1351306587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306570, 1351306581, 1351306575, 1351306584, 1351306563, 1351306587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61668300628662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:35:33.295879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_55_9357.jpg', '/home/pi/Desktop/images/10042025/19/15/image_10042025_19_16_06_10490.jpg', '/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_15_9417.jpg', '/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_25_10345.jpg', '/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_36_10460.jpg', '/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_45_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_15_55_9357.jpg
/home/pi/Desktop/images/10042025/19/15/image_10042025_19_16_06_10490.jpg
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_15_9417.jpg
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_25_10345.jpg
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_36_10460.jpg
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_45_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306768","1351306773","1351306776","1351306806","1351306766","1351306754"],"photo_ids_order":["1351306754","1351306766","1351306768","1351306773","1351306776","1351306806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e14d7b59a5f219330c15b737dcec86b6.jpg","text":"TemporaryFile(/tmp/multipartBody9218628080336240791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_16_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eac96caca47421e6d09803b7a389719b.jpg","text":"TemporaryFile(/tmp/multipartBody4956065506140439288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_16_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88901f52620b7bcb8558f086b930d240.jpg","text":"TemporaryFile(/tmp/multipartBody2455473262690189462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_16_36_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4eff13956b2827a6520530f25035868.jpg","text":"TemporaryFile(/tmp/multipartBody3354961336463261765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_16_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb2872a1064bd7e5d40bd2d3caf64b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6592650095106399113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_16_06_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a96e93bbab9969483f463424c159ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody4822351211921321945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313793755,"filename":"image_10042025_19_15_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306768","file1":"1351306766","file0":"1351306754","file4":"1351306776","file5":"1351306806","file3":"1351306773"},"map_files_photo_id_array":[{"photo_id":"1351306806","filename":"file5"},{"photo_id":"1351306768","filename":"file2"},{"photo_id":"1351306776","filename":"file4"},{"photo_id":"1351306766","filename":"file1"},{"photo_id":"1351306754","filename":"file0"},{"photo_id":"1351306773","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306768":["hashtag1","hashtag2"]},{"1351306773":["hashtag1","hashtag2"]},{"1351306776":["hashtag1","hashtag2"]},{"1351306806":["hashtag1","hashtag2"]},{"1351306766":["hashtag1","hashtag2"]},{"1351306754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306768, 1351306773, 1351306776, 1351306806, 1351306766, 1351306754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76668357849121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:36:33.802389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_55_10368.jpg', '/home/pi/Desktop/images/10042025/19/16/image_10042025_19_17_06_10353.jpg', '/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_15_9358.jpg', '/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_26_10421.jpg', '/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_35_9339.jpg', '/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_16_55_10368.jpg
/home/pi/Desktop/images/10042025/19/16/image_10042025_19_17_06_10353.jpg
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_15_9358.jpg
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_26_10421.jpg
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_35_9339.jpg
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_45_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306891","1351306855","1351306890","1351306935","1351306884","1351306880"],"photo_ids_order":["1351306855","1351306880","1351306884","1351306890","1351306891","1351306935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec9015426938957a048b3f0a8ea10075.jpg","text":"TemporaryFile(/tmp/multipartBody5203175180067708005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_17_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3b69e629a22ca7ea23e123879ec9cf0.jpg","text":"TemporaryFile(/tmp/multipartBody9167293599719690708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_16_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6dd8ed377fb2eef421b81db8373dc86.jpg","text":"TemporaryFile(/tmp/multipartBody8665389943740953974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_17_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb789d648d12f73509148285b65b012b.jpg","text":"TemporaryFile(/tmp/multipartBody5600697509012297475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_17_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0afb5442a8702360283b282077fa22c8.jpg","text":"TemporaryFile(/tmp/multipartBody1088758802614534904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_17_15_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cb76a15e3d1cc0eff199b94779ba120.jpg","text":"TemporaryFile(/tmp/multipartBody9126789820194994207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313854271,"filename":"image_10042025_19_17_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306884","file1":"1351306880","file0":"1351306855","file4":"1351306891","file5":"1351306935","file3":"1351306890"},"map_files_photo_id_array":[{"photo_id":"1351306935","filename":"file5"},{"photo_id":"1351306884","filename":"file2"},{"photo_id":"1351306891","filename":"file4"},{"photo_id":"1351306880","filename":"file1"},{"photo_id":"1351306855","filename":"file0"},{"photo_id":"1351306890","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306891":["hashtag1","hashtag2"]},{"1351306855":["hashtag1","hashtag2"]},{"1351306890":["hashtag1","hashtag2"]},{"1351306935":["hashtag1","hashtag2"]},{"1351306884":["hashtag1","hashtag2"]},{"1351306880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306891, 1351306855, 1351306890, 1351306935, 1351306884, 1351306880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053871154785156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:37:32.980391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_56_10360.jpg', '/home/pi/Desktop/images/10042025/19/17/image_10042025_19_18_05_9361.jpg', '/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_15_10353.jpg', '/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_26_10409.jpg', '/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_35_9427.jpg', '/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_46_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_17_56_10360.jpg
/home/pi/Desktop/images/10042025/19/17/image_10042025_19_18_05_9361.jpg
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_15_10353.jpg
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_26_10409.jpg
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_35_9427.jpg
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_46_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351306986","1351307022","1351306995","1351306983","1351306991","1351306979"],"photo_ids_order":["1351306979","1351306983","1351306986","1351306991","1351306995","1351307022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/efcbd8a942a02084c18ed91d94b6302b.jpg","text":"TemporaryFile(/tmp/multipartBody6775225651778785010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_18_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cee473c3abcbef46b7b0bce5e2e15293.jpg","text":"TemporaryFile(/tmp/multipartBody7926559516162432881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_18_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e193e70e617e6b849448c756b3618d4.jpg","text":"TemporaryFile(/tmp/multipartBody4294705484834034557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_18_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7df7aa2df065a83b6008f19c399cb197.jpg","text":"TemporaryFile(/tmp/multipartBody5331965863854592532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_18_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21a9217148b3c464dcb87ee4b8a1d691.jpg","text":"TemporaryFile(/tmp/multipartBody6629946767475637540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_18_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e54794166a0583c1276fd44a9d59f92.jpg","text":"TemporaryFile(/tmp/multipartBody7844648850291659536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313913425,"filename":"image_10042025_19_17_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351306986","file1":"1351306983","file0":"1351306979","file4":"1351306995","file5":"1351307022","file3":"1351306991"},"map_files_photo_id_array":[{"photo_id":"1351307022","filename":"file5"},{"photo_id":"1351306986","filename":"file2"},{"photo_id":"1351306995","filename":"file4"},{"photo_id":"1351306983","filename":"file1"},{"photo_id":"1351306979","filename":"file0"},{"photo_id":"1351306991","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351306986":["hashtag1","hashtag2"]},{"1351307022":["hashtag1","hashtag2"]},{"1351306995":["hashtag1","hashtag2"]},{"1351306983":["hashtag1","hashtag2"]},{"1351306991":["hashtag1","hashtag2"]},{"1351306979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351306986, 1351307022, 1351306995, 1351306983, 1351306991, 1351306979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12089800834656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:38:33.134867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_55_9352.jpg', '/home/pi/Desktop/images/10042025/19/18/image_10042025_19_19_05_10378.jpg', '/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_16_10425.jpg', '/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_25_9430.jpg', '/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_36_10405.jpg', '/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_45_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_18_55_9352.jpg
/home/pi/Desktop/images/10042025/19/18/image_10042025_19_19_05_10378.jpg
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_16_10425.jpg
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_25_9430.jpg
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_36_10405.jpg
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307184","1351307088","1351307142","1351307106","1351307100","1351307117"],"photo_ids_order":["1351307088","1351307100","1351307106","1351307117","1351307142","1351307184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1af57caa51c78ee618fbf16c73c1311d.jpg","text":"TemporaryFile(/tmp/multipartBody8803925329363707229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_19_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63f4cc517815561283cefb76a7045c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6111259104305040426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_18_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7d87c44457fbc4fc178fb84ef4d3173.jpg","text":"TemporaryFile(/tmp/multipartBody8985369151415711531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_19_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/85c18e4f98d08cc41165cd0652a30f97.jpg","text":"TemporaryFile(/tmp/multipartBody2266563662281296768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_19_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c62f3a7f9a18d5e4cb813dabc4b5df3.jpg","text":"TemporaryFile(/tmp/multipartBody4250316050914805730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_19_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e53937fb480b448e57b1abe112fb2cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1494378520466356288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744313973589,"filename":"image_10042025_19_19_25_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307106","file1":"1351307100","file0":"1351307088","file4":"1351307142","file5":"1351307184","file3":"1351307117"},"map_files_photo_id_array":[{"photo_id":"1351307184","filename":"file5"},{"photo_id":"1351307106","filename":"file2"},{"photo_id":"1351307142","filename":"file4"},{"photo_id":"1351307100","filename":"file1"},{"photo_id":"1351307088","filename":"file0"},{"photo_id":"1351307117","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307184":["hashtag1","hashtag2"]},{"1351307088":["hashtag1","hashtag2"]},{"1351307142":["hashtag1","hashtag2"]},{"1351307106":["hashtag1","hashtag2"]},{"1351307100":["hashtag1","hashtag2"]},{"1351307117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307184, 1351307088, 1351307142, 1351307106, 1351307100, 1351307117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87861919403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:39:32.342361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_55_10469.jpg', '/home/pi/Desktop/images/10042025/19/19/image_10042025_19_20_05_9416.jpg', '/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_15_10416.jpg', '/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_26_10439.jpg', '/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_35_9358.jpg', '/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_19_55_10469.jpg
/home/pi/Desktop/images/10042025/19/19/image_10042025_19_20_05_9416.jpg
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_15_10416.jpg
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_26_10439.jpg
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_35_9358.jpg
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307278","1351307262","1351307253","1351307247","1351307267","1351307240"],"photo_ids_order":["1351307240","1351307247","1351307253","1351307262","1351307267","1351307278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11bb0b8fc1425a6953298421e54ee13a.jpg","text":"TemporaryFile(/tmp/multipartBody5197273563692551371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_20_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3e073a1d8b3fc55b8182f6420978497.jpg","text":"TemporaryFile(/tmp/multipartBody6623171665807044950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_20_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41deb32bb6e86d217215baf9af66b74e.jpg","text":"TemporaryFile(/tmp/multipartBody5502619046965190476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_20_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32226e44ee8a5d58da4028db8f0f9375.jpg","text":"TemporaryFile(/tmp/multipartBody223491098755634363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_20_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76b097952fcf0fcf3d4bc50252c39128.jpg","text":"TemporaryFile(/tmp/multipartBody2711513232320542881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_20_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e064291ccfe15757d90cf96710818d4.jpg","text":"TemporaryFile(/tmp/multipartBody8779373356600039945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314032794,"filename":"image_10042025_19_19_55_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307253","file1":"1351307247","file0":"1351307240","file4":"1351307267","file5":"1351307278","file3":"1351307262"},"map_files_photo_id_array":[{"photo_id":"1351307278","filename":"file5"},{"photo_id":"1351307253","filename":"file2"},{"photo_id":"1351307267","filename":"file4"},{"photo_id":"1351307247","filename":"file1"},{"photo_id":"1351307240","filename":"file0"},{"photo_id":"1351307262","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307278":["hashtag1","hashtag2"]},{"1351307262":["hashtag1","hashtag2"]},{"1351307253":["hashtag1","hashtag2"]},{"1351307247":["hashtag1","hashtag2"]},{"1351307267":["hashtag1","hashtag2"]},{"1351307240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307278, 1351307262, 1351307253, 1351307247, 1351307267, 1351307240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551899909973145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:40:32.615405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_55_9400.jpg', '/home/pi/Desktop/images/10042025/19/20/image_10042025_19_21_05_10357.jpg', '/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_16_10424.jpg', '/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_25_9398.jpg', '/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_35_10365.jpg', '/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_46_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_20_55_9400.jpg
/home/pi/Desktop/images/10042025/19/20/image_10042025_19_21_05_10357.jpg
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_16_10424.jpg
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_25_9398.jpg
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_35_10365.jpg
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_46_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307341","1351307394","1351307314","1351307358","1351307378","1351307318"],"photo_ids_order":["1351307314","1351307318","1351307341","1351307358","1351307378","1351307394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/569bb737cf0cfcbf3654e0f614881454.jpg","text":"TemporaryFile(/tmp/multipartBody9139038324544817831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_21_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/783f94602dbb49f520b38553f5e2adc2.jpg","text":"TemporaryFile(/tmp/multipartBody4685920454256031078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_21_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c72f1054c663fd25ad1597c062bdd00.jpg","text":"TemporaryFile(/tmp/multipartBody8324414980348026669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_20_55_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0518512ed9904441a58126fc74fcf3f6.jpg","text":"TemporaryFile(/tmp/multipartBody5491447460196148201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_21_25_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4aa94910ef0eb703e4c7e151fdce6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1399966086715186441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_21_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3db792a447976cbc5d6d4e351e90a69e.jpg","text":"TemporaryFile(/tmp/multipartBody865307905161950257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314093066,"filename":"image_10042025_19_21_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307341","file1":"1351307318","file0":"1351307314","file4":"1351307378","file5":"1351307394","file3":"1351307358"},"map_files_photo_id_array":[{"photo_id":"1351307394","filename":"file5"},{"photo_id":"1351307341","filename":"file2"},{"photo_id":"1351307378","filename":"file4"},{"photo_id":"1351307318","filename":"file1"},{"photo_id":"1351307314","filename":"file0"},{"photo_id":"1351307358","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307341":["hashtag1","hashtag2"]},{"1351307394":["hashtag1","hashtag2"]},{"1351307314":["hashtag1","hashtag2"]},{"1351307358":["hashtag1","hashtag2"]},{"1351307378":["hashtag1","hashtag2"]},{"1351307318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307341, 1351307394, 1351307314, 1351307358, 1351307378, 1351307318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.188488245010376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:41:32.821559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_55_9367.jpg', '/home/pi/Desktop/images/10042025/19/21/image_10042025_19_22_06_10430.jpg', '/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_15_9339.jpg', '/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_25_10360.jpg', '/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_36_10369.jpg', '/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_45_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_21_55_9367.jpg
/home/pi/Desktop/images/10042025/19/21/image_10042025_19_22_06_10430.jpg
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_15_9339.jpg
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_25_10360.jpg
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_36_10369.jpg
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_45_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307518","1351307493","1351307490","1351307486","1351307510","1351307497"],"photo_ids_order":["1351307486","1351307490","1351307493","1351307497","1351307510","1351307518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/938d133f9c5cf59694bae68005306fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7363230514194871064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_22_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48226e8b88722f4c59e6e1ce29290f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7322979368785564980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_22_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55c696f63019b7ea0532416efb892610.jpg","text":"TemporaryFile(/tmp/multipartBody5769919558341916023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_22_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6ec82bc44a946f89a0727d582b519a06.jpg","text":"TemporaryFile(/tmp/multipartBody1134594019159293307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_21_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e5ebf17d2a6544013467eba9f13ed80.jpg","text":"TemporaryFile(/tmp/multipartBody607173280010910790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_22_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/39d691564f25b5890d748b2e6615a8d9.jpg","text":"TemporaryFile(/tmp/multipartBody8265665804770560925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314153278,"filename":"image_10042025_19_22_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307493","file1":"1351307490","file0":"1351307486","file4":"1351307510","file5":"1351307518","file3":"1351307497"},"map_files_photo_id_array":[{"photo_id":"1351307518","filename":"file5"},{"photo_id":"1351307493","filename":"file2"},{"photo_id":"1351307510","filename":"file4"},{"photo_id":"1351307490","filename":"file1"},{"photo_id":"1351307486","filename":"file0"},{"photo_id":"1351307497","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307518":["hashtag1","hashtag2"]},{"1351307493":["hashtag1","hashtag2"]},{"1351307490":["hashtag1","hashtag2"]},{"1351307486":["hashtag1","hashtag2"]},{"1351307510":["hashtag1","hashtag2"]},{"1351307497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307518, 1351307493, 1351307490, 1351307486, 1351307510, 1351307497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05514621734619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:42:32.925303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_55_10380.jpg', '/home/pi/Desktop/images/10042025/19/22/image_10042025_19_23_05_9400.jpg', '/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_15_10389.jpg', '/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_26_10451.jpg', '/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_35_9350.jpg', '/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_45_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_22_55_10380.jpg
/home/pi/Desktop/images/10042025/19/22/image_10042025_19_23_05_9400.jpg
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_15_10389.jpg
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_26_10451.jpg
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_35_9350.jpg
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_45_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307686","1351307682","1351307684","1351307582","1351307680","1351307606"],"photo_ids_order":["1351307582","1351307606","1351307680","1351307682","1351307684","1351307686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e80640a6e96265bc78e51b8bc1caa58.jpg","text":"TemporaryFile(/tmp/multipartBody8813932808009423084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_23_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c685ea64da8f20af40fd628c41ea3e01.jpg","text":"TemporaryFile(/tmp/multipartBody5192119911420746221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_23_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a90253bc691d317d7ed12d2d3fa9f8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4710311687116076211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_23_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5460ed4738b40c934ed0fc6ff131bdf7.jpg","text":"TemporaryFile(/tmp/multipartBody3871641872187365515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_22_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f68cc8f99c146430b0b8c42db9ededf5.jpg","text":"TemporaryFile(/tmp/multipartBody507290810437473843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_23_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa727c8614a0c471b7cb7ea0f0d91ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3218740325799099575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314213380,"filename":"image_10042025_19_23_05_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307680","file1":"1351307606","file0":"1351307582","file4":"1351307684","file5":"1351307686","file3":"1351307682"},"map_files_photo_id_array":[{"photo_id":"1351307686","filename":"file5"},{"photo_id":"1351307680","filename":"file2"},{"photo_id":"1351307684","filename":"file4"},{"photo_id":"1351307606","filename":"file1"},{"photo_id":"1351307582","filename":"file0"},{"photo_id":"1351307682","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307686":["hashtag1","hashtag2"]},{"1351307682":["hashtag1","hashtag2"]},{"1351307684":["hashtag1","hashtag2"]},{"1351307582":["hashtag1","hashtag2"]},{"1351307680":["hashtag1","hashtag2"]},{"1351307606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307686, 1351307682, 1351307684, 1351307582, 1351307680, 1351307606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83470916748047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:43:33.126695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_55_9460.jpg', '/home/pi/Desktop/images/10042025/19/23/image_10042025_19_24_05_10361.jpg', '/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_16_10395.jpg', '/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_25_9346.jpg', '/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_35_10454.jpg', '/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_45_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_23_55_9460.jpg
/home/pi/Desktop/images/10042025/19/23/image_10042025_19_24_05_10361.jpg
/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_16_10395.jpg
/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_25_9346.jpg
/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_35_10454.jpg
/home/pi/Desktop/images/10042025/19/24/image_10042025_19_24_45_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307758","1351307763","1351307771","1351307765","1351307774","1351307768"],"photo_ids_order":["1351307758","1351307763","1351307765","1351307768","1351307771","1351307774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34a57429ad726ca1280a29e54aa234f2.jpg","text":"TemporaryFile(/tmp/multipartBody395787574803796927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_23_55_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c53ee883fd3cbcf4038c0fb8e53fdca0.jpg","text":"TemporaryFile(/tmp/multipartBody1318630180534256628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_24_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f627ef8ac0038096339a5097efb5cbfa.jpg","text":"TemporaryFile(/tmp/multipartBody543196564911121479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_24_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ecc58d08b3cbf83b8c699ab3dde695d0.jpg","text":"TemporaryFile(/tmp/multipartBody4711128087299395102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_24_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12ae0cd2804016f02b6e0079d9de44b3.jpg","text":"TemporaryFile(/tmp/multipartBody7204434261999600051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_24_45_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a88fc489cf5d36156c81343f06116b12.jpg","text":"TemporaryFile(/tmp/multipartBody384568768487498588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314273577,"filename":"image_10042025_19_24_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307765","file1":"1351307763","file0":"1351307758","file4":"1351307771","file5":"1351307774","file3":"1351307768"},"map_files_photo_id_array":[{"photo_id":"1351307774","filename":"file5"},{"photo_id":"1351307765","filename":"file2"},{"photo_id":"1351307771","filename":"file4"},{"photo_id":"1351307763","filename":"file1"},{"photo_id":"1351307758","filename":"file0"},{"photo_id":"1351307768","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307758":["hashtag1","hashtag2"]},{"1351307763":["hashtag1","hashtag2"]},{"1351307771":["hashtag1","hashtag2"]},{"1351307765":["hashtag1","hashtag2"]},{"1351307774":["hashtag1","hashtag2"]},{"1351307768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307758, 1351307763, 1351307771, 1351307765, 1351307774, 1351307768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26354670524597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:44:32.274723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_15_9338.jpg', '/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_25_10396.jpg', '/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_35_9433.jpg', '/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_45_10491.jpg', '/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_56_10364.jpg', '/home/pi/Desktop/images/10042025/19/25/image_10042025_19_26_05_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_15_9338.jpg
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_25_10396.jpg
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_35_9433.jpg
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_45_10491.jpg
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_25_56_10364.jpg
/home/pi/Desktop/images/10042025/19/25/image_10042025_19_26_05_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351307977","1351307999","1351307954","1351307948","1351307971","1351307965"],"photo_ids_order":["1351307948","1351307954","1351307965","1351307971","1351307977","1351307999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b51ccf096ad7946167052b68e30bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody8092197298518172089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_25_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5a22f4e65b0cd273c5627055d2d24da8.jpg","text":"TemporaryFile(/tmp/multipartBody4464743950602479781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_26_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8466c0c11a30264193b6c5b9bb5ec4f.jpg","text":"TemporaryFile(/tmp/multipartBody8184495741194645915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_25_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bcafc5890c3b5ceda791520661dca1f4.jpg","text":"TemporaryFile(/tmp/multipartBody5620548189219984771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_25_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e6d479e216b1db5466cfaa9de912dc0.jpg","text":"TemporaryFile(/tmp/multipartBody9152534528027477272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_25_45_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b950d218756847268dfacdd234843f81.jpg","text":"TemporaryFile(/tmp/multipartBody4388927293127140725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314332732,"filename":"image_10042025_19_25_35_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351307965","file1":"1351307954","file0":"1351307948","file4":"1351307977","file5":"1351307999","file3":"1351307971"},"map_files_photo_id_array":[{"photo_id":"1351307999","filename":"file5"},{"photo_id":"1351307965","filename":"file2"},{"photo_id":"1351307977","filename":"file4"},{"photo_id":"1351307954","filename":"file1"},{"photo_id":"1351307948","filename":"file0"},{"photo_id":"1351307971","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351307977":["hashtag1","hashtag2"]},{"1351307999":["hashtag1","hashtag2"]},{"1351307954":["hashtag1","hashtag2"]},{"1351307948":["hashtag1","hashtag2"]},{"1351307971":["hashtag1","hashtag2"]},{"1351307965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351307977, 1351307999, 1351307954, 1351307948, 1351307971, 1351307965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8401243686676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:45:32.568824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_15_10344.jpg', '/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_26_10378.jpg', '/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_35_9353.jpg', '/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_46_10416.jpg', '/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_55_9361.jpg', '/home/pi/Desktop/images/10042025/19/26/image_10042025_19_27_05_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_15_10344.jpg
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_26_10378.jpg
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_35_9353.jpg
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_46_10416.jpg
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_26_55_9361.jpg
/home/pi/Desktop/images/10042025/19/26/image_10042025_19_27_05_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351308081","1351308075","1351308087","1351308069","1351308020","1351308091"],"photo_ids_order":["1351308020","1351308069","1351308075","1351308081","1351308087","1351308091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac0dc379e7e70c3364bc526ea31fefed.jpg","text":"TemporaryFile(/tmp/multipartBody7750577726013851751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_26_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6760635b83885c9601f9951b8f9157f8.jpg","text":"TemporaryFile(/tmp/multipartBody6185846979500832991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_26_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de1a7e230ae64920e283fc3f7834202e.jpg","text":"TemporaryFile(/tmp/multipartBody6872857764139280526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_26_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9b7194e4a1843b194434473af427d34.jpg","text":"TemporaryFile(/tmp/multipartBody701502194246037102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_26_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f0fc051af62e318407f89290ab7495c.jpg","text":"TemporaryFile(/tmp/multipartBody5738918538511064764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_26_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/974a958ae37acfe7daccdb3f42ab4bc8.jpg","text":"TemporaryFile(/tmp/multipartBody131074640367852719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314393042,"filename":"image_10042025_19_27_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351308075","file1":"1351308069","file0":"1351308020","file4":"1351308087","file5":"1351308091","file3":"1351308081"},"map_files_photo_id_array":[{"photo_id":"1351308091","filename":"file5"},{"photo_id":"1351308075","filename":"file2"},{"photo_id":"1351308087","filename":"file4"},{"photo_id":"1351308069","filename":"file1"},{"photo_id":"1351308020","filename":"file0"},{"photo_id":"1351308081","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351308081":["hashtag1","hashtag2"]},{"1351308075":["hashtag1","hashtag2"]},{"1351308087":["hashtag1","hashtag2"]},{"1351308069":["hashtag1","hashtag2"]},{"1351308020":["hashtag1","hashtag2"]},{"1351308091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351308081, 1351308075, 1351308087, 1351308069, 1351308020, 1351308091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68009877204895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:46:32.723365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_25_9363.jpg', '/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_35_10454.jpg', '/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_45_9368.jpg', '/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_55_10359.jpg', '/home/pi/Desktop/images/10042025/19/27/image_10042025_19_28_06_10396.jpg', '/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_15_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_25_9363.jpg
/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_35_10454.jpg
/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_45_9368.jpg
/home/pi/Desktop/images/10042025/19/27/image_10042025_19_27_55_10359.jpg
/home/pi/Desktop/images/10042025/19/27/image_10042025_19_28_06_10396.jpg
/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_15_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351308171","1351308204","1351308176","1351308155","1351308151","1351308169"],"photo_ids_order":["1351308151","1351308155","1351308169","1351308171","1351308176","1351308204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4dd60a80dcdd8859d45b77310821d377.jpg","text":"TemporaryFile(/tmp/multipartBody2121641315513847583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_27_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdaea35401326d03cc7389c76478ff41.jpg","text":"TemporaryFile(/tmp/multipartBody454647650741208631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_28_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5284fe26c1c5c60780bb6345dabe1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2461411946600157788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_28_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be1205471c82753391092b02f66cb830.jpg","text":"TemporaryFile(/tmp/multipartBody3888363030218895512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_27_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a7a77d81c0a033562627457d356e893e.jpg","text":"TemporaryFile(/tmp/multipartBody8723889190056666486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_27_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e26a0c903a6a05bce55b95cdfc935eb.jpg","text":"TemporaryFile(/tmp/multipartBody2695339263628182849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314453176,"filename":"image_10042025_19_27_45_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351308169","file1":"1351308155","file0":"1351308151","file4":"1351308176","file5":"1351308204","file3":"1351308171"},"map_files_photo_id_array":[{"photo_id":"1351308204","filename":"file5"},{"photo_id":"1351308169","filename":"file2"},{"photo_id":"1351308176","filename":"file4"},{"photo_id":"1351308155","filename":"file1"},{"photo_id":"1351308151","filename":"file0"},{"photo_id":"1351308171","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351308171":["hashtag1","hashtag2"]},{"1351308204":["hashtag1","hashtag2"]},{"1351308176":["hashtag1","hashtag2"]},{"1351308155":["hashtag1","hashtag2"]},{"1351308151":["hashtag1","hashtag2"]},{"1351308169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351308171, 1351308204, 1351308176, 1351308155, 1351308151, 1351308169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.26033616065979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:47:32.858890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_25_10374.jpg', '/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_56_10486.jpg', '/home/pi/Desktop/images/10042025/19/28/image_10042025_19_29_05_9348.jpg', '/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_15_10348.jpg', '/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_26_10355.jpg', '/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_35_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_25_10374.jpg
/home/pi/Desktop/images/10042025/19/28/image_10042025_19_28_56_10486.jpg
/home/pi/Desktop/images/10042025/19/28/image_10042025_19_29_05_9348.jpg
/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_15_10348.jpg
/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_26_10355.jpg
/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_35_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351308306","1351308309","1351308303","1351308298","1351308271","1351308274"],"photo_ids_order":["1351308271","1351308274","1351308298","1351308303","1351308306","1351308309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0889472b9568ace0625b3def3e8fa9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2069764696849503178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_29_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47db3abc62c49734aa01295587748bde.jpg","text":"TemporaryFile(/tmp/multipartBody3541774588706155952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_29_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0ace918197899743c0bfc22ed8b2ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody13154856101632512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_29_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/065ce84a31fdf4046a46a147537dd5d6.jpg","text":"TemporaryFile(/tmp/multipartBody7045159864661181864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_29_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0d3e3f72aa772a594f378a92b4e289db.jpg","text":"TemporaryFile(/tmp/multipartBody6173417159968532675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_28_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/09ad85ec7827fe4b189d2077eaca45d5.jpg","text":"TemporaryFile(/tmp/multipartBody558399833656565468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314513312,"filename":"image_10042025_19_28_56_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351308298","file1":"1351308274","file0":"1351308271","file4":"1351308306","file5":"1351308309","file3":"1351308303"},"map_files_photo_id_array":[{"photo_id":"1351308309","filename":"file5"},{"photo_id":"1351308298","filename":"file2"},{"photo_id":"1351308306","filename":"file4"},{"photo_id":"1351308274","filename":"file1"},{"photo_id":"1351308271","filename":"file0"},{"photo_id":"1351308303","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351308306":["hashtag1","hashtag2"]},{"1351308309":["hashtag1","hashtag2"]},{"1351308303":["hashtag1","hashtag2"]},{"1351308298":["hashtag1","hashtag2"]},{"1351308271":["hashtag1","hashtag2"]},{"1351308274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351308306, 1351308309, 1351308303, 1351308298, 1351308271, 1351308274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73542928695679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:48:33.026107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_45_10381.jpg', '/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_55_9467.jpg', '/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_16_10412.jpg', '/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_36_10479.jpg', '/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_45_9455.jpg', '/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_45_10381.jpg
/home/pi/Desktop/images/10042025/19/29/image_10042025_19_29_55_9467.jpg
/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_16_10412.jpg
/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_36_10479.jpg
/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_45_9455.jpg
/home/pi/Desktop/images/10042025/19/30/image_10042025_19_30_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351308511","1351308448","1351308594","1351308545","1351308569","1351308472"],"photo_ids_order":["1351308448","1351308472","1351308511","1351308545","1351308569","1351308594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6f3c4c1af5456f276ecf7623781cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2200572000774325138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_30_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e6432cb5138c9d1f1134380138a912a.jpg","text":"TemporaryFile(/tmp/multipartBody4720678352752435550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_29_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8523229064c963f5e46c3547b87918c5.jpg","text":"TemporaryFile(/tmp/multipartBody839707184976188159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_30_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75b28bd3c09b39620d9e08b6c451f90f.jpg","text":"TemporaryFile(/tmp/multipartBody4150432844802491255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_30_36_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7274906c9310f0953316ee95b4ce3a07.jpg","text":"TemporaryFile(/tmp/multipartBody4933378461688703700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_30_45_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56b78abfd1eb242a0fa12e81b576c973.jpg","text":"TemporaryFile(/tmp/multipartBody8379991332595962557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314573481,"filename":"image_10042025_19_29_55_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351308511","file1":"1351308472","file0":"1351308448","file4":"1351308569","file5":"1351308594","file3":"1351308545"},"map_files_photo_id_array":[{"photo_id":"1351308594","filename":"file5"},{"photo_id":"1351308511","filename":"file2"},{"photo_id":"1351308569","filename":"file4"},{"photo_id":"1351308472","filename":"file1"},{"photo_id":"1351308448","filename":"file0"},{"photo_id":"1351308545","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351308511":["hashtag1","hashtag2"]},{"1351308448":["hashtag1","hashtag2"]},{"1351308594":["hashtag1","hashtag2"]},{"1351308545":["hashtag1","hashtag2"]},{"1351308569":["hashtag1","hashtag2"]},{"1351308472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351308511, 1351308448, 1351308594, 1351308545, 1351308569, 1351308472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.457845449447632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:49:32.187860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/30/image_10042025_19_31_05_9469.jpg', '/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_15_10359.jpg', '/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_26_10412.jpg', '/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_35_9345.jpg', '/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_45_10371.jpg', '/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_56_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/30/image_10042025_19_31_05_9469.jpg
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_15_10359.jpg
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_26_10412.jpg
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_35_9345.jpg
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_45_10371.jpg
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_31_56_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351309006","1351309059","1351309145","1351309106","1351309156","1351308967"],"photo_ids_order":["1351308967","1351309006","1351309059","1351309106","1351309145","1351309156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16829299457709d90e1336a84a1afa86.jpg","text":"TemporaryFile(/tmp/multipartBody2131474455836784669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/784eb7b6540baf58f51ca0a1ddb4045b.jpg","text":"TemporaryFile(/tmp/multipartBody6257991499969429641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa365d267802f0c189b69757a2b02f61.jpg","text":"TemporaryFile(/tmp/multipartBody2981287114682239365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8c94ea0afd70cb412da316617791f65f.jpg","text":"TemporaryFile(/tmp/multipartBody6896704294981605186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23fd55712d35eafebe1247c18a546219.jpg","text":"TemporaryFile(/tmp/multipartBody7225049527538969278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33563c4dc452247d64731de42b7a7490.jpg","text":"TemporaryFile(/tmp/multipartBody1535838343240260964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314632641,"filename":"image_10042025_19_31_05_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351309059","file1":"1351309006","file0":"1351308967","file4":"1351309145","file5":"1351309156","file3":"1351309106"},"map_files_photo_id_array":[{"photo_id":"1351309156","filename":"file5"},{"photo_id":"1351309059","filename":"file2"},{"photo_id":"1351309145","filename":"file4"},{"photo_id":"1351309006","filename":"file1"},{"photo_id":"1351308967","filename":"file0"},{"photo_id":"1351309106","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351309006":["hashtag1","hashtag2"]},{"1351309059":["hashtag1","hashtag2"]},{"1351309145":["hashtag1","hashtag2"]},{"1351309106":["hashtag1","hashtag2"]},{"1351309156":["hashtag1","hashtag2"]},{"1351308967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351309006, 1351309059, 1351309145, 1351309106, 1351309156, 1351308967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17149257659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:50:32.455119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/31/image_10042025_19_32_05_9368.jpg', '/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_16_10344.jpg', '/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_25_9387.jpg', '/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_35_10386.jpg', '/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_46_10371.jpg', '/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_55_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/31/image_10042025_19_32_05_9368.jpg
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_16_10344.jpg
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_25_9387.jpg
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_35_10386.jpg
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_46_10371.jpg
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_32_55_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351309220","1351309214","1351309208","1351309202","1351309225","1351309234"],"photo_ids_order":["1351309202","1351309208","1351309214","1351309220","1351309225","1351309234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2af6fb7a2b4f411a15413b775b32b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2658801491343651299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b5a2597b99f0a4f106bc7eb74521dc2.jpg","text":"TemporaryFile(/tmp/multipartBody857993103429263511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a297079b6a8af89e9d1427ad553b1524.jpg","text":"TemporaryFile(/tmp/multipartBody7952557753615076168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d8dce0801a2990446bc0199bdbdca33.jpg","text":"TemporaryFile(/tmp/multipartBody8050541283682308884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/065e5b1ed100307c77f9afce0b9ef371.jpg","text":"TemporaryFile(/tmp/multipartBody608708315949672959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4972bcd129384ca891fc1ec19e5cb532.jpg","text":"TemporaryFile(/tmp/multipartBody4883512255496142724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314693039,"filename":"image_10042025_19_32_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351309214","file1":"1351309208","file0":"1351309202","file4":"1351309225","file5":"1351309234","file3":"1351309220"},"map_files_photo_id_array":[{"photo_id":"1351309234","filename":"file5"},{"photo_id":"1351309214","filename":"file2"},{"photo_id":"1351309225","filename":"file4"},{"photo_id":"1351309208","filename":"file1"},{"photo_id":"1351309202","filename":"file0"},{"photo_id":"1351309220","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351309220":["hashtag1","hashtag2"]},{"1351309214":["hashtag1","hashtag2"]},{"1351309208":["hashtag1","hashtag2"]},{"1351309202":["hashtag1","hashtag2"]},{"1351309225":["hashtag1","hashtag2"]},{"1351309234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351309220, 1351309214, 1351309208, 1351309202, 1351309225, 1351309234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.88266563415527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:51:32.742763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/32/image_10042025_19_33_05_10372.jpg', '/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_25_9373.jpg', '/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_36_10415.jpg', '/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_45_9367.jpg', '/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_55_10405.jpg', '/home/pi/Desktop/images/10042025/19/33/image_10042025_19_34_06_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/32/image_10042025_19_33_05_10372.jpg
/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_25_9373.jpg
/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_36_10415.jpg
/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_45_9367.jpg
/home/pi/Desktop/images/10042025/19/33/image_10042025_19_33_55_10405.jpg
/home/pi/Desktop/images/10042025/19/33/image_10042025_19_34_06_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351309272","1351309280","1351309268","1351309285","1351309276","1351309290"],"photo_ids_order":["1351309268","1351309272","1351309276","1351309280","1351309285","1351309290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a63bbabad4998cc9ca6a51dbcf26b34.jpg","text":"TemporaryFile(/tmp/multipartBody1199486871168607974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_33_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c7300bc99b0a4360845b9a926f3836ed.jpg","text":"TemporaryFile(/tmp/multipartBody6678977974189991401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_33_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc3d1c4b2037fae1f4846b9c337280b6.jpg","text":"TemporaryFile(/tmp/multipartBody1736528482294341909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_33_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa9f89ef6747e6d08b03737164b78d62.jpg","text":"TemporaryFile(/tmp/multipartBody4486804544927482442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_33_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b606fa474f4444004eb753dcdbff59e7.jpg","text":"TemporaryFile(/tmp/multipartBody879466533643307744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_33_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dcc03691549475545c1d03184400fa18.jpg","text":"TemporaryFile(/tmp/multipartBody7587321996361640904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314753212,"filename":"image_10042025_19_34_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351309276","file1":"1351309272","file0":"1351309268","file4":"1351309285","file5":"1351309290","file3":"1351309280"},"map_files_photo_id_array":[{"photo_id":"1351309290","filename":"file5"},{"photo_id":"1351309276","filename":"file2"},{"photo_id":"1351309285","filename":"file4"},{"photo_id":"1351309272","filename":"file1"},{"photo_id":"1351309268","filename":"file0"},{"photo_id":"1351309280","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351309272":["hashtag1","hashtag2"]},{"1351309280":["hashtag1","hashtag2"]},{"1351309268":["hashtag1","hashtag2"]},{"1351309285":["hashtag1","hashtag2"]},{"1351309276":["hashtag1","hashtag2"]},{"1351309290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351309272, 1351309280, 1351309268, 1351309285, 1351309276, 1351309290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.420053243637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:52:32.895831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_15_9390.jpg', '/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_26_10458.jpg', '/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_45_10371.jpg', '/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_56_10392.jpg', '/home/pi/Desktop/images/10042025/19/34/image_10042025_19_35_05_9356.jpg', '/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_15_9390.jpg
/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_26_10458.jpg
/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_45_10371.jpg
/home/pi/Desktop/images/10042025/19/34/image_10042025_19_34_56_10392.jpg
/home/pi/Desktop/images/10042025/19/34/image_10042025_19_35_05_9356.jpg
/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351309587","1351309611","1351309560","1351309655","1351309634","1351309538"],"photo_ids_order":["1351309538","1351309560","1351309587","1351309611","1351309634","1351309655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05420ad5ea3d237123da22507785cd75.jpg","text":"TemporaryFile(/tmp/multipartBody828381372113837864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_34_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/040c4ad9c1207b73c6bd16dd06dca4d2.jpg","text":"TemporaryFile(/tmp/multipartBody4344041171167646227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_34_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c2efdc1f2c63a8a0fe0aa016527c173.jpg","text":"TemporaryFile(/tmp/multipartBody2105175071832504595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_34_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/311683a0fcc94575424ae26ed845969b.jpg","text":"TemporaryFile(/tmp/multipartBody4961751980624188307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_35_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/151b3b47ab627c737018225d31aed24e.jpg","text":"TemporaryFile(/tmp/multipartBody8762892858835299497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_35_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce0a32e38d8bcecb3a74cd5f215c0526.jpg","text":"TemporaryFile(/tmp/multipartBody4622637385903491874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314813355,"filename":"image_10042025_19_34_15_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351309587","file1":"1351309560","file0":"1351309538","file4":"1351309634","file5":"1351309655","file3":"1351309611"},"map_files_photo_id_array":[{"photo_id":"1351309655","filename":"file5"},{"photo_id":"1351309587","filename":"file2"},{"photo_id":"1351309634","filename":"file4"},{"photo_id":"1351309560","filename":"file1"},{"photo_id":"1351309538","filename":"file0"},{"photo_id":"1351309611","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351309587":["hashtag1","hashtag2"]},{"1351309611":["hashtag1","hashtag2"]},{"1351309560":["hashtag1","hashtag2"]},{"1351309655":["hashtag1","hashtag2"]},{"1351309634":["hashtag1","hashtag2"]},{"1351309538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351309587, 1351309611, 1351309560, 1351309655, 1351309634, 1351309538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85690903663635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:53:33.103959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_25_9410.jpg', '/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_35_10357.jpg', '/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_46_10389.jpg', '/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_55_9376.jpg', '/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_16_10386.jpg', '/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_25_9410.jpg
/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_35_10357.jpg
/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_46_10389.jpg
/home/pi/Desktop/images/10042025/19/35/image_10042025_19_35_55_9376.jpg
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_16_10386.jpg
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_25_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351310190","1351310142","1351310159","1351310015","1351310185","1351310155"],"photo_ids_order":["1351310015","1351310142","1351310155","1351310159","1351310185","1351310190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f043893f1eeddd52f2032ad1d0da3e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7849526142237868946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_36_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e047b983551f751ef6e716dcac8bf28.jpg","text":"TemporaryFile(/tmp/multipartBody1016447190280356527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_35_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/650a5b9769f1de23a2c9a2a52d14d57f.jpg","text":"TemporaryFile(/tmp/multipartBody1200904860280873365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_35_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a6e6441ca369f5c5184613afce179c6.jpg","text":"TemporaryFile(/tmp/multipartBody4366129236432414418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_35_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5379aeda2b9b62287532589bec847146.jpg","text":"TemporaryFile(/tmp/multipartBody5046626130415265157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_36_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/adfbe8a95dab4b8f6cb634c4acc28000.jpg","text":"TemporaryFile(/tmp/multipartBody5959420833344488108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314873559,"filename":"image_10042025_19_35_46_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351310155","file1":"1351310142","file0":"1351310015","file4":"1351310185","file5":"1351310190","file3":"1351310159"},"map_files_photo_id_array":[{"photo_id":"1351310190","filename":"file5"},{"photo_id":"1351310155","filename":"file2"},{"photo_id":"1351310185","filename":"file4"},{"photo_id":"1351310142","filename":"file1"},{"photo_id":"1351310015","filename":"file0"},{"photo_id":"1351310159","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351310190":["hashtag1","hashtag2"]},{"1351310142":["hashtag1","hashtag2"]},{"1351310159":["hashtag1","hashtag2"]},{"1351310015":["hashtag1","hashtag2"]},{"1351310185":["hashtag1","hashtag2"]},{"1351310155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351310190, 1351310142, 1351310159, 1351310015, 1351310185, 1351310155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60305690765381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:54:32.208856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_36_10376.jpg', '/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_45_9394.jpg', '/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_55_10396.jpg', '/home/pi/Desktop/images/10042025/19/36/image_10042025_19_37_06_10414.jpg', '/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_25_10367.jpg', '/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_36_10376.jpg
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_45_9394.jpg
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_36_55_10396.jpg
/home/pi/Desktop/images/10042025/19/36/image_10042025_19_37_06_10414.jpg
/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_25_10367.jpg
/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_36_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351310317","1351310298","1351310283","1351310267","1351310321","1351310278"],"photo_ids_order":["1351310267","1351310278","1351310283","1351310298","1351310317","1351310321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/61f52a2610f26fc16df40bdd418d4c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8520391974552250456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_37_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e319ff43e4b6625513906e8bdf62758.jpg","text":"TemporaryFile(/tmp/multipartBody6229178553522064140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_37_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/916fc2ff8fda2754ead8407693f9acc3.jpg","text":"TemporaryFile(/tmp/multipartBody3416776311406208337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_36_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0ef6d6862ae4c7c06b9a22823b1e938.jpg","text":"TemporaryFile(/tmp/multipartBody1709412591458624303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_36_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bc3160b1df5b3bb0c6c6b922f5805d0.jpg","text":"TemporaryFile(/tmp/multipartBody4096297088971995667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_37_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4af79284c6122044b0bb1c35317c2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody399996687072755457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314932668,"filename":"image_10042025_19_36_45_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351310283","file1":"1351310278","file0":"1351310267","file4":"1351310317","file5":"1351310321","file3":"1351310298"},"map_files_photo_id_array":[{"photo_id":"1351310321","filename":"file5"},{"photo_id":"1351310283","filename":"file2"},{"photo_id":"1351310317","filename":"file4"},{"photo_id":"1351310278","filename":"file1"},{"photo_id":"1351310267","filename":"file0"},{"photo_id":"1351310298","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351310317":["hashtag1","hashtag2"]},{"1351310298":["hashtag1","hashtag2"]},{"1351310283":["hashtag1","hashtag2"]},{"1351310267":["hashtag1","hashtag2"]},{"1351310321":["hashtag1","hashtag2"]},{"1351310278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351310317, 1351310298, 1351310283, 1351310267, 1351310321, 1351310278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.037429094314575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:55:32.469548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_45_9354.jpg', '/home/pi/Desktop/images/10042025/19/37/image_10042025_19_38_05_9632.jpg', '/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_16_10410.jpg', '/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_25_9356.jpg', '/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_35_10127.jpg', '/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/37/image_10042025_19_37_45_9354.jpg
/home/pi/Desktop/images/10042025/19/37/image_10042025_19_38_05_9632.jpg
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_16_10410.jpg
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_25_9356.jpg
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_35_10127.jpg
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351310358","1351310349","1351310366","1351310365","1351310353","1351310362"],"photo_ids_order":["1351310349","1351310353","1351310358","1351310362","1351310365","1351310366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cfb2f20af89926f78b8722baca4986d.jpg","text":"TemporaryFile(/tmp/multipartBody7316386494663667126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_38_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e98e59065ec9e2d639f3d95dd2d2836.jpg","text":"TemporaryFile(/tmp/multipartBody7069568205031773460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_37_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea83266d4339b386aa8764893ccf611e.jpg","text":"TemporaryFile(/tmp/multipartBody3304982394506514757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_38_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea5221d6abddb1a7ccfe58ec36d1dd35.jpg","text":"TemporaryFile(/tmp/multipartBody2596948451069223049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_38_35_10127.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19df9a19e2c7c0e8ad99785410bfe037.jpg","text":"TemporaryFile(/tmp/multipartBody7355379148442046176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_38_05_9632.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba4ad914e717b8dd88ac5630a98f04fd.jpg","text":"TemporaryFile(/tmp/multipartBody8964474724806873806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744314992924,"filename":"image_10042025_19_38_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351310358","file1":"1351310353","file0":"1351310349","file4":"1351310365","file5":"1351310366","file3":"1351310362"},"map_files_photo_id_array":[{"photo_id":"1351310366","filename":"file5"},{"photo_id":"1351310358","filename":"file2"},{"photo_id":"1351310365","filename":"file4"},{"photo_id":"1351310353","filename":"file1"},{"photo_id":"1351310349","filename":"file0"},{"photo_id":"1351310362","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351310358":["hashtag1","hashtag2"]},{"1351310349":["hashtag1","hashtag2"]},{"1351310366":["hashtag1","hashtag2"]},{"1351310365":["hashtag1","hashtag2"]},{"1351310353":["hashtag1","hashtag2"]},{"1351310362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351310358, 1351310349, 1351310366, 1351310365, 1351310353, 1351310362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65566635131836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:56:32.623224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_55_9968.jpg', '/home/pi/Desktop/images/10042025/19/38/image_10042025_19_39_05_9410.jpg', '/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_15_10367.jpg', '/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_35_9348.jpg', '/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_45_10361.jpg', '/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_38_55_9968.jpg
/home/pi/Desktop/images/10042025/19/38/image_10042025_19_39_05_9410.jpg
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_15_10367.jpg
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_35_9348.jpg
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_45_10361.jpg
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_39_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351310905","1351310985","1351310673","1351311047","1351310543","1351310794"],"photo_ids_order":["1351310543","1351310673","1351310794","1351310905","1351310985","1351311047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42a02d5a40c3b05dc440d019174d8862.jpg","text":"TemporaryFile(/tmp/multipartBody5376110053057296416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_39_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c4d5319f3e5a0d47ef73399946cf0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4362468195953188582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_39_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6625527400e7299021af2ec0a4efb749.jpg","text":"TemporaryFile(/tmp/multipartBody938177715547596673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_39_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bf8f6f8e8514d10af7dadc166d4cc47.jpg","text":"TemporaryFile(/tmp/multipartBody3429081130557509116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_39_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbd57010edde9bd918dd4aae33e5e156.jpg","text":"TemporaryFile(/tmp/multipartBody9150446386135198648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_38_55_9968.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a1884203aeda3dcd2e46da851a59472.jpg","text":"TemporaryFile(/tmp/multipartBody2144740065609847731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315053078,"filename":"image_10042025_19_39_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351310794","file1":"1351310673","file0":"1351310543","file4":"1351310985","file5":"1351311047","file3":"1351310905"},"map_files_photo_id_array":[{"photo_id":"1351311047","filename":"file5"},{"photo_id":"1351310794","filename":"file2"},{"photo_id":"1351310985","filename":"file4"},{"photo_id":"1351310673","filename":"file1"},{"photo_id":"1351310543","filename":"file0"},{"photo_id":"1351310905","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351310905":["hashtag1","hashtag2"]},{"1351310985":["hashtag1","hashtag2"]},{"1351310673":["hashtag1","hashtag2"]},{"1351311047":["hashtag1","hashtag2"]},{"1351310543":["hashtag1","hashtag2"]},{"1351310794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351310905, 1351310985, 1351310673, 1351311047, 1351310543, 1351310794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84237623214722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 21:57:32.796768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/39/image_10042025_19_40_05_9350.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_16_10513.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_25_9365.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_35_10405.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_55_9357.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_41_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_40_05_9350.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_16_10513.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_25_9365.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_35_10405.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_55_9357.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_41_06_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 21:59:04.040411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/39/image_10042025_19_40_05_9350.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_16_10513.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_25_9365.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_35_10405.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_55_9357.jpg', '/home/pi/Desktop/images/10042025/19/40/image_10042025_19_41_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/39/image_10042025_19_40_05_9350.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_16_10513.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_25_9365.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_35_10405.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_40_55_9357.jpg
/home/pi/Desktop/images/10042025/19/40/image_10042025_19_41_06_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351312523","1351312498","1351312564","1351312375","1351312330","1351312606"],"photo_ids_order":["1351312330","1351312375","1351312498","1351312523","1351312564","1351312606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f579477d268537ddf58198339d53e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3061818244663894476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_40_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10fcb7bd1f965459fa60128959bb6b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4578342109498395788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_40_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a9f430c3620c9929e5693260723ad549.jpg","text":"TemporaryFile(/tmp/multipartBody932098036912226521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_40_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/976d732783bd247238eea16126db0f1d.jpg","text":"TemporaryFile(/tmp/multipartBody9194234481685370070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_40_16_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d76f561fa076b81b07d11ac487a160dd.jpg","text":"TemporaryFile(/tmp/multipartBody4933422326798816597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_40_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8959bf5283c610da667c5452c4167d21.jpg","text":"TemporaryFile(/tmp/multipartBody1718664105130928418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315204859,"filename":"image_10042025_19_41_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351312498","file1":"1351312375","file0":"1351312330","file4":"1351312564","file5":"1351312606","file3":"1351312523"},"map_files_photo_id_array":[{"photo_id":"1351312606","filename":"file5"},{"photo_id":"1351312498","filename":"file2"},{"photo_id":"1351312564","filename":"file4"},{"photo_id":"1351312375","filename":"file1"},{"photo_id":"1351312330","filename":"file0"},{"photo_id":"1351312523","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351312523":["hashtag1","hashtag2"]},{"1351312498":["hashtag1","hashtag2"]},{"1351312564":["hashtag1","hashtag2"]},{"1351312375":["hashtag1","hashtag2"]},{"1351312330":["hashtag1","hashtag2"]},{"1351312606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351312523, 1351312498, 1351312564, 1351312375, 1351312330, 1351312606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56396245956421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 21:59:42.390733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_15_9384.jpg', '/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_25_10369.jpg', '/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_36_10395.jpg', '/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_45_9360.jpg', '/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_55_10367.jpg', '/home/pi/Desktop/images/10042025/19/41/image_10042025_19_42_06_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_15_9384.jpg
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_25_10369.jpg
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_36_10395.jpg
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_45_9360.jpg
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_41_55_10367.jpg
/home/pi/Desktop/images/10042025/19/41/image_10042025_19_42_06_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351312800","1351312759","1351312654","1351312810","1351312804","1351312683"],"photo_ids_order":["1351312654","1351312683","1351312759","1351312800","1351312804","1351312810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0bb438d63a81a5d20c6b43458a8fabf5.jpg","text":"TemporaryFile(/tmp/multipartBody49620595135791127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_41_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e036a6737bccf3bcbd5da4148a6fa8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6220939027990485936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_41_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbc57c6b311cc011052d0a5688c77f86.jpg","text":"TemporaryFile(/tmp/multipartBody2045451327091640298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_41_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0e0cdc1330020dbf634289d33c21e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5133179540752241234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_42_06_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/230c06b3c9ebfcc9cb1720ce31fbc9af.jpg","text":"TemporaryFile(/tmp/multipartBody3276193886653046382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_41_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0177f04b1ce18466928e73b41916ae19.jpg","text":"TemporaryFile(/tmp/multipartBody766384056323067863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315242848,"filename":"image_10042025_19_41_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351312759","file1":"1351312683","file0":"1351312654","file4":"1351312804","file5":"1351312810","file3":"1351312800"},"map_files_photo_id_array":[{"photo_id":"1351312810","filename":"file5"},{"photo_id":"1351312759","filename":"file2"},{"photo_id":"1351312804","filename":"file4"},{"photo_id":"1351312683","filename":"file1"},{"photo_id":"1351312654","filename":"file0"},{"photo_id":"1351312800","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351312800":["hashtag1","hashtag2"]},{"1351312759":["hashtag1","hashtag2"]},{"1351312654":["hashtag1","hashtag2"]},{"1351312810":["hashtag1","hashtag2"]},{"1351312804":["hashtag1","hashtag2"]},{"1351312683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351312800, 1351312759, 1351312654, 1351312810, 1351312804, 1351312683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76349329948425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:00:32.587715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_15_9386.jpg', '/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_26_10432.jpg', '/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_35_9364.jpg', '/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_45_10392.jpg', '/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_55_9435.jpg', '/home/pi/Desktop/images/10042025/19/42/image_10042025_19_43_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_15_9386.jpg
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_26_10432.jpg
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_35_9364.jpg
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_45_10392.jpg
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_42_55_9435.jpg
/home/pi/Desktop/images/10042025/19/42/image_10042025_19_43_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351313033","1351313102","1351312990","1351313011","1351313082","1351313058"],"photo_ids_order":["1351312990","1351313011","1351313033","1351313058","1351313082","1351313102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/105c45ae13a309bd48dc9474995a69a6.jpg","text":"TemporaryFile(/tmp/multipartBody4766832965258288519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_42_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0e7fa07aaf56bf6477f91ab0c063c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8180952340765762580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_43_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c21be35dc89a089ab3932dafadda88d.jpg","text":"TemporaryFile(/tmp/multipartBody5211163074802161388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_42_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8766ba29f1ea666eb6674fda0dce7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7761538294768629067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_42_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1a6451ec56724fc34904109edf7e6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5012829821692392915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_42_55_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f71001b04c91eae875d019bdcda6714a.jpg","text":"TemporaryFile(/tmp/multipartBody9085087064678303122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315293042,"filename":"image_10042025_19_42_45_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351313033","file1":"1351313011","file0":"1351312990","file4":"1351313082","file5":"1351313102","file3":"1351313058"},"map_files_photo_id_array":[{"photo_id":"1351313102","filename":"file5"},{"photo_id":"1351313033","filename":"file2"},{"photo_id":"1351313082","filename":"file4"},{"photo_id":"1351313011","filename":"file1"},{"photo_id":"1351312990","filename":"file0"},{"photo_id":"1351313058","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351313033":["hashtag1","hashtag2"]},{"1351313102":["hashtag1","hashtag2"]},{"1351312990":["hashtag1","hashtag2"]},{"1351313011":["hashtag1","hashtag2"]},{"1351313082":["hashtag1","hashtag2"]},{"1351313058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351313033, 1351313102, 1351312990, 1351313011, 1351313082, 1351313058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32292151451111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:01:32.815675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_16_10424.jpg', '/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_25_9363.jpg', '/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_35_10354.jpg', '/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_46_10354.jpg', '/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_55_9367.jpg', '/home/pi/Desktop/images/10042025/19/43/image_10042025_19_44_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_16_10424.jpg
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_25_9363.jpg
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_35_10354.jpg
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_46_10354.jpg
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_43_55_9367.jpg
/home/pi/Desktop/images/10042025/19/43/image_10042025_19_44_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351313360","1351313284","1351313335","1351313404","1351313308","1351313262"],"photo_ids_order":["1351313262","1351313284","1351313308","1351313335","1351313360","1351313404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/834dbf6b934a667e4fcf5bc448268f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2500105499207022586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_43_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1343d20309027f2d4b798d72d7d5af7a.jpg","text":"TemporaryFile(/tmp/multipartBody3862952361353573907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_43_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7823c21fe9f6e6f6b8f1f0a56e0fd06.jpg","text":"TemporaryFile(/tmp/multipartBody4368561112595412572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_43_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/75035d67aaed79621322bec7edec1544.jpg","text":"TemporaryFile(/tmp/multipartBody3097474106454485711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_44_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a74509a588e861d57043d71e6c6a92f.jpg","text":"TemporaryFile(/tmp/multipartBody6609888761427239714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_43_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ac2c356a280f32cd2d022fc0bff6cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1312026078789798837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315353267,"filename":"image_10042025_19_43_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351313308","file1":"1351313284","file0":"1351313262","file4":"1351313360","file5":"1351313404","file3":"1351313335"},"map_files_photo_id_array":[{"photo_id":"1351313404","filename":"file5"},{"photo_id":"1351313308","filename":"file2"},{"photo_id":"1351313360","filename":"file4"},{"photo_id":"1351313284","filename":"file1"},{"photo_id":"1351313262","filename":"file0"},{"photo_id":"1351313335","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351313360":["hashtag1","hashtag2"]},{"1351313284":["hashtag1","hashtag2"]},{"1351313335":["hashtag1","hashtag2"]},{"1351313404":["hashtag1","hashtag2"]},{"1351313308":["hashtag1","hashtag2"]},{"1351313262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351313360, 1351313284, 1351313335, 1351313404, 1351313308, 1351313262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.114375591278076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:02:35.533564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_15_9471.jpg', '/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_25_10432.jpg', '/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_36_10440.jpg', '/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_45_9444.jpg', '/home/pi/Desktop/images/10042025/19/44/image_10042025_19_45_05_9347.jpg', '/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_25_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_15_9471.jpg
/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_25_10432.jpg
/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_36_10440.jpg
/home/pi/Desktop/images/10042025/19/44/image_10042025_19_44_45_9444.jpg
/home/pi/Desktop/images/10042025/19/44/image_10042025_19_45_05_9347.jpg
/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_25_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351313587","1351313497","1351313488","1351313641","1351313598","1351313511"],"photo_ids_order":["1351313488","1351313497","1351313511","1351313587","1351313598","1351313641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cca967e2e9b05baa4cccb3b4271f0675.jpg","text":"TemporaryFile(/tmp/multipartBody7489048526294608077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_44_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6519b939f890f5a6d0491448090fde9.jpg","text":"TemporaryFile(/tmp/multipartBody987250411924501173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_44_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ac70e33c30cd76d952e51f8ab0f9c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2227075043906701273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_44_15_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fcd17891759125c581502e1e34ec625.jpg","text":"TemporaryFile(/tmp/multipartBody2971983789329955659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_45_25_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d4dddca90c00a97945e207a86e21cd8.jpg","text":"TemporaryFile(/tmp/multipartBody8011721415889170071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_45_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34d75347ba2c1503856c805663022519.jpg","text":"TemporaryFile(/tmp/multipartBody1793624993708826148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315415992,"filename":"image_10042025_19_44_36_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351313511","file1":"1351313497","file0":"1351313488","file4":"1351313598","file5":"1351313641","file3":"1351313587"},"map_files_photo_id_array":[{"photo_id":"1351313641","filename":"file5"},{"photo_id":"1351313511","filename":"file2"},{"photo_id":"1351313598","filename":"file4"},{"photo_id":"1351313497","filename":"file1"},{"photo_id":"1351313488","filename":"file0"},{"photo_id":"1351313587","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351313587":["hashtag1","hashtag2"]},{"1351313497":["hashtag1","hashtag2"]},{"1351313488":["hashtag1","hashtag2"]},{"1351313641":["hashtag1","hashtag2"]},{"1351313598":["hashtag1","hashtag2"]},{"1351313511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351313587, 1351313497, 1351313488, 1351313641, 1351313598, 1351313511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.384095191955566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:03:32.303148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_35_10390.jpg', '/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_46_10421.jpg', '/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_55_9357.jpg', '/home/pi/Desktop/images/10042025/19/45/image_10042025_19_46_05_10381.jpg', '/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_15_9445.jpg', '/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_25_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_35_10390.jpg
/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_46_10421.jpg
/home/pi/Desktop/images/10042025/19/45/image_10042025_19_45_55_9357.jpg
/home/pi/Desktop/images/10042025/19/45/image_10042025_19_46_05_10381.jpg
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_15_9445.jpg
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_25_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351313915","1351313985","1351314042","1351314015","1351313943","1351314065"],"photo_ids_order":["1351313915","1351313943","1351313985","1351314015","1351314042","1351314065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce160d47e8ec9b1b3d2720ce8feee929.jpg","text":"TemporaryFile(/tmp/multipartBody257103840035548590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_45_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9f342b10cbdf3f0d529abbed44fe898.jpg","text":"TemporaryFile(/tmp/multipartBody570804335508843786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_45_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d4659ba4e10f219c432bdc59505e02f.jpg","text":"TemporaryFile(/tmp/multipartBody8117872852827251890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_46_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de31f3616ee9719c4a7ad36497edf38a.jpg","text":"TemporaryFile(/tmp/multipartBody6194600180402470649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_46_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16cbb9d099c5b4b47f31e8c7276588b5.jpg","text":"TemporaryFile(/tmp/multipartBody1066914594893542415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_45_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b3acf321910e758749279be051695c4.jpg","text":"TemporaryFile(/tmp/multipartBody8669011885805767265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315472758,"filename":"image_10042025_19_46_25_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351313985","file1":"1351313943","file0":"1351313915","file4":"1351314042","file5":"1351314065","file3":"1351314015"},"map_files_photo_id_array":[{"photo_id":"1351314065","filename":"file5"},{"photo_id":"1351313985","filename":"file2"},{"photo_id":"1351314042","filename":"file4"},{"photo_id":"1351313943","filename":"file1"},{"photo_id":"1351313915","filename":"file0"},{"photo_id":"1351314015","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351313915":["hashtag1","hashtag2"]},{"1351313985":["hashtag1","hashtag2"]},{"1351314042":["hashtag1","hashtag2"]},{"1351314015":["hashtag1","hashtag2"]},{"1351313943":["hashtag1","hashtag2"]},{"1351314065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351313915, 1351313985, 1351314042, 1351314015, 1351313943, 1351314065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56873607635498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:04:32.329664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_36_10487.jpg', '/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_45_9344.jpg', '/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_55_10384.jpg', '/home/pi/Desktop/images/10042025/19/46/image_10042025_19_47_05_9406.jpg', '/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_15_10362.jpg', '/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_26_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_36_10487.jpg
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_45_9344.jpg
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_46_55_10384.jpg
/home/pi/Desktop/images/10042025/19/46/image_10042025_19_47_05_9406.jpg
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_15_10362.jpg
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_26_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351314399","1351314435","1351314491","1351314392","1351314560","1351314362"],"photo_ids_order":["1351314362","1351314392","1351314399","1351314435","1351314491","1351314560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/41164076c2032ac23ff7167251eb0694.jpg","text":"TemporaryFile(/tmp/multipartBody2222160314251170659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_46_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6c67f96ba0112b7afb40e0cbf10fdf46.jpg","text":"TemporaryFile(/tmp/multipartBody3062802762054362752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_47_05_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6cc1282b889866af654d93fb410db876.jpg","text":"TemporaryFile(/tmp/multipartBody8674940237347549124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_47_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7714746cc858e248efcb57720065ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1347191190556848220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_46_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/150e840cf9ee8336c87006b9e4ab60ec.jpg","text":"TemporaryFile(/tmp/multipartBody2875126829376738428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_47_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/132a06d6b4ecd1206e49a8cb4d75e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody88659932971038896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315532783,"filename":"image_10042025_19_46_36_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351314399","file1":"1351314392","file0":"1351314362","file4":"1351314491","file5":"1351314560","file3":"1351314435"},"map_files_photo_id_array":[{"photo_id":"1351314560","filename":"file5"},{"photo_id":"1351314399","filename":"file2"},{"photo_id":"1351314491","filename":"file4"},{"photo_id":"1351314392","filename":"file1"},{"photo_id":"1351314362","filename":"file0"},{"photo_id":"1351314435","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351314399":["hashtag1","hashtag2"]},{"1351314435":["hashtag1","hashtag2"]},{"1351314491":["hashtag1","hashtag2"]},{"1351314392":["hashtag1","hashtag2"]},{"1351314560":["hashtag1","hashtag2"]},{"1351314362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351314399, 1351314435, 1351314491, 1351314392, 1351314560, 1351314362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10605716705322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:05:32.562269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_35_9364.jpg', '/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_45_10381.jpg', '/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_55_9442.jpg', '/home/pi/Desktop/images/10042025/19/47/image_10042025_19_48_05_10375.jpg', '/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_16_10483.jpg', '/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_35_9364.jpg
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_45_10381.jpg
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_47_55_9442.jpg
/home/pi/Desktop/images/10042025/19/47/image_10042025_19_48_05_10375.jpg
/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_16_10483.jpg
/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351315015","1351315185","1351314960","1351315119","1351315079","1351315145"],"photo_ids_order":["1351314960","1351315015","1351315079","1351315119","1351315145","1351315185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bbc7edacafa6c7c91bac234192b00bf.jpg","text":"TemporaryFile(/tmp/multipartBody7433222439879667147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_47_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/957e36958e646041e757e1839bfe1e91.jpg","text":"TemporaryFile(/tmp/multipartBody7901364892237742489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_48_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e1c15c2a4bbd86c27710f1fc9f52599.jpg","text":"TemporaryFile(/tmp/multipartBody2539812301335025808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_47_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78c2403176503a7f0363f4838e38b979.jpg","text":"TemporaryFile(/tmp/multipartBody8797253936888456861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_48_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/53e4586d7f69d7f93186d223cf229726.jpg","text":"TemporaryFile(/tmp/multipartBody4950465956068653211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_47_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa96924ed0e483a9d3755b4e04d7430e.jpg","text":"TemporaryFile(/tmp/multipartBody8957681585456103248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315593016,"filename":"image_10042025_19_48_16_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351315079","file1":"1351315015","file0":"1351314960","file4":"1351315145","file5":"1351315185","file3":"1351315119"},"map_files_photo_id_array":[{"photo_id":"1351315185","filename":"file5"},{"photo_id":"1351315079","filename":"file2"},{"photo_id":"1351315145","filename":"file4"},{"photo_id":"1351315015","filename":"file1"},{"photo_id":"1351314960","filename":"file0"},{"photo_id":"1351315119","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351315015":["hashtag1","hashtag2"]},{"1351315185":["hashtag1","hashtag2"]},{"1351314960":["hashtag1","hashtag2"]},{"1351315119":["hashtag1","hashtag2"]},{"1351315079":["hashtag1","hashtag2"]},{"1351315145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351315015, 1351315185, 1351314960, 1351315119, 1351315079, 1351315145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96061563491821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:06:32.737897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_55_10373.jpg', '/home/pi/Desktop/images/10042025/19/48/image_10042025_19_49_06_10430.jpg', '/home/pi/Desktop/images/10042025/19/49/image_10042025_19_49_45_10373.jpg', '/home/pi/Desktop/images/10042025/19/49/image_10042025_19_49_56_10410.jpg', '/home/pi/Desktop/images/10042025/19/49/image_10042025_19_50_05_9373.jpg', '/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/48/image_10042025_19_48_55_10373.jpg
/home/pi/Desktop/images/10042025/19/48/image_10042025_19_49_06_10430.jpg
/home/pi/Desktop/images/10042025/19/49/image_10042025_19_49_45_10373.jpg
/home/pi/Desktop/images/10042025/19/49/image_10042025_19_49_56_10410.jpg
/home/pi/Desktop/images/10042025/19/49/image_10042025_19_50_05_9373.jpg
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351315672","1351315753","1351315708","1351315900","1351315988","1351315827"],"photo_ids_order":["1351315672","1351315708","1351315753","1351315827","1351315900","1351315988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6d85d9353fad81bd8186f2a61f0aeb3.jpg","text":"TemporaryFile(/tmp/multipartBody7715651702251633043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_48_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10e12af840f55a2f84cda85e20c23d07.jpg","text":"TemporaryFile(/tmp/multipartBody8531606854533314814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_49_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/73935be4954c90698a8db4a9a7d93385.jpg","text":"TemporaryFile(/tmp/multipartBody5367417723744939762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_49_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8094a29fd8be220c6a3ab52eb6f48c83.jpg","text":"TemporaryFile(/tmp/multipartBody7025629899685969439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_50_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62089f7544f74c6797709b7cc5e31f26.jpg","text":"TemporaryFile(/tmp/multipartBody7569953457497980389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_50_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8175b4d9ebcee48993deebc81234f933.jpg","text":"TemporaryFile(/tmp/multipartBody6777498689146279135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315653196,"filename":"image_10042025_19_49_56_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351315753","file1":"1351315708","file0":"1351315672","file4":"1351315900","file5":"1351315988","file3":"1351315827"},"map_files_photo_id_array":[{"photo_id":"1351315988","filename":"file5"},{"photo_id":"1351315753","filename":"file2"},{"photo_id":"1351315900","filename":"file4"},{"photo_id":"1351315708","filename":"file1"},{"photo_id":"1351315672","filename":"file0"},{"photo_id":"1351315827","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351315672":["hashtag1","hashtag2"]},{"1351315753":["hashtag1","hashtag2"]},{"1351315708":["hashtag1","hashtag2"]},{"1351315900":["hashtag1","hashtag2"]},{"1351315988":["hashtag1","hashtag2"]},{"1351315827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351315672, 1351315753, 1351315708, 1351315900, 1351315988, 1351315827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39829444885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:07:32.969848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_26_10365.jpg', '/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_35_9378.jpg', '/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_46_10429.jpg', '/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_55_9355.jpg', '/home/pi/Desktop/images/10042025/19/50/image_10042025_19_51_05_10356.jpg', '/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_16_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_26_10365.jpg
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_35_9378.jpg
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_46_10429.jpg
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_50_55_9355.jpg
/home/pi/Desktop/images/10042025/19/50/image_10042025_19_51_05_10356.jpg
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_16_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351316499","1351316396","1351316345","1351316464","1351316545","1351316428"],"photo_ids_order":["1351316345","1351316396","1351316428","1351316464","1351316499","1351316545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/684ec6f4f7c5f767c20b2033b85b254a.jpg","text":"TemporaryFile(/tmp/multipartBody6626477967170330141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_51_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69fe50628e46286fff8722feeed97b54.jpg","text":"TemporaryFile(/tmp/multipartBody5239625256617503028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_50_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/103881712e6e0716b9a0c29784558b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8239968355214929698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_50_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef9ae08027a791ac6c8d08131699edab.jpg","text":"TemporaryFile(/tmp/multipartBody6347234092979180574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_50_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/086b29571b5bfef17a76ad5078b22055.jpg","text":"TemporaryFile(/tmp/multipartBody8804317295547528626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_51_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e32fddb9b077753d1489ee23c8674d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8561321467414167687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315713428,"filename":"image_10042025_19_50_46_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351316428","file1":"1351316396","file0":"1351316345","file4":"1351316499","file5":"1351316545","file3":"1351316464"},"map_files_photo_id_array":[{"photo_id":"1351316545","filename":"file5"},{"photo_id":"1351316428","filename":"file2"},{"photo_id":"1351316499","filename":"file4"},{"photo_id":"1351316396","filename":"file1"},{"photo_id":"1351316345","filename":"file0"},{"photo_id":"1351316464","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351316499":["hashtag1","hashtag2"]},{"1351316396":["hashtag1","hashtag2"]},{"1351316345":["hashtag1","hashtag2"]},{"1351316464":["hashtag1","hashtag2"]},{"1351316545":["hashtag1","hashtag2"]},{"1351316428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351316499, 1351316396, 1351316345, 1351316464, 1351316545, 1351316428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.870315074920654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:08:33.207415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_25_9370.jpg', '/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_35_10363.jpg', '/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_46_10361.jpg', '/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_55_9380.jpg', '/home/pi/Desktop/images/10042025/19/51/image_10042025_19_52_06_10512.jpg', '/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_15_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_25_9370.jpg
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_35_10363.jpg
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_46_10361.jpg
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_51_55_9380.jpg
/home/pi/Desktop/images/10042025/19/51/image_10042025_19_52_06_10512.jpg
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_15_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351316799","1351316856","1351316904","1351316777","1351316879","1351316842"],"photo_ids_order":["1351316777","1351316799","1351316842","1351316856","1351316879","1351316904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b5fac245d79fc6a241aced7c9e83bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody1204292742177567973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_51_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ebcdbaa492912aac054a43506bf5325c.jpg","text":"TemporaryFile(/tmp/multipartBody5433182418892538986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_51_55_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8494fa2af98d2f0231030016717c7022.jpg","text":"TemporaryFile(/tmp/multipartBody3284519049977016782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_52_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99f3b22def0f86d240235df1d8c66b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3876203482662180000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_51_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/151487de6099440f59b2b60196c95971.jpg","text":"TemporaryFile(/tmp/multipartBody5366505319446132273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_52_06_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/581648aa6b8d25c7119022c02779f6c7.jpg","text":"TemporaryFile(/tmp/multipartBody8753675734251951512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315773666,"filename":"image_10042025_19_51_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351316842","file1":"1351316799","file0":"1351316777","file4":"1351316879","file5":"1351316904","file3":"1351316856"},"map_files_photo_id_array":[{"photo_id":"1351316904","filename":"file5"},{"photo_id":"1351316842","filename":"file2"},{"photo_id":"1351316879","filename":"file4"},{"photo_id":"1351316799","filename":"file1"},{"photo_id":"1351316777","filename":"file0"},{"photo_id":"1351316856","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351316799":["hashtag1","hashtag2"]},{"1351316856":["hashtag1","hashtag2"]},{"1351316904":["hashtag1","hashtag2"]},{"1351316777":["hashtag1","hashtag2"]},{"1351316879":["hashtag1","hashtag2"]},{"1351316842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351316799, 1351316856, 1351316904, 1351316777, 1351316879, 1351316842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43002915382385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:09:32.307193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_25_10361.jpg', '/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_35_9441.jpg', '/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_45_10357.jpg', '/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_56_10434.jpg', '/home/pi/Desktop/images/10042025/19/52/image_10042025_19_53_05_9416.jpg', '/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_25_10361.jpg
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_35_9441.jpg
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_45_10357.jpg
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_52_56_10434.jpg
/home/pi/Desktop/images/10042025/19/52/image_10042025_19_53_05_9416.jpg
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351317054","1351317117","1351317137","1351317026","1351317091","1351317016"],"photo_ids_order":["1351317016","1351317026","1351317054","1351317091","1351317117","1351317137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/399b79c5b01dfc01d6b529170a2ca9a9.jpg","text":"TemporaryFile(/tmp/multipartBody6854317373947079760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_52_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c7816765d650947771a94a69ebf8eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2008208229549934213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_53_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3436cb4279a1b9eee597abfc0ec657b5.jpg","text":"TemporaryFile(/tmp/multipartBody8469889535747333635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_53_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/288b0d25616da98b6e5797c42c8264ce.jpg","text":"TemporaryFile(/tmp/multipartBody7212502721958430720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_52_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0c8afb3abac092f7d0372e4cbad7fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3655173955690084239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_52_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3e744f0da821bae84f67edb9cde98ae.jpg","text":"TemporaryFile(/tmp/multipartBody161175180681803979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315832768,"filename":"image_10042025_19_52_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351317054","file1":"1351317026","file0":"1351317016","file4":"1351317117","file5":"1351317137","file3":"1351317091"},"map_files_photo_id_array":[{"photo_id":"1351317137","filename":"file5"},{"photo_id":"1351317054","filename":"file2"},{"photo_id":"1351317117","filename":"file4"},{"photo_id":"1351317026","filename":"file1"},{"photo_id":"1351317016","filename":"file0"},{"photo_id":"1351317091","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351317054":["hashtag1","hashtag2"]},{"1351317117":["hashtag1","hashtag2"]},{"1351317137":["hashtag1","hashtag2"]},{"1351317026":["hashtag1","hashtag2"]},{"1351317091":["hashtag1","hashtag2"]},{"1351317016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351317054, 1351317117, 1351317137, 1351317026, 1351317091, 1351317016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.869287729263306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:10:32.455217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_25_9468.jpg', '/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_35_10376.jpg', '/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_46_10504.jpg', '/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_55_9381.jpg', '/home/pi/Desktop/images/10042025/19/53/image_10042025_19_54_06_10375.jpg', '/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_25_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_25_9468.jpg
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_35_10376.jpg
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_46_10504.jpg
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_53_55_9381.jpg
/home/pi/Desktop/images/10042025/19/53/image_10042025_19_54_06_10375.jpg
/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_25_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351317627","1351317339","1351317603","1351317683","1351317521","1351317387"],"photo_ids_order":["1351317339","1351317387","1351317521","1351317603","1351317627","1351317683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6eb402d2b3e09dbe148906f5ee2d8563.jpg","text":"TemporaryFile(/tmp/multipartBody6800146863336016713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_54_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/374fe6587f4961a8fefa4d297ce600c1.jpg","text":"TemporaryFile(/tmp/multipartBody4080762792368967573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_53_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1de2e2d8d2141fc1034ab5cfdbf40645.jpg","text":"TemporaryFile(/tmp/multipartBody4515931456304910639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_53_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/defd4ef6aa8d8f8e70b4cc2b19f1cee6.jpg","text":"TemporaryFile(/tmp/multipartBody7737009177357821279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_54_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb2327bf729e72121621f11f90464603.jpg","text":"TemporaryFile(/tmp/multipartBody4034858630215229585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_53_46_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c31387454f89248558e5d2cc20732430.jpg","text":"TemporaryFile(/tmp/multipartBody7732715597764499415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315892916,"filename":"image_10042025_19_53_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351317521","file1":"1351317387","file0":"1351317339","file4":"1351317627","file5":"1351317683","file3":"1351317603"},"map_files_photo_id_array":[{"photo_id":"1351317683","filename":"file5"},{"photo_id":"1351317521","filename":"file2"},{"photo_id":"1351317627","filename":"file4"},{"photo_id":"1351317387","filename":"file1"},{"photo_id":"1351317339","filename":"file0"},{"photo_id":"1351317603","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351317627":["hashtag1","hashtag2"]},{"1351317339":["hashtag1","hashtag2"]},{"1351317603":["hashtag1","hashtag2"]},{"1351317683":["hashtag1","hashtag2"]},{"1351317521":["hashtag1","hashtag2"]},{"1351317387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351317627, 1351317339, 1351317603, 1351317683, 1351317521, 1351317387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.46567916870117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:11:32.970009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_36_10397.jpg', '/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_45_9354.jpg', '/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_55_10397.jpg', '/home/pi/Desktop/images/10042025/19/54/image_10042025_19_55_05_9467.jpg', '/home/pi/Desktop/images/10042025/19/55/image_10042025_19_55_35_9383.jpg', '/home/pi/Desktop/images/10042025/19/55/image_10042025_19_56_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_36_10397.jpg
/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_45_9354.jpg
/home/pi/Desktop/images/10042025/19/54/image_10042025_19_54_55_10397.jpg
/home/pi/Desktop/images/10042025/19/54/image_10042025_19_55_05_9467.jpg
/home/pi/Desktop/images/10042025/19/55/image_10042025_19_55_35_9383.jpg
/home/pi/Desktop/images/10042025/19/55/image_10042025_19_56_05_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351317825","1351317755","1351317751","1351317760","1351317748","1351317780"],"photo_ids_order":["1351317748","1351317751","1351317755","1351317760","1351317780","1351317825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bdf2fdb5883449f2fc63d3ba6c91c6fb.jpg","text":"TemporaryFile(/tmp/multipartBody6746378088552880873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_56_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44d5a83e80aad096ea1ba1ddfedb1d91.jpg","text":"TemporaryFile(/tmp/multipartBody477592235117195110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_54_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0fdecb5f0688ebaa5fbca17a712b618.jpg","text":"TemporaryFile(/tmp/multipartBody4183632949658048503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_54_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f3dc55f68221d6a35ee45149a020f61.jpg","text":"TemporaryFile(/tmp/multipartBody2450914278537193392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_55_05_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f8488b6a1ff0ef08ff3807e5dfdf9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1591899893497090646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_54_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/658af7d63432b224f6238f84fd68d656.jpg","text":"TemporaryFile(/tmp/multipartBody3768197752291437554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744315953426,"filename":"image_10042025_19_55_35_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351317755","file1":"1351317751","file0":"1351317748","file4":"1351317780","file5":"1351317825","file3":"1351317760"},"map_files_photo_id_array":[{"photo_id":"1351317825","filename":"file5"},{"photo_id":"1351317755","filename":"file2"},{"photo_id":"1351317780","filename":"file4"},{"photo_id":"1351317751","filename":"file1"},{"photo_id":"1351317748","filename":"file0"},{"photo_id":"1351317760","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351317825":["hashtag1","hashtag2"]},{"1351317755":["hashtag1","hashtag2"]},{"1351317751":["hashtag1","hashtag2"]},{"1351317760":["hashtag1","hashtag2"]},{"1351317748":["hashtag1","hashtag2"]},{"1351317780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351317825, 1351317755, 1351317751, 1351317760, 1351317748, 1351317780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90317463874817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:12:33.906676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_16_10412.jpg', '/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_25_9360.jpg', '/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_35_10449.jpg', '/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_45_9459.jpg', '/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_15_9422.jpg', '/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_26_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_16_10412.jpg
/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_25_9360.jpg
/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_35_10449.jpg
/home/pi/Desktop/images/10042025/19/56/image_10042025_19_56_45_9459.jpg
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_15_9422.jpg
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_26_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351318202","1351318240","1351318219","1351318132","1351318111","1351318158"],"photo_ids_order":["1351318111","1351318132","1351318158","1351318202","1351318219","1351318240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49be4cf5d01cc862313b4cb7fd4d7577.jpg","text":"TemporaryFile(/tmp/multipartBody1029453030773383270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_56_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a08d115ba470615462789488808f773f.jpg","text":"TemporaryFile(/tmp/multipartBody8752013966712508651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_57_26_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/411ce706fa155c023666764fc126cc65.jpg","text":"TemporaryFile(/tmp/multipartBody6339286878417307259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_57_15_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6687396027037427d9f33323129cc977.jpg","text":"TemporaryFile(/tmp/multipartBody3061803381630812799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_56_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba864688e863a0f49b9a5b1af3363585.jpg","text":"TemporaryFile(/tmp/multipartBody2194928770821773383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_56_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff73dafb165f6324d55e12961793b453.jpg","text":"TemporaryFile(/tmp/multipartBody6292181732898728903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316014381,"filename":"image_10042025_19_56_35_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351318158","file1":"1351318132","file0":"1351318111","file4":"1351318219","file5":"1351318240","file3":"1351318202"},"map_files_photo_id_array":[{"photo_id":"1351318240","filename":"file5"},{"photo_id":"1351318158","filename":"file2"},{"photo_id":"1351318219","filename":"file4"},{"photo_id":"1351318132","filename":"file1"},{"photo_id":"1351318111","filename":"file0"},{"photo_id":"1351318202","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351318202":["hashtag1","hashtag2"]},{"1351318240":["hashtag1","hashtag2"]},{"1351318219":["hashtag1","hashtag2"]},{"1351318132":["hashtag1","hashtag2"]},{"1351318111":["hashtag1","hashtag2"]},{"1351318158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351318202, 1351318240, 1351318219, 1351318132, 1351318111, 1351318158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.459468126297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:13:32.357637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_35_9353.jpg', '/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_45_10388.jpg', '/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_56_10369.jpg', '/home/pi/Desktop/images/10042025/19/57/image_10042025_19_58_05_9355.jpg', '/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_16_10376.jpg', '/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_25_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_35_9353.jpg
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_45_10388.jpg
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_57_56_10369.jpg
/home/pi/Desktop/images/10042025/19/57/image_10042025_19_58_05_9355.jpg
/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_16_10376.jpg
/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_25_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351318436","1351318712","1351318597","1351318684","1351318461","1351318506"],"photo_ids_order":["1351318436","1351318461","1351318506","1351318597","1351318684","1351318712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef2a1791af66a8ee1ef0b692bc77aa24.jpg","text":"TemporaryFile(/tmp/multipartBody8138265053822509571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_57_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/af998438d6b16e2dfceb091233083a32.jpg","text":"TemporaryFile(/tmp/multipartBody5393196168008943665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_58_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5d9bb109d97787cc9511f984d52fbbe.jpg","text":"TemporaryFile(/tmp/multipartBody7364496921542432939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_58_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb8556e8b43861cefc80d24ce0ee0e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3592554403638258742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_58_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b6cbb5bcf0c728c5230ae12571191de.jpg","text":"TemporaryFile(/tmp/multipartBody7464126828655489391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_57_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6dfdf824529d915d81826d995a2adb49.jpg","text":"TemporaryFile(/tmp/multipartBody264149155906744598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316072828,"filename":"image_10042025_19_57_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351318506","file1":"1351318461","file0":"1351318436","file4":"1351318684","file5":"1351318712","file3":"1351318597"},"map_files_photo_id_array":[{"photo_id":"1351318712","filename":"file5"},{"photo_id":"1351318506","filename":"file2"},{"photo_id":"1351318684","filename":"file4"},{"photo_id":"1351318461","filename":"file1"},{"photo_id":"1351318436","filename":"file0"},{"photo_id":"1351318597","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351318436":["hashtag1","hashtag2"]},{"1351318712":["hashtag1","hashtag2"]},{"1351318597":["hashtag1","hashtag2"]},{"1351318684":["hashtag1","hashtag2"]},{"1351318461":["hashtag1","hashtag2"]},{"1351318506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351318436, 1351318712, 1351318597, 1351318684, 1351318461, 1351318506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87346053123474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:14:32.392013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_55_9464.jpg', '/home/pi/Desktop/images/10042025/19/58/image_10042025_19_59_06_10459.jpg', '/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_15_9368.jpg', '/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_25_10406.jpg', '/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_36_10413.jpg', '/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_45_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/58/image_10042025_19_58_55_9464.jpg
/home/pi/Desktop/images/10042025/19/58/image_10042025_19_59_06_10459.jpg
/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_15_9368.jpg
/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_25_10406.jpg
/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_36_10413.jpg
/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_45_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351319131","1351319094","1351319163","1351319046","1351318968","1351319010"],"photo_ids_order":["1351318968","1351319010","1351319046","1351319094","1351319131","1351319163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ece7c2d72881835d11299a51d9e5274.jpg","text":"TemporaryFile(/tmp/multipartBody8417225475466856221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_59_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4aa41d0e8ccd9b22299a736d4189b48.jpg","text":"TemporaryFile(/tmp/multipartBody8125853862444345978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_59_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1af56d5709dd086389e35521457cd4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1308385689825277489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_59_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/546516de9745de0a01df5df8d79c75f6.jpg","text":"TemporaryFile(/tmp/multipartBody6151461894929384422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_59_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc77af3b0a313625b6d1046e99192ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4228691975512841481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_58_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35dc1a562653cf255bd05f060a86de60.jpg","text":"TemporaryFile(/tmp/multipartBody1455122948213841039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316132852,"filename":"image_10042025_19_59_06_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351319046","file1":"1351319010","file0":"1351318968","file4":"1351319131","file5":"1351319163","file3":"1351319094"},"map_files_photo_id_array":[{"photo_id":"1351319163","filename":"file5"},{"photo_id":"1351319046","filename":"file2"},{"photo_id":"1351319131","filename":"file4"},{"photo_id":"1351319010","filename":"file1"},{"photo_id":"1351318968","filename":"file0"},{"photo_id":"1351319094","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351319131":["hashtag1","hashtag2"]},{"1351319094":["hashtag1","hashtag2"]},{"1351319163":["hashtag1","hashtag2"]},{"1351319046":["hashtag1","hashtag2"]},{"1351318968":["hashtag1","hashtag2"]},{"1351319010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351319131, 1351319094, 1351319163, 1351319046, 1351318968, 1351319010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51650595664978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:15:32.557517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_56_10487.jpg', '/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_14_10074.jpg', '/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_24_10347.jpg', '/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_44_9364.jpg', '/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_54_10376.jpg', '/home/pi/Desktop/images/10042025/20/01/image_10042025_20_02_04_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/19/59/image_10042025_19_59_56_10487.jpg
/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_14_10074.jpg
/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_24_10347.jpg
/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_44_9364.jpg
/home/pi/Desktop/images/10042025/20/01/image_10042025_20_01_54_10376.jpg
/home/pi/Desktop/images/10042025/20/01/image_10042025_20_02_04_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351319852","1351319767","1351319935","1351319895","1351319715","1351319975"],"photo_ids_order":["1351319715","1351319767","1351319852","1351319895","1351319935","1351319975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b95d1013e299e6561aff2f41ce12e192.jpg","text":"TemporaryFile(/tmp/multipartBody4789395723417427888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_20_01_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4fdc0be33a7464bac7960dc90fa5788.jpg","text":"TemporaryFile(/tmp/multipartBody703828126975833267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_20_01_14_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9040f4b411b234f2f4f85151eea2598.jpg","text":"TemporaryFile(/tmp/multipartBody4373267398589060192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_20_01_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/95c9d68724cca2b27f74265edb986072.jpg","text":"TemporaryFile(/tmp/multipartBody8859192364633082480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_20_01_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/935c4f240b3a43e7ccd7ba49c525d661.jpg","text":"TemporaryFile(/tmp/multipartBody3376050253876215501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_19_59_56_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/708c9f24650960765dac8fd58d4c27af.jpg","text":"TemporaryFile(/tmp/multipartBody7812426441384127188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316193019,"filename":"image_10042025_20_02_04_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351319852","file1":"1351319767","file0":"1351319715","file4":"1351319935","file5":"1351319975","file3":"1351319895"},"map_files_photo_id_array":[{"photo_id":"1351319975","filename":"file5"},{"photo_id":"1351319852","filename":"file2"},{"photo_id":"1351319935","filename":"file4"},{"photo_id":"1351319767","filename":"file1"},{"photo_id":"1351319715","filename":"file0"},{"photo_id":"1351319895","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351319852":["hashtag1","hashtag2"]},{"1351319767":["hashtag1","hashtag2"]},{"1351319935":["hashtag1","hashtag2"]},{"1351319895":["hashtag1","hashtag2"]},{"1351319715":["hashtag1","hashtag2"]},{"1351319975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351319852, 1351319767, 1351319935, 1351319895, 1351319715, 1351319975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.428985834121704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:16:32.866911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_14_10464.jpg', '/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_25_10414.jpg', '/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_34_9382.jpg', '/home/pi/Desktop/images/10042025/20/02/image_10042025_20_03_04_10355.jpg', '/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_15_10481.jpg', '/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_24_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_14_10464.jpg
/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_25_10414.jpg
/home/pi/Desktop/images/10042025/20/02/image_10042025_20_02_34_9382.jpg
/home/pi/Desktop/images/10042025/20/02/image_10042025_20_03_04_10355.jpg
/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_15_10481.jpg
/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_24_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351320848","1351320595","1351320952","1351320715","1351321050","1351320486"],"photo_ids_order":["1351320486","1351320595","1351320715","1351320848","1351320952","1351321050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5f155aa3317e9a0926020a35d802b775.jpg","text":"TemporaryFile(/tmp/multipartBody4416240314550725856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_03_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07ef5b4a5e0788eb2d851b4edbcd1227.jpg","text":"TemporaryFile(/tmp/multipartBody2129578622642052034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_02_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c96978717e1890d69f511c478c5b6e1a.jpg","text":"TemporaryFile(/tmp/multipartBody810410772285807512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_03_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/873a53c4642c246d7956028d9232d216.jpg","text":"TemporaryFile(/tmp/multipartBody1130145040344144736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_02_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea49b22db353acd2260b1fd237ead961.jpg","text":"TemporaryFile(/tmp/multipartBody2057947020426337980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_03_24_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/35e22a2a972c202d8e724deb1528001c.jpg","text":"TemporaryFile(/tmp/multipartBody505116570358275658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316253355,"filename":"image_10042025_20_02_14_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351320715","file1":"1351320595","file0":"1351320486","file4":"1351320952","file5":"1351321050","file3":"1351320848"},"map_files_photo_id_array":[{"photo_id":"1351321050","filename":"file5"},{"photo_id":"1351320715","filename":"file2"},{"photo_id":"1351320952","filename":"file4"},{"photo_id":"1351320595","filename":"file1"},{"photo_id":"1351320486","filename":"file0"},{"photo_id":"1351320848","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351320848":["hashtag1","hashtag2"]},{"1351320595":["hashtag1","hashtag2"]},{"1351320952":["hashtag1","hashtag2"]},{"1351320715":["hashtag1","hashtag2"]},{"1351321050":["hashtag1","hashtag2"]},{"1351320486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351320848, 1351320595, 1351320952, 1351320715, 1351321050, 1351320486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90876841545105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:17:33.043430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_35_10360.jpg', '/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_44_9459.jpg', '/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_54_10355.jpg', '/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_14_9344.jpg', '/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_25_10371.jpg', '/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_44_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_35_10360.jpg
/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_44_9459.jpg
/home/pi/Desktop/images/10042025/20/03/image_10042025_20_03_54_10355.jpg
/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_14_9344.jpg
/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_25_10371.jpg
/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_44_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351321913","1351321724","1351322134","1351322017","1351322091","1351321824"],"photo_ids_order":["1351321724","1351321824","1351321913","1351322017","1351322091","1351322134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b28bb0aebafd611eb8871c8094df81df.jpg","text":"TemporaryFile(/tmp/multipartBody8750702905414114066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_03_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a0766f184899715355f2c6b3e19a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody1703383504164306513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_03_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c4fb51a15d18edf2360e03fb6060c8c.jpg","text":"TemporaryFile(/tmp/multipartBody655573696672583812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_04_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4be2d5b11f30baa688355445a929f1f4.jpg","text":"TemporaryFile(/tmp/multipartBody2864242575179917895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_04_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/644198a68df8735ce70bc721114e65b6.jpg","text":"TemporaryFile(/tmp/multipartBody8782398514058065352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_04_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/56e777479da758696e9aa1a9f83a00a5.jpg","text":"TemporaryFile(/tmp/multipartBody2672125809281617770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316313507,"filename":"image_10042025_20_03_44_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351321913","file1":"1351321824","file0":"1351321724","file4":"1351322091","file5":"1351322134","file3":"1351322017"},"map_files_photo_id_array":[{"photo_id":"1351322134","filename":"file5"},{"photo_id":"1351321913","filename":"file2"},{"photo_id":"1351322091","filename":"file4"},{"photo_id":"1351321824","filename":"file1"},{"photo_id":"1351321724","filename":"file0"},{"photo_id":"1351322017","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351321913":["hashtag1","hashtag2"]},{"1351321724":["hashtag1","hashtag2"]},{"1351322134":["hashtag1","hashtag2"]},{"1351322017":["hashtag1","hashtag2"]},{"1351322091":["hashtag1","hashtag2"]},{"1351321824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351321913, 1351321724, 1351322134, 1351322017, 1351322091, 1351321824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54486656188965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:18:32.186658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_55_10496.jpg', '/home/pi/Desktop/images/10042025/20/04/image_10042025_20_05_04_9366.jpg', '/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_15_10435.jpg', '/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_24_9354.jpg', '/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_34_10419.jpg', '/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_44_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/04/image_10042025_20_04_55_10496.jpg
/home/pi/Desktop/images/10042025/20/04/image_10042025_20_05_04_9366.jpg
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_15_10435.jpg
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_24_9354.jpg
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_34_10419.jpg
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_44_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351322974","1351323103","1351323222","1351323332","1351322873","1351323422"],"photo_ids_order":["1351322873","1351322974","1351323103","1351323222","1351323332","1351323422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/502b8b977219346e9eb62ac917652f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7200369464922342555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_05_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cfa6843f2284eb15082a6784bcf9df75.jpg","text":"TemporaryFile(/tmp/multipartBody1480362017888015713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_05_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b2b4f0d02a7742d770bcf8fa28dcc8e.jpg","text":"TemporaryFile(/tmp/multipartBody8708697687013400485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_05_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69820774e78c1081adaa454dcebd1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody319432229510818355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_05_34_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf71d00982021d2761457a1f37ceec8f.jpg","text":"TemporaryFile(/tmp/multipartBody6844550337951599982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_04_55_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db07ea4252807a62736480d92ff84f26.jpg","text":"TemporaryFile(/tmp/multipartBody3353789979253505657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316372718,"filename":"image_10042025_20_05_44_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351323103","file1":"1351322974","file0":"1351322873","file4":"1351323332","file5":"1351323422","file3":"1351323222"},"map_files_photo_id_array":[{"photo_id":"1351323422","filename":"file5"},{"photo_id":"1351323103","filename":"file2"},{"photo_id":"1351323332","filename":"file4"},{"photo_id":"1351322974","filename":"file1"},{"photo_id":"1351322873","filename":"file0"},{"photo_id":"1351323222","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351322974":["hashtag1","hashtag2"]},{"1351323103":["hashtag1","hashtag2"]},{"1351323222":["hashtag1","hashtag2"]},{"1351323332":["hashtag1","hashtag2"]},{"1351322873":["hashtag1","hashtag2"]},{"1351323422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351322974, 1351323103, 1351323222, 1351323332, 1351322873, 1351323422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1185507774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:19:32.308310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_54_10367.jpg', '/home/pi/Desktop/images/10042025/20/05/image_10042025_20_06_05_10431.jpg', '/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_14_9353.jpg', '/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_24_10374.jpg', '/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_35_10357.jpg', '/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_44_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_05_54_10367.jpg
/home/pi/Desktop/images/10042025/20/05/image_10042025_20_06_05_10431.jpg
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_14_9353.jpg
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_24_10374.jpg
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_35_10357.jpg
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_44_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351324143","1351324492","1351324054","1351324240","1351324417","1351324318"],"photo_ids_order":["1351324054","1351324143","1351324240","1351324318","1351324417","1351324492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5261f6b9850dfdb7ce119304a087780a.jpg","text":"TemporaryFile(/tmp/multipartBody5199895845138377475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_06_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d58ddc84256ac82f3a56d92ba0615a28.jpg","text":"TemporaryFile(/tmp/multipartBody8458519328682935934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_06_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c36df3e76ca7eec26013136014fb2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5434559188312362436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_05_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25105f22482957de7df5dac9a10c6552.jpg","text":"TemporaryFile(/tmp/multipartBody8772444062156219865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_06_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ba01ed9a26ab012a84f3c039f1f03f67.jpg","text":"TemporaryFile(/tmp/multipartBody5048720678598413805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_06_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc8de868d757d2d078f4ad86d5a42318.jpg","text":"TemporaryFile(/tmp/multipartBody1903285223867922861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316432784,"filename":"image_10042025_20_06_24_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351324240","file1":"1351324143","file0":"1351324054","file4":"1351324417","file5":"1351324492","file3":"1351324318"},"map_files_photo_id_array":[{"photo_id":"1351324492","filename":"file5"},{"photo_id":"1351324240","filename":"file2"},{"photo_id":"1351324417","filename":"file4"},{"photo_id":"1351324143","filename":"file1"},{"photo_id":"1351324054","filename":"file0"},{"photo_id":"1351324318","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351324143":["hashtag1","hashtag2"]},{"1351324492":["hashtag1","hashtag2"]},{"1351324054":["hashtag1","hashtag2"]},{"1351324240":["hashtag1","hashtag2"]},{"1351324417":["hashtag1","hashtag2"]},{"1351324318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351324143, 1351324492, 1351324054, 1351324240, 1351324417, 1351324318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09832715988159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:20:32.592938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_55_10385.jpg', '/home/pi/Desktop/images/10042025/20/06/image_10042025_20_07_04_9400.jpg', '/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_14_10360.jpg', '/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_25_10441.jpg', '/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_34_9378.jpg', '/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_44_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_06_55_10385.jpg
/home/pi/Desktop/images/10042025/20/06/image_10042025_20_07_04_9400.jpg
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_14_10360.jpg
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_25_10441.jpg
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_34_9378.jpg
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_44_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351325661","1351325792","1351325904","1351325743","1351325982","1351325589"],"photo_ids_order":["1351325589","1351325661","1351325743","1351325792","1351325904","1351325982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c68796f9126f8935c07b02c3c466d22.jpg","text":"TemporaryFile(/tmp/multipartBody3687195156331963575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_07_04_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb9a475470156b115cb31ddc79905075.jpg","text":"TemporaryFile(/tmp/multipartBody6649985960296274936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_07_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4aafacc51599720377cff3c3bd4073fd.jpg","text":"TemporaryFile(/tmp/multipartBody8058067141912541897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_07_34_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbdc9da6c8d18d80da08e1f4a0f0e027.jpg","text":"TemporaryFile(/tmp/multipartBody566258280632110260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_07_14_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb44279a8d495d01e1832f6fee5a7e3a.jpg","text":"TemporaryFile(/tmp/multipartBody810639806346294706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_07_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e1d3d87e25b501c7cda736bd16ec0fb1.jpg","text":"TemporaryFile(/tmp/multipartBody918191124507652678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316493053,"filename":"image_10042025_20_06_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351325743","file1":"1351325661","file0":"1351325589","file4":"1351325904","file5":"1351325982","file3":"1351325792"},"map_files_photo_id_array":[{"photo_id":"1351325982","filename":"file5"},{"photo_id":"1351325743","filename":"file2"},{"photo_id":"1351325904","filename":"file4"},{"photo_id":"1351325661","filename":"file1"},{"photo_id":"1351325589","filename":"file0"},{"photo_id":"1351325792","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351325661":["hashtag1","hashtag2"]},{"1351325792":["hashtag1","hashtag2"]},{"1351325904":["hashtag1","hashtag2"]},{"1351325743":["hashtag1","hashtag2"]},{"1351325982":["hashtag1","hashtag2"]},{"1351325589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351325661, 1351325792, 1351325904, 1351325743, 1351325982, 1351325589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36681628227234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:21:32.945579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_54_9435.jpg', '/home/pi/Desktop/images/10042025/20/07/image_10042025_20_08_04_10367.jpg', '/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_15_10453.jpg', '/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_24_9448.jpg', '/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_35_10504.jpg', '/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_45_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_07_54_9435.jpg
/home/pi/Desktop/images/10042025/20/07/image_10042025_20_08_04_10367.jpg
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_15_10453.jpg
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_24_9448.jpg
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_35_10504.jpg
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_45_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351326467","1351326763","1351326859","1351326703","1351326591","1351326813"],"photo_ids_order":["1351326467","1351326591","1351326703","1351326763","1351326813","1351326859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f6266097490cc8e7680cbdf0a430ad27.jpg","text":"TemporaryFile(/tmp/multipartBody5146350637726691256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_07_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/321cd10221883c4214e31b3408b8a453.jpg","text":"TemporaryFile(/tmp/multipartBody141043438493676480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_08_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/12e3c5e8407fc9ba7b962cb64ad23060.jpg","text":"TemporaryFile(/tmp/multipartBody8063810888323537379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_08_45_9850.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c69493f224a1fb1fb5e4666c86f66a5.jpg","text":"TemporaryFile(/tmp/multipartBody424721451156284974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_08_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4fdc58440257fc355b452636aade73a9.jpg","text":"TemporaryFile(/tmp/multipartBody5789089278268295896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_08_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bd8c8f95dae3461387d1f3db84fe66cf.jpg","text":"TemporaryFile(/tmp/multipartBody9066489298182890597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316553418,"filename":"image_10042025_20_08_35_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351326703","file1":"1351326591","file0":"1351326467","file4":"1351326813","file5":"1351326859","file3":"1351326763"},"map_files_photo_id_array":[{"photo_id":"1351326859","filename":"file5"},{"photo_id":"1351326703","filename":"file2"},{"photo_id":"1351326813","filename":"file4"},{"photo_id":"1351326591","filename":"file1"},{"photo_id":"1351326467","filename":"file0"},{"photo_id":"1351326763","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351326467":["hashtag1","hashtag2"]},{"1351326763":["hashtag1","hashtag2"]},{"1351326859":["hashtag1","hashtag2"]},{"1351326703":["hashtag1","hashtag2"]},{"1351326591":["hashtag1","hashtag2"]},{"1351326813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351326467, 1351326763, 1351326859, 1351326703, 1351326591, 1351326813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.957003116607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:22:33.009864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_54_9482.jpg', '/home/pi/Desktop/images/10042025/20/08/image_10042025_20_09_04_10368.jpg', '/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_14_9614.jpg', '/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_24_10396.jpg', '/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_35_10427.jpg', '/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_08_54_9482.jpg
/home/pi/Desktop/images/10042025/20/08/image_10042025_20_09_04_10368.jpg
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_14_9614.jpg
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_24_10396.jpg
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_35_10427.jpg
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351327529","1351327654","1351327458","1351327602","1351327332","1351327193"],"photo_ids_order":["1351327193","1351327332","1351327458","1351327529","1351327602","1351327654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b198702456e6eed9947fc3fabd1c20cd.jpg","text":"TemporaryFile(/tmp/multipartBody476299760972346165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_09_24_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bf04607d547f5117670e04b46b51e49.jpg","text":"TemporaryFile(/tmp/multipartBody5391041047322567785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_09_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ea3f1d8ccbbb4c1fb904fd88c55c00b.jpg","text":"TemporaryFile(/tmp/multipartBody8653857325391471249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_09_14_9614.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/16c2364aed935ab99e657396d593fef9.jpg","text":"TemporaryFile(/tmp/multipartBody4629243874518717774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_09_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea34151acbba74b77f885f2f90302a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1766155728778089764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_09_04_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9e6e37ea74830e70925ae8d0a0781aec.jpg","text":"TemporaryFile(/tmp/multipartBody6465576760355574539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316613471,"filename":"image_10042025_20_08_54_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351327458","file1":"1351327332","file0":"1351327193","file4":"1351327602","file5":"1351327654","file3":"1351327529"},"map_files_photo_id_array":[{"photo_id":"1351327654","filename":"file5"},{"photo_id":"1351327458","filename":"file2"},{"photo_id":"1351327602","filename":"file4"},{"photo_id":"1351327332","filename":"file1"},{"photo_id":"1351327193","filename":"file0"},{"photo_id":"1351327529","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351327529":["hashtag1","hashtag2"]},{"1351327654":["hashtag1","hashtag2"]},{"1351327458":["hashtag1","hashtag2"]},{"1351327602":["hashtag1","hashtag2"]},{"1351327332":["hashtag1","hashtag2"]},{"1351327193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351327529, 1351327654, 1351327458, 1351327602, 1351327332, 1351327193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.778454303741455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:23:32.353590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_55_10451.jpg', '/home/pi/Desktop/images/10042025/20/09/image_10042025_20_10_04_9353.jpg', '/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_14_10377.jpg', '/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_34_9349.jpg', '/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_54_9446.jpg', '/home/pi/Desktop/images/10042025/20/10/image_10042025_20_11_04_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_09_55_10451.jpg
/home/pi/Desktop/images/10042025/20/09/image_10042025_20_10_04_9353.jpg
/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_14_10377.jpg
/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_34_9349.jpg
/home/pi/Desktop/images/10042025/20/10/image_10042025_20_10_54_9446.jpg
/home/pi/Desktop/images/10042025/20/10/image_10042025_20_11_04_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351328176","1351327972","1351328094","1351328310","1351328028","1351328240"],"photo_ids_order":["1351327972","1351328028","1351328094","1351328176","1351328240","1351328310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8133be97d03f987421947152321020f5.jpg","text":"TemporaryFile(/tmp/multipartBody3013577166830322829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_10_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14b7cd917a532f3ca420cd175752ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody8132438379983550229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_09_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a39b9cc6d97a9d791751eb3d9c80243.jpg","text":"TemporaryFile(/tmp/multipartBody2375230242189038184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_10_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e1e379c3408503c2bdf5d8646e9084b.jpg","text":"TemporaryFile(/tmp/multipartBody3871427191237025840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_11_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f69cfe3606c5fc10aa4732bfc77500d.jpg","text":"TemporaryFile(/tmp/multipartBody1344437158612310167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_10_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd9d5701ff671ccca4716905d2f700d2.jpg","text":"TemporaryFile(/tmp/multipartBody1169096193377011813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316672814,"filename":"image_10042025_20_10_54_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351328094","file1":"1351328028","file0":"1351327972","file4":"1351328240","file5":"1351328310","file3":"1351328176"},"map_files_photo_id_array":[{"photo_id":"1351328310","filename":"file5"},{"photo_id":"1351328094","filename":"file2"},{"photo_id":"1351328240","filename":"file4"},{"photo_id":"1351328028","filename":"file1"},{"photo_id":"1351327972","filename":"file0"},{"photo_id":"1351328176","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351328176":["hashtag1","hashtag2"]},{"1351327972":["hashtag1","hashtag2"]},{"1351328094":["hashtag1","hashtag2"]},{"1351328310":["hashtag1","hashtag2"]},{"1351328028":["hashtag1","hashtag2"]},{"1351328240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351328176, 1351327972, 1351328094, 1351328310, 1351328028, 1351328240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58151626586914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:24:32.589363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_15_10407.jpg', '/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_24_9441.jpg', '/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_34_10351.jpg', '/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_44_9413.jpg', '/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_54_10353.jpg', '/home/pi/Desktop/images/10042025/20/11/image_10042025_20_12_05_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_15_10407.jpg
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_24_9441.jpg
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_34_10351.jpg
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_44_9413.jpg
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_11_54_10353.jpg
/home/pi/Desktop/images/10042025/20/11/image_10042025_20_12_05_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351329168","1351328830","1351328895","1351329092","1351329035","1351328972"],"photo_ids_order":["1351328830","1351328895","1351328972","1351329035","1351329092","1351329168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ee3f1908c04621c061927904fa58923.jpg","text":"TemporaryFile(/tmp/multipartBody385441199162595646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_12_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dd3185b5b719c372f6260fdf1d4f2f7.jpg","text":"TemporaryFile(/tmp/multipartBody630020045824631040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_11_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f23c7dd24d409d52844c11b3a757cb38.jpg","text":"TemporaryFile(/tmp/multipartBody5057172670106279768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_11_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0102170b245573ae79af1370aa204ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4586323116250886850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_11_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7b9f6473361a5763e5ad19e5c10767c2.jpg","text":"TemporaryFile(/tmp/multipartBody8800337553756230985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_11_44_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/713bc3f302c63520ccb2c50502c25d30.jpg","text":"TemporaryFile(/tmp/multipartBody9015746494720849912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316733062,"filename":"image_10042025_20_11_34_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351328972","file1":"1351328895","file0":"1351328830","file4":"1351329092","file5":"1351329168","file3":"1351329035"},"map_files_photo_id_array":[{"photo_id":"1351329168","filename":"file5"},{"photo_id":"1351328972","filename":"file2"},{"photo_id":"1351329092","filename":"file4"},{"photo_id":"1351328895","filename":"file1"},{"photo_id":"1351328830","filename":"file0"},{"photo_id":"1351329035","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351329168":["hashtag1","hashtag2"]},{"1351328830":["hashtag1","hashtag2"]},{"1351328895":["hashtag1","hashtag2"]},{"1351329092":["hashtag1","hashtag2"]},{"1351329035":["hashtag1","hashtag2"]},{"1351328972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351329168, 1351328830, 1351328895, 1351329092, 1351329035, 1351328972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.220125913619995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:25:32.866088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_14_9438.jpg', '/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_24_10363.jpg', '/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_34_9439.jpg', '/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_44_10477.jpg', '/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_55_10384.jpg', '/home/pi/Desktop/images/10042025/20/12/image_10042025_20_13_04_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_14_9438.jpg
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_24_10363.jpg
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_34_9439.jpg
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_44_10477.jpg
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_12_55_10384.jpg
/home/pi/Desktop/images/10042025/20/12/image_10042025_20_13_04_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351329727","1351330047","1351329995","1351329791","1351329902","1351330121"],"photo_ids_order":["1351329727","1351329791","1351329902","1351329995","1351330047","1351330121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1014238846a0cd33c5274db78cb260b5.jpg","text":"TemporaryFile(/tmp/multipartBody6070154685770200741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_12_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5205fa672c1514e25e9afdf142e38736.jpg","text":"TemporaryFile(/tmp/multipartBody8541538018810088920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_12_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9394904f9c69c455b79f97be77d1ebc8.jpg","text":"TemporaryFile(/tmp/multipartBody8350097245656863578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_12_44_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78f22c062c935e8a58d47c4d626ac417.jpg","text":"TemporaryFile(/tmp/multipartBody6105357401964914307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_12_24_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/649877e1616aa06fe3a8204f01190fef.jpg","text":"TemporaryFile(/tmp/multipartBody2547523653157600930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_12_34_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5fbbd94805c9ca4c5466a7ef2471b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6114620748261381749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316793329,"filename":"image_10042025_20_13_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351329902","file1":"1351329791","file0":"1351329727","file4":"1351330047","file5":"1351330121","file3":"1351329995"},"map_files_photo_id_array":[{"photo_id":"1351330121","filename":"file5"},{"photo_id":"1351329902","filename":"file2"},{"photo_id":"1351330047","filename":"file4"},{"photo_id":"1351329791","filename":"file1"},{"photo_id":"1351329727","filename":"file0"},{"photo_id":"1351329995","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351329727":["hashtag1","hashtag2"]},{"1351330047":["hashtag1","hashtag2"]},{"1351329995":["hashtag1","hashtag2"]},{"1351329791":["hashtag1","hashtag2"]},{"1351329902":["hashtag1","hashtag2"]},{"1351330121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351329727, 1351330047, 1351329995, 1351329791, 1351329902, 1351330121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29960584640503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:26:32.954448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_14_10344.jpg', '/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_25_10370.jpg', '/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_45_10407.jpg', '/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_54_9416.jpg', '/home/pi/Desktop/images/10042025/20/13/image_10042025_20_14_04_10370.jpg', '/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_14_10344.jpg
/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_25_10370.jpg
/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_45_10407.jpg
/home/pi/Desktop/images/10042025/20/13/image_10042025_20_13_54_9416.jpg
/home/pi/Desktop/images/10042025/20/13/image_10042025_20_14_04_10370.jpg
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351330975","1351331040","1351331016","1351330833","1351330920","1351330803"],"photo_ids_order":["1351330803","1351330833","1351330920","1351330975","1351331016","1351331040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f585bba2a8a35801162941cca589546.jpg","text":"TemporaryFile(/tmp/multipartBody7285518274759700933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_13_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/078cc0e628b7aad029112f22b1f164b5.jpg","text":"TemporaryFile(/tmp/multipartBody3064351256381075381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_14_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d270a262af4f640bf092306bb128b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8545308757636591284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_14_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0a7bf3d29504d25bd9c4e0b731f1700.jpg","text":"TemporaryFile(/tmp/multipartBody2865477230267785229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_13_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07721fba3eb9a544b8e097b05c3a5111.jpg","text":"TemporaryFile(/tmp/multipartBody8861223586553185953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_13_45_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b89379fb23719a9530bd893b8af298c.jpg","text":"TemporaryFile(/tmp/multipartBody4590603720072379398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316853417,"filename":"image_10042025_20_13_14_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351330920","file1":"1351330833","file0":"1351330803","file4":"1351331016","file5":"1351331040","file3":"1351330975"},"map_files_photo_id_array":[{"photo_id":"1351331040","filename":"file5"},{"photo_id":"1351330920","filename":"file2"},{"photo_id":"1351331016","filename":"file4"},{"photo_id":"1351330833","filename":"file1"},{"photo_id":"1351330803","filename":"file0"},{"photo_id":"1351330975","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351330975":["hashtag1","hashtag2"]},{"1351331040":["hashtag1","hashtag2"]},{"1351331016":["hashtag1","hashtag2"]},{"1351330833":["hashtag1","hashtag2"]},{"1351330920":["hashtag1","hashtag2"]},{"1351330803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351330975, 1351331040, 1351331016, 1351330833, 1351330920, 1351330803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85472083091736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:27:33.097703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_24_9382.jpg', '/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_35_10371.jpg', '/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_44_9476.jpg', '/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_54_10361.jpg', '/home/pi/Desktop/images/10042025/20/14/image_10042025_20_15_05_10403.jpg', '/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_14_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_24_9382.jpg
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_35_10371.jpg
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_44_9476.jpg
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_14_54_10361.jpg
/home/pi/Desktop/images/10042025/20/14/image_10042025_20_15_05_10403.jpg
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_14_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351331446","1351331428","1351331373","1351331442","1351331417","1351331324"],"photo_ids_order":["1351331324","1351331373","1351331417","1351331428","1351331442","1351331446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a038521f58c03869c125a538224b76d1.jpg","text":"TemporaryFile(/tmp/multipartBody6861480968210589730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_15_14_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4548a25f9760b2949a9d029f01b35eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3034715262438189083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_14_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/244cd627d3e172becb82893ba2b43ca5.jpg","text":"TemporaryFile(/tmp/multipartBody331996993715694041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_14_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77141fdc9d0022ea37deb32fdf2109f7.jpg","text":"TemporaryFile(/tmp/multipartBody5287609398142189853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_15_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5cc106d8a440cea90ff1b29da38bbc6.jpg","text":"TemporaryFile(/tmp/multipartBody5992995759532016956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_14_44_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2fcee57bb7dcbfc33031d8f263f069aa.jpg","text":"TemporaryFile(/tmp/multipartBody2271373078609770225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316913560,"filename":"image_10042025_20_14_24_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351331417","file1":"1351331373","file0":"1351331324","file4":"1351331442","file5":"1351331446","file3":"1351331428"},"map_files_photo_id_array":[{"photo_id":"1351331446","filename":"file5"},{"photo_id":"1351331417","filename":"file2"},{"photo_id":"1351331442","filename":"file4"},{"photo_id":"1351331373","filename":"file1"},{"photo_id":"1351331324","filename":"file0"},{"photo_id":"1351331428","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351331446":["hashtag1","hashtag2"]},{"1351331428":["hashtag1","hashtag2"]},{"1351331373":["hashtag1","hashtag2"]},{"1351331442":["hashtag1","hashtag2"]},{"1351331417":["hashtag1","hashtag2"]},{"1351331324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351331446, 1351331428, 1351331373, 1351331442, 1351331417, 1351331324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.323734760284424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:28:32.192498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_25_10377.jpg', '/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_34_9392.jpg', '/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_44_10382.jpg', '/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_55_10406.jpg', '/home/pi/Desktop/images/10042025/20/15/image_10042025_20_16_04_9369.jpg', '/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_15_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_25_10377.jpg
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_34_9392.jpg
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_44_10382.jpg
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_15_55_10406.jpg
/home/pi/Desktop/images/10042025/20/15/image_10042025_20_16_04_9369.jpg
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_15_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351331859","1351331751","1351331771","1351331855","1351331840","1351331810"],"photo_ids_order":["1351331751","1351331771","1351331810","1351331840","1351331855","1351331859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89b4bf16ade5a12d611b49e71952c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6424256723783362782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_16_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/34107393334fdb6b5289b64d923e8595.jpg","text":"TemporaryFile(/tmp/multipartBody2607563730558373854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_15_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1498cff7ab2a52f53d5e929d5613c561.jpg","text":"TemporaryFile(/tmp/multipartBody1455886207193956458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_15_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54747bba6af2c570d5c86e48538acd4b.jpg","text":"TemporaryFile(/tmp/multipartBody5963733350525884523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_16_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b7dda4a0adb3ba35662ddba6bed844eb.jpg","text":"TemporaryFile(/tmp/multipartBody2698733198902938032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_15_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bcb4d41ee2346b2b095b4b18be7fc39.jpg","text":"TemporaryFile(/tmp/multipartBody87735852309513272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744316972651,"filename":"image_10042025_20_15_44_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351331810","file1":"1351331771","file0":"1351331751","file4":"1351331855","file5":"1351331859","file3":"1351331840"},"map_files_photo_id_array":[{"photo_id":"1351331859","filename":"file5"},{"photo_id":"1351331810","filename":"file2"},{"photo_id":"1351331855","filename":"file4"},{"photo_id":"1351331771","filename":"file1"},{"photo_id":"1351331751","filename":"file0"},{"photo_id":"1351331840","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351331859":["hashtag1","hashtag2"]},{"1351331751":["hashtag1","hashtag2"]},{"1351331771":["hashtag1","hashtag2"]},{"1351331855":["hashtag1","hashtag2"]},{"1351331840":["hashtag1","hashtag2"]},{"1351331810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351331859, 1351331751, 1351331771, 1351331855, 1351331840, 1351331810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.667182207107544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:29:32.606077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_24_9366.jpg', '/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_34_10374.jpg', '/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_45_10410.jpg', '/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_54_9353.jpg', '/home/pi/Desktop/images/10042025/20/16/image_10042025_20_17_04_10374.jpg', '/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_15_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_24_9366.jpg
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_34_10374.jpg
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_45_10410.jpg
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_16_54_9353.jpg
/home/pi/Desktop/images/10042025/20/16/image_10042025_20_17_04_10374.jpg
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_15_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351332384","1351332195","1351332225","1351332422","1351332151","1351332331"],"photo_ids_order":["1351332151","1351332195","1351332225","1351332331","1351332384","1351332422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5449455a5c9aed7ed5ddc5b3686e3ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3210948885915797410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_17_04_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/234db1981608286977216886ed43aca3.jpg","text":"TemporaryFile(/tmp/multipartBody3012590847935395795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_16_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c912d0af1604f54fd887c423a1701262.jpg","text":"TemporaryFile(/tmp/multipartBody7165529731858037882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_16_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff10f299a8cf61d1b33cc0cdcf8f7b55.jpg","text":"TemporaryFile(/tmp/multipartBody6829605673560843991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_17_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc76f64237043746c9a54af2d0fbe9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4778262298710748736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_16_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf299c75f5e9adcde2e0a95d0b7be087.jpg","text":"TemporaryFile(/tmp/multipartBody5273131083913828060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317033076,"filename":"image_10042025_20_16_54_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351332225","file1":"1351332195","file0":"1351332151","file4":"1351332384","file5":"1351332422","file3":"1351332331"},"map_files_photo_id_array":[{"photo_id":"1351332422","filename":"file5"},{"photo_id":"1351332225","filename":"file2"},{"photo_id":"1351332384","filename":"file4"},{"photo_id":"1351332195","filename":"file1"},{"photo_id":"1351332151","filename":"file0"},{"photo_id":"1351332331","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351332384":["hashtag1","hashtag2"]},{"1351332195":["hashtag1","hashtag2"]},{"1351332225":["hashtag1","hashtag2"]},{"1351332422":["hashtag1","hashtag2"]},{"1351332151":["hashtag1","hashtag2"]},{"1351332331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351332384, 1351332195, 1351332225, 1351332422, 1351332151, 1351332331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59656286239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:30:32.695085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_24_9356.jpg', '/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_35_10482.jpg', '/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_44_9355.jpg', '/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_54_10357.jpg', '/home/pi/Desktop/images/10042025/20/17/image_10042025_20_18_05_10364.jpg', '/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_14_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_24_9356.jpg
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_35_10482.jpg
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_44_9355.jpg
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_17_54_10357.jpg
/home/pi/Desktop/images/10042025/20/17/image_10042025_20_18_05_10364.jpg
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_14_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351332795","1351332734","1351332895","1351332766","1351332673","1351332847"],"photo_ids_order":["1351332673","1351332734","1351332766","1351332795","1351332847","1351332895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8f0668a3d7fba970571ee97ff54585f6.jpg","text":"TemporaryFile(/tmp/multipartBody2585976894608731513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_17_54_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c07a83a3b15f2027258b8118e2d5dfc3.jpg","text":"TemporaryFile(/tmp/multipartBody927808612098969065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_17_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca7e89be74f6af1dffa1d23d3288cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody4361935249685721548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_18_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54fc890ecc5065775c38f3768032bd10.jpg","text":"TemporaryFile(/tmp/multipartBody3134193103421722827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_17_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b760013d3bbc6897be3b999c83516a9.jpg","text":"TemporaryFile(/tmp/multipartBody5233411135883402858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_17_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d09784fb75b1a60f3414e2028b4180b7.jpg","text":"TemporaryFile(/tmp/multipartBody3950715104311242370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317093158,"filename":"image_10042025_20_18_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351332766","file1":"1351332734","file0":"1351332673","file4":"1351332847","file5":"1351332895","file3":"1351332795"},"map_files_photo_id_array":[{"photo_id":"1351332895","filename":"file5"},{"photo_id":"1351332766","filename":"file2"},{"photo_id":"1351332847","filename":"file4"},{"photo_id":"1351332734","filename":"file1"},{"photo_id":"1351332673","filename":"file0"},{"photo_id":"1351332795","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351332795":["hashtag1","hashtag2"]},{"1351332734":["hashtag1","hashtag2"]},{"1351332895":["hashtag1","hashtag2"]},{"1351332766":["hashtag1","hashtag2"]},{"1351332673":["hashtag1","hashtag2"]},{"1351332847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351332795, 1351332734, 1351332895, 1351332766, 1351332673, 1351332847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54133200645447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:31:32.942240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_25_10440.jpg', '/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_34_9407.jpg', '/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_44_10433.jpg', '/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_55_10389.jpg', '/home/pi/Desktop/images/10042025/20/18/image_10042025_20_19_04_9375.jpg', '/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_15_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_25_10440.jpg
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_34_9407.jpg
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_44_10433.jpg
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_18_55_10389.jpg
/home/pi/Desktop/images/10042025/20/18/image_10042025_20_19_04_9375.jpg
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_15_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351333200","1351333451","1351333351","1351333273","1351333318","1351333422"],"photo_ids_order":["1351333200","1351333273","1351333318","1351333351","1351333422","1351333451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3183951b29e843d0277a05f9e7a96560.jpg","text":"TemporaryFile(/tmp/multipartBody4136034124761005379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_18_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2ed20fd57b6cb411f537bd3ccb3a80f.jpg","text":"TemporaryFile(/tmp/multipartBody8058662154548186528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_19_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2c97387731656203374ee20edae061a6.jpg","text":"TemporaryFile(/tmp/multipartBody3259720925542477699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_18_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a167cab94aa011ca5bbe21f219016873.jpg","text":"TemporaryFile(/tmp/multipartBody8856971673888541747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_18_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/36c05dd1f359dd9043197d3927b854f6.jpg","text":"TemporaryFile(/tmp/multipartBody4673160559113364031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_18_44_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62fd77a0c04e651d5e2c7dc49c15f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody168888539638970970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317153408,"filename":"image_10042025_20_19_04_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351333318","file1":"1351333273","file0":"1351333200","file4":"1351333422","file5":"1351333451","file3":"1351333351"},"map_files_photo_id_array":[{"photo_id":"1351333451","filename":"file5"},{"photo_id":"1351333318","filename":"file2"},{"photo_id":"1351333422","filename":"file4"},{"photo_id":"1351333273","filename":"file1"},{"photo_id":"1351333200","filename":"file0"},{"photo_id":"1351333351","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351333200":["hashtag1","hashtag2"]},{"1351333451":["hashtag1","hashtag2"]},{"1351333351":["hashtag1","hashtag2"]},{"1351333273":["hashtag1","hashtag2"]},{"1351333318":["hashtag1","hashtag2"]},{"1351333422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351333200, 1351333451, 1351333351, 1351333273, 1351333318, 1351333422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53028893470764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:32:32.188063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_24_9423.jpg', '/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_34_10363.jpg', '/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_45_10409.jpg', '/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_54_9361.jpg', '/home/pi/Desktop/images/10042025/20/19/image_10042025_20_20_04_10369.jpg', '/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_14_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_24_9423.jpg
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_34_10363.jpg
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_45_10409.jpg
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_19_54_9361.jpg
/home/pi/Desktop/images/10042025/20/19/image_10042025_20_20_04_10369.jpg
/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_14_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351334030","1351333870","1351333817","1351334056","1351333948","1351333909"],"photo_ids_order":["1351333817","1351333870","1351333909","1351333948","1351334030","1351334056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0387df586887c306e36ca52df209db23.jpg","text":"TemporaryFile(/tmp/multipartBody3549101503987146994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_20_04_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d07cb9f9060cde202b7ddd6bc4d72e27.jpg","text":"TemporaryFile(/tmp/multipartBody1120169809509082371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_19_34_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/865d9bd9c5fd6df540868b36ab3c07f4.jpg","text":"TemporaryFile(/tmp/multipartBody4903165784393295229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_19_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/481eba3c5559b013a18c19fbaedc9cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4916725113905914564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_20_14_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dfbef7f68fa070e529c0b617f14efa00.jpg","text":"TemporaryFile(/tmp/multipartBody6811756361425943475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_19_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e7841455051e0d639567ef7f52f28dd.jpg","text":"TemporaryFile(/tmp/multipartBody6698581561169107296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317212655,"filename":"image_10042025_20_19_45_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351333909","file1":"1351333870","file0":"1351333817","file4":"1351334030","file5":"1351334056","file3":"1351333948"},"map_files_photo_id_array":[{"photo_id":"1351334056","filename":"file5"},{"photo_id":"1351333909","filename":"file2"},{"photo_id":"1351334030","filename":"file4"},{"photo_id":"1351333870","filename":"file1"},{"photo_id":"1351333817","filename":"file0"},{"photo_id":"1351333948","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351334030":["hashtag1","hashtag2"]},{"1351333870":["hashtag1","hashtag2"]},{"1351333817":["hashtag1","hashtag2"]},{"1351334056":["hashtag1","hashtag2"]},{"1351333948":["hashtag1","hashtag2"]},{"1351333909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351334030, 1351333870, 1351333817, 1351334056, 1351333948, 1351333909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.350605964660645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:33:32.384919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_25_10704.jpg', '/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_34_9426.jpg', '/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_44_10375.jpg', '/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_55_10384.jpg', '/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_34_9373.jpg', '/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_45_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_25_10704.jpg
/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_34_9426.jpg
/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_44_10375.jpg
/home/pi/Desktop/images/10042025/20/20/image_10042025_20_20_55_10384.jpg
/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_34_9373.jpg
/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351334561","1351334642","1351334443","1351334391","1351334487","1351334346"],"photo_ids_order":["1351334346","1351334391","1351334443","1351334487","1351334561","1351334642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a5a3460e90661d64e61d33c6cfd1431.jpg","text":"TemporaryFile(/tmp/multipartBody3796982217067096985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_21_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c21ae624ed60e0605403639bef3dbf31.jpg","text":"TemporaryFile(/tmp/multipartBody4485693144277819651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_21_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7da6e3ce001aa9a6740f69075b7c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3645948344911186770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_20_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74f8465f55d47363b06fb0bee3508938.jpg","text":"TemporaryFile(/tmp/multipartBody1269233695646955044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_20_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79649e6c06e5cce4bc2db0e49d60bb92.jpg","text":"TemporaryFile(/tmp/multipartBody1862462330396548502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_20_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8702cbb2fa09bd5b4f0bbb311457705a.jpg","text":"TemporaryFile(/tmp/multipartBody6200703125413218633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317272874,"filename":"image_10042025_20_20_25_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351334443","file1":"1351334391","file0":"1351334346","file4":"1351334561","file5":"1351334642","file3":"1351334487"},"map_files_photo_id_array":[{"photo_id":"1351334642","filename":"file5"},{"photo_id":"1351334443","filename":"file2"},{"photo_id":"1351334561","filename":"file4"},{"photo_id":"1351334391","filename":"file1"},{"photo_id":"1351334346","filename":"file0"},{"photo_id":"1351334487","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351334561":["hashtag1","hashtag2"]},{"1351334642":["hashtag1","hashtag2"]},{"1351334443":["hashtag1","hashtag2"]},{"1351334391":["hashtag1","hashtag2"]},{"1351334487":["hashtag1","hashtag2"]},{"1351334346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351334561, 1351334642, 1351334443, 1351334391, 1351334487, 1351334346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31596851348877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:34:32.649202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_54_9366.jpg', '/home/pi/Desktop/images/10042025/20/21/image_10042025_20_22_04_10446.jpg', '/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_14_9452.jpg', '/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_24_10432.jpg', '/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_35_10471.jpg', '/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/21/image_10042025_20_21_54_9366.jpg
/home/pi/Desktop/images/10042025/20/21/image_10042025_20_22_04_10446.jpg
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_14_9452.jpg
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_24_10432.jpg
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_35_10471.jpg
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351334975","1351335334","1351334980","1351335537","1351335018","1351335095"],"photo_ids_order":["1351334975","1351334980","1351335018","1351335095","1351335334","1351335537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/128f9efa78f1a1dc6b5b75699a8bdebf.jpg","text":"TemporaryFile(/tmp/multipartBody4954080126189470518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_21_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ac2ac0d1f7e6e795b42d21f08d44c32.jpg","text":"TemporaryFile(/tmp/multipartBody416625287994658044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_22_35_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/50e5b3266d843739957c91c44f5be9af.jpg","text":"TemporaryFile(/tmp/multipartBody1303920199805753211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_22_04_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/93b0d424a9ad1c0e7e1d6e6dc1f38d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1547320997358641106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_22_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14cf6c93e6ff315e8d1bbce5855de0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4288299393459937338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_22_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/327fda8f4e3f961562e424c057b5cc74.jpg","text":"TemporaryFile(/tmp/multipartBody5824824499046131580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317333117,"filename":"image_10042025_20_22_24_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351335018","file1":"1351334980","file0":"1351334975","file4":"1351335334","file5":"1351335537","file3":"1351335095"},"map_files_photo_id_array":[{"photo_id":"1351335537","filename":"file5"},{"photo_id":"1351335018","filename":"file2"},{"photo_id":"1351335334","filename":"file4"},{"photo_id":"1351334980","filename":"file1"},{"photo_id":"1351334975","filename":"file0"},{"photo_id":"1351335095","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351334975":["hashtag1","hashtag2"]},{"1351335334":["hashtag1","hashtag2"]},{"1351334980":["hashtag1","hashtag2"]},{"1351335537":["hashtag1","hashtag2"]},{"1351335018":["hashtag1","hashtag2"]},{"1351335095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351334975, 1351335334, 1351334980, 1351335537, 1351335018, 1351335095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433327198028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:35:32.857729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_55_10424.jpg', '/home/pi/Desktop/images/10042025/20/22/image_10042025_20_23_04_9456.jpg', '/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_14_10345.jpg', '/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_24_9458.jpg', '/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_34_10362.jpg', '/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_45_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_22_55_10424.jpg
/home/pi/Desktop/images/10042025/20/22/image_10042025_20_23_04_9456.jpg
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_14_10345.jpg
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_24_9458.jpg
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_34_10362.jpg
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351336187","1351336055","1351336130","1351335983","1351335965","1351335923"],"photo_ids_order":["1351335923","1351335965","1351335983","1351336055","1351336130","1351336187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aca7a7af76d54b24445e4874cbf42ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2300780869179624784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_23_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/78ef43fe36ce953a4643155b3b714eda.jpg","text":"TemporaryFile(/tmp/multipartBody130336982926787228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_23_24_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2e343f25070a4e5a0a4f3e062668e59.jpg","text":"TemporaryFile(/tmp/multipartBody3278783982596430661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_23_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c8c265382a361e69fef9b4c1957eee1f.jpg","text":"TemporaryFile(/tmp/multipartBody6780549940300307634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_23_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2a35751545bfa4c1237e62d7bd62a60.jpg","text":"TemporaryFile(/tmp/multipartBody8105588088531022868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_23_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d28d463a47669620e33fe7b80397fce1.jpg","text":"TemporaryFile(/tmp/multipartBody5266629191852030086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317393320,"filename":"image_10042025_20_22_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351335983","file1":"1351335965","file0":"1351335923","file4":"1351336130","file5":"1351336187","file3":"1351336055"},"map_files_photo_id_array":[{"photo_id":"1351336187","filename":"file5"},{"photo_id":"1351335983","filename":"file2"},{"photo_id":"1351336130","filename":"file4"},{"photo_id":"1351335965","filename":"file1"},{"photo_id":"1351335923","filename":"file0"},{"photo_id":"1351336055","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351336187":["hashtag1","hashtag2"]},{"1351336055":["hashtag1","hashtag2"]},{"1351336130":["hashtag1","hashtag2"]},{"1351335983":["hashtag1","hashtag2"]},{"1351335965":["hashtag1","hashtag2"]},{"1351335923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351336187, 1351336055, 1351336130, 1351335983, 1351335965, 1351335923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.983798027038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:36:33.140242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_54_9367.jpg', '/home/pi/Desktop/images/10042025/20/23/image_10042025_20_24_04_10359.jpg', '/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_15_10453.jpg', '/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_24_9384.jpg', '/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_35_10412.jpg', '/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_44_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_23_54_9367.jpg
/home/pi/Desktop/images/10042025/20/23/image_10042025_20_24_04_10359.jpg
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_15_10453.jpg
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_24_9384.jpg
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_35_10412.jpg
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_44_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351337305","1351336780","1351337175","1351336995","1351337084","1351337258"],"photo_ids_order":["1351336780","1351336995","1351337084","1351337175","1351337258","1351337305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1394ceda584dd70931b4e77fcb35d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7080194334701201203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_24_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76a01177fb9f7785238bdaf0898549ca.jpg","text":"TemporaryFile(/tmp/multipartBody7746451556056632965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_23_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cd5926158922e637bb34d5b086d5abe2.jpg","text":"TemporaryFile(/tmp/multipartBody7589599376945074288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_24_24_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/789bfbafa3a412da27f74f6c33287f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6856394627606447043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_24_04_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d6946154c9e76d0e1e883b0743faa2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1877197554622489072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_24_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/196127ee9b5142e227e6788b1862ef3d.jpg","text":"TemporaryFile(/tmp/multipartBody568569690954962671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317453608,"filename":"image_10042025_20_24_35_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351337084","file1":"1351336995","file0":"1351336780","file4":"1351337258","file5":"1351337305","file3":"1351337175"},"map_files_photo_id_array":[{"photo_id":"1351337305","filename":"file5"},{"photo_id":"1351337084","filename":"file2"},{"photo_id":"1351337258","filename":"file4"},{"photo_id":"1351336995","filename":"file1"},{"photo_id":"1351336780","filename":"file0"},{"photo_id":"1351337175","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351337305":["hashtag1","hashtag2"]},{"1351336780":["hashtag1","hashtag2"]},{"1351337175":["hashtag1","hashtag2"]},{"1351336995":["hashtag1","hashtag2"]},{"1351337084":["hashtag1","hashtag2"]},{"1351337258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351337305, 1351336780, 1351337175, 1351336995, 1351337084, 1351337258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21041798591614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:37:32.253535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_54_10350.jpg', '/home/pi/Desktop/images/10042025/20/24/image_10042025_20_25_05_10472.jpg', '/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_25_10463.jpg', '/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_34_9377.jpg', '/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_44_10374.jpg', '/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_24_54_10350.jpg
/home/pi/Desktop/images/10042025/20/24/image_10042025_20_25_05_10472.jpg
/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_25_10463.jpg
/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_34_9377.jpg
/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_44_10374.jpg
/home/pi/Desktop/images/10042025/20/25/image_10042025_20_25_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351337790","1351337716","1351337765","1351337654","1351337702","1351337674"],"photo_ids_order":["1351337654","1351337674","1351337702","1351337716","1351337765","1351337790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c35905816bc2f9a549e8769c1815aa7b.jpg","text":"TemporaryFile(/tmp/multipartBody2132913225984588498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_25_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7aebaf6fdb147418fda955f6f71821df.jpg","text":"TemporaryFile(/tmp/multipartBody5024469609171307527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_25_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dd81f86d69692ea3f2cd924b1f9970fc.jpg","text":"TemporaryFile(/tmp/multipartBody6842296850996855856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_25_44_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9cd9adfaf77c6b7ba51e2c17de44b8cc.jpg","text":"TemporaryFile(/tmp/multipartBody2766989021630369405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_24_54_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aadd4c32a4abd36abbd8be854d9700fb.jpg","text":"TemporaryFile(/tmp/multipartBody3272609079814954726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_25_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1a8f115abe68cd658188bf48c52ff3d4.jpg","text":"TemporaryFile(/tmp/multipartBody1051838619474604957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317512746,"filename":"image_10042025_20_25_05_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351337702","file1":"1351337674","file0":"1351337654","file4":"1351337765","file5":"1351337790","file3":"1351337716"},"map_files_photo_id_array":[{"photo_id":"1351337790","filename":"file5"},{"photo_id":"1351337702","filename":"file2"},{"photo_id":"1351337765","filename":"file4"},{"photo_id":"1351337674","filename":"file1"},{"photo_id":"1351337654","filename":"file0"},{"photo_id":"1351337716","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351337790":["hashtag1","hashtag2"]},{"1351337716":["hashtag1","hashtag2"]},{"1351337765":["hashtag1","hashtag2"]},{"1351337654":["hashtag1","hashtag2"]},{"1351337702":["hashtag1","hashtag2"]},{"1351337674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351337790, 1351337716, 1351337765, 1351337654, 1351337702, 1351337674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27685070037842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:38:32.539545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/25/image_10042025_20_26_04_9366.jpg', '/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_15_10352.jpg', '/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_24_9396.jpg', '/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_34_10371.jpg', '/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_45_10411.jpg', '/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_54_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/25/image_10042025_20_26_04_9366.jpg
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_15_10352.jpg
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_24_9396.jpg
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_34_10371.jpg
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_45_10411.jpg
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_26_54_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351338303","1351338458","1351338394","1351338107","1351338193","1351338505"],"photo_ids_order":["1351338107","1351338193","1351338303","1351338394","1351338458","1351338505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0b6e81acfaf37968b0b3949f80ef65a5.jpg","text":"TemporaryFile(/tmp/multipartBody1959881813750676173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_24_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07f5e94fff5eadbf1fec457a470411b7.jpg","text":"TemporaryFile(/tmp/multipartBody6640855567248423956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89f91fc5eab50257121c178ddb01effe.jpg","text":"TemporaryFile(/tmp/multipartBody9124123178005796457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88d25bf89f5dea969993a20dac042cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3438628027291591029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69b3c8b70ed0d64b4de346b4df3f248e.jpg","text":"TemporaryFile(/tmp/multipartBody7314365244637232581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44f33f356955c7149860fbba4e9b6958.jpg","text":"TemporaryFile(/tmp/multipartBody1815038875504243855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317573005,"filename":"image_10042025_20_26_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351338303","file1":"1351338193","file0":"1351338107","file4":"1351338458","file5":"1351338505","file3":"1351338394"},"map_files_photo_id_array":[{"photo_id":"1351338505","filename":"file5"},{"photo_id":"1351338303","filename":"file2"},{"photo_id":"1351338458","filename":"file4"},{"photo_id":"1351338193","filename":"file1"},{"photo_id":"1351338107","filename":"file0"},{"photo_id":"1351338394","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351338303":["hashtag1","hashtag2"]},{"1351338458":["hashtag1","hashtag2"]},{"1351338394":["hashtag1","hashtag2"]},{"1351338107":["hashtag1","hashtag2"]},{"1351338193":["hashtag1","hashtag2"]},{"1351338505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351338303, 1351338458, 1351338394, 1351338107, 1351338193, 1351338505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9795343875885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:39:32.763052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/26/image_10042025_20_27_04_10422.jpg', '/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_15_10353.jpg', '/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_24_9453.jpg', '/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_35_10386.jpg', '/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_44_9361.jpg', '/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_54_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/26/image_10042025_20_27_04_10422.jpg
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_15_10353.jpg
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_24_9453.jpg
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_35_10386.jpg
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_44_9361.jpg
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_27_54_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351339206","1351339454","1351339136","1351339442","1351339304","1351339072"],"photo_ids_order":["1351339072","1351339136","1351339206","1351339304","1351339442","1351339454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e7fd350cda7001ef7d0468e96f73ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5617714522741115241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_24_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d396b8369f4b075b8720eeaa91799a2e.jpg","text":"TemporaryFile(/tmp/multipartBody9210831529972024496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1df5a600503bc67016bf26832976cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody4111556341643370923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe25905bc6a5905d9772eea81bd9bca5.jpg","text":"TemporaryFile(/tmp/multipartBody6361467971523958536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/992f1096fc0547e6d2be0a92f637d5da.jpg","text":"TemporaryFile(/tmp/multipartBody6206938638025020652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/487c1b5600234423bb54edf3f8a58544.jpg","text":"TemporaryFile(/tmp/multipartBody2138579946781646419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317633241,"filename":"image_10042025_20_27_04_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351339206","file1":"1351339136","file0":"1351339072","file4":"1351339442","file5":"1351339454","file3":"1351339304"},"map_files_photo_id_array":[{"photo_id":"1351339454","filename":"file5"},{"photo_id":"1351339206","filename":"file2"},{"photo_id":"1351339442","filename":"file4"},{"photo_id":"1351339136","filename":"file1"},{"photo_id":"1351339072","filename":"file0"},{"photo_id":"1351339304","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351339206":["hashtag1","hashtag2"]},{"1351339454":["hashtag1","hashtag2"]},{"1351339136":["hashtag1","hashtag2"]},{"1351339442":["hashtag1","hashtag2"]},{"1351339304":["hashtag1","hashtag2"]},{"1351339072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351339206, 1351339454, 1351339136, 1351339442, 1351339304, 1351339072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.387513637542725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:40:32.980597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/27/image_10042025_20_28_05_10359.jpg', '/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_14_9359.jpg', '/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_24_10356.jpg', '/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_34_9435.jpg', '/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_44_10379.jpg', '/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_55_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/27/image_10042025_20_28_05_10359.jpg
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_14_9359.jpg
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_24_10356.jpg
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_34_9435.jpg
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_44_10379.jpg
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_28_55_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351340151","1351339946","1351340084","1351339990","1351339825","1351339896"],"photo_ids_order":["1351339825","1351339896","1351339946","1351339990","1351340084","1351340151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dff4d44e91896b469632382f4fbfab3b.jpg","text":"TemporaryFile(/tmp/multipartBody3258607309893074005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/babcd72fe995f87fe5291a9daf23716d.jpg","text":"TemporaryFile(/tmp/multipartBody9014262650277308048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/250c48e7456755472b2e0fd08750361b.jpg","text":"TemporaryFile(/tmp/multipartBody6118423744067760170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/501e15796ffd25c715fcd7e606905a88.jpg","text":"TemporaryFile(/tmp/multipartBody6541709514512989338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ebf0b8553af7d5250fbb586c16da7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5029408595005612194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b46cbba3d1f7a424a759dcf26c7c7aba.jpg","text":"TemporaryFile(/tmp/multipartBody4872746390949560209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317693450,"filename":"image_10042025_20_28_14_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351339946","file1":"1351339896","file0":"1351339825","file4":"1351340084","file5":"1351340151","file3":"1351339990"},"map_files_photo_id_array":[{"photo_id":"1351340151","filename":"file5"},{"photo_id":"1351339946","filename":"file2"},{"photo_id":"1351340084","filename":"file4"},{"photo_id":"1351339896","filename":"file1"},{"photo_id":"1351339825","filename":"file0"},{"photo_id":"1351339990","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351340151":["hashtag1","hashtag2"]},{"1351339946":["hashtag1","hashtag2"]},{"1351340084":["hashtag1","hashtag2"]},{"1351339990":["hashtag1","hashtag2"]},{"1351339825":["hashtag1","hashtag2"]},{"1351339896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351340151, 1351339946, 1351340084, 1351339990, 1351339825, 1351339896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86626601219177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:41:33.095601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/28/image_10042025_20_29_04_9346.jpg', '/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_14_10373.jpg', '/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_25_10384.jpg', '/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_34_9364.jpg', '/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_45_10359.jpg', '/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_54_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/28/image_10042025_20_29_04_9346.jpg
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_14_10373.jpg
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_25_10384.jpg
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_34_9364.jpg
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_45_10359.jpg
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_29_54_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351340690","1351340966","1351340759","1351340572","1351341034","1351340898"],"photo_ids_order":["1351340572","1351340690","1351340759","1351340898","1351340966","1351341034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aab5342451e3ff8a68c354e80971f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody747430300424270979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b99a792ded335b087b229160f2484879.jpg","text":"TemporaryFile(/tmp/multipartBody6903023149889090379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32c86fc250032519bb956b84e1952fed.jpg","text":"TemporaryFile(/tmp/multipartBody6442126491642163441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/44d07c3f9d4d3f9f4a1683dcd0a7ab70.jpg","text":"TemporaryFile(/tmp/multipartBody4286483895846715587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/165bc8c4cc8b99b6b57397ac2d009125.jpg","text":"TemporaryFile(/tmp/multipartBody7388970340332540941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/642d46435f3f37e4c5ef97a6f1e8235c.jpg","text":"TemporaryFile(/tmp/multipartBody7821378295608302646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317753562,"filename":"image_10042025_20_29_34_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351340759","file1":"1351340690","file0":"1351340572","file4":"1351340966","file5":"1351341034","file3":"1351340898"},"map_files_photo_id_array":[{"photo_id":"1351341034","filename":"file5"},{"photo_id":"1351340759","filename":"file2"},{"photo_id":"1351340966","filename":"file4"},{"photo_id":"1351340690","filename":"file1"},{"photo_id":"1351340572","filename":"file0"},{"photo_id":"1351340898","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351340690":["hashtag1","hashtag2"]},{"1351340966":["hashtag1","hashtag2"]},{"1351340759":["hashtag1","hashtag2"]},{"1351340572":["hashtag1","hashtag2"]},{"1351341034":["hashtag1","hashtag2"]},{"1351340898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351340690, 1351340966, 1351340759, 1351340572, 1351341034, 1351340898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.44652342796326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:42:32.265096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/29/image_10042025_20_30_04_10409.jpg', '/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_15_10385.jpg', '/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_24_9367.jpg', '/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_44_9426.jpg', '/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_54_10413.jpg', '/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_14_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/29/image_10042025_20_30_04_10409.jpg
/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_15_10385.jpg
/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_24_9367.jpg
/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_44_9426.jpg
/home/pi/Desktop/images/10042025/20/30/image_10042025_20_30_54_10413.jpg
/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_14_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351341918","1351341779","1351341668","1351341877","1351341529","1351341438"],"photo_ids_order":["1351341438","1351341529","1351341668","1351341779","1351341877","1351341918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/788f7e80bc834d1165c318c3ba8156b1.jpg","text":"TemporaryFile(/tmp/multipartBody270910950148884733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_31_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/99ec0c711db67c773862e12ac22929e4.jpg","text":"TemporaryFile(/tmp/multipartBody8605163040528284205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_30_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/616c31d4c61d1383803bb4ffe3cdf369.jpg","text":"TemporaryFile(/tmp/multipartBody2958163990359380687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_30_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/237cf4183d6f9b2a7be5b68e5e41d3e9.jpg","text":"TemporaryFile(/tmp/multipartBody3249714466176599718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_30_54_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad4ea748aaed9a05a3734f451fb7b4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2666965766121684964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_30_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3b890cbda37ed00d8668d1e321ada61.jpg","text":"TemporaryFile(/tmp/multipartBody8914712062357813160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317812746,"filename":"image_10042025_20_30_04_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351341668","file1":"1351341529","file0":"1351341438","file4":"1351341877","file5":"1351341918","file3":"1351341779"},"map_files_photo_id_array":[{"photo_id":"1351341918","filename":"file5"},{"photo_id":"1351341668","filename":"file2"},{"photo_id":"1351341877","filename":"file4"},{"photo_id":"1351341529","filename":"file1"},{"photo_id":"1351341438","filename":"file0"},{"photo_id":"1351341779","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351341918":["hashtag1","hashtag2"]},{"1351341779":["hashtag1","hashtag2"]},{"1351341668":["hashtag1","hashtag2"]},{"1351341877":["hashtag1","hashtag2"]},{"1351341529":["hashtag1","hashtag2"]},{"1351341438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351341918, 1351341779, 1351341668, 1351341877, 1351341529, 1351341438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81562948226929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:43:32.388082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_25_10371.jpg', '/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_34_9462.jpg', '/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_44_10391.jpg', '/home/pi/Desktop/images/10042025/20/31/image_10042025_20_32_04_9367.jpg', '/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_15_10534.jpg', '/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_24_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_25_10371.jpg
/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_34_9462.jpg
/home/pi/Desktop/images/10042025/20/31/image_10042025_20_31_44_10391.jpg
/home/pi/Desktop/images/10042025/20/31/image_10042025_20_32_04_9367.jpg
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_15_10534.jpg
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_24_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351342628","1351342465","1351342705","1351342309","1351342662","1351342554"],"photo_ids_order":["1351342309","1351342465","1351342554","1351342628","1351342662","1351342705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cb36415c75bfc432bd3dc3c4e4876a6.jpg","text":"TemporaryFile(/tmp/multipartBody1506569608751306712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_32_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70965ba4d689329bf229d9d18ddb5770.jpg","text":"TemporaryFile(/tmp/multipartBody4959523715673231989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_31_34_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/542033b594797e63bcdb45bdcc74a2be.jpg","text":"TemporaryFile(/tmp/multipartBody4219456503503431151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_32_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f1eb43fb094daa4a0cfae9b7d6c7283e.jpg","text":"TemporaryFile(/tmp/multipartBody8722034760981221134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_31_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66e4ca6027263b7a84e35fa8bc6cd432.jpg","text":"TemporaryFile(/tmp/multipartBody948571886269608847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_32_15_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3da764c0abd5a0d10ab957bb1a77a9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8761754404713608334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317872873,"filename":"image_10042025_20_31_44_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351342554","file1":"1351342465","file0":"1351342309","file4":"1351342662","file5":"1351342705","file3":"1351342628"},"map_files_photo_id_array":[{"photo_id":"1351342705","filename":"file5"},{"photo_id":"1351342554","filename":"file2"},{"photo_id":"1351342662","filename":"file4"},{"photo_id":"1351342465","filename":"file1"},{"photo_id":"1351342309","filename":"file0"},{"photo_id":"1351342628","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351342628":["hashtag1","hashtag2"]},{"1351342465":["hashtag1","hashtag2"]},{"1351342705":["hashtag1","hashtag2"]},{"1351342309":["hashtag1","hashtag2"]},{"1351342662":["hashtag1","hashtag2"]},{"1351342554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351342628, 1351342465, 1351342705, 1351342309, 1351342662, 1351342554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.209972620010376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:44:32.692151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_34_10357.jpg', '/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_45_10369.jpg', '/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_54_9364.jpg', '/home/pi/Desktop/images/10042025/20/32/image_10042025_20_33_05_10399.jpg', '/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_14_9434.jpg', '/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_24_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_34_10357.jpg
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_45_10369.jpg
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_32_54_9364.jpg
/home/pi/Desktop/images/10042025/20/32/image_10042025_20_33_05_10399.jpg
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_14_9434.jpg
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_24_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351343077","1351343184","1351342861","1351343361","1351343246","1351342979"],"photo_ids_order":["1351342861","1351342979","1351343077","1351343184","1351343246","1351343361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c004a895322c5a52c1f77daa05531fde.jpg","text":"TemporaryFile(/tmp/multipartBody7772824326269694990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_32_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/185187868a7ad6980bc0bcfa4ce48188.jpg","text":"TemporaryFile(/tmp/multipartBody8317152401637701636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_33_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49b93fdc4585f72caf18dd0e5f4a59d6.jpg","text":"TemporaryFile(/tmp/multipartBody4615303432529645905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_32_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e920f49fed51741394914271b0fef423.jpg","text":"TemporaryFile(/tmp/multipartBody7309942478229122021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_33_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26c8649cbbe75278615e71943ebca170.jpg","text":"TemporaryFile(/tmp/multipartBody2422724699292115620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_33_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa3a0355ae59b064ebccf8329c48b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4683833806374821774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317933157,"filename":"image_10042025_20_32_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351343077","file1":"1351342979","file0":"1351342861","file4":"1351343246","file5":"1351343361","file3":"1351343184"},"map_files_photo_id_array":[{"photo_id":"1351343361","filename":"file5"},{"photo_id":"1351343077","filename":"file2"},{"photo_id":"1351343246","filename":"file4"},{"photo_id":"1351342979","filename":"file1"},{"photo_id":"1351342861","filename":"file0"},{"photo_id":"1351343184","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351343077":["hashtag1","hashtag2"]},{"1351343184":["hashtag1","hashtag2"]},{"1351342861":["hashtag1","hashtag2"]},{"1351343361":["hashtag1","hashtag2"]},{"1351343246":["hashtag1","hashtag2"]},{"1351342979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351343077, 1351343184, 1351342861, 1351343361, 1351343246, 1351342979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05172395706177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:45:32.953586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_35_10375.jpg', '/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_44_9358.jpg', '/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_54_10377.jpg', '/home/pi/Desktop/images/10042025/20/33/image_10042025_20_34_05_10362.jpg', '/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_14_9335.jpg', '/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_35_10375.jpg
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_44_9358.jpg
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_33_54_10377.jpg
/home/pi/Desktop/images/10042025/20/33/image_10042025_20_34_05_10362.jpg
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_14_9335.jpg
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_25_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351343887","1351344043","1351343848","1351343994","1351343937","1351343811"],"photo_ids_order":["1351343811","1351343848","1351343887","1351343937","1351343994","1351344043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3a026786ee8832442ec5d94123f5143.jpg","text":"TemporaryFile(/tmp/multipartBody74332450930240515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_33_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d70f27726e8c7fae2741fe39d9b39db.jpg","text":"TemporaryFile(/tmp/multipartBody1049506869340767999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_34_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0e035fb445e40210c1453373d9f6f369.jpg","text":"TemporaryFile(/tmp/multipartBody8962505120326275255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_33_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6294fc064af676f41f268b3790f25efd.jpg","text":"TemporaryFile(/tmp/multipartBody8397720517208198795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_34_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/03028036afa2b4786c3dc6d9b2b6376d.jpg","text":"TemporaryFile(/tmp/multipartBody3786716366056761139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_34_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/52a92e89350b12ffdf850da180502e31.jpg","text":"TemporaryFile(/tmp/multipartBody1102304343512627807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744317993417,"filename":"image_10042025_20_33_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351343887","file1":"1351343848","file0":"1351343811","file4":"1351343994","file5":"1351344043","file3":"1351343937"},"map_files_photo_id_array":[{"photo_id":"1351344043","filename":"file5"},{"photo_id":"1351343887","filename":"file2"},{"photo_id":"1351343994","filename":"file4"},{"photo_id":"1351343848","filename":"file1"},{"photo_id":"1351343811","filename":"file0"},{"photo_id":"1351343937","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351343887":["hashtag1","hashtag2"]},{"1351344043":["hashtag1","hashtag2"]},{"1351343848":["hashtag1","hashtag2"]},{"1351343994":["hashtag1","hashtag2"]},{"1351343937":["hashtag1","hashtag2"]},{"1351343811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351343887, 1351344043, 1351343848, 1351343994, 1351343937, 1351343811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.056374073028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:46:33.146737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_34_9422.jpg', '/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_44_10355.jpg', '/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_55_10493.jpg', '/home/pi/Desktop/images/10042025/20/34/image_10042025_20_35_04_9388.jpg', '/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_15_10369.jpg', '/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_24_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_34_9422.jpg
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_44_10355.jpg
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_34_55_10493.jpg
/home/pi/Desktop/images/10042025/20/34/image_10042025_20_35_04_9388.jpg
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_15_10369.jpg
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_24_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351344511","1351344613","1351344534","1351344653","1351344574","1351344676"],"photo_ids_order":["1351344511","1351344534","1351344574","1351344613","1351344653","1351344676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e71f8cc182952a8903b18c72f56c1b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8765279170448914955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_34_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98e8edcc76f23f7f57cb12ec665e8a51.jpg","text":"TemporaryFile(/tmp/multipartBody8250341162788122271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_35_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0158806fe00589c5d51a536f14059c23.jpg","text":"TemporaryFile(/tmp/multipartBody6048522903834931036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_34_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf23a7297b7ef57a884abb08902a1c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7352906281374678424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_35_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/42f5fcd68890abb3fc47d1f9914959b8.jpg","text":"TemporaryFile(/tmp/multipartBody5842343555178290195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_34_55_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd248bb84c352dceda22eb65bc9aaff8.jpg","text":"TemporaryFile(/tmp/multipartBody2567897391811704650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318053606,"filename":"image_10042025_20_35_24_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351344574","file1":"1351344534","file0":"1351344511","file4":"1351344653","file5":"1351344676","file3":"1351344613"},"map_files_photo_id_array":[{"photo_id":"1351344676","filename":"file5"},{"photo_id":"1351344574","filename":"file2"},{"photo_id":"1351344653","filename":"file4"},{"photo_id":"1351344534","filename":"file1"},{"photo_id":"1351344511","filename":"file0"},{"photo_id":"1351344613","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351344511":["hashtag1","hashtag2"]},{"1351344613":["hashtag1","hashtag2"]},{"1351344534":["hashtag1","hashtag2"]},{"1351344653":["hashtag1","hashtag2"]},{"1351344574":["hashtag1","hashtag2"]},{"1351344676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351344511, 1351344613, 1351344534, 1351344653, 1351344574, 1351344676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83764982223511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:47:32.342114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_34_10375.jpg', '/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_45_10480.jpg', '/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_54_9355.jpg', '/home/pi/Desktop/images/10042025/20/35/image_10042025_20_36_05_10367.jpg', '/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_14_9419.jpg', '/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_24_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_34_10375.jpg
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_45_10480.jpg
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_35_54_9355.jpg
/home/pi/Desktop/images/10042025/20/35/image_10042025_20_36_05_10367.jpg
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_14_9419.jpg
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_24_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351344976","1351344937","1351344978","1351344972","1351344911","1351344964"],"photo_ids_order":["1351344911","1351344937","1351344964","1351344972","1351344976","1351344978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e079010478d4740f634c91528ea6a10d.jpg","text":"TemporaryFile(/tmp/multipartBody3547077651150324832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_36_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/26355a375f09bd61837f9ea985fe996c.jpg","text":"TemporaryFile(/tmp/multipartBody1732354771927338005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_35_45_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c791083e39102dd95a0855b36f38d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2344362341828833272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_36_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/88dbef6c87b56c7e670eeb7f28f187af.jpg","text":"TemporaryFile(/tmp/multipartBody7536532124209087555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_36_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47519cec96e933dd589ea22e824c8221.jpg","text":"TemporaryFile(/tmp/multipartBody8810941312744795570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_35_34_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e21295c67be5d8a4c673adc54e7e4d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5956763704971892183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318112814,"filename":"image_10042025_20_35_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351344964","file1":"1351344937","file0":"1351344911","file4":"1351344976","file5":"1351344978","file3":"1351344972"},"map_files_photo_id_array":[{"photo_id":"1351344978","filename":"file5"},{"photo_id":"1351344964","filename":"file2"},{"photo_id":"1351344976","filename":"file4"},{"photo_id":"1351344937","filename":"file1"},{"photo_id":"1351344911","filename":"file0"},{"photo_id":"1351344972","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351344976":["hashtag1","hashtag2"]},{"1351344937":["hashtag1","hashtag2"]},{"1351344978":["hashtag1","hashtag2"]},{"1351344972":["hashtag1","hashtag2"]},{"1351344911":["hashtag1","hashtag2"]},{"1351344964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351344976, 1351344937, 1351344978, 1351344972, 1351344911, 1351344964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.942792654037476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:48:32.544700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_35_10485.jpg', '/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_44_9358.jpg', '/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_55_10366.jpg', '/home/pi/Desktop/images/10042025/20/36/image_10042025_20_37_04_9429.jpg', '/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_25_10403.jpg', '/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_34_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_35_10485.jpg
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_44_9358.jpg
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_36_55_10366.jpg
/home/pi/Desktop/images/10042025/20/36/image_10042025_20_37_04_9429.jpg
/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_25_10403.jpg
/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_34_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351345284","1351345449","1351345377","1351345506","1351345544","1351345573"],"photo_ids_order":["1351345284","1351345377","1351345449","1351345506","1351345544","1351345573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9564f5c676130a18e1b0d28fc5c3d916.jpg","text":"TemporaryFile(/tmp/multipartBody1413910995222758621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_36_35_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e57a10023a7f180d0da3924bfc7e102.jpg","text":"TemporaryFile(/tmp/multipartBody4965572354365335840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_36_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bbcad800b6b11dbedadb8e868bef3536.jpg","text":"TemporaryFile(/tmp/multipartBody1674980074801977852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_36_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0253cbaf3b23b835d847b7da9974d28.jpg","text":"TemporaryFile(/tmp/multipartBody1825498531220135321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_37_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4f4e221c9ab966357b73d6825a6a97b8.jpg","text":"TemporaryFile(/tmp/multipartBody196461332472582008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_37_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6ed026e92584db8365a7ac9b8ea93a3.jpg","text":"TemporaryFile(/tmp/multipartBody4513569116687807047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318173022,"filename":"image_10042025_20_37_34_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351345449","file1":"1351345377","file0":"1351345284","file4":"1351345544","file5":"1351345573","file3":"1351345506"},"map_files_photo_id_array":[{"photo_id":"1351345573","filename":"file5"},{"photo_id":"1351345449","filename":"file2"},{"photo_id":"1351345544","filename":"file4"},{"photo_id":"1351345377","filename":"file1"},{"photo_id":"1351345284","filename":"file0"},{"photo_id":"1351345506","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351345284":["hashtag1","hashtag2"]},{"1351345449":["hashtag1","hashtag2"]},{"1351345377":["hashtag1","hashtag2"]},{"1351345506":["hashtag1","hashtag2"]},{"1351345544":["hashtag1","hashtag2"]},{"1351345573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351345284, 1351345449, 1351345377, 1351345506, 1351345544, 1351345573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45478320121765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:49:32.858793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_44_10365.jpg', '/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_55_10382.jpg', '/home/pi/Desktop/images/10042025/20/37/image_10042025_20_38_04_9399.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_15_10367.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_24_9460.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_34_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_44_10365.jpg
/home/pi/Desktop/images/10042025/20/37/image_10042025_20_37_55_10382.jpg
/home/pi/Desktop/images/10042025/20/37/image_10042025_20_38_04_9399.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_15_10367.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_24_9460.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_34_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351345804","1351345845","1351345824","1351345861","1351345890","1351345822"],"photo_ids_order":["1351345804","1351345822","1351345824","1351345845","1351345861","1351345890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5c0b80009b2c88291ad5c9859e5097a.jpg","text":"TemporaryFile(/tmp/multipartBody8332786089705202826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_37_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25095d5d5b7a6f005841c9c4370d47f1.jpg","text":"TemporaryFile(/tmp/multipartBody8905789000646814229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_38_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1712d141fb350dc995082b228404648a.jpg","text":"TemporaryFile(/tmp/multipartBody8989795712719183123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_38_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/df3d3524944b9a8f6ee6cad2fcb6dd78.jpg","text":"TemporaryFile(/tmp/multipartBody9215087684677173035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_38_24_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/96b812c411f2373e2ea462478fd8d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2453921712770688895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_38_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c6c97ff478555a091cfd561cede7f59.jpg","text":"TemporaryFile(/tmp/multipartBody5449185975090751125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318233320,"filename":"image_10042025_20_37_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351345824","file1":"1351345822","file0":"1351345804","file4":"1351345861","file5":"1351345890","file3":"1351345845"},"map_files_photo_id_array":[{"photo_id":"1351345890","filename":"file5"},{"photo_id":"1351345824","filename":"file2"},{"photo_id":"1351345861","filename":"file4"},{"photo_id":"1351345822","filename":"file1"},{"photo_id":"1351345804","filename":"file0"},{"photo_id":"1351345845","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351345804":["hashtag1","hashtag2"]},{"1351345845":["hashtag1","hashtag2"]},{"1351345824":["hashtag1","hashtag2"]},{"1351345861":["hashtag1","hashtag2"]},{"1351345890":["hashtag1","hashtag2"]},{"1351345822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351345804, 1351345845, 1351345824, 1351345861, 1351345890, 1351345822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.407615423202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:50:34.554661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_45_10451.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_54_9367.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_39_05_10369.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_14_9368.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_24_10371.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_35_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_45_10451.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_54_9367.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_39_05_10369.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_14_9368.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_24_10371.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_35_10394.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3793919086456299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 22:50:44.441580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_45_10451.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_54_9367.jpg', '/home/pi/Desktop/images/10042025/20/38/image_10042025_20_39_05_10369.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_14_9368.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_24_10371.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_35_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_45_10451.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_38_54_9367.jpg
/home/pi/Desktop/images/10042025/20/38/image_10042025_20_39_05_10369.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_14_9368.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_24_10371.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_35_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346142","1351346093","1351346273","1351346240","1351346182","1351346203"],"photo_ids_order":["1351346093","1351346142","1351346182","1351346203","1351346240","1351346273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ffc3e0077a1a0537c21e24cb385050c.jpg","text":"TemporaryFile(/tmp/multipartBody6532889811516967563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_38_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8e455c9db8a86be5ba60a030a101bf52.jpg","text":"TemporaryFile(/tmp/multipartBody7847758142885930285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_38_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/724277f2d28eec0b55e4b8f7c77f463e.jpg","text":"TemporaryFile(/tmp/multipartBody6872814997221552532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_39_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a674ad86498272b8f76a1cb83ee6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4767037854800051101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_39_24_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bc9f7761a6aa70743f2126c93364328e.jpg","text":"TemporaryFile(/tmp/multipartBody2266066945922376860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_39_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cf90d303f527538ba0324285ace259ec.jpg","text":"TemporaryFile(/tmp/multipartBody9115163274863701834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318304915,"filename":"image_10042025_20_39_14_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346182","file1":"1351346142","file0":"1351346093","file4":"1351346240","file5":"1351346273","file3":"1351346203"},"map_files_photo_id_array":[{"photo_id":"1351346273","filename":"file5"},{"photo_id":"1351346182","filename":"file2"},{"photo_id":"1351346240","filename":"file4"},{"photo_id":"1351346142","filename":"file1"},{"photo_id":"1351346093","filename":"file0"},{"photo_id":"1351346203","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346142":["hashtag1","hashtag2"]},{"1351346093":["hashtag1","hashtag2"]},{"1351346273":["hashtag1","hashtag2"]},{"1351346240":["hashtag1","hashtag2"]},{"1351346182":["hashtag1","hashtag2"]},{"1351346203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346142, 1351346093, 1351346273, 1351346240, 1351346182, 1351346203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.741992473602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:51:32.661517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_44_9361.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_54_10371.jpg', '/home/pi/Desktop/images/10042025/20/39/image_10042025_20_40_05_10406.jpg', '/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_14_9363.jpg', '/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_25_10350.jpg', '/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_34_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_44_9361.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_39_54_10371.jpg
/home/pi/Desktop/images/10042025/20/39/image_10042025_20_40_05_10406.jpg
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_14_9363.jpg
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_25_10350.jpg
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_34_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346367","1351346357","1351346324","1351346321","1351346359","1351346326"],"photo_ids_order":["1351346321","1351346324","1351346326","1351346357","1351346359","1351346367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/602b8f586f5ad25acc8707dd8a945288.jpg","text":"TemporaryFile(/tmp/multipartBody8958058268385741975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_40_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/06a521bde99ad35166741e98d48d89ab.jpg","text":"TemporaryFile(/tmp/multipartBody6598144049858149542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_40_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b5efdc52cf325b6e97ed15ab7b60d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7655499278566148534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_39_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf3a61a2ea6b51c13eb3afb5555e316d.jpg","text":"TemporaryFile(/tmp/multipartBody6379200622088712327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_39_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5050430e0f5f5ad523063b433b570d05.jpg","text":"TemporaryFile(/tmp/multipartBody5670564697814036653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_40_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ceb971b147b4c85ed941e39788dc6929.jpg","text":"TemporaryFile(/tmp/multipartBody2600823808793633457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318353122,"filename":"image_10042025_20_40_05_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346326","file1":"1351346324","file0":"1351346321","file4":"1351346359","file5":"1351346367","file3":"1351346357"},"map_files_photo_id_array":[{"photo_id":"1351346367","filename":"file5"},{"photo_id":"1351346326","filename":"file2"},{"photo_id":"1351346359","filename":"file4"},{"photo_id":"1351346324","filename":"file1"},{"photo_id":"1351346321","filename":"file0"},{"photo_id":"1351346357","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346367":["hashtag1","hashtag2"]},{"1351346357":["hashtag1","hashtag2"]},{"1351346324":["hashtag1","hashtag2"]},{"1351346321":["hashtag1","hashtag2"]},{"1351346359":["hashtag1","hashtag2"]},{"1351346326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346367, 1351346357, 1351346324, 1351346321, 1351346359, 1351346326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9748592376709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:52:32.887093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_44_10365.jpg', '/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_55_10509.jpg', '/home/pi/Desktop/images/10042025/20/40/image_10042025_20_41_04_9334.jpg', '/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_15_10366.jpg', '/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_24_9437.jpg', '/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_34_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_44_10365.jpg
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_40_55_10509.jpg
/home/pi/Desktop/images/10042025/20/40/image_10042025_20_41_04_9334.jpg
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_15_10366.jpg
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_24_9437.jpg
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_34_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346421","1351346400","1351346403","1351346396","1351346408","1351346392"],"photo_ids_order":["1351346392","1351346396","1351346400","1351346403","1351346408","1351346421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e0072ef969e34f552759a13a78b024b.jpg","text":"TemporaryFile(/tmp/multipartBody8656067785509835651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_41_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/effe0ac1ba8f3e918f2dafa6e388cafc.jpg","text":"TemporaryFile(/tmp/multipartBody7788793796296584819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_41_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9357df14627dd1e0fbd30aec1a884a45.jpg","text":"TemporaryFile(/tmp/multipartBody8512292552096219855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_41_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/19d86b641d7f3139000c7a21cb6b6a16.jpg","text":"TemporaryFile(/tmp/multipartBody6879562554037283657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_40_55_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/570dab9abe7cca6a640f4a22b588003f.jpg","text":"TemporaryFile(/tmp/multipartBody7804887586810622922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_41_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/98bbbac19cfe4718ac0918e31e4535a8.jpg","text":"TemporaryFile(/tmp/multipartBody3089265813922119792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318413348,"filename":"image_10042025_20_40_44_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346400","file1":"1351346396","file0":"1351346392","file4":"1351346408","file5":"1351346421","file3":"1351346403"},"map_files_photo_id_array":[{"photo_id":"1351346421","filename":"file5"},{"photo_id":"1351346400","filename":"file2"},{"photo_id":"1351346408","filename":"file4"},{"photo_id":"1351346396","filename":"file1"},{"photo_id":"1351346392","filename":"file0"},{"photo_id":"1351346403","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346421":["hashtag1","hashtag2"]},{"1351346400":["hashtag1","hashtag2"]},{"1351346403":["hashtag1","hashtag2"]},{"1351346396":["hashtag1","hashtag2"]},{"1351346408":["hashtag1","hashtag2"]},{"1351346392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346421, 1351346400, 1351346403, 1351346396, 1351346408, 1351346392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47258710861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:53:33.022824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_45_10447.jpg', '/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_54_9361.jpg', '/home/pi/Desktop/images/10042025/20/41/image_10042025_20_42_04_10360.jpg', '/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_15_10341.jpg', '/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_24_9368.jpg', '/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_45_10447.jpg
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_41_54_9361.jpg
/home/pi/Desktop/images/10042025/20/41/image_10042025_20_42_04_10360.jpg
/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_15_10341.jpg
/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_24_9368.jpg
/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_35_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346679","1351346658","1351346646","1351346674","1351346683","1351346584"],"photo_ids_order":["1351346584","1351346646","1351346658","1351346674","1351346679","1351346683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5fbe52999a809deba147604858fdc5a.jpg","text":"TemporaryFile(/tmp/multipartBody1527833605077085955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_42_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c82d2ad51bb94d3158ee3172bc226cf9.jpg","text":"TemporaryFile(/tmp/multipartBody669518050421585948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_42_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/80d65f3493c278a15198677a4c1483d8.jpg","text":"TemporaryFile(/tmp/multipartBody498636611737720470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_41_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e427dfbc91f93dea33d4f5c6d9df94c2.jpg","text":"TemporaryFile(/tmp/multipartBody4351152073327211112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_42_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f987ea874323ba2ca37508633425b83.jpg","text":"TemporaryFile(/tmp/multipartBody806936223856700111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_42_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10c6c3dd4813fba1015553ab3752b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1216593911075645075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318473501,"filename":"image_10042025_20_41_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346658","file1":"1351346646","file0":"1351346584","file4":"1351346679","file5":"1351346683","file3":"1351346674"},"map_files_photo_id_array":[{"photo_id":"1351346683","filename":"file5"},{"photo_id":"1351346658","filename":"file2"},{"photo_id":"1351346679","filename":"file4"},{"photo_id":"1351346646","filename":"file1"},{"photo_id":"1351346584","filename":"file0"},{"photo_id":"1351346674","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346679":["hashtag1","hashtag2"]},{"1351346658":["hashtag1","hashtag2"]},{"1351346646":["hashtag1","hashtag2"]},{"1351346674":["hashtag1","hashtag2"]},{"1351346683":["hashtag1","hashtag2"]},{"1351346584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346679, 1351346658, 1351346646, 1351346674, 1351346683, 1351346584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97707223892212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:54:32.187920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_44_9444.jpg', '/home/pi/Desktop/images/10042025/20/42/image_10042025_20_43_05_10355.jpg', '/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_14_9348.jpg', '/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_25_10467.jpg', '/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_34_9396.jpg', '/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_44_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/42/image_10042025_20_42_44_9444.jpg
/home/pi/Desktop/images/10042025/20/42/image_10042025_20_43_05_10355.jpg
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_14_9348.jpg
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_25_10467.jpg
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_34_9396.jpg
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_44_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346709","1351346693","1351346702","1351346698","1351346713","1351346707"],"photo_ids_order":["1351346693","1351346698","1351346702","1351346707","1351346709","1351346713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/47493a0b17bb4130df0685d9091dd2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1735722619277213551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_43_34_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f2d685c5e99b8240a55011374591a483.jpg","text":"TemporaryFile(/tmp/multipartBody4441405925855982843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_42_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/527cc9a338d99eb33db6465a74eb43cf.jpg","text":"TemporaryFile(/tmp/multipartBody4167795552251866260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_43_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c5c24d871bcf1776cbe05662427a4b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7246853835185033183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_43_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de6f7603facdd958aa4c3f76ff01e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody6510569377994163299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_43_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625f6b4d73d2418a57af5db893132d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3969676441947574259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318532653,"filename":"image_10042025_20_43_25_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346702","file1":"1351346698","file0":"1351346693","file4":"1351346709","file5":"1351346713","file3":"1351346707"},"map_files_photo_id_array":[{"photo_id":"1351346713","filename":"file5"},{"photo_id":"1351346702","filename":"file2"},{"photo_id":"1351346709","filename":"file4"},{"photo_id":"1351346698","filename":"file1"},{"photo_id":"1351346693","filename":"file0"},{"photo_id":"1351346707","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346709":["hashtag1","hashtag2"]},{"1351346693":["hashtag1","hashtag2"]},{"1351346702":["hashtag1","hashtag2"]},{"1351346698":["hashtag1","hashtag2"]},{"1351346713":["hashtag1","hashtag2"]},{"1351346707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346709, 1351346693, 1351346702, 1351346698, 1351346713, 1351346707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.958187580108643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:55:32.539346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_55_10412.jpg', '/home/pi/Desktop/images/10042025/20/43/image_10042025_20_44_04_9346.jpg', '/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_14_10396.jpg', '/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_25_10387.jpg', '/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_34_9367.jpg', '/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_45_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_43_55_10412.jpg
/home/pi/Desktop/images/10042025/20/43/image_10042025_20_44_04_9346.jpg
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_14_10396.jpg
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_25_10387.jpg
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_34_9367.jpg
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_45_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346789","1351346806","1351346772","1351346781","1351346775","1351346769"],"photo_ids_order":["1351346769","1351346772","1351346775","1351346781","1351346789","1351346806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd8cdd77a286d0c43c8f330417103d21.jpg","text":"TemporaryFile(/tmp/multipartBody8888168366338033574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_44_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7ead3490f0eb0253be6b716afeadff43.jpg","text":"TemporaryFile(/tmp/multipartBody6920302847323354535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_44_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31fda311051129f11e9dc49a449d0158.jpg","text":"TemporaryFile(/tmp/multipartBody7918393227366227493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_44_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8d61bca1be8e2a7fa3c2a48d7d9f84bc.jpg","text":"TemporaryFile(/tmp/multipartBody1652012639106561153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_44_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8e48475f98b67637e8d4b9bd58dcd35.jpg","text":"TemporaryFile(/tmp/multipartBody7663563670621414755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_44_14_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f202266c4f02dc8d89ec8127166f5812.jpg","text":"TemporaryFile(/tmp/multipartBody1259625066097201108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318593007,"filename":"image_10042025_20_43_55_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346775","file1":"1351346772","file0":"1351346769","file4":"1351346789","file5":"1351346806","file3":"1351346781"},"map_files_photo_id_array":[{"photo_id":"1351346806","filename":"file5"},{"photo_id":"1351346775","filename":"file2"},{"photo_id":"1351346789","filename":"file4"},{"photo_id":"1351346772","filename":"file1"},{"photo_id":"1351346769","filename":"file0"},{"photo_id":"1351346781","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346789":["hashtag1","hashtag2"]},{"1351346806":["hashtag1","hashtag2"]},{"1351346772":["hashtag1","hashtag2"]},{"1351346781":["hashtag1","hashtag2"]},{"1351346775":["hashtag1","hashtag2"]},{"1351346769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346789, 1351346806, 1351346772, 1351346781, 1351346775, 1351346769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201919078826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:56:32.731932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_54_9392.jpg', '/home/pi/Desktop/images/10042025/20/44/image_10042025_20_45_04_10365.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_15_10385.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_24_9382.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_34_10368.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_44_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_44_54_9392.jpg
/home/pi/Desktop/images/10042025/20/44/image_10042025_20_45_04_10365.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_15_10385.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_24_9382.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_34_10368.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_44_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351346829","1351346832","1351346826","1351346837","1351346839","1351346824"],"photo_ids_order":["1351346824","1351346826","1351346829","1351346832","1351346837","1351346839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4b1389fa9bd2ae0d29f66c66d08712e.jpg","text":"TemporaryFile(/tmp/multipartBody3946621139689096614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_45_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08b2e684307c92df17afc929f9c2e04e.jpg","text":"TemporaryFile(/tmp/multipartBody3992676878611423299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_45_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c84dcc1756e51ca31d152d40daaafe15.jpg","text":"TemporaryFile(/tmp/multipartBody8608505326310579292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_45_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e6fe2ae45824ab1dfc7e17877366cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8930151292900603815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_45_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4e22e2ec38db956d4aa26e7ec1d9de8e.jpg","text":"TemporaryFile(/tmp/multipartBody8593476649318523968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_45_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/265abe58ecb8c1e705e331c6e24d770b.jpg","text":"TemporaryFile(/tmp/multipartBody9033780753315813538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318653189,"filename":"image_10042025_20_44_54_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351346829","file1":"1351346826","file0":"1351346824","file4":"1351346837","file5":"1351346839","file3":"1351346832"},"map_files_photo_id_array":[{"photo_id":"1351346839","filename":"file5"},{"photo_id":"1351346829","filename":"file2"},{"photo_id":"1351346837","filename":"file4"},{"photo_id":"1351346826","filename":"file1"},{"photo_id":"1351346824","filename":"file0"},{"photo_id":"1351346832","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351346829":["hashtag1","hashtag2"]},{"1351346832":["hashtag1","hashtag2"]},{"1351346826":["hashtag1","hashtag2"]},{"1351346837":["hashtag1","hashtag2"]},{"1351346839":["hashtag1","hashtag2"]},{"1351346824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351346829, 1351346832, 1351346826, 1351346837, 1351346839, 1351346824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34712600708008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:57:32.820453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_54_10361.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_46_05_10416.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_14_9351.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_24_10402.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_34_9453.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_44_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_54_10361.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_46_05_10416.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_14_9351.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_24_10402.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_34_9453.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_44_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-10 22:59:04.126586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_54_10361.jpg', '/home/pi/Desktop/images/10042025/20/45/image_10042025_20_46_05_10416.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_14_9351.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_24_10402.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_34_9453.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_44_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_45_54_10361.jpg
/home/pi/Desktop/images/10042025/20/45/image_10042025_20_46_05_10416.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_14_9351.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_24_10402.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_34_9453.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_44_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351347584","1351347488","1351347672","1351347534","1351347702","1351347630"],"photo_ids_order":["1351347488","1351347534","1351347584","1351347630","1351347672","1351347702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d116941720b83ee84f3bd07ef5147e8.jpg","text":"TemporaryFile(/tmp/multipartBody1018993949578987810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_46_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/87d106b45d112048e4c6f233da0128a7.jpg","text":"TemporaryFile(/tmp/multipartBody6341988141350252095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_45_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/89bd5fc9daaffa95f02f515ee84a7353.jpg","text":"TemporaryFile(/tmp/multipartBody4824400065968345206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_46_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e6bf6cfd7d7d0e55a303964bb1605975.jpg","text":"TemporaryFile(/tmp/multipartBody3092124507334078243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_46_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8079cafd204541cce43e8504039c01ef.jpg","text":"TemporaryFile(/tmp/multipartBody2791760283018276303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_46_44_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aefa83514bcf6202acc32056853ff3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3253157710570751615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318804724,"filename":"image_10042025_20_46_24_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351347584","file1":"1351347534","file0":"1351347488","file4":"1351347672","file5":"1351347702","file3":"1351347630"},"map_files_photo_id_array":[{"photo_id":"1351347702","filename":"file5"},{"photo_id":"1351347584","filename":"file2"},{"photo_id":"1351347672","filename":"file4"},{"photo_id":"1351347534","filename":"file1"},{"photo_id":"1351347488","filename":"file0"},{"photo_id":"1351347630","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351347584":["hashtag1","hashtag2"]},{"1351347488":["hashtag1","hashtag2"]},{"1351347672":["hashtag1","hashtag2"]},{"1351347534":["hashtag1","hashtag2"]},{"1351347702":["hashtag1","hashtag2"]},{"1351347630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351347584, 1351347488, 1351347672, 1351347534, 1351347702, 1351347630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89561915397644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 22:59:52.501763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_55_10397.jpg', '/home/pi/Desktop/images/10042025/20/46/image_10042025_20_47_04_9341.jpg', '/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_14_10355.jpg', '/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_25_10376.jpg', '/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_54_9497.jpg', '/home/pi/Desktop/images/10042025/20/47/image_10042025_20_48_04_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_46_55_10397.jpg
/home/pi/Desktop/images/10042025/20/46/image_10042025_20_47_04_9341.jpg
/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_14_10355.jpg
/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_25_10376.jpg
/home/pi/Desktop/images/10042025/20/47/image_10042025_20_47_54_9497.jpg
/home/pi/Desktop/images/10042025/20/47/image_10042025_20_48_04_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351348127","1351348100","1351348043","1351347984","1351348020","1351348067"],"photo_ids_order":["1351347984","1351348020","1351348043","1351348067","1351348100","1351348127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/015a90114fa5c58477b1c12ec080092f.jpg","text":"TemporaryFile(/tmp/multipartBody3277683235953611756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_48_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ec76b3989fc02b09c02c1306fa2a558.jpg","text":"TemporaryFile(/tmp/multipartBody4417556909753033574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_47_54_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed43e7aaabf299e7a737de113159b114.jpg","text":"TemporaryFile(/tmp/multipartBody6941449860420484318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_47_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5bdf6e56ca309792158e4316605a0d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6182519168086852613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_46_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32bb08b546dc2b45e5e6bf568a058499.jpg","text":"TemporaryFile(/tmp/multipartBody6106199176637374075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_47_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/091c769d6a05ff5880ddeb5b9e1a5195.jpg","text":"TemporaryFile(/tmp/multipartBody6458754885581214799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318852982,"filename":"image_10042025_20_47_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351348043","file1":"1351348020","file0":"1351347984","file4":"1351348100","file5":"1351348127","file3":"1351348067"},"map_files_photo_id_array":[{"photo_id":"1351348127","filename":"file5"},{"photo_id":"1351348043","filename":"file2"},{"photo_id":"1351348100","filename":"file4"},{"photo_id":"1351348020","filename":"file1"},{"photo_id":"1351347984","filename":"file0"},{"photo_id":"1351348067","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351348127":["hashtag1","hashtag2"]},{"1351348100":["hashtag1","hashtag2"]},{"1351348043":["hashtag1","hashtag2"]},{"1351347984":["hashtag1","hashtag2"]},{"1351348020":["hashtag1","hashtag2"]},{"1351348067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351348127, 1351348100, 1351348043, 1351347984, 1351348020, 1351348067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82876229286194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:00:32.687998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_15_10412.jpg', '/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_24_9375.jpg', '/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_35_10376.jpg', '/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_44_9392.jpg', '/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_54_10367.jpg', '/home/pi/Desktop/images/10042025/20/48/image_10042025_20_49_05_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_15_10412.jpg
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_24_9375.jpg
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_35_10376.jpg
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_44_9392.jpg
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_48_54_10367.jpg
/home/pi/Desktop/images/10042025/20/48/image_10042025_20_49_05_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351348217","1351348333","1351348278","1351348308","1351348298","1351348250"],"photo_ids_order":["1351348217","1351348250","1351348278","1351348298","1351348308","1351348333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abdbeb20affdb4627a0a5859e203732b.jpg","text":"TemporaryFile(/tmp/multipartBody1931144493788812005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_48_15_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b9a708cb6b1e37e5115eb11788625ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2101891699759025185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_49_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d9742c1b180aa0749fd4bc41556083e.jpg","text":"TemporaryFile(/tmp/multipartBody3774700852845540291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_48_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5415ea9b6d5d548c5b86aaf81f25a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1787695666775265212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_48_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3eef2010f4facf9588b02bdcd5e73086.jpg","text":"TemporaryFile(/tmp/multipartBody1335935169795645443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_48_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea0f95b8d7cbc1eeb0447305c15741ed.jpg","text":"TemporaryFile(/tmp/multipartBody3198725437045036664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318893166,"filename":"image_10042025_20_48_24_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351348278","file1":"1351348250","file0":"1351348217","file4":"1351348308","file5":"1351348333","file3":"1351348298"},"map_files_photo_id_array":[{"photo_id":"1351348333","filename":"file5"},{"photo_id":"1351348278","filename":"file2"},{"photo_id":"1351348308","filename":"file4"},{"photo_id":"1351348250","filename":"file1"},{"photo_id":"1351348217","filename":"file0"},{"photo_id":"1351348298","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351348217":["hashtag1","hashtag2"]},{"1351348333":["hashtag1","hashtag2"]},{"1351348278":["hashtag1","hashtag2"]},{"1351348308":["hashtag1","hashtag2"]},{"1351348298":["hashtag1","hashtag2"]},{"1351348250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351348217, 1351348333, 1351348278, 1351348308, 1351348298, 1351348250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26240158081055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:01:32.850702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_14_9344.jpg', '/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_24_10353.jpg', '/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_35_10368.jpg', '/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_44_9400.jpg', '/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_55_10488.jpg', '/home/pi/Desktop/images/10042025/20/49/image_10042025_20_50_04_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_14_9344.jpg
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_24_10353.jpg
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_35_10368.jpg
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_44_9400.jpg
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_49_55_10488.jpg
/home/pi/Desktop/images/10042025/20/49/image_10042025_20_50_04_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351348802","1351348904","1351348845","1351348725","1351348697","1351348688"],"photo_ids_order":["1351348688","1351348697","1351348725","1351348802","1351348845","1351348904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b3ac079de67d3a95e76649ab6c869c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4956085726226138653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_49_44_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a31b0d1539282714dcc4b10bd64b418d.jpg","text":"TemporaryFile(/tmp/multipartBody6357119479994156005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_50_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ae444612a0ff87f5c6f54b42eb0e87a.jpg","text":"TemporaryFile(/tmp/multipartBody3852713941126167167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_49_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6476ad6f3fa23675a3357d945bcc5a02.jpg","text":"TemporaryFile(/tmp/multipartBody3516939083800379223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_49_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d6b659387fb474ccab60d1476a49c30.jpg","text":"TemporaryFile(/tmp/multipartBody3012097925764040701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_49_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9067dd23dca89ff1ef51322db1c34aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4035594241992126275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744318953310,"filename":"image_10042025_20_49_14_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351348725","file1":"1351348697","file0":"1351348688","file4":"1351348845","file5":"1351348904","file3":"1351348802"},"map_files_photo_id_array":[{"photo_id":"1351348904","filename":"file5"},{"photo_id":"1351348725","filename":"file2"},{"photo_id":"1351348845","filename":"file4"},{"photo_id":"1351348697","filename":"file1"},{"photo_id":"1351348688","filename":"file0"},{"photo_id":"1351348802","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351348802":["hashtag1","hashtag2"]},{"1351348904":["hashtag1","hashtag2"]},{"1351348845":["hashtag1","hashtag2"]},{"1351348725":["hashtag1","hashtag2"]},{"1351348697":["hashtag1","hashtag2"]},{"1351348688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351348802, 1351348904, 1351348845, 1351348725, 1351348697, 1351348688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90854048728943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:02:33.074300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_14_10372.jpg', '/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_25_10375.jpg', '/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_34_9397.jpg', '/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_45_10356.jpg', '/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_54_9413.jpg', '/home/pi/Desktop/images/10042025/20/50/image_10042025_20_51_04_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_14_10372.jpg
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_25_10375.jpg
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_34_9397.jpg
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_45_10356.jpg
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_50_54_9413.jpg
/home/pi/Desktop/images/10042025/20/50/image_10042025_20_51_04_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351349173","1351349224","1351349082","1351349253","1351349124","1351349296"],"photo_ids_order":["1351349082","1351349124","1351349173","1351349224","1351349253","1351349296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c88fc9eb6cb37f4c9b0ffa53d2aee51.jpg","text":"TemporaryFile(/tmp/multipartBody3221162850319028438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_50_34_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/729f1ec765a80160eb460e1ed644e458.jpg","text":"TemporaryFile(/tmp/multipartBody6461570389992468599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_50_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/97be9860a3ec5084a086ceee3cc25f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3360088709123759243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_50_14_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb7bc38d4ffc651374a31d700e8e5d86.jpg","text":"TemporaryFile(/tmp/multipartBody1480273586488146392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_50_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5515d39827b6c3d7237f94cb9a8428d4.jpg","text":"TemporaryFile(/tmp/multipartBody7571607692286726419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_50_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8de4e8b3102eb38a7124ad3bb38e0e70.jpg","text":"TemporaryFile(/tmp/multipartBody4823012308597368485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319013553,"filename":"image_10042025_20_51_04_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351349173","file1":"1351349124","file0":"1351349082","file4":"1351349253","file5":"1351349296","file3":"1351349224"},"map_files_photo_id_array":[{"photo_id":"1351349296","filename":"file5"},{"photo_id":"1351349173","filename":"file2"},{"photo_id":"1351349253","filename":"file4"},{"photo_id":"1351349124","filename":"file1"},{"photo_id":"1351349082","filename":"file0"},{"photo_id":"1351349224","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351349173":["hashtag1","hashtag2"]},{"1351349224":["hashtag1","hashtag2"]},{"1351349082":["hashtag1","hashtag2"]},{"1351349253":["hashtag1","hashtag2"]},{"1351349124":["hashtag1","hashtag2"]},{"1351349296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351349173, 1351349224, 1351349082, 1351349253, 1351349124, 1351349296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32379102706909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:03:32.254713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_15_10381.jpg', '/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_24_9551.jpg', '/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_35_10483.jpg', '/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_44_9441.jpg', '/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_55_10425.jpg', '/home/pi/Desktop/images/10042025/20/51/image_10042025_20_52_04_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_15_10381.jpg
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_24_9551.jpg
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_35_10483.jpg
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_44_9441.jpg
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_51_55_10425.jpg
/home/pi/Desktop/images/10042025/20/51/image_10042025_20_52_04_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351349632","1351349751","1351349580","1351349856","1351349808","1351349699"],"photo_ids_order":["1351349580","1351349632","1351349699","1351349751","1351349808","1351349856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eeeae67b85a3dfa898630a2b98c9bb39.jpg","text":"TemporaryFile(/tmp/multipartBody8196437417479542041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_51_24_9551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f92234c8c5e91ab4f7cf0fe8b8c06866.jpg","text":"TemporaryFile(/tmp/multipartBody6398754654881388851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_51_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/70551e7cbd93260aa9acb3c139c1894c.jpg","text":"TemporaryFile(/tmp/multipartBody6113890485182820623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_51_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a87564fa899a94aab985964b643a754.jpg","text":"TemporaryFile(/tmp/multipartBody3752628535711477052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_52_04_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23945cb19d3f452fcc4d457ecfcb712f.jpg","text":"TemporaryFile(/tmp/multipartBody2670901453184503612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_51_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54762df09f39106dfb93e3a0241196c1.jpg","text":"TemporaryFile(/tmp/multipartBody6458613812481876546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319072717,"filename":"image_10042025_20_51_35_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351349699","file1":"1351349632","file0":"1351349580","file4":"1351349808","file5":"1351349856","file3":"1351349751"},"map_files_photo_id_array":[{"photo_id":"1351349856","filename":"file5"},{"photo_id":"1351349699","filename":"file2"},{"photo_id":"1351349808","filename":"file4"},{"photo_id":"1351349632","filename":"file1"},{"photo_id":"1351349580","filename":"file0"},{"photo_id":"1351349751","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351349632":["hashtag1","hashtag2"]},{"1351349751":["hashtag1","hashtag2"]},{"1351349580":["hashtag1","hashtag2"]},{"1351349856":["hashtag1","hashtag2"]},{"1351349808":["hashtag1","hashtag2"]},{"1351349699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351349632, 1351349751, 1351349580, 1351349856, 1351349808, 1351349699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78184103965759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:04:32.469899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_14_10349.jpg', '/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_25_10497.jpg', '/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_34_9371.jpg', '/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_45_10379.jpg', '/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_54_9417.jpg', '/home/pi/Desktop/images/10042025/20/52/image_10042025_20_53_04_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_14_10349.jpg
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_25_10497.jpg
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_34_9371.jpg
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_45_10379.jpg
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_52_54_9417.jpg
/home/pi/Desktop/images/10042025/20/52/image_10042025_20_53_04_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351350635","1351350853","1351350424","1351350552","1351350714","1351350467"],"photo_ids_order":["1351350424","1351350467","1351350552","1351350635","1351350714","1351350853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15e9b383bc9bef81eda77d129a3e13b3.jpg","text":"TemporaryFile(/tmp/multipartBody1863208804269920301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_52_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a553e09d90baf66b23e6f0abfec21403.jpg","text":"TemporaryFile(/tmp/multipartBody1123377341038108883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_53_04_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a73a9c3732bf34ab0b1ad58881f8c985.jpg","text":"TemporaryFile(/tmp/multipartBody3569715863176949465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_52_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a6dd03cc40254ee136780d98a9acb6f.jpg","text":"TemporaryFile(/tmp/multipartBody2787014369747721960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_52_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c33d6baa835ad5a234dbaf1179078ee2.jpg","text":"TemporaryFile(/tmp/multipartBody857799330176185863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_52_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b6ded6df8ecc4149131f162e29597a5.jpg","text":"TemporaryFile(/tmp/multipartBody544296625913194297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319132994,"filename":"image_10042025_20_52_25_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351350552","file1":"1351350467","file0":"1351350424","file4":"1351350714","file5":"1351350853","file3":"1351350635"},"map_files_photo_id_array":[{"photo_id":"1351350853","filename":"file5"},{"photo_id":"1351350552","filename":"file2"},{"photo_id":"1351350714","filename":"file4"},{"photo_id":"1351350467","filename":"file1"},{"photo_id":"1351350424","filename":"file0"},{"photo_id":"1351350635","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351350635":["hashtag1","hashtag2"]},{"1351350853":["hashtag1","hashtag2"]},{"1351350424":["hashtag1","hashtag2"]},{"1351350552":["hashtag1","hashtag2"]},{"1351350714":["hashtag1","hashtag2"]},{"1351350467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351350635, 1351350853, 1351350424, 1351350552, 1351350714, 1351350467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6439163684845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:05:32.697929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_15_10458.jpg', '/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_24_9359.jpg', '/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_35_10361.jpg', '/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_44_9458.jpg', '/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_54_10347.jpg', '/home/pi/Desktop/images/10042025/20/53/image_10042025_20_54_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_15_10458.jpg
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_24_9359.jpg
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_35_10361.jpg
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_44_9458.jpg
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_53_54_10347.jpg
/home/pi/Desktop/images/10042025/20/53/image_10042025_20_54_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351351564","1351351657","1351351494","1351351611","1351351850","1351351775"],"photo_ids_order":["1351351494","1351351564","1351351611","1351351657","1351351775","1351351850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/07001b61c84776f3233ef52730f9172e.jpg","text":"TemporaryFile(/tmp/multipartBody8546544096512098416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_53_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/571dd8e729a7faf76d59a722bcb5078c.jpg","text":"TemporaryFile(/tmp/multipartBody5409517824530570647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_53_44_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b069fece2bc7c8c8d578c204cf91a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody6700478167437925691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_53_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d8bd93324794f0543b9abdf6fab0861.jpg","text":"TemporaryFile(/tmp/multipartBody6811001122794434508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_53_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e11812246e25d919d01bb10d742d9190.jpg","text":"TemporaryFile(/tmp/multipartBody829859689513193944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_54_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa14b68c2a55100e0163fba7a3d94e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7259068932992121021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319193164,"filename":"image_10042025_20_53_54_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351351611","file1":"1351351564","file0":"1351351494","file4":"1351351775","file5":"1351351850","file3":"1351351657"},"map_files_photo_id_array":[{"photo_id":"1351351850","filename":"file5"},{"photo_id":"1351351611","filename":"file2"},{"photo_id":"1351351775","filename":"file4"},{"photo_id":"1351351564","filename":"file1"},{"photo_id":"1351351494","filename":"file0"},{"photo_id":"1351351657","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351351564":["hashtag1","hashtag2"]},{"1351351657":["hashtag1","hashtag2"]},{"1351351494":["hashtag1","hashtag2"]},{"1351351611":["hashtag1","hashtag2"]},{"1351351850":["hashtag1","hashtag2"]},{"1351351775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351351564, 1351351657, 1351351494, 1351351611, 1351351850, 1351351775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.2679705619812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:06:32.860495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_14_9351.jpg', '/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_44_10376.jpg', '/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_55_10450.jpg', '/home/pi/Desktop/images/10042025/20/54/image_10042025_20_55_04_9359.jpg', '/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_14_10394.jpg', '/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_34_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_14_9351.jpg
/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_44_10376.jpg
/home/pi/Desktop/images/10042025/20/54/image_10042025_20_54_55_10450.jpg
/home/pi/Desktop/images/10042025/20/54/image_10042025_20_55_04_9359.jpg
/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_14_10394.jpg
/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_34_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351352415","1351352304","1351352468","1351352165","1351352569","1351352513"],"photo_ids_order":["1351352165","1351352304","1351352415","1351352468","1351352513","1351352569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0377dda159540889cccd7e6cc9f7a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody3243633299596578881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_54_55_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8ca0b0fe299c6b98585ae87d87651c36.jpg","text":"TemporaryFile(/tmp/multipartBody5225358422549857288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_54_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76c4f3790934497948a86554a2b82ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5044027946252045329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_55_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/353c01a76b43ee9721634b19952ba262.jpg","text":"TemporaryFile(/tmp/multipartBody878407616667162817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_54_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d20d2b9bd50733a197b75aecb9745be.jpg","text":"TemporaryFile(/tmp/multipartBody8666362381249071393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_55_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94ec746da83dbafb6cec7113762d5cb2.jpg","text":"TemporaryFile(/tmp/multipartBody830447757467967825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319253322,"filename":"image_10042025_20_55_14_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351352415","file1":"1351352304","file0":"1351352165","file4":"1351352513","file5":"1351352569","file3":"1351352468"},"map_files_photo_id_array":[{"photo_id":"1351352569","filename":"file5"},{"photo_id":"1351352415","filename":"file2"},{"photo_id":"1351352513","filename":"file4"},{"photo_id":"1351352304","filename":"file1"},{"photo_id":"1351352165","filename":"file0"},{"photo_id":"1351352468","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351352415":["hashtag1","hashtag2"]},{"1351352304":["hashtag1","hashtag2"]},{"1351352468":["hashtag1","hashtag2"]},{"1351352165":["hashtag1","hashtag2"]},{"1351352569":["hashtag1","hashtag2"]},{"1351352513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351352415, 1351352304, 1351352468, 1351352165, 1351352569, 1351352513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83995032310486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:07:33.063867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_45_10375.jpg', '/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_54_9444.jpg', '/home/pi/Desktop/images/10042025/20/55/image_10042025_20_56_04_10365.jpg', '/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_15_10413.jpg', '/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_24_9434.jpg', '/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_35_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_45_10375.jpg
/home/pi/Desktop/images/10042025/20/55/image_10042025_20_55_54_9444.jpg
/home/pi/Desktop/images/10042025/20/55/image_10042025_20_56_04_10365.jpg
/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_15_10413.jpg
/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_24_9434.jpg
/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_35_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351353066","1351353218","1351353119","1351352945","1351353001","1351352875"],"photo_ids_order":["1351352875","1351352945","1351353001","1351353066","1351353119","1351353218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e56d96af3974865620cf930d2ff6998.jpg","text":"TemporaryFile(/tmp/multipartBody4258775568230046310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_56_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1776638d25c092894d42d46b044d486e.jpg","text":"TemporaryFile(/tmp/multipartBody1913989975281348338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_56_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/58196cb576ba6bdd956581b51bb4b35f.jpg","text":"TemporaryFile(/tmp/multipartBody2348749418906520031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_56_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7110833552e367b7d4bc1cb60087ed89.jpg","text":"TemporaryFile(/tmp/multipartBody1662606301670998833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_55_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71dd195ec840fe4f324a4745f43ce167.jpg","text":"TemporaryFile(/tmp/multipartBody2424148469189147529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_56_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0a54a4e6688291f9515c03443d23e77.jpg","text":"TemporaryFile(/tmp/multipartBody7558396016868265030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319313524,"filename":"image_10042025_20_55_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351353001","file1":"1351352945","file0":"1351352875","file4":"1351353119","file5":"1351353218","file3":"1351353066"},"map_files_photo_id_array":[{"photo_id":"1351353218","filename":"file5"},{"photo_id":"1351353001","filename":"file2"},{"photo_id":"1351353119","filename":"file4"},{"photo_id":"1351352945","filename":"file1"},{"photo_id":"1351352875","filename":"file0"},{"photo_id":"1351353066","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351353066":["hashtag1","hashtag2"]},{"1351353218":["hashtag1","hashtag2"]},{"1351353119":["hashtag1","hashtag2"]},{"1351352945":["hashtag1","hashtag2"]},{"1351353001":["hashtag1","hashtag2"]},{"1351352875":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351353066, 1351353218, 1351353119, 1351352945, 1351353001, 1351352875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57591700553894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:08:33.144888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_54_10364.jpg', '/home/pi/Desktop/images/10042025/20/56/image_10042025_20_57_05_10372.jpg', '/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_14_9348.jpg', '/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_25_10373.jpg', '/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_44_10368.jpg', '/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_55_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/56/image_10042025_20_56_54_10364.jpg
/home/pi/Desktop/images/10042025/20/56/image_10042025_20_57_05_10372.jpg
/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_14_9348.jpg
/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_25_10373.jpg
/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_44_10368.jpg
/home/pi/Desktop/images/10042025/20/57/image_10042025_20_57_55_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351353555","1351353516","1351353656","1351353800","1351353724","1351353873"],"photo_ids_order":["1351353516","1351353555","1351353656","1351353724","1351353800","1351353873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77ad6d9b321a20b658460d52dcfe5e34.jpg","text":"TemporaryFile(/tmp/multipartBody982825991380632846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_57_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb4697cd7bc9d5441b7ddbb8f8c8dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody8339541475219990092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_56_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fe35d1c33eced885cc9e04d940f976e1.jpg","text":"TemporaryFile(/tmp/multipartBody7648032081514141130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_57_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00bb0bfb555d5759a5c96edac4948e44.jpg","text":"TemporaryFile(/tmp/multipartBody797547874652385958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_57_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14087cb7939d5be74856fd47d11fdd3a.jpg","text":"TemporaryFile(/tmp/multipartBody4258664744219335615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_57_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5b96910c128f43f13ae483b81b00e26d.jpg","text":"TemporaryFile(/tmp/multipartBody1457002613369159892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319373615,"filename":"image_10042025_20_57_55_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351353656","file1":"1351353555","file0":"1351353516","file4":"1351353800","file5":"1351353873","file3":"1351353724"},"map_files_photo_id_array":[{"photo_id":"1351353873","filename":"file5"},{"photo_id":"1351353656","filename":"file2"},{"photo_id":"1351353800","filename":"file4"},{"photo_id":"1351353555","filename":"file1"},{"photo_id":"1351353516","filename":"file0"},{"photo_id":"1351353724","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351353555":["hashtag1","hashtag2"]},{"1351353516":["hashtag1","hashtag2"]},{"1351353656":["hashtag1","hashtag2"]},{"1351353800":["hashtag1","hashtag2"]},{"1351353724":["hashtag1","hashtag2"]},{"1351353873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351353555, 1351353516, 1351353656, 1351353800, 1351353724, 1351353873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.34485197067261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:09:32.320478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/57/image_10042025_20_58_04_9353.jpg', '/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_15_10423.jpg', '/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_24_9424.jpg', '/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_34_10422.jpg', '/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_45_10370.jpg', '/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_54_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/57/image_10042025_20_58_04_9353.jpg
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_15_10423.jpg
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_24_9424.jpg
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_34_10422.jpg
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_45_10370.jpg
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_58_54_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351354518","1351354157","1351354901","1351354357","1351354695","1351354068"],"photo_ids_order":["1351354068","1351354157","1351354357","1351354518","1351354695","1351354901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2768d1753ab2f5c1acdd1fb233802f74.jpg","text":"TemporaryFile(/tmp/multipartBody1701564339674980084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_34_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5242b434048a55e0e5b7732b9eacbcb5.jpg","text":"TemporaryFile(/tmp/multipartBody7344577049178507325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/479fb22bc6c3f5296f31b2a199f30702.jpg","text":"TemporaryFile(/tmp/multipartBody8961891391944046815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a51869721573f207e404aa253226de2.jpg","text":"TemporaryFile(/tmp/multipartBody6649502347369268957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4ebd7e0fe0f88e22b9117b47486b4b23.jpg","text":"TemporaryFile(/tmp/multipartBody604533888650794563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9d93deb5687c54d2ad2411cba4c2599d.jpg","text":"TemporaryFile(/tmp/multipartBody8736674470795585460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319432802,"filename":"image_10042025_20_58_04_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351354357","file1":"1351354157","file0":"1351354068","file4":"1351354695","file5":"1351354901","file3":"1351354518"},"map_files_photo_id_array":[{"photo_id":"1351354901","filename":"file5"},{"photo_id":"1351354357","filename":"file2"},{"photo_id":"1351354695","filename":"file4"},{"photo_id":"1351354157","filename":"file1"},{"photo_id":"1351354068","filename":"file0"},{"photo_id":"1351354518","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351354518":["hashtag1","hashtag2"]},{"1351354157":["hashtag1","hashtag2"]},{"1351354901":["hashtag1","hashtag2"]},{"1351354357":["hashtag1","hashtag2"]},{"1351354695":["hashtag1","hashtag2"]},{"1351354068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351354518, 1351354157, 1351354901, 1351354357, 1351354695, 1351354068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.12010073661804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:10:32.458293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/20/58/image_10042025_20_59_05_10373.jpg', '/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_14_9431.jpg', '/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_24_10354.jpg', '/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_44_9362.jpg', '/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_54_10367.jpg', '/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_14_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/20/58/image_10042025_20_59_05_10373.jpg
/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_14_9431.jpg
/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_24_10354.jpg
/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_44_9362.jpg
/home/pi/Desktop/images/10042025/20/59/image_10042025_20_59_54_10367.jpg
/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_14_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351356196","1351355983","1351356127","1351355710","1351356278","1351356035"],"photo_ids_order":["1351355710","1351355983","1351356035","1351356127","1351356196","1351356278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7de42695a5fe126d5ff6176f3c9747e9.jpg","text":"TemporaryFile(/tmp/multipartBody8462485160803902203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_20_59_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ee35c79d6d68983792eb0be4a9782279.jpg","text":"TemporaryFile(/tmp/multipartBody8663321285782231905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_20_59_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/025e1f809f0c6a2c705761ce3dbd25ef.jpg","text":"TemporaryFile(/tmp/multipartBody8009745061053470920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_20_59_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4d566920e9f23b0112197948c52a7c93.jpg","text":"TemporaryFile(/tmp/multipartBody5069404011772936230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_20_59_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/79553d2ef4e5d0b230114758a6ab8b22.jpg","text":"TemporaryFile(/tmp/multipartBody3711384302491784987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_21_01_14_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/527c7cc7a14210e2bbe1e4cd3b8d382b.jpg","text":"TemporaryFile(/tmp/multipartBody1230666575199902737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319492922,"filename":"image_10042025_20_59_24_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351356035","file1":"1351355983","file0":"1351355710","file4":"1351356196","file5":"1351356278","file3":"1351356127"},"map_files_photo_id_array":[{"photo_id":"1351356278","filename":"file5"},{"photo_id":"1351356035","filename":"file2"},{"photo_id":"1351356196","filename":"file4"},{"photo_id":"1351355983","filename":"file1"},{"photo_id":"1351355710","filename":"file0"},{"photo_id":"1351356127","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351356196":["hashtag1","hashtag2"]},{"1351355983":["hashtag1","hashtag2"]},{"1351356127":["hashtag1","hashtag2"]},{"1351355710":["hashtag1","hashtag2"]},{"1351356278":["hashtag1","hashtag2"]},{"1351356035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351356196, 1351355983, 1351356127, 1351355710, 1351356278, 1351356035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14517664909363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:11:32.804178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_24_10361.jpg', '/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_44_9347.jpg', '/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_54_10360.jpg', '/home/pi/Desktop/images/10042025/21/01/image_10042025_21_02_05_10372.jpg', '/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_14_9435.jpg', '/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_25_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_24_10361.jpg
/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_44_9347.jpg
/home/pi/Desktop/images/10042025/21/01/image_10042025_21_01_54_10360.jpg
/home/pi/Desktop/images/10042025/21/01/image_10042025_21_02_05_10372.jpg
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_14_9435.jpg
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_25_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351356608","1351356667","1351356640","1351356562","1351356703","1351356686"],"photo_ids_order":["1351356562","1351356608","1351356640","1351356667","1351356686","1351356703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ce2fd0cde22b523ae40e46c8959a694.jpg","text":"TemporaryFile(/tmp/multipartBody6888741031667861980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_01_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c16559258b248a1b6039b5c8f13074ea.jpg","text":"TemporaryFile(/tmp/multipartBody6472423070331642332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_02_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2b37373facf3ca7014b76a906a651086.jpg","text":"TemporaryFile(/tmp/multipartBody2952822295589426388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_01_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/140714b25a573d74fad6df7c4292633f.jpg","text":"TemporaryFile(/tmp/multipartBody3901652675862209669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_01_24_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10118f6a0fedde6798dc27616cae5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody135234426394288088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_02_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e153e7bcb6d75e833950e663b27945af.jpg","text":"TemporaryFile(/tmp/multipartBody6896506593208521901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319553287,"filename":"image_10042025_21_02_14_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351356640","file1":"1351356608","file0":"1351356562","file4":"1351356686","file5":"1351356703","file3":"1351356667"},"map_files_photo_id_array":[{"photo_id":"1351356703","filename":"file5"},{"photo_id":"1351356640","filename":"file2"},{"photo_id":"1351356686","filename":"file4"},{"photo_id":"1351356608","filename":"file1"},{"photo_id":"1351356562","filename":"file0"},{"photo_id":"1351356667","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351356608":["hashtag1","hashtag2"]},{"1351356667":["hashtag1","hashtag2"]},{"1351356640":["hashtag1","hashtag2"]},{"1351356562":["hashtag1","hashtag2"]},{"1351356703":["hashtag1","hashtag2"]},{"1351356686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351356608, 1351356667, 1351356640, 1351356562, 1351356703, 1351356686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80825066566467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:12:32.937968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_34_9350.jpg', '/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_44_10390.jpg', '/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_55_10365.jpg', '/home/pi/Desktop/images/10042025/21/02/image_10042025_21_03_04_9468.jpg', '/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_15_10410.jpg', '/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_24_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_34_9350.jpg
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_44_10390.jpg
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_02_55_10365.jpg
/home/pi/Desktop/images/10042025/21/02/image_10042025_21_03_04_9468.jpg
/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_15_10410.jpg
/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_24_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351356958","1351356955","1351356852","1351356983","1351356822","1351357087"],"photo_ids_order":["1351356822","1351356852","1351356955","1351356958","1351356983","1351357087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00090570c4e43b48dbb0f813d87d80cf.jpg","text":"TemporaryFile(/tmp/multipartBody1292623910444519675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_03_04_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc17cb5caf66fb2b338404a9dec00570.jpg","text":"TemporaryFile(/tmp/multipartBody1073597575465268197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_02_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/22a2977f5eecc6e8166ebffc233d088f.jpg","text":"TemporaryFile(/tmp/multipartBody8431543595688281440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_02_44_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/11a7a4f4f6964c3ba18a0c230e8ed87f.jpg","text":"TemporaryFile(/tmp/multipartBody8318827197178547440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_03_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c27177f5653df3f32e2129931cc03e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7688215301886849363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_02_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5c4f99ca9d0bf70ec28bd23937ef4a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8317066679011179722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319613402,"filename":"image_10042025_21_03_24_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351356955","file1":"1351356852","file0":"1351356822","file4":"1351356983","file5":"1351357087","file3":"1351356958"},"map_files_photo_id_array":[{"photo_id":"1351357087","filename":"file5"},{"photo_id":"1351356955","filename":"file2"},{"photo_id":"1351356983","filename":"file4"},{"photo_id":"1351356852","filename":"file1"},{"photo_id":"1351356822","filename":"file0"},{"photo_id":"1351356958","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351356958":["hashtag1","hashtag2"]},{"1351356955":["hashtag1","hashtag2"]},{"1351356852":["hashtag1","hashtag2"]},{"1351356983":["hashtag1","hashtag2"]},{"1351356822":["hashtag1","hashtag2"]},{"1351357087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351356958, 1351356955, 1351356852, 1351356983, 1351356822, 1351357087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.151713609695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:13:33.179417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_44_9437.jpg', '/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_54_10368.jpg', '/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_14_9352.jpg', '/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_24_10362.jpg', '/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_34_9468.jpg', '/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_55_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_44_9437.jpg
/home/pi/Desktop/images/10042025/21/03/image_10042025_21_03_54_10368.jpg
/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_14_9352.jpg
/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_24_10362.jpg
/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_34_9468.jpg
/home/pi/Desktop/images/10042025/21/04/image_10042025_21_04_55_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351357606","1351357761","1351357536","1351357709","1351357786","1351357795"],"photo_ids_order":["1351357536","1351357606","1351357709","1351357761","1351357786","1351357795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c1858ad4b2efb87a5e31580018476cf.jpg","text":"TemporaryFile(/tmp/multipartBody6198877320066609081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_03_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec498944e73b29137883fdb6a14dbf98.jpg","text":"TemporaryFile(/tmp/multipartBody2338886060623395429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_04_24_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/813b405a1018421d23aeac9c1f5363fb.jpg","text":"TemporaryFile(/tmp/multipartBody3977782246593870244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_03_44_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f7d1b5c03a0d5ace69f08b167415a713.jpg","text":"TemporaryFile(/tmp/multipartBody6158294220596689564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_04_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/77a41a4c1c30f02570a5a71694a5d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1391402243759031570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_04_34_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef6ec2cf191e5bd8d813691eeb22d5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8517631023655270586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319673648,"filename":"image_10042025_21_04_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351357709","file1":"1351357606","file0":"1351357536","file4":"1351357786","file5":"1351357795","file3":"1351357761"},"map_files_photo_id_array":[{"photo_id":"1351357795","filename":"file5"},{"photo_id":"1351357709","filename":"file2"},{"photo_id":"1351357786","filename":"file4"},{"photo_id":"1351357606","filename":"file1"},{"photo_id":"1351357536","filename":"file0"},{"photo_id":"1351357761","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351357606":["hashtag1","hashtag2"]},{"1351357761":["hashtag1","hashtag2"]},{"1351357536":["hashtag1","hashtag2"]},{"1351357709":["hashtag1","hashtag2"]},{"1351357786":["hashtag1","hashtag2"]},{"1351357795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351357606, 1351357761, 1351357536, 1351357709, 1351357786, 1351357795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12484383583069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:14:32.200204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/04/image_10042025_21_05_04_9364.jpg', '/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_14_10388.jpg', '/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_24_9395.jpg', '/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_45_10466.jpg', '/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_54_9376.jpg', '/home/pi/Desktop/images/10042025/21/05/image_10042025_21_06_04_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/04/image_10042025_21_05_04_9364.jpg
/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_14_10388.jpg
/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_24_9395.jpg
/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_45_10466.jpg
/home/pi/Desktop/images/10042025/21/05/image_10042025_21_05_54_9376.jpg
/home/pi/Desktop/images/10042025/21/05/image_10042025_21_06_04_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351357998","1351357992","1351357965","1351358001","1351358024","1351358021"],"photo_ids_order":["1351357965","1351357992","1351357998","1351358001","1351358021","1351358024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad578d98aee37f9c845e863935e070fa.jpg","text":"TemporaryFile(/tmp/multipartBody6099951688368228424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_05_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bf720327a2a4cdac2ee82289c20950e6.jpg","text":"TemporaryFile(/tmp/multipartBody4428680881928987915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_05_14_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b27d8daa566669c19e840e20d28658c2.jpg","text":"TemporaryFile(/tmp/multipartBody6623786418152140406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_05_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/010b025a774c914800f8bd000b6f90fa.jpg","text":"TemporaryFile(/tmp/multipartBody4286140076148682398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_05_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d5b4c97f8b69f3b63558cbf6af7da87.jpg","text":"TemporaryFile(/tmp/multipartBody7616618872894413558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_06_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f5f8b1e7b9e96b14ba12c3cfe6381237.jpg","text":"TemporaryFile(/tmp/multipartBody6112372935474822363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319732687,"filename":"image_10042025_21_05_54_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351357998","file1":"1351357992","file0":"1351357965","file4":"1351358021","file5":"1351358024","file3":"1351358001"},"map_files_photo_id_array":[{"photo_id":"1351358024","filename":"file5"},{"photo_id":"1351357998","filename":"file2"},{"photo_id":"1351358021","filename":"file4"},{"photo_id":"1351357992","filename":"file1"},{"photo_id":"1351357965","filename":"file0"},{"photo_id":"1351358001","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351357998":["hashtag1","hashtag2"]},{"1351357992":["hashtag1","hashtag2"]},{"1351357965":["hashtag1","hashtag2"]},{"1351358001":["hashtag1","hashtag2"]},{"1351358024":["hashtag1","hashtag2"]},{"1351358021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351357998, 1351357992, 1351357965, 1351358001, 1351358024, 1351358021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94668507575989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:15:32.413889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_14_9398.jpg', '/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_24_10369.jpg', '/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_35_10527.jpg', '/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_44_9360.jpg', '/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_54_10395.jpg', '/home/pi/Desktop/images/10042025/21/06/image_10042025_21_07_04_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_14_9398.jpg
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_24_10369.jpg
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_35_10527.jpg
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_44_9360.jpg
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_06_54_10395.jpg
/home/pi/Desktop/images/10042025/21/06/image_10042025_21_07_04_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358052","1351358046","1351358055","1351358049","1351358042","1351358056"],"photo_ids_order":["1351358042","1351358046","1351358049","1351358052","1351358055","1351358056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29f65ae129862d89f109ba85acc4e565.jpg","text":"TemporaryFile(/tmp/multipartBody7117097160322352654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_06_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d67b5fb0346fa076e528dbd214f62761.jpg","text":"TemporaryFile(/tmp/multipartBody6031550010918740762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_06_24_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db77d6cba63f2daa6d7a18627bdeef96.jpg","text":"TemporaryFile(/tmp/multipartBody1655682420866202902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_06_54_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/225df09af6fd82637f43db31d33d5a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6184767042436631477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_06_35_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/625a40811d47ec23eca6f8df218ab603.jpg","text":"TemporaryFile(/tmp/multipartBody760420862951877604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_06_14_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25f193b6d8244aca9bd9b0ab2a5313c8.jpg","text":"TemporaryFile(/tmp/multipartBody5089570613270742926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319792871,"filename":"image_10042025_21_07_04_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358049","file1":"1351358046","file0":"1351358042","file4":"1351358055","file5":"1351358056","file3":"1351358052"},"map_files_photo_id_array":[{"photo_id":"1351358056","filename":"file5"},{"photo_id":"1351358049","filename":"file2"},{"photo_id":"1351358055","filename":"file4"},{"photo_id":"1351358046","filename":"file1"},{"photo_id":"1351358042","filename":"file0"},{"photo_id":"1351358052","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358052":["hashtag1","hashtag2"]},{"1351358046":["hashtag1","hashtag2"]},{"1351358055":["hashtag1","hashtag2"]},{"1351358049":["hashtag1","hashtag2"]},{"1351358042":["hashtag1","hashtag2"]},{"1351358056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358052, 1351358046, 1351358055, 1351358049, 1351358042, 1351358056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57224750518799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:16:32.578253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_14_10368.jpg', '/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_25_10451.jpg', '/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_34_9364.jpg', '/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_44_10366.jpg', '/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_54_9375.jpg', '/home/pi/Desktop/images/10042025/21/07/image_10042025_21_08_04_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_14_10368.jpg
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_25_10451.jpg
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_34_9364.jpg
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_44_10366.jpg
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_07_54_9375.jpg
/home/pi/Desktop/images/10042025/21/07/image_10042025_21_08_04_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358105","1351358102","1351358092","1351358086","1351358095","1351358089"],"photo_ids_order":["1351358086","1351358089","1351358092","1351358095","1351358102","1351358105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9a542139d499e886b9df5eb1d63555f1.jpg","text":"TemporaryFile(/tmp/multipartBody6528866853303137558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_08_04_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8a7d8667a9236ebc061a59c4f58e0ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1348445322077112722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_07_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de1d5d6ef0bd9c444017284aef052884.jpg","text":"TemporaryFile(/tmp/multipartBody6492067409146739859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_07_34_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a6fdc58e02550f1e72c8a285f4b462e9.jpg","text":"TemporaryFile(/tmp/multipartBody2555616981129467180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_07_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3c089023dc8a3ea7b0bff7a6f62e7bba.jpg","text":"TemporaryFile(/tmp/multipartBody8415008744253633526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_07_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6832d91b3affdd2380562881ff7191a4.jpg","text":"TemporaryFile(/tmp/multipartBody2296973700130510694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319853060,"filename":"image_10042025_21_07_25_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358092","file1":"1351358089","file0":"1351358086","file4":"1351358102","file5":"1351358105","file3":"1351358095"},"map_files_photo_id_array":[{"photo_id":"1351358105","filename":"file5"},{"photo_id":"1351358092","filename":"file2"},{"photo_id":"1351358102","filename":"file4"},{"photo_id":"1351358089","filename":"file1"},{"photo_id":"1351358086","filename":"file0"},{"photo_id":"1351358095","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358105":["hashtag1","hashtag2"]},{"1351358102":["hashtag1","hashtag2"]},{"1351358092":["hashtag1","hashtag2"]},{"1351358086":["hashtag1","hashtag2"]},{"1351358095":["hashtag1","hashtag2"]},{"1351358089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358105, 1351358102, 1351358092, 1351358086, 1351358095, 1351358089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.1970100402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:17:32.948027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_15_10436.jpg', '/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_24_9359.jpg', '/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_54_9402.jpg', '/home/pi/Desktop/images/10042025/21/08/image_10042025_21_09_05_10364.jpg', '/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_14_9351.jpg', '/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_24_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_15_10436.jpg
/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_24_9359.jpg
/home/pi/Desktop/images/10042025/21/08/image_10042025_21_08_54_9402.jpg
/home/pi/Desktop/images/10042025/21/08/image_10042025_21_09_05_10364.jpg
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_14_9351.jpg
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_24_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358157","1351358192","1351358180","1351358174","1351358168","1351358164"],"photo_ids_order":["1351358157","1351358164","1351358168","1351358174","1351358180","1351358192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0965e7d46cc535fdddb9f8bb12e08f34.jpg","text":"TemporaryFile(/tmp/multipartBody3830255797037618147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_08_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2c29ea635794ade0521cb0f62d8a54f.jpg","text":"TemporaryFile(/tmp/multipartBody6081666364976355380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_09_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f8caa44debd0fe34afc3dce16361550.jpg","text":"TemporaryFile(/tmp/multipartBody1588398599176663615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_09_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9dc53b37e30fe5fcf76d4d3319fcf7ce.jpg","text":"TemporaryFile(/tmp/multipartBody6200513356153048217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_09_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/891c11a8961f59ccf966294ed77e0e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6552749378193999224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_08_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25235a5ce22e71a1c97b8c758591f223.jpg","text":"TemporaryFile(/tmp/multipartBody3418302689593771208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319913410,"filename":"image_10042025_21_08_24_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358168","file1":"1351358164","file0":"1351358157","file4":"1351358180","file5":"1351358192","file3":"1351358174"},"map_files_photo_id_array":[{"photo_id":"1351358192","filename":"file5"},{"photo_id":"1351358168","filename":"file2"},{"photo_id":"1351358180","filename":"file4"},{"photo_id":"1351358164","filename":"file1"},{"photo_id":"1351358157","filename":"file0"},{"photo_id":"1351358174","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358157":["hashtag1","hashtag2"]},{"1351358192":["hashtag1","hashtag2"]},{"1351358180":["hashtag1","hashtag2"]},{"1351358174":["hashtag1","hashtag2"]},{"1351358168":["hashtag1","hashtag2"]},{"1351358164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358157, 1351358192, 1351358180, 1351358174, 1351358168, 1351358164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66894578933716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:18:32.924038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_35_10433.jpg', '/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_44_9376.jpg', '/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_54_10374.jpg', '/home/pi/Desktop/images/10042025/21/09/image_10042025_21_10_04_9359.jpg', '/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_14_10444.jpg', '/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_25_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_35_10433.jpg
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_44_9376.jpg
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_09_54_10374.jpg
/home/pi/Desktop/images/10042025/21/09/image_10042025_21_10_04_9359.jpg
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_14_10444.jpg
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_25_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358413","1351358289","1351358495","1351358297","1351358294","1351358350"],"photo_ids_order":["1351358289","1351358294","1351358297","1351358350","1351358413","1351358495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/32adda0c573a90b24341babf4109bce9.jpg","text":"TemporaryFile(/tmp/multipartBody8174322515438440543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_10_14_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5d5740067be3bb3cb2feb15b5e09bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5093932149278002935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_09_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/25e869ff4c15562e1d5af3068d7ef4bd.jpg","text":"TemporaryFile(/tmp/multipartBody1662535870448249421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_10_25_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c0f1e1fccc18fdc7e9de1c029730c57e.jpg","text":"TemporaryFile(/tmp/multipartBody4395303404971527836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_09_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e16a10694c90a0495d162d06ad57bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1737590582876660085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_09_44_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/587fe03267591c6a27ea10212c97ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody3521876156470658306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744319973398,"filename":"image_10042025_21_10_04_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358297","file1":"1351358294","file0":"1351358289","file4":"1351358413","file5":"1351358495","file3":"1351358350"},"map_files_photo_id_array":[{"photo_id":"1351358495","filename":"file5"},{"photo_id":"1351358297","filename":"file2"},{"photo_id":"1351358413","filename":"file4"},{"photo_id":"1351358294","filename":"file1"},{"photo_id":"1351358289","filename":"file0"},{"photo_id":"1351358350","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358413":["hashtag1","hashtag2"]},{"1351358289":["hashtag1","hashtag2"]},{"1351358495":["hashtag1","hashtag2"]},{"1351358297":["hashtag1","hashtag2"]},{"1351358294":["hashtag1","hashtag2"]},{"1351358350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358413, 1351358289, 1351358495, 1351358297, 1351358294, 1351358350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.355631828308105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:19:33.311084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_34_9430.jpg', '/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_45_10379.jpg', '/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_54_9467.jpg', '/home/pi/Desktop/images/10042025/21/10/image_10042025_21_11_04_10383.jpg', '/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_14_9437.jpg', '/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_24_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_34_9430.jpg
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_45_10379.jpg
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_10_54_9467.jpg
/home/pi/Desktop/images/10042025/21/10/image_10042025_21_11_04_10383.jpg
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_14_9437.jpg
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_24_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358707","1351358682","1351358715","1351358622","1351358699","1351358603"],"photo_ids_order":["1351358603","1351358622","1351358682","1351358699","1351358707","1351358715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/509d68b13d33f661efd2ab6bc902267f.jpg","text":"TemporaryFile(/tmp/multipartBody7123161085644572984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_11_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15274fcb514eba0a06034eaeb48d0828.jpg","text":"TemporaryFile(/tmp/multipartBody1786081521002671169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_10_54_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d7ddfb460728305f72d5884d4a35232e.jpg","text":"TemporaryFile(/tmp/multipartBody5388008278991314717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_11_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bcd7f48ee255f8447bfe26e18a199333.jpg","text":"TemporaryFile(/tmp/multipartBody4890085777569364380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_10_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bb37201dad4b5d08531c8816ce6c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8330394466243169490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_11_04_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cb05f32436f31134f9eae7ad307ad8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7591745134618330606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320033780,"filename":"image_10042025_21_10_34_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358682","file1":"1351358622","file0":"1351358603","file4":"1351358707","file5":"1351358715","file3":"1351358699"},"map_files_photo_id_array":[{"photo_id":"1351358715","filename":"file5"},{"photo_id":"1351358682","filename":"file2"},{"photo_id":"1351358707","filename":"file4"},{"photo_id":"1351358622","filename":"file1"},{"photo_id":"1351358603","filename":"file0"},{"photo_id":"1351358699","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358707":["hashtag1","hashtag2"]},{"1351358682":["hashtag1","hashtag2"]},{"1351358715":["hashtag1","hashtag2"]},{"1351358622":["hashtag1","hashtag2"]},{"1351358699":["hashtag1","hashtag2"]},{"1351358603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358707, 1351358682, 1351358715, 1351358622, 1351358699, 1351358603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50070929527283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:20:32.335560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_35_10459.jpg', '/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_44_9396.jpg', '/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_54_10377.jpg', '/home/pi/Desktop/images/10042025/21/11/image_10042025_21_12_04_9440.jpg', '/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_14_10344.jpg', '/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_25_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_35_10459.jpg
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_44_9396.jpg
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_11_54_10377.jpg
/home/pi/Desktop/images/10042025/21/11/image_10042025_21_12_04_9440.jpg
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_14_10344.jpg
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_25_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358803","1351358793","1351358781","1351358808","1351358786","1351358798"],"photo_ids_order":["1351358781","1351358786","1351358793","1351358798","1351358803","1351358808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6d84fd147498bc62a88b6a46407a0db1.jpg","text":"TemporaryFile(/tmp/multipartBody7524149414356101617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_12_14_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c5d7faafd1d48f821760cafafa3f2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5491083262225599439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_11_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/569b00f7a9a0be787093b807ea6f1fab.jpg","text":"TemporaryFile(/tmp/multipartBody5314801614056630684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_11_35_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08ca8ed14f24e1a537022ac7fbd342c9.jpg","text":"TemporaryFile(/tmp/multipartBody433510740553930544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_12_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac0909802c716d66c5a57bf9b405b56d.jpg","text":"TemporaryFile(/tmp/multipartBody6688728783675836511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_11_44_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/224f5e2514650eaa8c25639e47032cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8686688682126978067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320092796,"filename":"image_10042025_21_12_04_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358793","file1":"1351358786","file0":"1351358781","file4":"1351358803","file5":"1351358808","file3":"1351358798"},"map_files_photo_id_array":[{"photo_id":"1351358808","filename":"file5"},{"photo_id":"1351358793","filename":"file2"},{"photo_id":"1351358803","filename":"file4"},{"photo_id":"1351358786","filename":"file1"},{"photo_id":"1351358781","filename":"file0"},{"photo_id":"1351358798","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358803":["hashtag1","hashtag2"]},{"1351358793":["hashtag1","hashtag2"]},{"1351358781":["hashtag1","hashtag2"]},{"1351358808":["hashtag1","hashtag2"]},{"1351358786":["hashtag1","hashtag2"]},{"1351358798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358803, 1351358793, 1351358781, 1351358808, 1351358786, 1351358798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9251766204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:21:32.472277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_34_9360.jpg', '/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_44_10371.jpg', '/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_54_9468.jpg', '/home/pi/Desktop/images/10042025/21/12/image_10042025_21_13_04_10370.jpg', '/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_15_10439.jpg', '/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_24_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_34_9360.jpg
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_44_10371.jpg
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_12_54_9468.jpg
/home/pi/Desktop/images/10042025/21/12/image_10042025_21_13_04_10370.jpg
/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_15_10439.jpg
/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_24_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358902","1351358865","1351358868","1351358907","1351358873","1351358879"],"photo_ids_order":["1351358865","1351358868","1351358873","1351358879","1351358902","1351358907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d17ab0ad0136753c84a51a898b8892a7.jpg","text":"TemporaryFile(/tmp/multipartBody6620773664872205515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_13_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/659333faf042f1e9032cc24a6781f60e.jpg","text":"TemporaryFile(/tmp/multipartBody1501353369420873733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_12_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e294dfbdc65d00de78c644eddce92146.jpg","text":"TemporaryFile(/tmp/multipartBody4560490324974680251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_12_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d88a55a56772ba417b7fda5640413026.jpg","text":"TemporaryFile(/tmp/multipartBody354792379511195177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_13_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb659014b425dbbb4c93266c4fbc0394.jpg","text":"TemporaryFile(/tmp/multipartBody4154720740529946653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_12_54_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/098c24cf0eaf73f1c8b56cfb9d75e8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5950365755763012835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320152943,"filename":"image_10042025_21_13_04_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358873","file1":"1351358868","file0":"1351358865","file4":"1351358902","file5":"1351358907","file3":"1351358879"},"map_files_photo_id_array":[{"photo_id":"1351358907","filename":"file5"},{"photo_id":"1351358873","filename":"file2"},{"photo_id":"1351358902","filename":"file4"},{"photo_id":"1351358868","filename":"file1"},{"photo_id":"1351358865","filename":"file0"},{"photo_id":"1351358879","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358902":["hashtag1","hashtag2"]},{"1351358865":["hashtag1","hashtag2"]},{"1351358868":["hashtag1","hashtag2"]},{"1351358907":["hashtag1","hashtag2"]},{"1351358873":["hashtag1","hashtag2"]},{"1351358879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358902, 1351358865, 1351358868, 1351358907, 1351358873, 1351358879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72468709945679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:22:32.677998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_35_10362.jpg', '/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_44_9428.jpg', '/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_54_10449.jpg', '/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_14_9372.jpg', '/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_25_10468.jpg', '/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_34_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_35_10362.jpg
/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_44_9428.jpg
/home/pi/Desktop/images/10042025/21/13/image_10042025_21_13_54_10449.jpg
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_14_9372.jpg
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_25_10468.jpg
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_34_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351358961","1351358964","1351358967","1351358972","1351358975","1351358969"],"photo_ids_order":["1351358961","1351358964","1351358967","1351358969","1351358972","1351358975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2a336ede241c531534972206b4c9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5637372959955494000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_13_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f209e038271b6643f519cca2ae5dc02.jpg","text":"TemporaryFile(/tmp/multipartBody2674774969678836438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_13_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/624f07eaf7c4569988efd86e2351fc09.jpg","text":"TemporaryFile(/tmp/multipartBody2028394991819697192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_13_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/05cf58847cca6d73aa8b8f18f5ef2c08.jpg","text":"TemporaryFile(/tmp/multipartBody614852242260109566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_14_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a42f6234eb860fd7d80940ea0bf15471.jpg","text":"TemporaryFile(/tmp/multipartBody6914991417541176420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_14_34_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4d84c1e8a880cef020c78329ce495e4.jpg","text":"TemporaryFile(/tmp/multipartBody6429109490887898882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320213144,"filename":"image_10042025_21_14_14_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358967","file1":"1351358964","file0":"1351358961","file4":"1351358972","file5":"1351358975","file3":"1351358969"},"map_files_photo_id_array":[{"photo_id":"1351358975","filename":"file5"},{"photo_id":"1351358967","filename":"file2"},{"photo_id":"1351358972","filename":"file4"},{"photo_id":"1351358964","filename":"file1"},{"photo_id":"1351358961","filename":"file0"},{"photo_id":"1351358969","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351358961":["hashtag1","hashtag2"]},{"1351358964":["hashtag1","hashtag2"]},{"1351358967":["hashtag1","hashtag2"]},{"1351358972":["hashtag1","hashtag2"]},{"1351358975":["hashtag1","hashtag2"]},{"1351358969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351358961, 1351358964, 1351358967, 1351358972, 1351358975, 1351358969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55861854553223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:23:32.835571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_44_10366.jpg', '/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_54_9458.jpg', '/home/pi/Desktop/images/10042025/21/14/image_10042025_21_15_04_10345.jpg', '/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_15_10472.jpg', '/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_24_9434.jpg', '/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_35_10515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_44_10366.jpg
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_14_54_9458.jpg
/home/pi/Desktop/images/10042025/21/14/image_10042025_21_15_04_10345.jpg
/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_15_10472.jpg
/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_24_9434.jpg
/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_35_10515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359011","1351358995","1351358989","1351358998","1351358992","1351359001"],"photo_ids_order":["1351358989","1351358992","1351358995","1351358998","1351359001","1351359011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/055e3bd9e967a1b8c3d7d6e7b021f164.jpg","text":"TemporaryFile(/tmp/multipartBody791319910009052389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_15_35_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f58c56dad3d17a20359bd3aa62fd3dda.jpg","text":"TemporaryFile(/tmp/multipartBody3063640782949943499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_15_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/665ac73d4921e5b8ef6e5cadef0b7138.jpg","text":"TemporaryFile(/tmp/multipartBody6931165255816146639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_14_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dbcece5a54a5a99c36a5fb69a0802cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8975144908912618143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_15_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/649e6f243c663ba4ea6af7d5dcb4145f.jpg","text":"TemporaryFile(/tmp/multipartBody3157328126999773198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_14_54_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8bf3bdbabd6fe45ca89810ba5dcc624c.jpg","text":"TemporaryFile(/tmp/multipartBody7373278588152636175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320273297,"filename":"image_10042025_21_15_24_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351358995","file1":"1351358992","file0":"1351358989","file4":"1351359001","file5":"1351359011","file3":"1351358998"},"map_files_photo_id_array":[{"photo_id":"1351359011","filename":"file5"},{"photo_id":"1351358995","filename":"file2"},{"photo_id":"1351359001","filename":"file4"},{"photo_id":"1351358992","filename":"file1"},{"photo_id":"1351358989","filename":"file0"},{"photo_id":"1351358998","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359011":["hashtag1","hashtag2"]},{"1351358995":["hashtag1","hashtag2"]},{"1351358989":["hashtag1","hashtag2"]},{"1351358998":["hashtag1","hashtag2"]},{"1351358992":["hashtag1","hashtag2"]},{"1351359001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359011, 1351358995, 1351358989, 1351358998, 1351358992, 1351359001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01494574546814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:24:33.069312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_44_9495.jpg', '/home/pi/Desktop/images/10042025/21/15/image_10042025_21_16_04_9365.jpg', '/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_14_10365.jpg', '/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_25_10403.jpg', '/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_34_9370.jpg', '/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_44_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/15/image_10042025_21_15_44_9495.jpg
/home/pi/Desktop/images/10042025/21/15/image_10042025_21_16_04_9365.jpg
/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_14_10365.jpg
/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_25_10403.jpg
/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_34_9370.jpg
/home/pi/Desktop/images/10042025/21/16/image_10042025_21_16_44_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359225","1351359105","1351359108","1351359201","1351359133","1351359100"],"photo_ids_order":["1351359100","1351359105","1351359108","1351359133","1351359201","1351359225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/abf256a9bcc381d0698565e20dabd20f.jpg","text":"TemporaryFile(/tmp/multipartBody2548380986994388293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_16_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ece31b5a6fab8df76968f9cf4b228551.jpg","text":"TemporaryFile(/tmp/multipartBody2063819216682762987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_16_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/883ef3ae41c8aed2acd479d1818b95db.jpg","text":"TemporaryFile(/tmp/multipartBody8771841682105055260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_16_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8971a86a62ab37c79e1e5d4fd7eae34e.jpg","text":"TemporaryFile(/tmp/multipartBody2110371079435756821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_16_34_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/38e6aa58eb71b1efd85f91b023daa3c0.jpg","text":"TemporaryFile(/tmp/multipartBody1673555121291023874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_16_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a34b1f9dc1328a00827707d26b687faa.jpg","text":"TemporaryFile(/tmp/multipartBody3838270355837466003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320333533,"filename":"image_10042025_21_15_44_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359108","file1":"1351359105","file0":"1351359100","file4":"1351359201","file5":"1351359225","file3":"1351359133"},"map_files_photo_id_array":[{"photo_id":"1351359225","filename":"file5"},{"photo_id":"1351359108","filename":"file2"},{"photo_id":"1351359201","filename":"file4"},{"photo_id":"1351359105","filename":"file1"},{"photo_id":"1351359100","filename":"file0"},{"photo_id":"1351359133","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359225":["hashtag1","hashtag2"]},{"1351359105":["hashtag1","hashtag2"]},{"1351359108":["hashtag1","hashtag2"]},{"1351359201":["hashtag1","hashtag2"]},{"1351359133":["hashtag1","hashtag2"]},{"1351359100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359225, 1351359105, 1351359108, 1351359201, 1351359133, 1351359100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15704870223999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:25:32.353755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/16/image_10042025_21_17_04_10381.jpg', '/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_15_10421.jpg', '/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_24_9367.jpg', '/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_34_10366.jpg', '/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_44_9360.jpg', '/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_54_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/16/image_10042025_21_17_04_10381.jpg
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_15_10421.jpg
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_24_9367.jpg
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_34_10366.jpg
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_44_9360.jpg
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_17_54_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359240","1351359264","1351359251","1351359245","1351359248","1351359242"],"photo_ids_order":["1351359240","1351359242","1351359245","1351359248","1351359251","1351359264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9f8f6ac6c504145626c36a18a7e02eef.jpg","text":"TemporaryFile(/tmp/multipartBody5880915343405891852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_04_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c2d3964cd2c25b0d52c916008137f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2958823771437527569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_54_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/90615d0274c808c4bc4cedd0406f6260.jpg","text":"TemporaryFile(/tmp/multipartBody4262362644875402075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed294d9628dbf2ee5945eb18b775bfce.jpg","text":"TemporaryFile(/tmp/multipartBody5144287520658147970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f0bd4d6a560a892455c9efea955c5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7192889581564488504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d9c9092e35db80266eb16df67e0ff625.jpg","text":"TemporaryFile(/tmp/multipartBody2123726357285096286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320392822,"filename":"image_10042025_21_17_15_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359245","file1":"1351359242","file0":"1351359240","file4":"1351359251","file5":"1351359264","file3":"1351359248"},"map_files_photo_id_array":[{"photo_id":"1351359264","filename":"file5"},{"photo_id":"1351359245","filename":"file2"},{"photo_id":"1351359251","filename":"file4"},{"photo_id":"1351359242","filename":"file1"},{"photo_id":"1351359240","filename":"file0"},{"photo_id":"1351359248","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359240":["hashtag1","hashtag2"]},{"1351359264":["hashtag1","hashtag2"]},{"1351359251":["hashtag1","hashtag2"]},{"1351359245":["hashtag1","hashtag2"]},{"1351359248":["hashtag1","hashtag2"]},{"1351359242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359240, 1351359264, 1351359251, 1351359245, 1351359248, 1351359242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.612566471099854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:26:32.527016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/17/image_10042025_21_18_05_10451.jpg', '/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_14_9373.jpg', '/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_25_10510.jpg', '/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_34_9375.jpg', '/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_44_10442.jpg', '/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_54_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/17/image_10042025_21_18_05_10451.jpg
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_14_9373.jpg
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_25_10510.jpg
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_34_9375.jpg
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_44_10442.jpg
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_18_54_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359288","1351359296","1351359300","1351359292","1351359304","1351359285"],"photo_ids_order":["1351359285","1351359288","1351359292","1351359296","1351359300","1351359304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f0e72e75c3e836a11345571511a87d2.jpg","text":"TemporaryFile(/tmp/multipartBody3908945097290982075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a472136403187553fb391bf0a64474f.jpg","text":"TemporaryFile(/tmp/multipartBody2880683644438318079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_34_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b18bd0174e9005d4e3821f2e4c9385a.jpg","text":"TemporaryFile(/tmp/multipartBody4967256455752656166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_44_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc1ea090cb3bd97d227e77cb0534a15e.jpg","text":"TemporaryFile(/tmp/multipartBody6954828527252674569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_25_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9441bf95062671a4353abd69daa739b1.jpg","text":"TemporaryFile(/tmp/multipartBody4295860181989619653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_54_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4957c73886e47c708c415687678aacf1.jpg","text":"TemporaryFile(/tmp/multipartBody1432276254495334501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320453007,"filename":"image_10042025_21_18_05_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359292","file1":"1351359288","file0":"1351359285","file4":"1351359300","file5":"1351359304","file3":"1351359296"},"map_files_photo_id_array":[{"photo_id":"1351359304","filename":"file5"},{"photo_id":"1351359292","filename":"file2"},{"photo_id":"1351359300","filename":"file4"},{"photo_id":"1351359288","filename":"file1"},{"photo_id":"1351359285","filename":"file0"},{"photo_id":"1351359296","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359288":["hashtag1","hashtag2"]},{"1351359296":["hashtag1","hashtag2"]},{"1351359300":["hashtag1","hashtag2"]},{"1351359292":["hashtag1","hashtag2"]},{"1351359304":["hashtag1","hashtag2"]},{"1351359285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359288, 1351359296, 1351359300, 1351359292, 1351359304, 1351359285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54502463340759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:27:32.737689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/18/image_10042025_21_19_04_10366.jpg', '/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_15_10406.jpg', '/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_24_9392.jpg', '/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_34_10368.jpg', '/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_44_9371.jpg', '/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_54_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/18/image_10042025_21_19_04_10366.jpg
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_15_10406.jpg
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_24_9392.jpg
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_34_10368.jpg
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_44_9371.jpg
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_19_54_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359354","1351359342","1351359362","1351359365","1351359349","1351359358"],"photo_ids_order":["1351359342","1351359349","1351359354","1351359358","1351359362","1351359365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8b77b083433357f5cf926dd90889a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6869064781242239030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_24_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc17183ebff30f20bc2bfc65d6025b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1821498538694544191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c942857e8b937adcda7923e5e17ccc73.jpg","text":"TemporaryFile(/tmp/multipartBody284690558350331851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_44_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/752b9b4d18a9eec906f3de9d0f666df3.jpg","text":"TemporaryFile(/tmp/multipartBody2341825225677386697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_54_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ec82991f8ae9d5b829e7dc4d74a9291a.jpg","text":"TemporaryFile(/tmp/multipartBody8012888841138094362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/538ac6e1f29cc738d0ecea7a788bff5f.jpg","text":"TemporaryFile(/tmp/multipartBody7889204337644203837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320513204,"filename":"image_10042025_21_19_34_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359354","file1":"1351359349","file0":"1351359342","file4":"1351359362","file5":"1351359365","file3":"1351359358"},"map_files_photo_id_array":[{"photo_id":"1351359365","filename":"file5"},{"photo_id":"1351359354","filename":"file2"},{"photo_id":"1351359362","filename":"file4"},{"photo_id":"1351359349","filename":"file1"},{"photo_id":"1351359342","filename":"file0"},{"photo_id":"1351359358","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359354":["hashtag1","hashtag2"]},{"1351359342":["hashtag1","hashtag2"]},{"1351359362":["hashtag1","hashtag2"]},{"1351359365":["hashtag1","hashtag2"]},{"1351359349":["hashtag1","hashtag2"]},{"1351359358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359354, 1351359342, 1351359362, 1351359365, 1351359349, 1351359358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1361346244812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:28:32.916458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/19/image_10042025_21_20_05_10529.jpg', '/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_14_9368.jpg', '/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_25_10460.jpg', '/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_34_9373.jpg', '/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_44_10400.jpg', '/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_55_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/19/image_10042025_21_20_05_10529.jpg
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_14_9368.jpg
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_25_10460.jpg
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_34_9373.jpg
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_44_10400.jpg
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_20_55_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359468","1351359528","1351359516","1351359444","1351359494","1351359536"],"photo_ids_order":["1351359444","1351359468","1351359494","1351359516","1351359528","1351359536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e7022bd50709320bc3ceb0d0c19d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4615968362637607903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aec6d2d3940ca4ca0217b6e03e41f50d.jpg","text":"TemporaryFile(/tmp/multipartBody1708771308567645219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_44_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e2fa77ed968a1ecde7d7a0a44d35e22.jpg","text":"TemporaryFile(/tmp/multipartBody4539425915534013629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa9fb27fe405b6436d11d90658832e04.jpg","text":"TemporaryFile(/tmp/multipartBody4047145379054005127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_05_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d2e0e401c8b6c31429ce01f35c4b0026.jpg","text":"TemporaryFile(/tmp/multipartBody7599231847812114062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2d4422db74a727bdd9ae75daa319e733.jpg","text":"TemporaryFile(/tmp/multipartBody5726714381915259650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320573394,"filename":"image_10042025_21_20_55_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359494","file1":"1351359468","file0":"1351359444","file4":"1351359528","file5":"1351359536","file3":"1351359516"},"map_files_photo_id_array":[{"photo_id":"1351359536","filename":"file5"},{"photo_id":"1351359494","filename":"file2"},{"photo_id":"1351359528","filename":"file4"},{"photo_id":"1351359468","filename":"file1"},{"photo_id":"1351359444","filename":"file0"},{"photo_id":"1351359516","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359468":["hashtag1","hashtag2"]},{"1351359528":["hashtag1","hashtag2"]},{"1351359516":["hashtag1","hashtag2"]},{"1351359444":["hashtag1","hashtag2"]},{"1351359494":["hashtag1","hashtag2"]},{"1351359536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359468, 1351359528, 1351359516, 1351359444, 1351359494, 1351359536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18430709838867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:29:33.032576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/20/image_10042025_21_21_04_9361.jpg', '/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_14_10358.jpg', '/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_24_9442.jpg', '/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_34_10389.jpg', '/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_45_10429.jpg', '/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_54_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/20/image_10042025_21_21_04_9361.jpg
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_14_10358.jpg
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_24_9442.jpg
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_34_10389.jpg
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_45_10429.jpg
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_21_54_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351359771","1351359648","1351359717","1351359691","1351359724","1351359669"],"photo_ids_order":["1351359648","1351359669","1351359691","1351359717","1351359724","1351359771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/60b5fc7bb6780736dbc0edee17dd5d98.jpg","text":"TemporaryFile(/tmp/multipartBody3616707458533910220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00237071a22d928864d273946fb26b68.jpg","text":"TemporaryFile(/tmp/multipartBody479347403609049732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_04_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/006f69e8dc62c60f4eacc03b890a2a13.jpg","text":"TemporaryFile(/tmp/multipartBody5473303472760768669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_34_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e952951ca160f506531b1065450c65e2.jpg","text":"TemporaryFile(/tmp/multipartBody6187041308972563783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/23ec7a0724fc8c80d970385b908797d4.jpg","text":"TemporaryFile(/tmp/multipartBody2592237095043520576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2939d7d8149d8b3cc1ea1b81b99f925b.jpg","text":"TemporaryFile(/tmp/multipartBody5834800238471586707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320633515,"filename":"image_10042025_21_21_14_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351359691","file1":"1351359669","file0":"1351359648","file4":"1351359724","file5":"1351359771","file3":"1351359717"},"map_files_photo_id_array":[{"photo_id":"1351359771","filename":"file5"},{"photo_id":"1351359691","filename":"file2"},{"photo_id":"1351359724","filename":"file4"},{"photo_id":"1351359669","filename":"file1"},{"photo_id":"1351359648","filename":"file0"},{"photo_id":"1351359717","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351359771":["hashtag1","hashtag2"]},{"1351359648":["hashtag1","hashtag2"]},{"1351359717":["hashtag1","hashtag2"]},{"1351359691":["hashtag1","hashtag2"]},{"1351359724":["hashtag1","hashtag2"]},{"1351359669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351359771, 1351359648, 1351359717, 1351359691, 1351359724, 1351359669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.018691301345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:30:32.200744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/21/image_10042025_21_22_05_10434.jpg', '/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_14_9460.jpg', '/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_24_10363.jpg', '/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_35_10396.jpg', '/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_44_9359.jpg', '/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_54_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/21/image_10042025_21_22_05_10434.jpg
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_14_9460.jpg
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_24_10363.jpg
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_35_10396.jpg
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_44_9359.jpg
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_22_54_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351360044","1351359965","1351360014","1351360064","1351360084","1351359916"],"photo_ids_order":["1351359916","1351359965","1351360014","1351360044","1351360064","1351360084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ed31df7f442824b0d2e7a68b3f836c67.jpg","text":"TemporaryFile(/tmp/multipartBody1898709188047889482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/983431b5d169045c5f0e9037c85ca3be.jpg","text":"TemporaryFile(/tmp/multipartBody1317228001346044947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_14_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7e0ee9b79d661377ea4661cab457ef2c.jpg","text":"TemporaryFile(/tmp/multipartBody7024242274388644085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_24_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/777e03b93e1d51b0e6b36797fca7dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody6323295993909864377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4587485d374b86bdfa1c6bf8d675d59a.jpg","text":"TemporaryFile(/tmp/multipartBody161330399347255521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/76e21266fae0fcaafa47f64eae6ae28e.jpg","text":"TemporaryFile(/tmp/multipartBody6118842077095523473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320692676,"filename":"image_10042025_21_22_05_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351360014","file1":"1351359965","file0":"1351359916","file4":"1351360064","file5":"1351360084","file3":"1351360044"},"map_files_photo_id_array":[{"photo_id":"1351360084","filename":"file5"},{"photo_id":"1351360014","filename":"file2"},{"photo_id":"1351360064","filename":"file4"},{"photo_id":"1351359965","filename":"file1"},{"photo_id":"1351359916","filename":"file0"},{"photo_id":"1351360044","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351360044":["hashtag1","hashtag2"]},{"1351359965":["hashtag1","hashtag2"]},{"1351360014":["hashtag1","hashtag2"]},{"1351360064":["hashtag1","hashtag2"]},{"1351360084":["hashtag1","hashtag2"]},{"1351359916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351360044, 1351359965, 1351360014, 1351360064, 1351360084, 1351359916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94389510154724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:31:32.579111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/22/image_10042025_21_23_04_9355.jpg', '/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_14_10353.jpg', '/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_25_10423.jpg', '/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_34_9371.jpg', '/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_44_10413.jpg', '/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/22/image_10042025_21_23_04_9355.jpg
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_14_10353.jpg
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_25_10423.jpg
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_34_9371.jpg
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_44_10413.jpg
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_23_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351360376","1351360256","1351360334","1351360348","1351360342","1351360270"],"photo_ids_order":["1351360256","1351360270","1351360334","1351360342","1351360348","1351360376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b2ce0f98d1c1cd51d9e3b49b9c62ae56.jpg","text":"TemporaryFile(/tmp/multipartBody5716914022800233678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f2dd60b8f0c3353ab8475a6aef940f1.jpg","text":"TemporaryFile(/tmp/multipartBody6594851340081374557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aec723b077532c0c5ddca28d3e84ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody1600578398541816526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/66fc99ab401b55647d2e22a8c5c10761.jpg","text":"TemporaryFile(/tmp/multipartBody7963225298294374616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_44_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48748a44d99e6af67ee7134f4fb52830.jpg","text":"TemporaryFile(/tmp/multipartBody2477095527029214468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3be79884be5743fbb1e5bb7a652f83f.jpg","text":"TemporaryFile(/tmp/multipartBody4891042436899300375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320753041,"filename":"image_10042025_21_23_14_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351360334","file1":"1351360270","file0":"1351360256","file4":"1351360348","file5":"1351360376","file3":"1351360342"},"map_files_photo_id_array":[{"photo_id":"1351360376","filename":"file5"},{"photo_id":"1351360334","filename":"file2"},{"photo_id":"1351360348","filename":"file4"},{"photo_id":"1351360270","filename":"file1"},{"photo_id":"1351360256","filename":"file0"},{"photo_id":"1351360342","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351360376":["hashtag1","hashtag2"]},{"1351360256":["hashtag1","hashtag2"]},{"1351360334":["hashtag1","hashtag2"]},{"1351360348":["hashtag1","hashtag2"]},{"1351360342":["hashtag1","hashtag2"]},{"1351360270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351360376, 1351360256, 1351360334, 1351360348, 1351360342, 1351360270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.233405351638794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:32:32.922426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/23/image_10042025_21_24_04_9363.jpg', '/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_15_10380.jpg', '/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_24_9481.jpg', '/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_34_10406.jpg', '/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_44_9429.jpg', '/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_54_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/23/image_10042025_21_24_04_9363.jpg
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_15_10380.jpg
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_24_9481.jpg
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_34_10406.jpg
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_44_9429.jpg
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_24_54_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351360507","1351360614","1351360518","1351360589","1351360544","1351360604"],"photo_ids_order":["1351360507","1351360518","1351360544","1351360589","1351360604","1351360614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/436a916af4d89f4ae40b3f60e7c4c5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1748965480212778840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b092c09e276a6c818b0bcbe0510ffa03.jpg","text":"TemporaryFile(/tmp/multipartBody3616860502246269255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54406c1438bbbcfadde6c9ef46c9ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody2861586589908865535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_15_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/bb3b9bc0b4f70e23207094afba684fea.jpg","text":"TemporaryFile(/tmp/multipartBody1015054765446715027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_34_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cbdfe92d3c0d75b0546da5636087c97a.jpg","text":"TemporaryFile(/tmp/multipartBody3845749052436359184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_24_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d367745fb65f367cd06aa73868a7ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody8168461981469554337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320813408,"filename":"image_10042025_21_24_44_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351360544","file1":"1351360518","file0":"1351360507","file4":"1351360604","file5":"1351360614","file3":"1351360589"},"map_files_photo_id_array":[{"photo_id":"1351360614","filename":"file5"},{"photo_id":"1351360544","filename":"file2"},{"photo_id":"1351360604","filename":"file4"},{"photo_id":"1351360518","filename":"file1"},{"photo_id":"1351360507","filename":"file0"},{"photo_id":"1351360589","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351360507":["hashtag1","hashtag2"]},{"1351360614":["hashtag1","hashtag2"]},{"1351360518":["hashtag1","hashtag2"]},{"1351360589":["hashtag1","hashtag2"]},{"1351360544":["hashtag1","hashtag2"]},{"1351360604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351360507, 1351360614, 1351360518, 1351360589, 1351360544, 1351360604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79697585105896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:33:33.124797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/24/image_10042025_21_25_05_10373.jpg', '/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_14_9434.jpg', '/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_24_10370.jpg', '/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_34_9477.jpg', '/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_44_10375.jpg', '/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_55_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/24/image_10042025_21_25_05_10373.jpg
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_14_9434.jpg
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_24_10370.jpg
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_34_9477.jpg
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_44_10375.jpg
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_25_55_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351360866","1351360881","1351360845","1351360809","1351360885","1351360786"],"photo_ids_order":["1351360786","1351360809","1351360845","1351360866","1351360881","1351360885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46db0853d9e4b05da9e4918beb5e5b42.jpg","text":"TemporaryFile(/tmp/multipartBody4905971965511819156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_34_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/18c3cd03e5507cc486c1224ed8ce319e.jpg","text":"TemporaryFile(/tmp/multipartBody8320747363545873956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_44_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ef3a5433bb762d928fb6cbb31c36e137.jpg","text":"TemporaryFile(/tmp/multipartBody4176822449573221008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/623dc03f169bb10e737eac42b75882f9.jpg","text":"TemporaryFile(/tmp/multipartBody7146117395591913181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5924a7906c4a821f37ecfdf41a2e0849.jpg","text":"TemporaryFile(/tmp/multipartBody4180254068537495120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2175e1e7c9fe3ee132f9fb7d92f1ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody5340590705231421053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320873605,"filename":"image_10042025_21_25_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351360845","file1":"1351360809","file0":"1351360786","file4":"1351360881","file5":"1351360885","file3":"1351360866"},"map_files_photo_id_array":[{"photo_id":"1351360885","filename":"file5"},{"photo_id":"1351360845","filename":"file2"},{"photo_id":"1351360881","filename":"file4"},{"photo_id":"1351360809","filename":"file1"},{"photo_id":"1351360786","filename":"file0"},{"photo_id":"1351360866","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351360866":["hashtag1","hashtag2"]},{"1351360881":["hashtag1","hashtag2"]},{"1351360845":["hashtag1","hashtag2"]},{"1351360809":["hashtag1","hashtag2"]},{"1351360885":["hashtag1","hashtag2"]},{"1351360786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351360866, 1351360881, 1351360845, 1351360809, 1351360885, 1351360786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43153500556946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:34:32.413047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/25/image_10042025_21_26_04_9433.jpg', '/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_14_10373.jpg', '/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_24_9364.jpg', '/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_34_10381.jpg', '/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_45_10385.jpg', '/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_54_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/25/image_10042025_21_26_04_9433.jpg
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_14_10373.jpg
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_24_9364.jpg
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_34_10381.jpg
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_45_10385.jpg
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_26_54_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361088","1351361049","1351361093","1351361051","1351361083","1351361044"],"photo_ids_order":["1351361044","1351361049","1351361051","1351361083","1351361088","1351361093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5499a29aa645291bba905a9c295c4e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5567559989352940546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5db0a5a1c5a8548a50c2723ca57a4edd.jpg","text":"TemporaryFile(/tmp/multipartBody3104816807584534257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6830d4a0870b18347716257a8027aa2d.jpg","text":"TemporaryFile(/tmp/multipartBody6969073977641110950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/10a743e8c631d8cad63d288f46985dea.jpg","text":"TemporaryFile(/tmp/multipartBody3743446887899749164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68a61036a850d7c58f9ba931c88059a8.jpg","text":"TemporaryFile(/tmp/multipartBody9094572715727255292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_34_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e5de3aaeba5e46d941a8db83cbbca39a.jpg","text":"TemporaryFile(/tmp/multipartBody2620337582111827168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320932878,"filename":"image_10042025_21_26_04_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361051","file1":"1351361049","file0":"1351361044","file4":"1351361088","file5":"1351361093","file3":"1351361083"},"map_files_photo_id_array":[{"photo_id":"1351361093","filename":"file5"},{"photo_id":"1351361051","filename":"file2"},{"photo_id":"1351361088","filename":"file4"},{"photo_id":"1351361049","filename":"file1"},{"photo_id":"1351361044","filename":"file0"},{"photo_id":"1351361083","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361088":["hashtag1","hashtag2"]},{"1351361049":["hashtag1","hashtag2"]},{"1351361093":["hashtag1","hashtag2"]},{"1351361051":["hashtag1","hashtag2"]},{"1351361083":["hashtag1","hashtag2"]},{"1351361044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361088, 1351361049, 1351361093, 1351361051, 1351361083, 1351361044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77693462371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:35:32.651389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/26/image_10042025_21_27_04_10481.jpg', '/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_14_9547.jpg', '/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_24_10435.jpg', '/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_35_10374.jpg', '/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_44_9372.jpg', '/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/26/image_10042025_21_27_04_10481.jpg
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_14_9547.jpg
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_24_10435.jpg
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_35_10374.jpg
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_44_9372.jpg
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_27_55_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361123","1351361126","1351361111","1351361129","1351361131","1351361107"],"photo_ids_order":["1351361107","1351361111","1351361123","1351361126","1351361129","1351361131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b493dddd9408fed5006010b11379e270.jpg","text":"TemporaryFile(/tmp/multipartBody2714674282965699054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_24_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e2f5b7736e5ac5ac4705fb7f37d7c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8061438981717446485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b0b392e7bf6976a74edaaa759df79778.jpg","text":"TemporaryFile(/tmp/multipartBody5252282940552727995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_14_9547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2cf6be49ae1e77a12780157524dcb4b2.jpg","text":"TemporaryFile(/tmp/multipartBody8825546038205648636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e3563629d40adc56f942d06250f58e12.jpg","text":"TemporaryFile(/tmp/multipartBody5291649621726289912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/385eadaed84b0980a9b79cac8aa29de0.jpg","text":"TemporaryFile(/tmp/multipartBody1126663410781567296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744320993133,"filename":"image_10042025_21_27_04_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361123","file1":"1351361111","file0":"1351361107","file4":"1351361129","file5":"1351361131","file3":"1351361126"},"map_files_photo_id_array":[{"photo_id":"1351361131","filename":"file5"},{"photo_id":"1351361123","filename":"file2"},{"photo_id":"1351361129","filename":"file4"},{"photo_id":"1351361111","filename":"file1"},{"photo_id":"1351361107","filename":"file0"},{"photo_id":"1351361126","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361123":["hashtag1","hashtag2"]},{"1351361126":["hashtag1","hashtag2"]},{"1351361111":["hashtag1","hashtag2"]},{"1351361129":["hashtag1","hashtag2"]},{"1351361131":["hashtag1","hashtag2"]},{"1351361107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361123, 1351361126, 1351361111, 1351361129, 1351361131, 1351361107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.15799045562744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:36:32.896169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/27/image_10042025_21_28_04_9370.jpg', '/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_14_10376.jpg', '/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_24_9506.jpg', '/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_34_10437.jpg', '/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_45_10479.jpg', '/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_54_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/27/image_10042025_21_28_04_9370.jpg
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_14_10376.jpg
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_24_9506.jpg
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_34_10437.jpg
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_45_10479.jpg
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_28_54_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361145","1351361156","1351361141","1351361152","1351361161","1351361149"],"photo_ids_order":["1351361141","1351361145","1351361149","1351361152","1351361156","1351361161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc1b9620579349e68087df5591c24a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6115945088616621235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_14_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2e2c953b47327e044085733c89749219.jpg","text":"TemporaryFile(/tmp/multipartBody529865185135125114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_45_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/20ccac13a931c2bacac18cde89fac547.jpg","text":"TemporaryFile(/tmp/multipartBody5097618034061086406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7269822b938b2b9244719f0838de6e56.jpg","text":"TemporaryFile(/tmp/multipartBody595469529601981940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_34_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/21fa08503fc0a299853b87d658c5629c.jpg","text":"TemporaryFile(/tmp/multipartBody6433309339503673606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/053d5e6e2243295d8a196bbfc0d57793.jpg","text":"TemporaryFile(/tmp/multipartBody8494007398445376928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321053355,"filename":"image_10042025_21_28_24_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361149","file1":"1351361145","file0":"1351361141","file4":"1351361156","file5":"1351361161","file3":"1351361152"},"map_files_photo_id_array":[{"photo_id":"1351361161","filename":"file5"},{"photo_id":"1351361149","filename":"file2"},{"photo_id":"1351361156","filename":"file4"},{"photo_id":"1351361145","filename":"file1"},{"photo_id":"1351361141","filename":"file0"},{"photo_id":"1351361152","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361145":["hashtag1","hashtag2"]},{"1351361156":["hashtag1","hashtag2"]},{"1351361141":["hashtag1","hashtag2"]},{"1351361152":["hashtag1","hashtag2"]},{"1351361161":["hashtag1","hashtag2"]},{"1351361149":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361145, 1351361156, 1351361141, 1351361152, 1351361161, 1351361149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.077720165252686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:37:32.963263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/28/image_10042025_21_29_04_10358.jpg', '/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_14_9424.jpg', '/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_24_10370.jpg', '/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_35_10425.jpg', '/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_54_10366.jpg', '/home/pi/Desktop/images/10042025/21/29/image_10042025_21_30_04_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/28/image_10042025_21_29_04_10358.jpg
/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_14_9424.jpg
/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_24_10370.jpg
/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_35_10425.jpg
/home/pi/Desktop/images/10042025/21/29/image_10042025_21_29_54_10366.jpg
/home/pi/Desktop/images/10042025/21/29/image_10042025_21_30_04_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361192","1351361186","1351361189","1351361183","1351361194","1351361181"],"photo_ids_order":["1351361181","1351361183","1351361186","1351361189","1351361192","1351361194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/379286d5a3d1b1812b287654bafa8290.jpg","text":"TemporaryFile(/tmp/multipartBody2427152635770395361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_29_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e11e35417e2f0665a2872064d312b3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1712285867003460611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_29_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ef033925f5676864c12bf035a89947c.jpg","text":"TemporaryFile(/tmp/multipartBody5968672967181859569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_29_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59a1e43138ae35821d32a07871eb372a.jpg","text":"TemporaryFile(/tmp/multipartBody8322253680078099677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_29_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/be8fc9fdf5eed3932131d66146234f33.jpg","text":"TemporaryFile(/tmp/multipartBody3312398278218942743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_30_04_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0934171f2cabbb1eebb35c2953e04f14.jpg","text":"TemporaryFile(/tmp/multipartBody5611434393489375456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321113452,"filename":"image_10042025_21_29_04_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361186","file1":"1351361183","file0":"1351361181","file4":"1351361192","file5":"1351361194","file3":"1351361189"},"map_files_photo_id_array":[{"photo_id":"1351361194","filename":"file5"},{"photo_id":"1351361186","filename":"file2"},{"photo_id":"1351361192","filename":"file4"},{"photo_id":"1351361183","filename":"file1"},{"photo_id":"1351361181","filename":"file0"},{"photo_id":"1351361189","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361192":["hashtag1","hashtag2"]},{"1351361186":["hashtag1","hashtag2"]},{"1351361189":["hashtag1","hashtag2"]},{"1351361183":["hashtag1","hashtag2"]},{"1351361194":["hashtag1","hashtag2"]},{"1351361181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361192, 1351361186, 1351361189, 1351361183, 1351361194, 1351361181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94499373435974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:38:32.186456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_14_10452.jpg', '/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_34_9355.jpg', '/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_44_10389.jpg', '/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_54_9369.jpg', '/home/pi/Desktop/images/10042025/21/30/image_10042025_21_31_04_10365.jpg', '/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_24_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_14_10452.jpg
/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_34_9355.jpg
/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_44_10389.jpg
/home/pi/Desktop/images/10042025/21/30/image_10042025_21_30_54_9369.jpg
/home/pi/Desktop/images/10042025/21/30/image_10042025_21_31_04_10365.jpg
/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_24_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361298","1351361343","1351361294","1351361348","1351361323","1351361280"],"photo_ids_order":["1351361280","1351361294","1351361298","1351361323","1351361343","1351361348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/074be38f0afc2d9237269b1994a6c3a2.jpg","text":"TemporaryFile(/tmp/multipartBody2667624189731142351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_30_44_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/84618a74c10494640ef610c9e04ee299.jpg","text":"TemporaryFile(/tmp/multipartBody2556961981601035052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_31_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/040c8c5151c87250ce2cc5b84f4641cc.jpg","text":"TemporaryFile(/tmp/multipartBody4721662972924084076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_30_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ee4a03c98cd91adfe4376dc5c76d53d.jpg","text":"TemporaryFile(/tmp/multipartBody2735995902191217008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_31_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ce5b4ede54959348fbb590b1521e9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4875632234445177498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_30_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/547328cca77b6362fe7e8e80783dc0eb.jpg","text":"TemporaryFile(/tmp/multipartBody719125784632507811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321172660,"filename":"image_10042025_21_30_14_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361298","file1":"1351361294","file0":"1351361280","file4":"1351361343","file5":"1351361348","file3":"1351361323"},"map_files_photo_id_array":[{"photo_id":"1351361348","filename":"file5"},{"photo_id":"1351361298","filename":"file2"},{"photo_id":"1351361343","filename":"file4"},{"photo_id":"1351361294","filename":"file1"},{"photo_id":"1351361280","filename":"file0"},{"photo_id":"1351361323","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361298":["hashtag1","hashtag2"]},{"1351361343":["hashtag1","hashtag2"]},{"1351361294":["hashtag1","hashtag2"]},{"1351361348":["hashtag1","hashtag2"]},{"1351361323":["hashtag1","hashtag2"]},{"1351361280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361298, 1351361343, 1351361294, 1351361348, 1351361323, 1351361280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41696548461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:39:32.400899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_34_10374.jpg', '/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_44_9473.jpg', '/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_54_10374.jpg', '/home/pi/Desktop/images/10042025/21/31/image_10042025_21_32_05_10370.jpg', '/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_14_9417.jpg', '/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_24_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_34_10374.jpg
/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_44_9473.jpg
/home/pi/Desktop/images/10042025/21/31/image_10042025_21_31_54_10374.jpg
/home/pi/Desktop/images/10042025/21/31/image_10042025_21_32_05_10370.jpg
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_14_9417.jpg
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_24_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361481","1351361457","1351361390","1351361414","1351361398","1351361487"],"photo_ids_order":["1351361390","1351361398","1351361414","1351361457","1351361481","1351361487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b6bd7b99260f286dace25379be7623cf.jpg","text":"TemporaryFile(/tmp/multipartBody2072253733589675557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_32_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fc1cee88fe4b4c0144a32e4a61684fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1551184264333028666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_32_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/08b9858f1a3a1307bfd1e5f099b83ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7260428847241559614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_31_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a8beacaabc185eb4dd7ed51fef0b0b57.jpg","text":"TemporaryFile(/tmp/multipartBody2504080506229288114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_31_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c4fe31deae48d3d06e21f12ed4267683.jpg","text":"TemporaryFile(/tmp/multipartBody890737243623445865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_31_44_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7d17dd4a54023d1c03584313cfb8aa71.jpg","text":"TemporaryFile(/tmp/multipartBody8494602138833971319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321232879,"filename":"image_10042025_21_32_24_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361414","file1":"1351361398","file0":"1351361390","file4":"1351361481","file5":"1351361487","file3":"1351361457"},"map_files_photo_id_array":[{"photo_id":"1351361487","filename":"file5"},{"photo_id":"1351361414","filename":"file2"},{"photo_id":"1351361481","filename":"file4"},{"photo_id":"1351361398","filename":"file1"},{"photo_id":"1351361390","filename":"file0"},{"photo_id":"1351361457","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361481":["hashtag1","hashtag2"]},{"1351361457":["hashtag1","hashtag2"]},{"1351361390":["hashtag1","hashtag2"]},{"1351361414":["hashtag1","hashtag2"]},{"1351361398":["hashtag1","hashtag2"]},{"1351361487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361481, 1351361457, 1351361390, 1351361414, 1351361398, 1351361487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.294461250305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:40:32.671871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_35_10391.jpg', '/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_44_9365.jpg', '/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_54_10364.jpg', '/home/pi/Desktop/images/10042025/21/32/image_10042025_21_33_04_9408.jpg', '/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_14_10361.jpg', '/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_25_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_35_10391.jpg
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_44_9365.jpg
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_32_54_10364.jpg
/home/pi/Desktop/images/10042025/21/32/image_10042025_21_33_04_9408.jpg
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_14_10361.jpg
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_25_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361588","1351361576","1351361531","1351361612","1351361584","1351361565"],"photo_ids_order":["1351361531","1351361565","1351361576","1351361584","1351361588","1351361612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4696d12ab7f778c65689ed3d4e8c0b71.jpg","text":"TemporaryFile(/tmp/multipartBody8467403545361683160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_33_14_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/94412a994ce109f4a001bbf2b8537153.jpg","text":"TemporaryFile(/tmp/multipartBody2345607542862108432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_32_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f90eeedf6bdcf162b563ba4dd41ca63d.jpg","text":"TemporaryFile(/tmp/multipartBody4877879330811078204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_32_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ad6d77b23eb8090be88b4d120a04702b.jpg","text":"TemporaryFile(/tmp/multipartBody8993730818245363721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_33_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f3a35fd4c8c787a577ce27bed5e0783b.jpg","text":"TemporaryFile(/tmp/multipartBody7139773472041013899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_33_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6fd939285bd67c6e48840efd94d859c2.jpg","text":"TemporaryFile(/tmp/multipartBody7772557356307895038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321293157,"filename":"image_10042025_21_32_44_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361576","file1":"1351361565","file0":"1351361531","file4":"1351361588","file5":"1351361612","file3":"1351361584"},"map_files_photo_id_array":[{"photo_id":"1351361612","filename":"file5"},{"photo_id":"1351361576","filename":"file2"},{"photo_id":"1351361588","filename":"file4"},{"photo_id":"1351361565","filename":"file1"},{"photo_id":"1351361531","filename":"file0"},{"photo_id":"1351361584","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361588":["hashtag1","hashtag2"]},{"1351361576":["hashtag1","hashtag2"]},{"1351361531":["hashtag1","hashtag2"]},{"1351361612":["hashtag1","hashtag2"]},{"1351361584":["hashtag1","hashtag2"]},{"1351361565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361588, 1351361576, 1351361531, 1351361612, 1351361584, 1351361565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.308521032333374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:41:32.970558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_34_9390.jpg', '/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_44_10372.jpg', '/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_54_9434.jpg', '/home/pi/Desktop/images/10042025/21/33/image_10042025_21_34_04_10360.jpg', '/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_15_10362.jpg', '/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_24_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_34_9390.jpg
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_44_10372.jpg
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_33_54_9434.jpg
/home/pi/Desktop/images/10042025/21/33/image_10042025_21_34_04_10360.jpg
/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_15_10362.jpg
/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_24_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351361696","1351361864","1351361720","1351361743","1351361704","1351361713"],"photo_ids_order":["1351361696","1351361704","1351361713","1351361720","1351361743","1351361864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e9bc26b377eae8d6171ef49c96417a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1628870772409826517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_33_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0f0e7a60b7a1e5573a67e06973828140.jpg","text":"TemporaryFile(/tmp/multipartBody314444288602476728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_34_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4d68c62991f3a311fd39c9c66bc915f.jpg","text":"TemporaryFile(/tmp/multipartBody7394325952258692606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_34_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8a91c6bf55eec644962113039180fe4.jpg","text":"TemporaryFile(/tmp/multipartBody6988755416849039617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_34_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6e7ff843358fc891daa40518d316567a.jpg","text":"TemporaryFile(/tmp/multipartBody8547560600174362529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_33_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/faf48a716051f7c8c79c502169e052b8.jpg","text":"TemporaryFile(/tmp/multipartBody8558674798924866662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321353435,"filename":"image_10042025_21_33_54_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351361713","file1":"1351361704","file0":"1351361696","file4":"1351361743","file5":"1351361864","file3":"1351361720"},"map_files_photo_id_array":[{"photo_id":"1351361864","filename":"file5"},{"photo_id":"1351361713","filename":"file2"},{"photo_id":"1351361743","filename":"file4"},{"photo_id":"1351361704","filename":"file1"},{"photo_id":"1351361696","filename":"file0"},{"photo_id":"1351361720","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351361696":["hashtag1","hashtag2"]},{"1351361864":["hashtag1","hashtag2"]},{"1351361720":["hashtag1","hashtag2"]},{"1351361743":["hashtag1","hashtag2"]},{"1351361704":["hashtag1","hashtag2"]},{"1351361713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351361696, 1351361864, 1351361720, 1351361743, 1351361704, 1351361713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47655248641968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:42:33.098988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_34_10366.jpg', '/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_45_10428.jpg', '/home/pi/Desktop/images/10042025/21/34/image_10042025_21_35_04_10375.jpg', '/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_14_9370.jpg', '/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_24_10377.jpg', '/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_35_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_34_10366.jpg
/home/pi/Desktop/images/10042025/21/34/image_10042025_21_34_45_10428.jpg
/home/pi/Desktop/images/10042025/21/34/image_10042025_21_35_04_10375.jpg
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_14_9370.jpg
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_24_10377.jpg
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_35_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351362365","1351362349","1351362250","1351362328","1351362297","1351362375"],"photo_ids_order":["1351362250","1351362297","1351362328","1351362349","1351362365","1351362375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8eadf16e0fe3ed5252ead4fe2a8e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5900335681735073952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_35_24_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2f5c94b5b3b10738e29f38d4af61e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody8795866023686338597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_35_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eeaf9dbb6c6de85dae5473416131488c.jpg","text":"TemporaryFile(/tmp/multipartBody7669405498695731795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_34_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/54f163023605ad678d62b665d555e58c.jpg","text":"TemporaryFile(/tmp/multipartBody883537161251339464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_35_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/837c1fe7062e3983106596b708ba44fd.jpg","text":"TemporaryFile(/tmp/multipartBody1160230324934564872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_34_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8433ee58bee93b9a9ab7e7cfc8820ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8362641162675242122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321413571,"filename":"image_10042025_21_35_35_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351362328","file1":"1351362297","file0":"1351362250","file4":"1351362365","file5":"1351362375","file3":"1351362349"},"map_files_photo_id_array":[{"photo_id":"1351362375","filename":"file5"},{"photo_id":"1351362328","filename":"file2"},{"photo_id":"1351362365","filename":"file4"},{"photo_id":"1351362297","filename":"file1"},{"photo_id":"1351362250","filename":"file0"},{"photo_id":"1351362349","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351362365":["hashtag1","hashtag2"]},{"1351362349":["hashtag1","hashtag2"]},{"1351362250":["hashtag1","hashtag2"]},{"1351362328":["hashtag1","hashtag2"]},{"1351362297":["hashtag1","hashtag2"]},{"1351362375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351362365, 1351362349, 1351362250, 1351362328, 1351362297, 1351362375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6881320476532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:43:32.339138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_44_9359.jpg', '/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_55_10467.jpg', '/home/pi/Desktop/images/10042025/21/35/image_10042025_21_36_04_9374.jpg', '/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_14_10375.jpg', '/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_25_10417.jpg', '/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_34_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_44_9359.jpg
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_35_55_10467.jpg
/home/pi/Desktop/images/10042025/21/35/image_10042025_21_36_04_9374.jpg
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_14_10375.jpg
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_25_10417.jpg
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_34_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351362617","1351362710","1351362529","1351362588","1351362570","1351362555"],"photo_ids_order":["1351362529","1351362555","1351362570","1351362588","1351362617","1351362710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3a5634798dfe8548d77cf8f474365fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3341098802450726036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_36_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/82db6669b3e371600784895a74dc5898.jpg","text":"TemporaryFile(/tmp/multipartBody2304036463810658431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_36_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9c9f4e53c3ede96c1fe0d12ed8125f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5329827708124081887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_35_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8a4967b6d88d9eee19a2954d0b5d8df.jpg","text":"TemporaryFile(/tmp/multipartBody7129378580195994731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_36_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2a147664f0f812f04dc44a83d0591cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7444263103927654739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_36_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/096ed4a1c4e212c879a70df5297d40d9.jpg","text":"TemporaryFile(/tmp/multipartBody2048020094912650370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321472811,"filename":"image_10042025_21_35_55_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351362570","file1":"1351362555","file0":"1351362529","file4":"1351362617","file5":"1351362710","file3":"1351362588"},"map_files_photo_id_array":[{"photo_id":"1351362710","filename":"file5"},{"photo_id":"1351362570","filename":"file2"},{"photo_id":"1351362617","filename":"file4"},{"photo_id":"1351362555","filename":"file1"},{"photo_id":"1351362529","filename":"file0"},{"photo_id":"1351362588","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351362617":["hashtag1","hashtag2"]},{"1351362710":["hashtag1","hashtag2"]},{"1351362529":["hashtag1","hashtag2"]},{"1351362588":["hashtag1","hashtag2"]},{"1351362570":["hashtag1","hashtag2"]},{"1351362555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351362617, 1351362710, 1351362529, 1351362588, 1351362570, 1351362555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.653958797454834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:44:32.791275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_45_10468.jpg', '/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_54_9465.jpg', '/home/pi/Desktop/images/10042025/21/36/image_10042025_21_37_04_10377.jpg', '/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_14_9434.jpg', '/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_24_10431.jpg', '/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_35_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_45_10468.jpg
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_36_54_9465.jpg
/home/pi/Desktop/images/10042025/21/36/image_10042025_21_37_04_10377.jpg
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_14_9434.jpg
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_24_10431.jpg
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_35_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351363061","1351362908","1351362880","1351362913","1351362960","1351362921"],"photo_ids_order":["1351362880","1351362908","1351362913","1351362921","1351362960","1351363061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/837cd5e7eb399b9fe717c2df0841097d.jpg","text":"TemporaryFile(/tmp/multipartBody2958526780684237599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_37_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/92615606206430c69db8d25d44fd54a3.jpg","text":"TemporaryFile(/tmp/multipartBody5674577197478392790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_36_54_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8ef1b92efa17113555fa18f3bd4cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody6907191070827442731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_36_45_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/482339bbe501c80bcbf87430a2e6f695.jpg","text":"TemporaryFile(/tmp/multipartBody8270113909838928630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_37_04_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/74090dbd65e5aff836ce0554be691c24.jpg","text":"TemporaryFile(/tmp/multipartBody5611459386817927466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_37_24_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9269aad8d94791ba93f1123d6a416aab.jpg","text":"TemporaryFile(/tmp/multipartBody6593519644617847959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321533270,"filename":"image_10042025_21_37_14_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351362913","file1":"1351362908","file0":"1351362880","file4":"1351362960","file5":"1351363061","file3":"1351362921"},"map_files_photo_id_array":[{"photo_id":"1351363061","filename":"file5"},{"photo_id":"1351362913","filename":"file2"},{"photo_id":"1351362960","filename":"file4"},{"photo_id":"1351362908","filename":"file1"},{"photo_id":"1351362880","filename":"file0"},{"photo_id":"1351362921","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351363061":["hashtag1","hashtag2"]},{"1351362908":["hashtag1","hashtag2"]},{"1351362880":["hashtag1","hashtag2"]},{"1351362913":["hashtag1","hashtag2"]},{"1351362960":["hashtag1","hashtag2"]},{"1351362921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351363061, 1351362908, 1351362880, 1351362913, 1351362960, 1351362921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89921283721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:45:33.006910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_44_9363.jpg', '/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_54_10363.jpg', '/home/pi/Desktop/images/10042025/21/37/image_10042025_21_38_04_9473.jpg', '/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_14_10449.jpg', '/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_25_10365.jpg', '/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_34_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_44_9363.jpg
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_37_54_10363.jpg
/home/pi/Desktop/images/10042025/21/37/image_10042025_21_38_04_9473.jpg
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_14_10449.jpg
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_25_10365.jpg
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_34_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351363379","1351363483","1351363387","1351363275","1351363425","1351363323"],"photo_ids_order":["1351363275","1351363323","1351363379","1351363387","1351363425","1351363483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4aad666ad50d28202d46833a9559179.jpg","text":"TemporaryFile(/tmp/multipartBody7426560854172162938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_38_04_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6f74fb5a7c4461eed244f2c3b59c1e83.jpg","text":"TemporaryFile(/tmp/multipartBody8513844287650615380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_38_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aedb57120c89da0c0d42a352bc170702.jpg","text":"TemporaryFile(/tmp/multipartBody6119727227138458973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_38_14_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4801ebabcfce98d5fb2e7017e644d6ef.jpg","text":"TemporaryFile(/tmp/multipartBody2819920589296731657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_37_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d5ca92dca1505668967c0557e04798ae.jpg","text":"TemporaryFile(/tmp/multipartBody8564158185589683448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_38_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd45c2d8d4fd75d1b6a08261374c130c.jpg","text":"TemporaryFile(/tmp/multipartBody8158456330822234699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321593475,"filename":"image_10042025_21_37_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351363379","file1":"1351363323","file0":"1351363275","file4":"1351363425","file5":"1351363483","file3":"1351363387"},"map_files_photo_id_array":[{"photo_id":"1351363483","filename":"file5"},{"photo_id":"1351363379","filename":"file2"},{"photo_id":"1351363425","filename":"file4"},{"photo_id":"1351363323","filename":"file1"},{"photo_id":"1351363275","filename":"file0"},{"photo_id":"1351363387","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351363379":["hashtag1","hashtag2"]},{"1351363483":["hashtag1","hashtag2"]},{"1351363387":["hashtag1","hashtag2"]},{"1351363275":["hashtag1","hashtag2"]},{"1351363425":["hashtag1","hashtag2"]},{"1351363323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351363379, 1351363483, 1351363387, 1351363275, 1351363425, 1351363323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.910897970199585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:46:33.706853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_44_10381.jpg', '/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_54_9453.jpg', '/home/pi/Desktop/images/10042025/21/38/image_10042025_21_39_04_10362.jpg', '/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_15_10439.jpg', '/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_24_9363.jpg', '/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_34_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_44_10381.jpg
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_38_54_9453.jpg
/home/pi/Desktop/images/10042025/21/38/image_10042025_21_39_04_10362.jpg
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_15_10439.jpg
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_24_9363.jpg
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_34_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351363520","1351363622","1351363604","1351363526","1351363644","1351363566"],"photo_ids_order":["1351363520","1351363526","1351363566","1351363604","1351363622","1351363644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d17e9f7f62dee0996ad72ff5d2c6672.jpg","text":"TemporaryFile(/tmp/multipartBody1211517377010778271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_38_44_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ddd58b5f947b9895d1bafad045ffcc9f.jpg","text":"TemporaryFile(/tmp/multipartBody6529364977373568641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_39_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/46b89064748d144eb1e8c2860704de03.jpg","text":"TemporaryFile(/tmp/multipartBody7742279960963112597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_39_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7393035d07c0a8afb4d8d423ace7040d.jpg","text":"TemporaryFile(/tmp/multipartBody2381945394412195099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_38_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9bbfc99af63bf809f1912ff70c840641.jpg","text":"TemporaryFile(/tmp/multipartBody685045496399112647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_39_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/517bef19af0e09c4fbe5a121e8895b3b.jpg","text":"TemporaryFile(/tmp/multipartBody222757343088310239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321654174,"filename":"image_10042025_21_39_04_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351363566","file1":"1351363526","file0":"1351363520","file4":"1351363622","file5":"1351363644","file3":"1351363604"},"map_files_photo_id_array":[{"photo_id":"1351363644","filename":"file5"},{"photo_id":"1351363566","filename":"file2"},{"photo_id":"1351363622","filename":"file4"},{"photo_id":"1351363526","filename":"file1"},{"photo_id":"1351363520","filename":"file0"},{"photo_id":"1351363604","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351363520":["hashtag1","hashtag2"]},{"1351363622":["hashtag1","hashtag2"]},{"1351363604":["hashtag1","hashtag2"]},{"1351363526":["hashtag1","hashtag2"]},{"1351363644":["hashtag1","hashtag2"]},{"1351363566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351363520, 1351363622, 1351363604, 1351363526, 1351363644, 1351363566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27498984336853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:47:32.944947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_44_9398.jpg', '/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_54_10364.jpg', '/home/pi/Desktop/images/10042025/21/39/image_10042025_21_40_05_10491.jpg', '/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_14_9373.jpg', '/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_24_10380.jpg', '/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_34_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_44_9398.jpg
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_39_54_10364.jpg
/home/pi/Desktop/images/10042025/21/39/image_10042025_21_40_05_10491.jpg
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_14_9373.jpg
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_24_10380.jpg
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_34_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351363844","1351363838","1351363841","1351363848","1351363827","1351363821"],"photo_ids_order":["1351363821","1351363827","1351363838","1351363841","1351363844","1351363848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13e8e7246865cc1b253cb25e5c57f93a.jpg","text":"TemporaryFile(/tmp/multipartBody1734675190434405331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_40_24_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e87f82420c1c27d1c4856c2a0c7c45e5.jpg","text":"TemporaryFile(/tmp/multipartBody3195550986831118950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_40_05_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1b499705299bfd77340299c77b0aa24c.jpg","text":"TemporaryFile(/tmp/multipartBody6843031663734880050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_40_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/55a4b9065da0e894e786e103358d2440.jpg","text":"TemporaryFile(/tmp/multipartBody4626234833641178500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_40_34_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f8267be242a9072246a75651acf4d736.jpg","text":"TemporaryFile(/tmp/multipartBody4314328670920335633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_39_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a9593c1d9e38f2ab33a003305690399.jpg","text":"TemporaryFile(/tmp/multipartBody2769166057466920391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321713423,"filename":"image_10042025_21_39_44_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351363838","file1":"1351363827","file0":"1351363821","file4":"1351363844","file5":"1351363848","file3":"1351363841"},"map_files_photo_id_array":[{"photo_id":"1351363848","filename":"file5"},{"photo_id":"1351363838","filename":"file2"},{"photo_id":"1351363844","filename":"file4"},{"photo_id":"1351363827","filename":"file1"},{"photo_id":"1351363821","filename":"file0"},{"photo_id":"1351363841","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351363844":["hashtag1","hashtag2"]},{"1351363838":["hashtag1","hashtag2"]},{"1351363841":["hashtag1","hashtag2"]},{"1351363848":["hashtag1","hashtag2"]},{"1351363827":["hashtag1","hashtag2"]},{"1351363821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351363844, 1351363838, 1351363841, 1351363848, 1351363827, 1351363821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.375229597091675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:48:33.084035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_44_10371.jpg', '/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_55_10447.jpg', '/home/pi/Desktop/images/10042025/21/40/image_10042025_21_41_04_9359.jpg', '/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_14_10373.jpg', '/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_24_9387.jpg', '/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_34_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_44_10371.jpg
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_40_55_10447.jpg
/home/pi/Desktop/images/10042025/21/40/image_10042025_21_41_04_9359.jpg
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_14_10373.jpg
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_24_9387.jpg
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_34_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351363940","1351363904","1351363962","1351363950","1351363956","1351363929"],"photo_ids_order":["1351363904","1351363929","1351363940","1351363950","1351363956","1351363962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a2900d571ca59fbd06a57e7e8bc8a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody9105597236138590218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_41_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c3c085570805ed4e4dea8935ecdc95cc.jpg","text":"TemporaryFile(/tmp/multipartBody5692905562198294129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_40_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/dc1318ad5f1d9dfef897083666cc85b1.jpg","text":"TemporaryFile(/tmp/multipartBody5107117887238318024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_41_34_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a5d8a1da070562e05f4406372ff5cc34.jpg","text":"TemporaryFile(/tmp/multipartBody2252893405555516743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_41_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/13e5d68a4adf5ac030d5a06fa00957fa.jpg","text":"TemporaryFile(/tmp/multipartBody6607004178531706982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_41_24_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/14dc5c989421b90214cd4da90a373e67.jpg","text":"TemporaryFile(/tmp/multipartBody6623345293252579826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321773551,"filename":"image_10042025_21_40_55_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351363940","file1":"1351363929","file0":"1351363904","file4":"1351363956","file5":"1351363962","file3":"1351363950"},"map_files_photo_id_array":[{"photo_id":"1351363962","filename":"file5"},{"photo_id":"1351363940","filename":"file2"},{"photo_id":"1351363956","filename":"file4"},{"photo_id":"1351363929","filename":"file1"},{"photo_id":"1351363904","filename":"file0"},{"photo_id":"1351363950","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351363940":["hashtag1","hashtag2"]},{"1351363904":["hashtag1","hashtag2"]},{"1351363962":["hashtag1","hashtag2"]},{"1351363950":["hashtag1","hashtag2"]},{"1351363956":["hashtag1","hashtag2"]},{"1351363929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351363940, 1351363904, 1351363962, 1351363950, 1351363956, 1351363929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13168811798096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:49:32.401498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_45_10488.jpg', '/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_54_9363.jpg', '/home/pi/Desktop/images/10042025/21/41/image_10042025_21_42_04_10375.jpg', '/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_14_9471.jpg', '/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_35_10435.jpg', '/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_44_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_45_10488.jpg
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_41_54_9363.jpg
/home/pi/Desktop/images/10042025/21/41/image_10042025_21_42_04_10375.jpg
/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_14_9471.jpg
/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_35_10435.jpg
/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_44_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351364155","1351364143","1351364116","1351364135","1351364165","1351364123"],"photo_ids_order":["1351364116","1351364123","1351364135","1351364143","1351364155","1351364165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3c8214b279766a104e6da1a1897b06c.jpg","text":"TemporaryFile(/tmp/multipartBody6569164546413475252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_42_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b8b103b981e700ed4461f57eaebb650d.jpg","text":"TemporaryFile(/tmp/multipartBody4558025126071484016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_42_14_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3b66f546f0dae403008d1d523d2e73c9.jpg","text":"TemporaryFile(/tmp/multipartBody4760763788952708294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_41_45_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/72433905fbc270e7592719bb433bd6bd.jpg","text":"TemporaryFile(/tmp/multipartBody2027196820350752068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_42_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/63f1430350b6626004e13b240cdbb006.jpg","text":"TemporaryFile(/tmp/multipartBody7856374216471605729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_42_44_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa0baaee9f783a425e51103afd2b790c.jpg","text":"TemporaryFile(/tmp/multipartBody8624008211512468107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321832868,"filename":"image_10042025_21_41_54_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351364135","file1":"1351364123","file0":"1351364116","file4":"1351364155","file5":"1351364165","file3":"1351364143"},"map_files_photo_id_array":[{"photo_id":"1351364165","filename":"file5"},{"photo_id":"1351364135","filename":"file2"},{"photo_id":"1351364155","filename":"file4"},{"photo_id":"1351364123","filename":"file1"},{"photo_id":"1351364116","filename":"file0"},{"photo_id":"1351364143","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351364155":["hashtag1","hashtag2"]},{"1351364143":["hashtag1","hashtag2"]},{"1351364116":["hashtag1","hashtag2"]},{"1351364135":["hashtag1","hashtag2"]},{"1351364165":["hashtag1","hashtag2"]},{"1351364123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351364155, 1351364143, 1351364116, 1351364135, 1351364165, 1351364123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92922639846802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:50:32.837709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_55_10371.jpg', '/home/pi/Desktop/images/10042025/21/42/image_10042025_21_43_04_9369.jpg', '/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_14_10342.jpg', '/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_25_10516.jpg', '/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_34_9367.jpg', '/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_44_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/42/image_10042025_21_42_55_10371.jpg
/home/pi/Desktop/images/10042025/21/42/image_10042025_21_43_04_9369.jpg
/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_14_10342.jpg
/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_25_10516.jpg
/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_34_9367.jpg
/home/pi/Desktop/images/10042025/21/43/image_10042025_21_43_44_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351364219","1351364215","1351364206","1351364211","1351364267","1351364180"],"photo_ids_order":["1351364180","1351364206","1351364211","1351364215","1351364219","1351364267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e4d9a10de48e6993f6666dc338c6a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody1307510416948938737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_43_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9493141dd8a17c91a07d31ffdd0e3a4e.jpg","text":"TemporaryFile(/tmp/multipartBody709947068491182177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_43_25_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e7f1e4305dac2d20fbd1f05e9f0dc2a9.jpg","text":"TemporaryFile(/tmp/multipartBody7022554351013227664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_43_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7f1e55e471b71f436c6b08cd51f36818.jpg","text":"TemporaryFile(/tmp/multipartBody670731743859573079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_43_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8053c9cfe26a4169f02ebb1d1b2da27.jpg","text":"TemporaryFile(/tmp/multipartBody3141841381517324114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_43_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/28f08235c953542102fd0d1f1b7e8a36.jpg","text":"TemporaryFile(/tmp/multipartBody5914615179178061379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321893318,"filename":"image_10042025_21_42_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351364211","file1":"1351364206","file0":"1351364180","file4":"1351364219","file5":"1351364267","file3":"1351364215"},"map_files_photo_id_array":[{"photo_id":"1351364267","filename":"file5"},{"photo_id":"1351364211","filename":"file2"},{"photo_id":"1351364219","filename":"file4"},{"photo_id":"1351364206","filename":"file1"},{"photo_id":"1351364180","filename":"file0"},{"photo_id":"1351364215","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351364219":["hashtag1","hashtag2"]},{"1351364215":["hashtag1","hashtag2"]},{"1351364206":["hashtag1","hashtag2"]},{"1351364211":["hashtag1","hashtag2"]},{"1351364267":["hashtag1","hashtag2"]},{"1351364180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351364219, 1351364215, 1351364206, 1351364211, 1351364267, 1351364180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7585027217865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:51:32.869747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/43/image_10042025_21_44_04_10368.jpg', '/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_15_10476.jpg', '/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_24_9398.jpg', '/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_35_10387.jpg', '/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_44_9420.jpg', '/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_54_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/43/image_10042025_21_44_04_10368.jpg
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_15_10476.jpg
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_24_9398.jpg
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_35_10387.jpg
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_44_9420.jpg
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_44_54_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351364368","1351364379","1351364373","1351364376","1351364364","1351364360"],"photo_ids_order":["1351364360","1351364364","1351364368","1351364373","1351364376","1351364379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ca079a3148c041bffa15f337ead831bf.jpg","text":"TemporaryFile(/tmp/multipartBody476824256508490903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_24_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/590535d9fa69b7cedd2aabdf6e05f26a.jpg","text":"TemporaryFile(/tmp/multipartBody4974450140935225487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/060afaf699af5edad0d0d21ac4e905e6.jpg","text":"TemporaryFile(/tmp/multipartBody5060249925858265075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/324867407760b592e844aa71a9ab4594.jpg","text":"TemporaryFile(/tmp/multipartBody2078282155910207904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fb33c8911caed0470e26889f552ccf23.jpg","text":"TemporaryFile(/tmp/multipartBody7759657274154507398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_15_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7bc333335f37912c263e2ee75118a420.jpg","text":"TemporaryFile(/tmp/multipartBody5264600160291732553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744321953349,"filename":"image_10042025_21_44_04_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351364368","file1":"1351364364","file0":"1351364360","file4":"1351364376","file5":"1351364379","file3":"1351364373"},"map_files_photo_id_array":[{"photo_id":"1351364379","filename":"file5"},{"photo_id":"1351364368","filename":"file2"},{"photo_id":"1351364376","filename":"file4"},{"photo_id":"1351364364","filename":"file1"},{"photo_id":"1351364360","filename":"file0"},{"photo_id":"1351364373","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351364368":["hashtag1","hashtag2"]},{"1351364379":["hashtag1","hashtag2"]},{"1351364373":["hashtag1","hashtag2"]},{"1351364376":["hashtag1","hashtag2"]},{"1351364364":["hashtag1","hashtag2"]},{"1351364360":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351364368, 1351364379, 1351364373, 1351364376, 1351364364, 1351364360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01445412635803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:52:33.108461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/44/image_10042025_21_45_04_9512.jpg', '/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_14_10391.jpg', '/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_34_9439.jpg', '/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_44_10373.jpg', '/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_54_9440.jpg', '/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_15_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/44/image_10042025_21_45_04_9512.jpg
/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_14_10391.jpg
/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_34_9439.jpg
/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_44_10373.jpg
/home/pi/Desktop/images/10042025/21/45/image_10042025_21_45_54_9440.jpg
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_15_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351364402","1351364398","1351364578","1351364547","1351364637","1351364465"],"photo_ids_order":["1351364398","1351364402","1351364465","1351364547","1351364578","1351364637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/553339bc4e72235db7b0aec2875380e5.jpg","text":"TemporaryFile(/tmp/multipartBody7832832442725293249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_45_14_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d204207bbd0fae0c15c812fa28902593.jpg","text":"TemporaryFile(/tmp/multipartBody1204010471721939873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_45_04_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d50e257f362ab38118b8fbfd9a7da10f.jpg","text":"TemporaryFile(/tmp/multipartBody2536777737297098561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_45_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5e455cdae358d6e4c7bf1a2be8573f97.jpg","text":"TemporaryFile(/tmp/multipartBody612058766103949742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_45_44_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/33794ec152630100fb462f1b6339121b.jpg","text":"TemporaryFile(/tmp/multipartBody6655765385067235284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_46_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a0c425b74b0709206dc3b881006312b6.jpg","text":"TemporaryFile(/tmp/multipartBody242978135158730990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322013590,"filename":"image_10042025_21_45_34_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351364465","file1":"1351364402","file0":"1351364398","file4":"1351364578","file5":"1351364637","file3":"1351364547"},"map_files_photo_id_array":[{"photo_id":"1351364637","filename":"file5"},{"photo_id":"1351364465","filename":"file2"},{"photo_id":"1351364578","filename":"file4"},{"photo_id":"1351364402","filename":"file1"},{"photo_id":"1351364398","filename":"file0"},{"photo_id":"1351364547","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351364402":["hashtag1","hashtag2"]},{"1351364398":["hashtag1","hashtag2"]},{"1351364578":["hashtag1","hashtag2"]},{"1351364547":["hashtag1","hashtag2"]},{"1351364637":["hashtag1","hashtag2"]},{"1351364465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351364402, 1351364398, 1351364578, 1351364547, 1351364637, 1351364465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62944293022156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:53:32.400517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_24_9648.jpg', '/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_35_10413.jpg', '/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_44_9357.jpg', '/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_55_10377.jpg', '/home/pi/Desktop/images/10042025/21/46/image_10042025_21_47_04_9414.jpg', '/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_14_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_24_9648.jpg
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_35_10413.jpg
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_44_9357.jpg
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_46_55_10377.jpg
/home/pi/Desktop/images/10042025/21/46/image_10042025_21_47_04_9414.jpg
/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_14_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351365091","1351365073","1351365042","1351365039","1351365111","1351365104"],"photo_ids_order":["1351365039","1351365042","1351365073","1351365091","1351365104","1351365111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3d2e4b5bf1f528aa59898891fa993647.jpg","text":"TemporaryFile(/tmp/multipartBody7495578184759468559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_46_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/deeedc1cb2b363bbb09aea2218f7cb2d.jpg","text":"TemporaryFile(/tmp/multipartBody1379529034848733974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_46_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ff969b86310ae1b8f8a339fb26482746.jpg","text":"TemporaryFile(/tmp/multipartBody1518145696124083025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_46_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15655855b7ec65709ed56ed068fc087f.jpg","text":"TemporaryFile(/tmp/multipartBody6420544052638249184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_46_24_9648.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3ac80813cceed1b19a70e5ab1e64368c.jpg","text":"TemporaryFile(/tmp/multipartBody6464882012894140067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_47_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/7c1f1c37e70168f3575d922c6894b1cc.jpg","text":"TemporaryFile(/tmp/multipartBody6706919772247117483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322072878,"filename":"image_10042025_21_47_04_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351365073","file1":"1351365042","file0":"1351365039","file4":"1351365104","file5":"1351365111","file3":"1351365091"},"map_files_photo_id_array":[{"photo_id":"1351365111","filename":"file5"},{"photo_id":"1351365073","filename":"file2"},{"photo_id":"1351365104","filename":"file4"},{"photo_id":"1351365042","filename":"file1"},{"photo_id":"1351365039","filename":"file0"},{"photo_id":"1351365091","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351365091":["hashtag1","hashtag2"]},{"1351365073":["hashtag1","hashtag2"]},{"1351365042":["hashtag1","hashtag2"]},{"1351365039":["hashtag1","hashtag2"]},{"1351365111":["hashtag1","hashtag2"]},{"1351365104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351365091, 1351365073, 1351365042, 1351365039, 1351365111, 1351365104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22924017906189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:54:32.456696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_25_10421.jpg', '/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_34_9419.jpg', '/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_54_9464.jpg', '/home/pi/Desktop/images/10042025/21/47/image_10042025_21_48_04_10375.jpg', '/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_15_10439.jpg', '/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_24_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_25_10421.jpg
/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_34_9419.jpg
/home/pi/Desktop/images/10042025/21/47/image_10042025_21_47_54_9464.jpg
/home/pi/Desktop/images/10042025/21/47/image_10042025_21_48_04_10375.jpg
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_15_10439.jpg
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_24_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351365468","1351365720","1351365695","1351365668","1351365386","1351365268"],"photo_ids_order":["1351365268","1351365386","1351365468","1351365668","1351365695","1351365720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/31b6ae36dce5b3bd09499f9c4e27988e.jpg","text":"TemporaryFile(/tmp/multipartBody297843960377274736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_47_54_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1e17fbadb2320c30ea65947b2bd8aa76.jpg","text":"TemporaryFile(/tmp/multipartBody6315037086390961812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_48_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d35083d2a3fcdbad69101321138d3def.jpg","text":"TemporaryFile(/tmp/multipartBody8491855652395163432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_48_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8aa05f8fee91d1288683c43e870f295b.jpg","text":"TemporaryFile(/tmp/multipartBody8387908544124117938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_48_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/508c012eeb0ef9cd22cd9ad1ca21461f.jpg","text":"TemporaryFile(/tmp/multipartBody371291456399038530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_47_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/538eddb1819dbaec59e627fe69d06cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7591989490041326347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322132942,"filename":"image_10042025_21_47_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351365468","file1":"1351365386","file0":"1351365268","file4":"1351365695","file5":"1351365720","file3":"1351365668"},"map_files_photo_id_array":[{"photo_id":"1351365720","filename":"file5"},{"photo_id":"1351365468","filename":"file2"},{"photo_id":"1351365695","filename":"file4"},{"photo_id":"1351365386","filename":"file1"},{"photo_id":"1351365268","filename":"file0"},{"photo_id":"1351365668","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351365468":["hashtag1","hashtag2"]},{"1351365720":["hashtag1","hashtag2"]},{"1351365695":["hashtag1","hashtag2"]},{"1351365668":["hashtag1","hashtag2"]},{"1351365386":["hashtag1","hashtag2"]},{"1351365268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351365468, 1351365720, 1351365695, 1351365668, 1351365386, 1351365268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.62462019920349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:55:32.748120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_35_10453.jpg', '/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_44_9444.jpg', '/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_55_10365.jpg', '/home/pi/Desktop/images/10042025/21/48/image_10042025_21_49_04_9451.jpg', '/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_14_10343.jpg', '/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_25_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_35_10453.jpg
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_44_9444.jpg
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_48_55_10365.jpg
/home/pi/Desktop/images/10042025/21/48/image_10042025_21_49_04_9451.jpg
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_14_10343.jpg
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_25_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351365937","1351365913","1351365894","1351365980","1351365935","1351365955"],"photo_ids_order":["1351365894","1351365913","1351365935","1351365937","1351365955","1351365980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fb1114dce28a1b30333919fe76ebae2.jpg","text":"TemporaryFile(/tmp/multipartBody2583518039776297328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_49_04_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8b1075b4b6ae14ea0a2c8fed908aae35.jpg","text":"TemporaryFile(/tmp/multipartBody4380328026266736994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_48_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c89a99861062ee27ad5ac258ace0c002.jpg","text":"TemporaryFile(/tmp/multipartBody4260674528686625260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_48_35_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/876bac6a630b22574459f20fb99278bf.jpg","text":"TemporaryFile(/tmp/multipartBody7377682163726209943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_49_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4b9a26dd68d438eb773d48004735d31f.jpg","text":"TemporaryFile(/tmp/multipartBody959147730805549813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_48_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d3e4c63173659f408fda530fa0d175c5.jpg","text":"TemporaryFile(/tmp/multipartBody4646074560380401117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322193233,"filename":"image_10042025_21_49_14_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351365935","file1":"1351365913","file0":"1351365894","file4":"1351365955","file5":"1351365980","file3":"1351365937"},"map_files_photo_id_array":[{"photo_id":"1351365980","filename":"file5"},{"photo_id":"1351365935","filename":"file2"},{"photo_id":"1351365955","filename":"file4"},{"photo_id":"1351365913","filename":"file1"},{"photo_id":"1351365894","filename":"file0"},{"photo_id":"1351365937","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351365937":["hashtag1","hashtag2"]},{"1351365913":["hashtag1","hashtag2"]},{"1351365894":["hashtag1","hashtag2"]},{"1351365980":["hashtag1","hashtag2"]},{"1351365935":["hashtag1","hashtag2"]},{"1351365955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351365937, 1351365913, 1351365894, 1351365980, 1351365935, 1351365955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06663918495178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:56:33.060575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_34_9423.jpg', '/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_45_10521.jpg', '/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_54_9383.jpg', '/home/pi/Desktop/images/10042025/21/49/image_10042025_21_50_04_10397.jpg', '/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_14_9416.jpg', '/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_24_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_34_9423.jpg
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_45_10521.jpg
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_49_54_9383.jpg
/home/pi/Desktop/images/10042025/21/49/image_10042025_21_50_04_10397.jpg
/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_14_9416.jpg
/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_24_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351366026","1351366097","1351366073","1351366096","1351366075","1351366030"],"photo_ids_order":["1351366026","1351366030","1351366073","1351366075","1351366096","1351366097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/673471c9df149799f0ac2fb730e4ae00.jpg","text":"TemporaryFile(/tmp/multipartBody5080352967262660407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_49_34_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d8dfa07673fd5edbe344c4e74084b0d9.jpg","text":"TemporaryFile(/tmp/multipartBody9150377653639836919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_50_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c36ea7cdb8f7602969a2ca15d2c86560.jpg","text":"TemporaryFile(/tmp/multipartBody8287900852708940434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_49_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/49a24f036d7d5c3f4d171eb2b1776f44.jpg","text":"TemporaryFile(/tmp/multipartBody5738284743763508714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_50_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1fdb2df8fb01484a14bf5a074bce1691.jpg","text":"TemporaryFile(/tmp/multipartBody2009907187167075967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_50_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/aa7752baeb859b83ba465c93fb7d9bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7647013202521614992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322253548,"filename":"image_10042025_21_49_45_10521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351366073","file1":"1351366030","file0":"1351366026","file4":"1351366096","file5":"1351366097","file3":"1351366075"},"map_files_photo_id_array":[{"photo_id":"1351366097","filename":"file5"},{"photo_id":"1351366073","filename":"file2"},{"photo_id":"1351366096","filename":"file4"},{"photo_id":"1351366030","filename":"file1"},{"photo_id":"1351366026","filename":"file0"},{"photo_id":"1351366075","filename":"file3"}],"portfolio_id":22200973,"hashtag_by_photo_ids":[{"1351366026":["hashtag1","hashtag2"]},{"1351366097":["hashtag1","hashtag2"]},{"1351366073":["hashtag1","hashtag2"]},{"1351366096":["hashtag1","hashtag2"]},{"1351366075":["hashtag1","hashtag2"]},{"1351366030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22200973 used, photo_id : ArrayBuffer(1351366026, 1351366097, 1351366073, 1351366096, 1351366075, 1351366030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53515648841858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-10 23:57:32.304687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
  port_id : 22200973
  datou_current_id : 2737582
in upload_from_sqlite, uploading in 22200973
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_44_9369.jpg', '/home/pi/Desktop/images/10042025/21/50/image_10042025_21_51_04_9472.jpg', '/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_25_10504.jpg', '/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_34_9348.jpg', '/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_45_10381.jpg', '/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_54_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2737582&datou=0
/home/pi/Desktop/images/10042025/21/50/image_10042025_21_50_44_9369.jpg
/home/pi/Desktop/images/10042025/21/50/image_10042025_21_51_04_9472.jpg
/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_25_10504.jpg
/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_34_9348.jpg
/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_45_10381.jpg
/home/pi/Desktop/images/10042025/21/51/image_10042025_21_51_54_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
